DocsAPI LogoDocsAPI

Instant, Accurate Passport Verification

Support for 120+ ICAO passport templates worldwide, with e-passport chip image extraction and biometric verification capabilities in a single API call.

Passport with MRZ highlighted
99.9% MRZ Accuracy

Comprehensive Field Extraction

document_number
issuing_country
surname
given_names
nationality
dob
expiry_date
sex

Industry-Leading Accuracy

Accuracy Metrics

MRZ Lines99.9%
Printed Text98%

Global Benchmark

Our accuracy metrics are based on a comprehensive benchmark of over 5 million passports across 110 countries, including challenging scenarios like low-light conditions and worn documents.

Tested across 6 continents
Includes non-Latin script passports
Verified against ICAO standards

Passport Extraction Workflow

1

Camera or Scan Upload

Users can capture passport via mobile camera or upload a scan through your app or web interface.

2

Auto-detect & MRZ Parse

AI automatically detects passport type, orientation, and extracts MRZ data in under 1 second.

3

Check Digits Validation

System validates MRZ check digits to ensure document authenticity and data integrity.

4

Optional Face ≈ Selfie Match

Compare extracted passport photo with live selfie for additional identity verification.

Time & Fraud Savings

Processing Time Reduction

Manual Passport Typing60 seconds
Automated OCR Processing6 seconds

90% faster processing time, leading to smoother onboarding and higher conversion rates.

Fraud Detection Improvement

Our AI detects fraudulent passports at 3 times the rate of manual verification, identifying subtle inconsistencies in MRZ data, font patterns, and security features.

Developer Output Example

Passport OCR Response
{
  "request_id": "pass_req_8f7d9c2e",
  "status": "success",
  "processing_time_ms": 842,
  "document": {
    "type": "passport",
    "issuing_country": "GBR",
    "document_number": "123456789",
    "surname": "SMITH",
    "given_names": "JOHN JAMES",
    "nationality": "GBR",
    "dob": "1990-01-15",
    "expiry_date": "2030-01-14",
    "sex": "M",
    "mrz_raw": "P<GBRSMITH<<JOHN<JAMES<<<<<<<<<<<<<<<<<<<<<<<\n1234567897GBR9001154M3001141<<<<<<<<<<<<<<00",
    "mrz_validity": true,
    "face_crop_base64": "[base64_encoded_image_data]",
    "confidence": {
      "document_number": 0.99,
      "surname": 0.98,
      "given_names": 0.97,
      "dob": 0.99,
      "expiry_date": 0.99
    },
    "face_match_score": 0.92
  }
}

Key Response Elements

1

document_number and expiry_date for identity verification

2

mrz_validity boolean flag for document authenticity check

3

confidence scores for each extracted field

4

face_match_score for biometric verification

Compliance & Security

ICAO 9303 Compliant

Fully compliant with International Civil Aviation Organization standards for travel document processing.

End-to-End Encryption

All passport data is encrypted in transit and at rest using AES-256 encryption standards.

Auto-Redaction

Configurable data retention policies with automatic redaction when retention period expires.

Frequently Asked Questions

Deploy passport OCR in your app.

Start verifying passports with industry-leading accuracy and speed. Integrate our API in minutes, not days.