Eko Platform Services Logo

    POSTDriving License Verification

    Verify driving license details in real time — holder name, DOB, address, validity, COV/badge class, and status.

    POST/tools/kyc/driving-license

    The Driving License Verification API validates a DL number against government records and returns structured identity and entitlement data including the holder's name, father/husband name, date of birth, address, license validity windows (transport and non-transport), class of vehicle (COV) details, and badge information. Ideal for KYC, driver onboarding, and compliance workflows.

    Body parameters

    initiator_idstringRequired

    Registered mobile number of the API user (see Platform Credentials).

    example: 9962981729

    user_codestringRequired

    User code of the retailer/agent the service is run for.

    example: 20810200

    client_ref_idstringoptional

    Unique reference id per API call, generated by your system.

    example: REQ-20260101-001

    dl_numberstringRequired

    Driving license number to verify (e.g. MH0220190001234).

    example: MH0220190001234

    dobstringRequired

    Date of birth of the DL holder in YYYY-MM-DD format. Used to cross-validate the license.

    example: 1994-08-29

    Headers

    developer_keystringRequired

    Static API key issued to your account after KYC.

    secret-keystringRequired

    Dynamic per-request signature: base64(HMAC-SHA256(timestamp, base64(access_key))).

    secret-key-timestampstringRequired

    Current time in milliseconds since UNIX epoch, used to compute secret-key. Must match server time.

    content-typestringRequired

    application/json

    example: application/json

    Responses

    • statusnumber

      Primary success indicator (0 = success).

    • messagestring

      Human-readable response / error message.

    • response_status_idnumber

      Granular status id; see the shared error-codes table.

    • response_type_idnumber

      A unique id for every possible response shape (success or error) — useful for client logic branching and analytics.

    • dataobject

      API-specific response payload.

      • dl_numberstring

        The driving license number that was verified.

      • dobstring

        Date of birth of the DL holder as returned by the authority.

      • statusstring

        Overall status of the driving license (e.g. Active, Suspended, Expired).

      • details_of_driving_licenceobject

        Core identity and administrative details extracted from the DL record.

        • namestring

          Full name of the driving license holder.

        • father_or_husband_namestring

          Father's or husband's name as recorded on the DL.

        • date_of_issuestring

          Date the driving license was originally issued (YYYY-MM-DD).

        • date_of_last_transactionstring

          Date of the most recent administrative transaction on the license.

        • last_transacted_atstring

          RTO or office where the last transaction was processed.

        • statusstring

          Status of the DL as returned in the detailed record (mirrors top-level status).

        • address_listarray

          List of addresses associated with the DL holder.

          • complete_addressstring

            Full address string as recorded on the DL.

          • typestring

            Address type, e.g. permanent or temporary.

          • split_addressobject

            Address broken into components (street, city, state, pincode) when available.

        • addressstring

          Single-string address fallback when address_list is unavailable.

        • photostring

          Base64-encoded photograph of the DL holder as stored in the authority's database.

        • cov_detailsarray

          Class of Vehicle (COV) entitlement records — each entry lists a vehicle class and associated validity.

          • covstring

            Vehicle class code, e.g. LMV, MCWG, TRANS.

          • issue_datestring

            Date the COV entitlement was granted.

      • dl_validityobject

        Validity windows for transport and non-transport license categories.

        • non_transportobject

          Validity period for non-transport (personal) vehicle authorisation.

          • fromstring

            Non-transport validity start date (YYYY-MM-DD).

          • tostring

            Non-transport validity end date (YYYY-MM-DD).

        • transportobject

          Validity period for transport (commercial) vehicle authorisation.

          • fromstring

            Transport validity start date (YYYY-MM-DD).

          • tostring

            Transport validity end date (YYYY-MM-DD).

        • hazardous_valid_tillstring

          Date until which the hazardous-goods endorsement is valid, if applicable.

        • hill_valid_tillstring

          Date until which the hill-driving endorsement is valid, if applicable.

      • badge_detailsarray

        Badge/transport endorsement records, each describing a permitted vehicle class group.

        • badge_nostring

          Badge number assigned by the transport authority.

        • badge_issue_datestring

          Date the badge was issued.

        • class_of_vehiclearray

          List of vehicle classes covered under this badge (e.g. LMV, MCWG, TRANS).