Voter ID (EPIC) verification API
Confirm an EPIC number and get the voter’s details.
Overview
Looks up an Electors Photo Identity Card number and returns the name, age and constituency on the electoral roll. Good fallback ID for customers who don’t have a PAN.
POST/v1/verify/voter-id
Where it’s used
- Rural lending and microfinance
- Agent and BC onboarding
- Secondary ID check
How the check runs
- You send the EPIC number printed on the voter ID card.
- We look it up in the electoral roll.
- You get the elector’s name, relative’s name, age, gender and constituency.
Request
| Field | Description |
|---|---|
epic_number | EPIC number, e.g. ABC1234567 |
consent | "Y" once your user has agreed to the check. Required for any check on a person. |
curl -X POST https://api.yetlix.com/v1/verify/voter-id \
-H "x-client-id: $YETLIX_CLIENT_ID" \
-H "x-client-secret: $YETLIX_CLIENT_SECRET" \
-H "Content-Type: application/json" \
-d '{"epic_number":"ABC1234567","consent":"Y"}'
{
"status": "success",
"request_id": "req_7Hq2kD91",
"data": {
"epic_number": "ABC1234567",
"name": "Sunita Devi",
"age": 41,
"gender": "F",
"state": "Bihar",
"district": "Patna",
"assembly_constituency": "Danapur"
}
}
Response fields
Inside the data object. The envelope (status, request_id, billable, timestamp) is the same for every API and is described in the docs.
| Field | Type | Meaning |
|---|---|---|
epic_number | string | The EPIC number. |
name | string | Elector name, as on the roll. |
relative_name | string | Father’s or husband’s name. |
age | integer | Age as on the roll. Note this is age at the roll’s qualifying date, not today. |
gender | enum | M, F or T. |
state, district, assembly_constituency | string | Where the person is registered to vote. |
part_number, serial_number | string | Location in the electoral roll. |
Outcomes and what to do
Every check can end in a handful of ways. Decide up front what your product does in each case, so nothing falls through to a support ticket.
FOUND
The EPIC exists on the current roll.
Do this: Compare name and age with your application.
NOT_FOUND
EPIC not on the roll. It may have been deleted or mistyped.
Do this: Ask the user to re-check, or use another ID.
Sandbox test values
Send these values in epic_number with your sandbox key to get each result. Anything else returns INVALID_INPUT in sandbox.
| Value | Returns |
|---|---|
ABC1234567 | Found on roll |
XYZ0000000 | Not found |
Best practices
- Voter ID is a good secondary document for customers without PAN, especially in rural lending.
- Use Name match to compare against bank or Aadhaar names; transliterations from regional languages vary a lot.
Compliance note. A voter ID card issued by the Election Commission is an officially valid document (OVD) for KYC under RBI’s KYC directions.
Frequently asked
Does it return an address?
It returns the constituency and polling details, not a full street address.