Skip to content
FinHubBy HabileLabs

Document Intelligence

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

api · POST /v1/kyc/verify
POST /v1/kyc/verify
Authorization: Bearer sk_live_••••
{ "pan": "XXXXX1234F", "consent_artifact": "ca_9f2c…" }

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 a tamper-evident 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.