Skip to content

Document Intelligence

Read passport bio-data pages and MRZ lines into clean, structured fields.

request · /v1/ocr/passport

Passport bio-data page

MRZ line

Send request

api · POST /v1/kyc/verify
POST /v1/kyc/verify
Authorization: Bearer sk_live_••••
{ "pan": "XXXXXXXXXX", "consent_artifact": "ca_••••" }
OKVerified
{
"status": "verified",
"name_match": "high",
"dpdp_purpose_code": "LOAN_KYC",
"consent": "sealed"
}

Overview

What the Passport OCR API Does

The Passport OCR API extracts passport number, name, gender, date of birth, address, expiry date and place of birth from bio-data page images, cross-reading the machine-readable zone (MRZ) for accuracy. Structural checks flag quality issues or possible tampering before the record reaches downstream verification.

Inputs

  • Passport bio-data page image
  • MRZ line image or full-page scan
  • Scanned PDF upload

Returns

  • Passport number
  • Name and gender
  • Date of birth
  • Address
  • Expiry date and place of birth

POST /v1/ocr/passport

How it works

Three Steps to a Verified Result

01

Upload the bio-data page

Submit an image or PDF of the passport's bio-data page, including the MRZ lines where visible.

02

OCR plus MRZ cross-check

The engine extracts printed fields and reads the MRZ, cross-checking the two for consistency and flagging mismatches.

03

Structured, verifiable output

Fields are returned as JSON with quality and tamper flags, logged in an audit trail.

Use cases

Where Teams Use Passport OCR

  • NRI and international customer onboarding
  • Address and identity proof for high-value accounts
  • Travel and forex KYC workflows
  • Cross-verifying passport data against visa or PAN records

FAQ

Passport OCR API, FAQs

Common questions about FinHub's Passport OCR API.

Yes. The API cross-reads printed fields against the MRZ and flags any mismatch, which improves extraction accuracy and helps surface tampered documents.

Ready to Add Passport OCR to Your Flow?

Book a demo and see the API return a verified result on your own test data in minutes.