Global Driver License
OCR API
Instantly extract identity, vehicle class, and parse full addresses for automated proof of address. Our driver license OCR API supports IDs from 195+ countries via direct file upload, Base64 strings, or URLs.
curl -X POST
https://api.structocr.com/v1/driver-license \
-H "x-api-key: Bearer sk_live_..." \
-d '{"img": "data:image/jpeg;base64,/9j/4A..."}'{
"success": true,
"data": {
"type": "DL",
"country_code": "USA",
"region": "CA",
"document_number": "D1234567",
"address": "123 MAIN ST, SAN JOSE, CA",
// ... more fields
}
}Our OCR API Key Features
Enterprise Accuracy
Proprietary AI models fine-tuned on US State IDs and global licenses achieve 98.5% accuracy.
Proof of Address Ready
Unlike basic OCR, we parse full addresses into clean strings, serving as a reliable proof of address API for automated KYC workflows.
Global Coverage
Support for 200+ countries including all 50 US states, Canadian provinces, and EU member states.
Zero-Data Retention
Strict privacy compliance; images are purged immediately after processing with no server-side storage.
Hologram Handling
Advanced pre-processing filters out holographic reflections and glare common on driver licenses.
Structured JSON
Transforms raw card images into clean JSON with separated fields for name, dates, and vehicle class.
Fraud Detection Ready
Identify document inconsistencies and integrate with our audit logs for secure identity proofing.
Vehicle Class Data
Extracts vehicle categories (e.g., Class C, Motorcycle) essential for rental and fleet management.

How it works
Integrate professional ID card verification into your app in minutes.
Secure Ingestion
Upload front or back of the license via API. Data is encrypted in transit and purged after processing.
AI Analysis
Our models identify the jurisdiction (State/Country) and correct perspective to read dense text fields.
Structured Output
Receive standardized JSON including address, license number, and vehicle codes ready for your database.
Standard Data Fields You Can Extract
Our API is fine-tuned for ID cards, automatically extracting 12+ specific data points including local addresses and vehicle classes.
Document Type
Country Code
Region / State
License Number
Surname
Given Names
Full Address
Vehicle Class
Sex
Date of Birth
Date of Expiry
Date of Issue
Security Code (DD / Audit)
Father's Name (LATAM)
Mother's Name (LATAM)
RG Number (LATAM)
Live Demo: Driver License OCR Scanner
No registration required. Upload a file to test the extraction.
Drop files here or click to browse
JPG · PNG · WebP · up to 500 files · max 4.5 MB each
Trusted by Mobility & FinTech Leaders
Powering identity verification for rental fleets, delivery apps, and digital banks.
We automated driver onboarding for our delivery fleet. StructOCR handles licenses from 15 different states flawlessly.
The address extraction feature is a lifesaver. It matches the license address against credit card data instantly, reducing fraud by 60%.
Integrating StructOCR for KYC was effortless. It reads even the old, worn-out ID cards that our previous provider rejected.
Why Developers Prefer Our
OCR API for Identity Verification
We prioritize developer experience without compromising on power, providing the tools needed to embed intelligent document recognition into any stack.
Pure REST API, No SDK Bloat
Bypass heavy SDKs. Send driver license images via raw file uploads or Base64-encoded strings directly to our endpoint for instant processing.
Global Edge Infrastructure
Deployed on high-performance edge networks (like Cloudflare) ensuring sub-second latency and 99.99% uptime for your mission-critical verification apps.
Auto-Correction & Formatting
Leverage industry-leading OCR precision that automatically corrects common optical confusions and formats dates/addresses uniformly.
Engineer-Centric Docs
Access deep technical guides and API references crafted to make integrating driver license parsing a seamless experience.
Precise Data Extraction and Seamless
Integration with AI-powered OCR API.
Empower your solutions with automated data extraction by
integrating best-in class StructOCR via API seamlessly.
No credit card required • Full API access included