AmpleTrails, Gurugram · since 2012 +91 93154 41053 WhatsApp info@ampletrails.com Developer guide · Guides
Products
Identity verificationBusiness verification (KYB)Bank, income & creditFace match & OCRVideo KYC, eSign & flowsCompliance & riskPayouts & messagingAll 52 APIs
Use cases
Customer onboarding (KYC)Merchant & seller onboarding (KYB)Vendor & supplier verificationEmployee background checksGig and field worker onboardingLoan underwritingPayout and refund validationDuplicate and synthetic identity detection
Industries
Fintech & Digital LendingBanks & NBFCsInsuranceBroking, Mutual Funds & WealthCrypto & VDA PlatformsReal-money GamingE-commerce & MarketplacesStaffing, Gig & HRTelecomMobility & LogisticsReal Estate & RentalsB2B & Procurement
Resources
GuidesGlossaryFAQSecurity & data
DevelopersPricingAbout
Theme
Get API keysCall +91 93154 41053

Driving Licence Verification API

Send the DL number and the holder's date of birth. We return the licence status, holder and relative name, validity dates for non-transport and transport, authorised vehicle classes and issuing RTO.

Identity document · sample NameRAVI KUMAR NumberABCDE1234F Matches the record Name match96 / 100 PAN statusOperative Aadhaar linkLinked
Source
Sarathi driving licence records (Ministry of Road Transport and Highways)
Turnaround
Real time, usually a few seconds
Endpoint
POST /v1/driving-licence/verify
Who can use it
Any business with the holder's consent, most often mobility, logistics, insurance and staffing companies.

Overview

If someone is going to drive for you, you need to know their licence is valid today and covers the vehicle. This check reads the national Sarathi record and gives you the classes and expiry dates, including the separate transport validity commercial drivers need.

Good to know

Very old licences issued before digitisation may not be in Sarathi until the holder gets them backlogged at their RTO. The record has no photo we can share.

What you get

  • Transport vs non-transportCommercial vehicles need a transport endorsement with its own, shorter validity. We return both dates.
  • Vehicle classesLMV, MCWG, HGMV and so on, so you know the licence covers the vehicle you're assigning.
  • Re-check on scheduleRun it again before the expiry date we return to catch lapsed licences in your fleet.
  • DOB as the keyThe date of birth requirement stops people from checking licences they don't own.

Request

POST https://api.ampletrails.com/v1/driving-licence/verify

FieldTypeStatusDescription
id_numberstringRequiredDriving licence number
dobstringRequiredHolder's date of birth (YYYY-MM-DD)
consentstringRequiredY if the user has given explicit consent

Response

Fields inside data. Every response also carries status, request_id and, on errors, message. See error codes.

FieldMeaningExample
dl_statusLicence status: ACTIVE, EXPIRED or SUSPENDEDACTIVE
full_nameHolder's nameRavi Kumar
relative_nameFather's or husband's nameSuresh Kumar
valid_from_ntNon-transport validity start date2019-03-10
valid_to_ntNon-transport validity end date2039-04-11
valid_to_trTransport validity end date, if applicablenull
vehicle_classesAuthorised vehicle classes["MCWG", "LMV"]
issuing_rtoRTO that issued the licenceRTO Gurugram
stateState of issueHaryana

Example

curl -X POST https://api.ampletrails.com/v1/driving-licence/verify \
  -H "Authorization: Bearer $AMPLE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"id_number": "HR2620190012345", "dob": "1990-04-12", "consent": "Y"}'
Response · 200 OK
{
  "status": "success",
  "request_id": "req_7f3a9c21e4",
  "data": {
    "dl_status": "ACTIVE",
    "full_name": "Ravi Kumar",
    "relative_name": "Suresh Kumar",
    "valid_from_nt": "2019-03-10",
    "valid_to_nt": "2039-04-11",
    "valid_to_tr": null,
    "vehicle_classes": [
      "MCWG",
      "LMV"
    ],
    "issuing_rto": "RTO Gurugram",
    "state": "Haryana"
  }
}

Example data. The exact field list for your account comes with your sandbox documentation.

Use cases

Ride-hailing and delivery

Confirm every driver and rider before activation, and again at renewal.

Motor insurance claims

Check the driver held a valid licence for that vehicle class on the date of the accident.

Car rentals

Self-drive rental companies check the licence at booking, not just at handover.

Questions about this API

What format should the DL number be in?

State code, RTO code, year and serial, for example HR26 2019 0012345. We accept it with or without spaces and hyphens.

Why does a valid-looking licence return 'not found'?

Usually it is an old paper licence that was never added to Sarathi, or the DOB doesn't match. Ask the holder to check on the Parivahan site or visit their RTO.

Does it show challans or penalties?

No. This is the licence record only.

Can I check a licence issued outside India?

No. For foreign or international driving permits, use Global ID Verification on the document image.

Try the Driving Licence Verification API

Sandbox keys, the full field reference and a Postman collection, usually within a working day.