Driver's License Extraction API

Extract structured information from driver's licenses using country-specific schemas and validation. This document type is country-aware. Provide the issuing country as the `country` form field. Supported countries: IND, USA, VNM. Response fields vary by country. Supported MIME types: application/pdf, image/jpeg, image/png, image/webp

POST
/v1/documents/driver-license

Extract structured information from driver's licenses using country-specific schemas and validation.

This document type is country-aware. Provide the issuing country as the country form field. Supported countries: IND, USA, VNM. Response fields vary by country.

Supported MIME types: application/pdf, image/jpeg, image/png, image/webp

Authorization

bearerAuth
AuthorizationBearer <token>

Provide your Cryvis API key as a Bearer token.

In: header

Request Body

multipart/form-data

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/documents/driver-license" \  -F file="string" \  -F country="IND"

{  "success": true,  "data": {    "full_name": "RAHUL SHARMA",    "date_of_birth": "1992-08-14",    "address": "12 MG Road, Bengaluru, Karnataka",    "license_number": "KA01 20190012345",    "issue_date": "2019-06-10",    "expiry_date": "2039-06-09",    "vehicle_classes": {      "LMV": {        "issue_date": "2019-06-10"      },      "MCWG": {        "issue_date": "2019-06-10"      }    },    "blood_group": "B+",    "issuing_rto": "RTO Bengaluru Central",    "father_name_or_guardian": "SURESH SHARMA"  },  "meta": {    "document_type": "driver-license",    "request_id": "req_example",    "country": "IND"  }}