PicToText OCR API
Structured OCR for identity documents. Send one image of a national ID card, passport, or driver's license plus a country-specific documentType, and get clean…
Developer tools#documents--productivity
Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.
Overview
Structured OCR for identity documents. Send one image of a national ID card, passport, or driver's license plus a country-specific documentType, and get clean structured JSON back.
- 30+ countries, 44 document types — national ID cards, passports, and driver's licenses.
- Native-script extraction — Latin, Chinese, Thai, and Arabic — returning names in the document's own script, plus a Latin form when the document prints one.
- Passports: ICAO 9303 TD3 MRZ extraction for booklet-style passports.
- Per-country fields: each document returns the fields it actually prints, with dates normalized to ISO 8601.
- New accounts include 100 free API calls — no card required.
Built for KYC and identity-verification workflows: onboarding, eKYC, marketplace verification, age and identity checks, cross-border compliance.
Endpoints 1
OCR
- POSTExtract structured fields from an identity-document image
/api/v1/ocrUpload one image of the document's front side and pass the country-specific documentType (e.g. passport, th_id_card, us_drivers_license). Returns the…
API details
- Base URL
https://pictotext.io- Authentication
- A bearer token in the Authorization header
- Operations
- 1 operation on 1 pathPOST 1
- Main resources
- OCR 1
- Response formats
application/json- Description format
- OpenAPI 3.0.3, API version
1.0.0 - Links
- Documentation · OpenAPI document · Terms of service · Support
- Listed from
- Pictotext's published OpenAPI description
How to test the PicToText OCR API in Swastik Codes
- Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
- Fork it into your workspaceChoose a workspace. You get your own copy of the PicToText OCR API collection, without the publisher's secrets.
- Add your credentialsThis API uses A bearer token in the Authorization header. Add yours in the collection's variables or an environment; the requests already reference it.
- Send a requestPick an endpoint, for example “Extract structured fields from an identity-document image” (POST /api/v1/ocr), and press Send. Check the response, add tests and run the whole collection with the runner.
Frequently asked questions
What is the PicToText OCR API?
Structured OCR for identity documents. Send one image of a national ID card, passport, or driver's license plus a country-specific documentType, and get clean… It is listed under Developer tools and has 1 endpoint.
Who publishes the PicToText OCR API?
It is listed from PicToText's public API description (an OpenAPI document), not published by PicToText on Swastik Codes. Anyone who controls pictotext.io can claim the profile by adding a DNS TXT record.
What is the base URL of the PicToText OCR API?
Requests go to https://pictotext.io. Endpoint paths are added to this base URL.
How do I authenticate with the PicToText OCR API?
With A bearer token in the Authorization header.
How many endpoints does the PicToText OCR API have?
1 operation on 1 path (1 POST). The largest groups are OCR.
Is forking the PicToText OCR API free?
Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.