Skip to Content
APIGeineAPIGeine

Overview

Extract structured data from passport images and PDFs.

Subscribe on RapidAPI

The Passport Extractor API reads a passport from images or PDFs of its pages and returns its data as JSON, ready for identity checks, onboarding and form filling.

What you get

  • From the front page (the photo/data page, required): full name, given names, surname, date and place of birth, sex, nationality, passport number, issue and expiry dates, place of issue, issuing country, and the machine readable zone (MRZ) with every check digit verified by the API.
  • From the last page (optional, on passports that have an address page, such as Indian passports): father's or legal guardian's, mother's and spouse's names, address, file number and previous passport.
  • Predictable JSON: every field is always present and null when it is missing or unreadable. Values are never guessed. Dates are YYYY-MM-DD.

Each page is read on its own and the results are combined. Uploaded files and extracted data are not stored.

Endpoints

MethodPathPurpose
POST/passport-extractor/v1/extractExtract one passport from its front page and, optionally, its last page
GET/passport-extractor/healthService status
POST/passport-extractor/mcpMCP tool for AI assistants

Next: Quickstart.

On this page