DocsAPI LogoDocsAPI

One-Scan National ID Verification

Extract data from ID cards with advanced barcode decoding, hologram text recognition, and optional liveness checks for secure, instant verification across global formats.

NATIONAL IDENTITY CARD
REPUBLIC OF HYPERVERGE
NAME
JOHN Q. SAMPLE
ID NUMBER
ID-12345678-9
DATE OF BIRTH
01-JAN-1980
EXPIRY DATE
01-JAN-2030
OFFICIAL GOVERNMENT ID
ADDRESS
123 VERIFICATION STREET
IDENTITY CITY, ID 12345
Barcode & text extraction99% accuracy
Hover to see front & back verification

Field Reference

Comprehensive data extraction from all types of national identity documents

Field NameDescription
document_numberUnique identifier of the ID card
full_nameComplete name as printed on the ID
dobDate of birth in ISO format (YYYY-MM-DD)
expiry_dateExpiration date in ISO format (YYYY-MM-DD)
issuing_authorityGovernment body that issued the ID
barcode_payload_jsonComplete decoded data from barcode/QR code
face_crop_base64Base64 encoded image of the face from ID

Accuracy Benchmarks

Industry-leading precision across all ID types and formats

Printed Text Recognition
OCR accuracy for printed text on ID cards
Accuracy Rate99%

Benchmarked across 50+ ID types and 30+ languages, including non-Latin scripts and special characters.

Barcode Decode Rate
Success rate for barcode and QR code extraction
Success Rate99.5%

Supports PDF417, QR, DataMatrix, and other barcode formats used in government-issued IDs worldwide.

Results based on a benchmark of 3.2 million ID scans across 85 countries, including challenging conditions like glare, low light, and worn documents.

Verification Workflow

Three-step process for secure, accurate ID verification

1
Multi-angle Capture Assistant
Smart capture guide ensures optimal angle and lighting for ID scanning, reducing retries by 70%.
2
Barcode & Text Fusion OCR
Dual extraction from both printed text and encoded barcode data for maximum accuracy and cross-validation.
3
Tamper & Duplicate Detection
Advanced algorithms detect altered IDs and flag potential duplicates with 97% accuracy.

Time & Fraud Savings

Accelerate verification while enhancing security

Processing Time Reduction

Manual Check

90s

Automated

10s

89% faster verification enables smoother onboarding and reduces abandonment rates by 35%.

Fraud Detection Improvement

Duplicate ID Flag Accuracy

97%

Advanced algorithms detect altered IDs and flag potential duplicates with high precision, reducing fraud attempts by 65%.

Streamlined verification creates a smoother onboarding experience, reducing drop-offs while maintaining robust security. Customers report a 40% increase in successful onboarding completions.

Developer Output

Structured data ready for your application

JSON Response
Sample response from the National ID OCR API
{
  "request_id": "req_01HGXYZ123456789",
  "document_type": "national_id",
  "confidence_score": 0.98,
  "extracted_fields": {
    "document_number": "AB123456789",
    "full_name": "JANE MARIE SMITH",
    "dob": "1985-06-15",
    "expiry_date": "2028-06-14",
    "issuing_authority": "DEPARTMENT OF HOME AFFAIRS"
  },
  "barcode_payload": {
    "encoded_data": "SMITH<<JANE<MARIE<<<<<<<<<<<<<<<<<",
    "id_number": "AB123456789",
    "nationality": "USA",
    "gender": "F",
    "additional_data": {
      "address": "123 MAIN ST, ANYTOWN, CA 90210",
      "issue_date": "2018-06-15"
    }
  },
  "face_crop_base64": "data:image/jpeg;base64,/9j/4AAQSkZJRgABA...",
  "verification_results": {
    "tamper_check": "PASSED",
    "expiry_check": "VALID",
    "duplicate_check": "NO_DUPLICATES_FOUND"
  }
}

Regional Compliance

Privacy-first approach for sensitive identity documents

Sensitive ID Handling
Special handling for Aadhaar, SSN, and other privacy-sensitive IDs with masked data options and restricted field extraction.
End-to-End Encryption
All ID data is encrypted in transit and at rest with AES-256 encryption and optional client-side processing for maximum security.
GDPR Retention Controls
Configurable data retention periods with automatic deletion and audit logs to maintain compliance with GDPR and other privacy regulations.

Our platform is designed to meet the strictest global privacy standards, including GDPR, CCPA, and regional regulations for handling sensitive identity documents. We provide flexible deployment options to meet your specific compliance requirements.

Frequently Asked Questions

Common questions about our National ID verification

Add ID verification to your flow.

Integrate our National ID verification API in minutes and start verifying identities securely.