Skip to main content

Voter ID Verification

The Indian Voter ID Card is an identity document issued by the Election Commission of India to adult domiciles of India who have reached the age of 18, which primarily serves as an identity proof for Indian citizens while casting their ballot in the country's municipal, state, and national elections.

API Integration

Step 1 - Generate captcha using (https://api.trential.app/verification/api/1.0/verifications/voter-id/captcha)

Response
{
"code": 0,
"message": "Success",
"data": {
"captchaId": "89C2DA9EE5072E8DCE34D8E3AE3E7F35",
"captcha": "Base 64 Image for captcha"
}
}

The captchaId in the response is to be used in Step 2.

Step 2 - Voter ID verification can be performed using the Verify Voter ID API

State List
[
"Andaman and Nicobar Islands",
"Andhra Pradesh",
"Arunachal Pradesh",
"Assam",
"Bihar",
"Chandigarh",
"Chhattisgarh",
"Dadra and Nagar Haveli and Daman & Diu",
"The Government of NCT of Delhi",
"Goa",
"Gujarat",
"Haryana",
"Himachal Pradesh",
"Jammu & Kashmir",
"Jharkhand",
"Karnataka",
"Kerala",
"Ladakh",
"Lakshadweep",
"Madhya Pradesh",
"Maharashtra",
"Manipur",
"Meghalaya",
"Mizoram",
"Nagaland",
"Odisha",
"Puducherry",
"Punjab",
"Rajasthan",
"Sikkim",
"Tamil Nadu",
"Telangana",
"Tripura",
"Uttar Pradesh",
"Uttarakhand",
"West Bengal"
]
Request
{
"voterId": "YCVXXXX822",
"state": "Tamil Nadu",
"captchaText": "a8qiwq(As per base 64 image)",
"captchaId": "89C2DA9EE5072E8DCE34D8E3AE3E7F35"
}
Response

If Voter Id Valid

{
"code": 0,
"message": "Success",
"data": {
"id": "36552XXXXXXX_S24",
"epicId": 36XXXXXXXX95,
"epicNumber": "NXXXXXX84",
"formReferenceNo": null,
"applicantFirstName": "SXXXXXI",
"applicantFirstNameL1": "XXXXX",
"applicantFirstNameL2": null,
"applicantLastName": "PXXXXXXY",
"applicantLastNameL1": "पांडेय",
"applicantLastNameL2": null,
"relationName": "VXXXX XXXR",
"relationNameL1": "वXXX XXXXमार",
"relationNameL2": null,
"age": 26,
"gender": "F",
"partNumber": 44,
"partId": 150495,
"partName": "DR. NIKETAN KALYANPUR ROOM NO.2",
"partNameL1": "डा0 XXXXX शिवली रोड कल्यानपुर कक्ष सं. 2",
"partSerialNumber": 316,
"asmblyName": "Kalyanpur",
"asmblyNameL1": "कल्याणपुर",
"acId": 225,
"acNumber": 211,
"prlmntName": "Akbarpur",
"prlmntNameL1": null,
"prlmntNo": "44",
"districtValue": "KXXXXr",
"districtValueL1": "काXXXXर",
"districtCd": "S2423",
"districtId": null,
"districtNo": 23,
"stateName": "Uttar Pradesh",
"stateNameL1": "उत्तर प्रदेश",
"stateId": 23,
"stateCd": "S24",
"isActive": true,
"formType": null,
"relationType": "FTHR",
"createdDttm": "2023-05-24 10:10:20",
"modifiedDttm": null,
"genderL1": null,
"isDeleted": null,
"processType": null,
"relationLName": "PXXXY",
"relationLNameL1": "पांडेय",
"relationTypeL1": null,
"revisionId": null,
"statusType": null,
"sectionNo": 1,
"pollingDate": null,
"electionDate": null,
"electionTime": null,
"psbuildingName": "DXXX OLD SHIVLI ROAD KALYANPUR",
"birthYear": null,
"partLatLong": "26.498651570407052-80.2234616908431",
"disabilityAny": null,
"disabilityType": null,
"isForm8Migration": null,
"isLocomotorDisabled": null,
"isSpeechHearingDisabled": null,
"isVisuallyImpaired": null,
"otherDisability": null,
"isValidated": null,
"isWheelchairRequired": null,
"pwdMarkingFormType": null,
"pwdMarkingRefNo": null,
"pwd": null,
"isVip": null,
"epicDatetime": "2024-01-30T15:19:27.074+00:00",
"fullName": "sXXXXXXay",
"fullNameL1": "शाXXXXXय",
"relativeFullName": "viXXXXXy",
"relativeFullNameL1": "XXXXXXX",
"psRoomDetails": null,
"psRoomDetailsL1": null,
"psBuildingNameL1": "पुराना शिवली रोड कल्यानपुर",
"buildingAddress": null,
"buildingAddressL1": null
}
}

If Voter Id Invalid

{
"message": "Invalid Voter Id Number"
}