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

Voter ID Verification API

Send an EPIC number and, optionally, the name you collected. We return the voter's name, relative's name, age, gender, state and assembly constituency, plus a name-match score.

Identity document · sample NameRAVI KUMAR NumberABCDE1234F Matches the record Name match96 / 100 PAN statusOperative Aadhaar linkLinked
Source
Electoral rolls published by the Election Commission of India
Turnaround
Real time, usually a few seconds; slower around election periods
Endpoint
POST /v1/voter-id/verify
Who can use it
Any business with the holder's consent and a KYC or address-verification purpose.

Overview

Voter ID is an officially valid document for KYC and is common among customers who don't have a passport or driving licence. The check confirms the EPIC is on the roll and gives you enough to cross-check name and age against what the customer told you.

Good to know

Electoral rolls are revised periodically, so a recent move may not show yet. The roll has no photo you can use for face matching.

What you get

  • Relative's nameFather's or husband's name helps separate two people with the same name in the same area.
  • Constituency detailState, assembly constituency and part number give a rough address check without a utility bill.
  • Name-match scoreSpellings on the roll vary a lot. The score lets you allow for that instead of failing on exact match.
  • Handles old formatsSome older EPIC numbers don't follow the current three-letters-seven-digits pattern. We pass them through instead of rejecting them.

Request

POST https://api.ampletrails.com/v1/voter-id/verify

FieldTypeStatusDescription
id_numberstringRequiredEPIC (Voter ID) number
namestringOptionalName to match against the electoral record
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
epic_validWhether the EPIC number was found on the electoral rolltrue
full_nameVoter's nameRavi Kumar
relative_nameFather's, mother's or husband's nameSuresh Kumar
ageAge as per the roll36
genderGenderM
stateStateHaryana
assembly_constituencyAssembly constituencyGurgaon
part_numberElectoral roll part number112
name_match_scoreMatch score for the name you sent, from 0 to 10094

Example

curl -X POST https://api.ampletrails.com/v1/voter-id/verify \
  -H "Authorization: Bearer $AMPLE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"id_number": "ABC1234567", "name": "Ravi Kumar", "consent": "Y"}'
Response · 200 OK
{
  "status": "success",
  "request_id": "req_7f3a9c21e4",
  "data": {
    "epic_valid": true,
    "full_name": "Ravi Kumar",
    "relative_name": "Suresh Kumar",
    "age": 36,
    "gender": "M",
    "state": "Haryana",
    "assembly_constituency": "Gurgaon",
    "part_number": "112",
    "name_match_score": 94
  }
}

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

Use cases

Microfinance and rural lending

Many borrowers carry a Voter ID before any other photo ID.

Field staff onboarding

Security, housekeeping and delivery agencies check Voter IDs of new workers.

Address confirmation

Constituency data backs up a stated address for low-ticket products.

Questions about this API

Why is a genuine EPIC sometimes not found?

The person may have moved and been deleted from one roll before being added to another, or the roll for their area may be under revision. Ask for a second document in that case.

Does the result include a photo?

No. Use a face match against a photo of the card if you need to tie the ID to the person.

Is age exact?

Age on the roll is as of the roll's qualifying date and is sometimes approximate. Don't use it as a precise date of birth.

Do I need consent for public roll data?

Yes. The roll is public, but you are processing someone's personal data for your purpose, and the DPDP Act still applies.

Try the Voter ID Verification API

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