Passport OCR API
in Seconds
Extract reliable, structured passport data from images instantly. Powered by advanced machine learning for highest accuracy.

What is Passport OCR?
Passport OCR is a REST API that reads the Machine Readable Zone (MRZ) on passports and extracts structured data — name, nationality, document number, date of birth, and expiration date — in seconds.
Unlike complex identity verification platforms, Passport OCR is pure OCR-as-a-service. There are no subscriptions, no contracts, and no minimum commitments. You get 10 free requests per day without signup, and paid usage costs just $0.01 per request with credits that never expire.
The API accepts standard image uploads (JPEG, PNG) or base64-encoded images and returns clean JSON. Integration takes minutes — see the API documentation for code examples in cURL, Python, JavaScript, Go, and more.
Try It Now
Upload a passport image and see the extracted MRZ data instantly.
Drop your passport image here
or click to browse (max 10MB)
Need more? $0.01 per request
Seamless Integration
How It Works
Three simple steps to convert any passport image into crisp, structured JSON data ready for your application.
Upload Image
Send a passport image via our REST API. We support standard multipart uploads and base64 strings.
MRZ Detection
Our vision models instantly locate, deskew, and crop the Machine Readable Zone with high precision.
Structured JSON
Get beautifully normalized JSON response with all extracted payload data back in seconds.
cURL Example
curl -X POST https://api.passport-ocr.com/v1/ocr \ -H "Authorization: Bearer YOUR_API_KEY" \ -F "[email protected]"

Simple Pricing
Pay only for what you use. No subscriptions, no surprises.
No signup required
- 10 requests per day
- Full MRZ extraction
- No API key needed
- Zero data retention
$1 = 100 credits
- Unlimited requests
- Priority processing
- Idempotency support
- Credits never expire
- No subscription, no overages
Get 100 free credits on sign-up, then purchase more from your dashboard.
FAQ
Frequently Asked Questions
From the Blog
Developer guides and technical deep-dives on passport OCR and MRZ.
Getting Started with Passport OCR: Extract Passport Data in Minutes
Learn how to use Passport OCR to extract MRZ data from passport images. Try the live demo with no signup, get 10 free requests per day, and claim 100 bonus credits when you create an account.