10 free requests/day — no signup
Limited time: 100 free credits on signup

Passport OCR API in Seconds

Extract reliable, structured passport data from images instantly. Powered by advanced machine learning for highest accuracy.

High Accuracy
MRZ Cropping
REST API
OCR Scanning Illustration

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.

01

Upload Image

Send a passport image via our REST API. We support standard multipart uploads and base64 strings.

02

MRZ Detection

Our vision models instantly locate, deskew, and crop the Machine Readable Zone with high precision.

03

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]"
Passport Sample Image

Simple Pricing

Pay only for what you use. No subscriptions, no surprises.

Limited time offer — get 100 free credits when you create an account
Free
$0

No signup required

  • 10 requests per day
  • Full MRZ extraction
  • No API key needed
  • Zero data retention
Try It Free
Most Popular
Pay As You Go
$0.01/request

$1 = 100 credits

  • Unlimited requests
  • Priority processing
  • Idempotency support
  • Credits never expire
  • No subscription, no overages
Sign Up to Get Started

Get 100 free credits on sign-up, then purchase more from your dashboard.

FAQ

Frequently Asked Questions