Skip to content
Document extraction · OCR by API

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.

Before and after

Drag to compare

Data trapped in PDFs and photos, typed in by hand.
The same file, read and delivered in your system's format.
The pain
With Tolky

Data trapped in PDFs and photos, typed in by hand.

The same file, read and delivered in your system's format.

How it works

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.

  1. Step 01

    Point to the file

    Send the public address of the PDF, image or document.

  2. Step 02

    Describe what you want

    Build a schema with the fields, or just ask for a description of the content.

  3. 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.

  4. Step 04

    Get the JSON

    The fields you asked for, ready for your system to store.

In detail

From file to data, in three parts

  1. 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

  2. 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

  3. 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

Features

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.

Who it's for

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

Better together

One platform, more solutions.

Trust

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 WhatsApp

LGPD (Brazilian data protection law)

Data subject requests through contato@tolky.to, panel tools to delete conversations and a public privacy policy.

Security and LGPD

Access profiles and audit log

Permissions by module and by action, and an audit log you can export to CSV or Excel.

Controls in the panel

A 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 controlled

SSO 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 works
Questions

Frequently asked questions

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.