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 ✓
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
}
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.