ICAO 9303 · MRZ · Template · Authenticity · 195 countries

Document
Intelligence
Engine

Verify passports and ID cards in under 2 seconds. MRZ parsing, template matching, and authenticity scoring — all in one API.

195
Countries
≤2s
Response
MRZ
Auto-parse
ICAO
9303 compliant
API
Ready
TD3 Passport TD1 ID Card MRZ Checksum ICAO 7-3-1 Template Matching Anti-Spoof Layer 195 Countries JSON Report Webhook Support On-Premise Available Panama · Brazil · EU · USA TD3 Passport TD1 ID Card MRZ Checksum ICAO 7-3-1 Template Matching Anti-Spoof Layer 195 Countries JSON Report Webhook Support On-Premise Available Panama · Brazil · EU · USA
HOW IT WORKS
From image to
decision in one request
Four-stage pipeline running on every verification.
01 — CAPTURE
Image Input
Upload via browser or POST base64 image to the API endpoint.
02 — PARSE
MRZ Extraction
OCR detects MRZ zone. ICAO 7-3-1 checksums validated for all fields.
03 — ANALYZE
Template Match
Aspect ratio, MRZ contrast, photo zone, border geometry scored against country profile.
04 — DECIDE
Verdict + Score
AUTHENTIC · LIKELY_AUTHENTIC · SUSPICIOUS · LIKELY_FAKE with confidence level.
CAPABILITIES
Built for
compliance teams
MRZ Intelligence
Full ICAO 9303 TD1/TD3 parsing. Name, DOB, expiry, nationality, document number — all extracted and cross-validated.
TD1TD3Checksum195 countries
📐
Template Analysis
Document aspect ratio, MRZ zone contrast, photo placement and border geometry scored against country-specific profiles.
PRADOMIDV-500Geometry
🔬
Authenticity Score
Weighted composite score from 5 independent signals. Returns confidence level and actionable verdict.
0–100 scoreHIGH/MED/LOW
Cross-Check
MRZ data vs OCR data comparison. Detects common fraud patterns — name mismatch, DOB divergence, altered fields.
Anti-fraudMRZ vs OCR
Camera Capture
Professional 5-state capture module. Auto-detects 4 corners, quality gates (blur, glare, brightness), perspective correction.
Auto-captureQuality gatePerspective fix
🔌
API-First
REST API with API key auth. Full JSON reports. Integrate into any KYC, onboarding or compliance workflow in minutes.
RESTJSONWebhook
LIVE DEMO
Try it now —
free
Analyze a Document
3 free analyses · No account required · Results in under 2s
Analyzing document...
Drop passport or ID image here
JPG · PNG · max 10MB
Demo limit reached. Create a free account for more analyses.
Ref:
DEVELOPER API
Simple API.
Powerful decisions.
Integrate document verification into any workflow with a single POST request.
POST
/api/analyze
Full document analysis
POST
/api/auth/register
Create account
POST
/api/keys
Generate API key
GET
/api/analyses
Analysis history
// POST /api/analyze // Header: X-API-Key: dlk_your_key { "verdict": "AUTHENTIC", "authenticity_score": 88.5, "confidence": "HIGH", "mrz_valid": true, "checksums": true, "country": "PAN", "doc_type": "passport", "ref": "DL-A3F8C2D1", "ms": 1420 }
Start verifying documents today

Free account. 3 analyses included. No credit card required.
Upgrade when you need scale.

Create Free Account → View Pricing

Frequently Asked Questions

Everything you need to know about DocLayer document verification.

What is DocLayer?
DocLayer is an AI-powered document verification API that extracts, parses, and validates identity documents in real time. It reads MRZ (Machine Readable Zone) data, performs ICAO 9303 compliance checks, and returns structured JSON — ready for KYC, onboarding, and compliance workflows.
What document types are supported?
DocLayer supports passports (TD3), national ID cards (TD1), and travel documents (TD2). Any ICAO 9303-compliant document with a machine-readable zone can be processed, including refugee travel documents, visa stickers, and crew member certificates.
What is ICAO 9303?
ICAO 9303 is the international standard published by the International Civil Aviation Organization that defines the specifications for machine-readable travel documents. It covers the layout, data encoding, and check-digit algorithms used in the MRZ. DocLayer validates every field against these rules to ensure data integrity.
How does MRZ parsing work?
DocLayer uses OCR to locate and read the MRZ lines from a document image. It then decodes each field — name, nationality, date of birth, document number, expiry date — and verifies the embedded check digits according to ICAO 9303. Results are returned as structured JSON with a per-field confidence score, typically in under 800 ms.
How many countries are supported?
DocLayer recognises documents from 190+ countries and territories. Because the MRZ format is standardised by ICAO, any compliant document can be parsed regardless of issuing country. The country code is extracted and mapped to a full country name automatically.
Can DocLayer detect fraudulent documents?
Yes. DocLayer flags documents where check digits fail validation, where the MRZ data is internally inconsistent, or where the document has expired. Combined with field-level confidence scores, these signals help identify tampered, forged, or digitally altered documents before they enter your pipeline.