Eko Platform Services Logo

    POSTVoter ID Verification

    Validate EPIC (Voter ID) card details in real time against government records — returns name, age, address, constituency, and polling station information.

    POST/tools/kyc/voter-id

    The Voter ID Verification API lets you verify an Electoral Photo Identity Card (EPIC) number against government electoral rolls. A single POST call returns the cardholder's full identity profile — name (English and regional language), date of birth, gender, guardian details, structured address, assembly and parliamentary constituency, and polling station — making it suitable for KYC, 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

    epic_numberstringRequired

    Unique Electoral Photo Identity Card (EPIC) number to verify.

    example: ABC1234567

    namestringoptional

    Name of the Voter ID cardholder. Optional; can be used for cross-verification against returned name.

    example: Rajesh Kumar

    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.

      • namestring

        Cardholder's full name as recorded on the voter ID.

      • name_in_regional_langstring

        Cardholder's name in the regional/vernacular script.

      • agestring

        Age of the cardholder as per voter roll records.

      • dobstring

        Date of birth in YYYY-MM-DD format.

      • genderstring

        Gender of the cardholder.

      • father_namestring

        Father's name as on the voter record.

      • relation_typestring

        Relationship type of the guardian (e.g., Father, Husband).

      • relation_namestring

        Guardian's name corresponding to the relation_type.

      • relation_name_in_regional_langstring

        Guardian's name in the regional/vernacular script.

      • epic_numberstring

        The EPIC number that was verified.

      • addressstring

        Full address string as recorded in the electoral roll.

      • statestring

        State name corresponding to the voter's registered address.

      • split_addressobject

        Parsed address broken into individual components.

        • districtarray

          District(s) extracted from the address.

        • cityarray

          City/town(s) extracted from the address.

        • statearray

          State(s) extracted from the address (may be nested arrays).

        • pincodestring

          PIN code extracted from the address.

        • countryarray

          Country extracted from the address.

        • address_linestring

          Full address reassembled as a single line.

      • assembly_constituencystring

        Name of the assembly constituency (Vidhan Sabha) for the voter.

      • assembly_constituency_numberstring

        Numerical code of the assembly constituency.

      • parliamentary_constituencystring

        Name of the parliamentary constituency (Lok Sabha) for the voter.

      • parliamentary_constituency_numberstring

        Numerical code of the parliamentary constituency.

      • part_numberstring

        Part/section number of the electoral roll in which the voter is listed.

      • part_namestring

        Name of the electoral roll part/section.

      • serial_numberstring

        Serial number of the voter within the electoral roll part.

      • polling_stationstring

        Name and/or location of the designated polling station.