An Indian driving licence returned both ways in a single call: the full licence record as JSON, and a pdf_url pointing at a ready-to-prin…
{
"success": true,
"message": "",
"data": {
"order_id": "W2A1739512345abcdef01",
"result": {
"license_number": "MH0320140001234",
"state": "Maharashtra",
"name": "PRIYA PATEL",
"father_or_husband_name": "MAHESH PATEL",
"dob": "1992-06-15",
"gender": "F",
"blood_group": "B+",
"citizenship": "",
"permanent_address": "42 MG ROAD, PUNE, MAHARASHTRA",
"permanent_zip": "411001",
"temporary_address": "42 MG ROAD, PUNE, MAHARASHTRA",
"temporary_zip": "411001",
"city_name": "PUNE",
"ola_name": "RTO PUNE",
"ola_code": "MH032",
"doi": "2014-08-11",
"doe": "2034-08-10",
"initial_doi": "2014-08-11",
"transport_doi": "1800-01-01",
"transport_doe": "1800-01-01",
"vehicle_classes": [
"MCWG",
"LMV-NT"
],
"has_image": true,
"profile_image": "/9j/4AAQSkZJRgABAQAAAQABAAD__gATQ3JlYXRlZCB3aXRoIEdJTVA...",
"less_info": false,
"pdf_url": "https://docs.example-renderer.com/upload/dl2_1786426531_70e7ff519ee00a12.pdf"
}
}
}
{
"success": false,
"message": "Verification Failed.",
"data": {
"order_id": "W2A1739512345abcdef01",
"error_code": "no_record",
"result": {
"license_number": "MH0320140001234",
"state": "",
"name": "",
"father_or_husband_name": "",
"dob": "1992-06-15",
"gender": "",
"blood_group": "",
"citizenship": "",
"permanent_address": "",
"permanent_zip": "",
"temporary_address": "",
"temporary_zip": "",
"city_name": null,
"ola_name": "",
"ola_code": "",
"doi": "",
"doe": "",
"initial_doi": "",
"transport_doi": "",
"transport_doe": "",
"vehicle_classes": [],
"has_image": false,
"profile_image": "",
"less_info": false,
"pdf_url": ""
}
}
}
| Code | Meaning |
|---|---|
| 200 | OK — Request successful |
| 400 | Bad Request — Missing or invalid parameters |
| 401 | Unauthorized — Invalid or missing API key |
| 429 | Too Many Requests — Rate limit exceeded |
| 500 | Server Error — Try again later |
Start with 5 free trial calls on this API. No credit card required.
Get API Key — Free Browse All APIsOther Way2API endpoints in the same category.