InternationalMRZ

OCR for Passport API

Extract data from international passports instantly. High-accuracy Passport OCR API built for developers. Get your JSON response in seconds. Try for free today.

OCR for Passport API 1
OCR for Passport API 2
Start in Seconds
Sign up to get your API key and start processing your documents
State of the Art Accuracy
We use the most powerful models to ensure the highest accuracy and throughput
GDPR Compliant
We are EU Hosted, GDPR Compliant and follow Zero Data Retention by default
Just pay for what you extract
No monthly commitments or high starting tiers. Volume discounts available.

Try it out

Experience the power of our OCR. Upload a document and see the results instantly.

Drop document or click to upload

Supports PDF, PNG, JPG (max 10MB)

By uploading a document, you agree to our terms. We do not store your data.

JSON Response
{
"success":
true,
"data":{
"document_type":
"P",
"document_type_verified":
true,
"country_code":
"USA",
"country_code_verified":
true,
"passport_number":
"123456789",
"passport_number_verified":
true,
"surname":
"DOE",
"surname_verified":
true,
"given_names":
"JOHN JAY",
"given_names_verified":
true,
"nationality":
"USA",
"nationality_verified":
true,
"date_of_birth":
"1985-08-15",
"date_of_birth_verified":
true,
"sex":
"M",
"sex_verified":
true,
"date_of_issue":
"2020-01-01",
"date_of_issue_verified":
false,
"date_of_expiry":
"2030-01-01",
"date_of_expiry_verified":
true,
"issuing_authority":
"DEPARTMENT OF STATE",
"mrz_detected":
true,
"place_of_birth":
"NEW YORK, USA",
"place_of_issue":
"WASHINGTON D.C.",
"national_id_number":
null,
"national_id_number_verified":
false,
"height":
"180 CM",
"eye_color":
"BLUE",
"profession":
null
},
"balance":
14.5,
"cost":
0.005
}
document_typestring | null

Type of passport (e.g., P for Personal, D for Diplomatic, S for Service)

document_type_verifiedboolean

Whether the document type has been verified against the MRZ

country_codestring | null

The 3-letter ISO 3166-1 alpha-3 code of the issuing state

country_code_verifiedboolean

Whether the country code has been verified against the MRZ

passport_numberstring | null

Unique alphanumeric identifier for the passport booklet

passport_number_verifiedboolean

Whether the passport number has been verified against the MRZ

surnamestring | null

Primary identifier or family name

surname_verifiedboolean

Whether the surname has been verified against the MRZ

given_namesstring | null

Secondary identifier, including first and middle names

given_names_verifiedboolean

Whether the given names have been verified against the MRZ

nationalitystring | null

The citizenship of the passport holder (ISO 3166-1 alpha-3)

nationality_verifiedboolean

Whether the nationality has been verified against the MRZ

date_of_birthstring | null

Holder's date of birth (YYYY-MM-DD)

date_of_birth_verifiedboolean

Whether the date of birth has been verified against the MRZ

sexstring | null

Standardized as M (Male), F (Female), or X (Unspecified/Non-binary)

sex_verifiedboolean

Whether the sex has been verified against the MRZ

date_of_issuestring | null

The date the document becomes valid (YYYY-MM-DD)

date_of_issue_verifiedboolean

Whether the date of issue has been verified (usually not in MRZ)

date_of_expirystring | null

The date the document is no longer valid (YYYY-MM-DD)

date_of_expiry_verifiedboolean

Whether the date of expiry has been verified against the MRZ

issuing_authoritystring | null

The government body, office, or ministry that issued the document

mrz_detectedboolean | null

Whether a Machine Readable Zone (MRZ) was detected

place_of_birthstring | null

City, state, or country of birth

place_of_issuestring | null

The specific city or consulate where it was issued

national_id_numberstring | null

The holder's domestic identity code (e.g., DNI, PESEL)

national_id_number_verifiedboolean

Whether the national ID number has been verified against the MRZ (if present in optional data)

heightstring | null

Physical height of the individual

eye_colorstring | null

The holder's eye color

professionstring | null

The holder's job title or employment status

Indemnizame
Sagardobus
Swipoo

Common questions

Quick answers to common questions about our Passport OCR.

What types of passports are supported?

This extractor supports all international passports following ICAO standards, including Personal (P), Diplomatic (D), and Service (S) passports.

Does it support MRZ (Machine Readable Zone)?

Yes, it fully supports TD3 MRZ format used in passports for data verification and high-accuracy extraction.

Which fields are extracted?

It extracts all mandatory fields (name, dates, passport number, nationality) as well as common optional fields like place of birth, height, and eye color when present.

Integrate our API in seconds

Start extracting data from your documents in seconds with our ready-to-use OCR API.

Terminal - Local File
curl -X POST "https://api.tiny-idp.com/api/extractors/run/passport" \
  -H "x-api-key: YOUR_API_KEY" \
  -F "files=@/path/to/your/document.jpg"

Ready to build?

Get your free API key and start extracting data from documents in minutes. No credit card required for the free tier.

Common use cases

Discover how businesses are using our OCR API to automate their workflows.

Automated Onboarding

Extract data from documents to streamline user registration and KYC processes.

Data Verification

Instantly verify document details against your records or third-party databases.

International Documents

Process identity documents from over 190 countries with high accuracy.

Workflow Automation

Eliminate manual data entry by piping structured document data directly into your CRM or ERP.

Simple, Transparent Pricing

No hidden fees. No monthly minimums. Pay only for what you extract.

Pay As You Go

Usage-Based

Simple pay-as-you-go pricing. No monthly commitment.

0 – 1,000 requests/mo
Starting tier
€0.045
/request
1,000+ requests/mo22% off
Automatic discount
€0.035
/request
Get Started

Enterprise

Custom

Tailored pricing for high-volume scenarios. Get SLA guarantees, on-premise deployment, and dedicated support — reach out and we'll put together a plan that fits your scale.

Contact Sales

All prices exclude VAT. Volume discounts apply automatically.

Enterprise-grade Compliance & Security

We take data privacy seriously. Tiny IDP is built from the ground up to meet the strictest European data protection standards.

Zero Data Retention

We don't store your documents, images, or predictions. Data is processed in-memory and immediately discarded.

GDPR Compliant

Full compliance with European data protection regulations (GDPR) for your peace of mind.

EU-Based Infrastructure

All data is processed and hosted exclusively in secure European data centers.

Visit Trust Center
EU Hosted
Encrypted
No Storage
GDPR

Do you need a custom OCR?

We support custom extractors! Define your own fields, rules, and logic to extract data from any type of document.