Document extraction

Automate identity data capture from passports.

Extract structured passport data from images and PDFs and send it directly into your KYC or onboarding workflow.

1 credit per image · POST /v1/documents/passport

1 credit per image · POST /v1/documents/passport

Live demo

See it work with your document.

Upload a document and see the structured data Cryvis returns.

No API key required. Protected by Cloudflare Turnstile.

Response

Upload a document and click Extract data to see structured JSON here.

Use cases

Built for KYC and identity onboarding

Automate KYC onboarding

Capture identity information directly from passport uploads without manual data entry.

Verify travel documents at scale

Parse ICAO-compliant passports worldwide through one Passport OCR API endpoint.

Feed structured identity into your product

Names, dates, nationality, passport number, and MRZ land as typed JSON ready for your database.

Workflow

Replace manual data entry.

Cryvis turns passport uploads into identity data your application can use immediately.

Before

  1. 1Document
  2. 2Human reads it
  3. 3Manual data entry
  4. 4Review
  5. 5System

After

  1. 1Passport
  2. 2Cryvis
  3. 3Identity data
  4. 4Your application

Extracted data

Get the data your application needs.

Grouped fields from the production schema, ready for your application.

Identity

full_namegiven_namesurnamedate_of_birthnationalitysex

Document

passport_numberissue_dateexpiry_dateissuing_countrymrz

How it works

Passport → Cryvis → Identity data → KYC workflow

Upload a document, get structured data, and route it into kyc workflow.

  1. 1. DocumentPassport
  2. 2. CryvisDocument understanding
  3. 3. Structured dataIdentity data
  4. 4. Your applicationKYC workflow

Capabilities

Technical capabilities

What this passport extraction API supports in production.

  • Structured JSON
  • Typed fields
  • PDF support
  • Image support
  • API keys
  • Usage metering
  • Rate limits
  • MRZ extraction

API

Integrate it in minutes.

Upload passport pages and get structured JSON — a passport to JSON API in one call.

POST /v1/documents/passportView API reference

Request

curl -X POST https://api.cryvis.com/v1/documents/passport \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -F "first_page=@passport-front.jpg" \
  -F "last_page=@passport-back.jpg"

Response

{
  "full_name": "JOHN DOE",
  "given_name": "JOHN",
  "surname": "DOE",
  "date_of_birth": "1995-04-12",
  "nationality": "IND",
  "passport_number": "P1234567",
  "issue_date": "2020-04-12",
  "expiry_date": "2030-04-12",
  "issuing_country": "IND",
  "sex": "M",
  "mrz": {
    "line1": "P<INDDOE<<JOHN<<<<<<<<<<<<<<<<<<<<<<<<<<<<",
    "line2": "P1234567<3IND9504124M3004123<<<<<<<<<<<<<<<4",
    "check_digits_valid": true
  }
}

Why Cryvis

Don't build document-processing infrastructure yourself.

Cryvis handles the document understanding layer so you can focus on your product.

Structured output

Every response is typed JSON your application can store, validate, and route without brittle parsing.

Document-specific extraction

Purpose-built schemas for identity, finance, and vehicle documents — or define your own.

Production API

API keys, rate limits, and usage metering so you ship without building OCR infrastructure.

Ready to extract passport data?

Start free. No credit card required.