Driving License Text and PDF
GeneralDriving License Text and PDF API — 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-print government smart-card / A4 PDF of the same licence. Send the licence number and date of birth and receive the holder name, parent or spouse name, date of birth, sex, blood group, permanent and temporary addresses with PIN codes, issuing authority and its RTO code, state, issue and expiry dates for both non-transport and transport classes, the vehicle classes the licence authorises, and the holder photograph as base64 — plus the document link. Dates come back as ISO YYYY-MM-DD, and gender and vehicle_classes are published from stable value sets, so both the shape and the values of this response are guaranteed not to move. pdf_url is an empty string in the rare case where a document could not be produced; the record itself is unaffected, so check it before following the link. Generated documents stay downloadable for a limited time — fetch and store the file promptly rather than holding the link. Use this endpoint when you need to both read the licence data and hand someone a printable card; the Driving License Verification and Driving License PDF endpoints sell those halves separately.
🗺 Country-specific
India
Quick Start
1. Copy your API key from Dashboard → API Keys
2. Send a POST request to /api/v1/driving-license/text-pdf
3. Pass the key as Authorization: Bearer <key>
4. Read the result from the data object in the JSON response
cURL
curl -X POST https://app.way2api.com/api/v1/driving-license/text-pdf \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"dl_number":"MH0320140001234","dob":"15/06/1992"}'