OCR with AI: extract data from documents, PDFs and images as JSON.
Send the address of a PDF, an image or a scanned document, say what you want to read and get back a JSON with the fields in the format your system uses.
invoice-4821.pdf
PDFINVOICE NO. 4821
Issuer: Example Stationery Ltd
Customer: Sample Trading Inc.
Office supplies, 12 items
Number:
4821Issued:
11/18/2026Total:
$1,290.50Sample document, with fictional data.
Request
files
https://example.com/invoice-4821.pdf
generalInstructions
Values are in US dollars.
Fields requested
number
stringissue_date
stringtotal
numberResponse
Success{
"code": 200,
"message": "OK",
"data": {
"number": "4821",
"issue_date": "2026-11-18",
"total": 1290.5
}
}
Drag to compare


Data trapped in PDFs and photos, typed in by hand.
The same file, read and delivered in your system's format.
One address. Four steps.
Step 01
Point to the file
Send the public address of the PDF, image or document.
Step 02
Describe what you want
Build a schema with the fields, or just ask for a description of the content.
Step 03
Tolky reads it
It uses the PDF's text when there is one and reads the pages as images when the document is scanned.
Step 04
Get the JSON
The fields you asked for, ready for your system to store.
Step 01
Point to the file
Send the public address of the PDF, image or document.
Step 02
Describe what you want
Build a schema with the fields, or just ask for a description of the content.
Step 03
Tolky reads it
It uses the PDF's text when there is one and reads the pages as images when the document is scanned.
Step 04
Get the JSON
The fields you asked for, ready for your system to store.
From file to data, in three parts
01
Files
PDF with text, scanned PDF, image and DOCX
The reading follows the file type: it uses the PDF's text when there is one and reads the pages as images when the document is scanned.
PDF with text: direct reading of the text layer
Scanned PDF: each page read as an image
Image, DOCX and text through the same API call
02
Result
The fields in your system's format
You describe the schema with name, description, properties and required fields, and the JSON comes back in that shape. Without a schema, the response brings a detailed description of the file.
Schema with properties and required fields
General instructions to add context, such as "values are in US dollars"
Response with a code, a message and the data
03
API
Integration by API
The call carries the file's public address and the access token, and the response brings the data in the schema you asked for. The API documentation shows the complete request, end to end.
Input through the file's public address
Token authentication
cURL example and response format in the documentation
What the reading delivers
Scanned PDF
A document with no text layer is read page by page, as an image.
PDF with text
When the PDF already has text, the reading uses that layer and answers faster.
Image, DOCX and text
Photos, images, Word documents and text files go in through the same API call.
Your schema
You define name, description, properties and required fields, and the JSON comes back in that format.
General instructions
Give the reading some context, such as "values are in US dollars", so the AI interprets it the right way.
Description without a schema
Without a schema, the response brings a detailed description of the file's content.
For teams that read documents every day
01
Finance and accounts payable
Invoices and receipts become data with no typing.
In practice
Invoice with number, date and amount in separate fields
Receipt read and sent to your finance system
A general instruction so amounts come back in the right currency
02
Sign-up and onboarding
The ID document a customer sends fills in the form.
In practice
Number, date and other document fields in your schema
Fields ready for the sign-up form
To verify the document and the person, Liveness Detection joins the flow
03
Operations and back office
Contracts, statements and PDF forms that someone reads and types in today.
In practice
PDF contract with the fields the operation needs
Scanned statement or form, read page by page
A product photo sent by a customer, described in text
One platform, more solutions.
What backs trust in the platform
Each item below links to the page that explains how it works.
Official WhatsApp API
Meta Tech Provider: direct connection to Meta (Cloud API) or through Gupshup, an official Meta partner.
How we connect WhatsAppLGPD (Brazilian data protection law)
Data subject requests through contato@tolky.to, panel tools to delete conversations and a public privacy policy.
Security and LGPDAccess profiles and audit log
Permissions by module and by action, and an audit log you can export to CSV or Excel.
Controls in the panelA trace of every AI answer
For each AI message, see the instructions, the knowledge base excerpts and the external calls behind it.
How the AI is controlledSSO with SAML on Enterprise
Single sign-on through your company identity provider. On other plans, email and password or a Google or Microsoft account.
How access worksFrequently asked questions
OCR is the automatic reading of the text that sits in a file. Tolky reads images, PDFs with text, scanned PDFs, DOCX documents and text files, and returns the data as JSON.
Yes. When the PDF has no text layer, each page is read as an image. When it has one, the reading uses the PDF's own text.
Images, PDFs (with text or scanned), DOCX documents and text files.
It is your choice. With a schema (name, description, properties and required fields), the JSON comes back in the fields you asked for. Without one, the response brings a detailed description of the content. General instructions, such as "values are in US dollars", help the AI interpret the document.
Yes. Several files in the same call produce a single response, with the data gathered together. To get one result per document, send one call per document.
The input is the file's public address. A link that expires or requires a login cannot be read, so use an open address while the reading runs.
Extraction reads what is written on the document. Verifying identity, with document, selfie and liveness check, is the job of Liveness Detection, and looking for signs of fraud in case files is the job of Contraprova (Anti-fraud). Both work together with extraction.
The call carries an access token in the Authorization header. The response brings a code, a message and the data in the schema you asked for. The API documentation shows the complete request.
Talk to our consultants to see extraction running on your documents and to arrange API access. The documentation has the technical step by step.
Stop typing what the document already says.
Tell us which documents reach your operation and let's talk about how to read them and deliver the data in your system's format.
