OCR Passport API
Extract passport number, name, date of birth, nationality and expiry from a passport image, including the machine-readable zone.

Overview
What the OCR Passport API does
OCR Passport reads a passport data page and returns personal information, document metadata and address details in structured form.
Passports follow an international standard, including the machine-readable zone at the foot of the page. That consistency makes extraction highly reliable and gives an internal cross-check between the printed fields and the encoded ones.
Built for
Use cases
Where teams use the OCR Passport API
Onboarding customers who use a passport as primary identity proof
Capturing traveller details for travel and forex services
Reading foreign passports during NRI onboarding
Screening for expired documents at point of capture
Frequently Asked Questions (FAQs)
Related APIs
- OCR DL APIExtract licence number, holder name, date of birth, validity and vehicle classes from a driving licence image automatically.
- OCR Aadhaar APIExtract the Aadhaar number, name, date of birth, gender and address from a photo of an Aadhaar card, ready for identity verification.
- OCR PAN APIRead PAN number, name, father's name and date of birth from a PAN card image and return them as structured, verifiable data.
- OCR Voter Id APIRead the EPIC number, name, relation name, date of birth, gender and address from a voter ID card image as structured data, without manual entry.
Start verifying with the OCR Passport API
Book a walkthrough and we will show the call, the response and how it fits your onboarding flow.
- One API key for every check
- Verified against official Indian records
- Built for onboarding at scale
