FastKYC
Vision APIs

OCR Passport API

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

Category
Vision APIs
Built for
OCR Passport illustration

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.

Where teams use the OCR Passport API

  1. Onboarding customers who use a passport as primary identity proof

  2. Capturing traveller details for travel and forex services

  3. Reading foreign passports during NRI onboarding

  4. Screening for expired documents at point of capture

Frequently Asked Questions (FAQs)

Does it read the machine-readable zone?

Yes, and because the MRZ encodes several printed fields, it doubles as a consistency check on the extraction.

Does it work with non-Indian passports?

The MRZ is an international standard, so extraction works broadly. Field coverage outside the MRZ varies by issuing country.

How do I verify the passport itself?

Use Passport Verification to check the file number against issuing records.

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
FastKYC

Book a demo

See FastKYC on the checks you run

KYC, KYB, Verification APIs, OCR, SMS, WhatsApp & Custom solutions

Tell us what you need to verify and we will get back to you.

APIs
170+
Verifications
1.2M+
Checks a day
5000+