Voter ID Verification API

API v1 Flow v1

INSTANT VERIFICATION OF INDIAN VOTER ID NUMBER (EPIC)

Get Free Trial

Create a free account Or “Talk to Us” for price information and other queries.

API Details

Request

TypeURL
POSThttps://api.attestr.com/api/{version}/public/checkx/epic

Request Body Parameters

TypeNameDescriptionOptional (default)Min VersionMax Version
StringepicInput EPIC number to be verified.Requiredv1

Request Header Parameters

TypeNameValue / DescriptionOptionalMin VersionMax Version
StringContent-Typeapplication/jsonRequiredv1
StringAuthorizationBasic {authToken}Requiredv1

If you do not have the authentication token, please refer to Register App to generate one.

Sample Request Payload

JSON
Copy

Response

HTTP status code 200

Please note that the valid key decides the availability of rest of the keys in the response. If the provided EPIC number does not exist, all keys except valid and message are omitted. If true, remaining keys will have appropriate data.

KeyDescriptionTypeMin VersionMax Version
validTrue | false depending on if provided EPIC number exists and is validBooleanv1
namename of the voter card holderStringv1
messageError message if provided EPIC is invalidStringv1
genderGender of the user as registered in EPIC databaseStringv1
relationNameFather, mother, spouse name as registered in the databaseStringv1
relationTypeRelation type - Father, Mother, SpouseStringv1
dobDate of birth if availableStringv1
ageAge of the person if available.Stringv1
houseNumberRegistered house numberStringv1
areaArea location as registered in EPIC databaseStringv1
districtDistrict name of the registered addressStringv1
stateState nameStringv1
assemblyConstituencyName of the assembly constituencyStringv1
assemblyConstituencyNumberUnique number assigned to the constituency by the election commission of IndiaStringv1
pollingStationName of the polling station where this voter holder is allowed to voteStringv1
partNumberPart code of the polling stationStringv1
partNamePart name of the polling stationStringv1
serialNumberSerial number in the voting list for the given polling stationStringv1
parliamentaryConstituencyName of the parliamentary constituencyStringv1

Sample Response

Sample response for valid EPIC number

JSON
Copy

Sample response for invalid EPIC number

JSON
Copy

Error Response

ParameterTypeDescription
codeNumberUnique error codes for different errors. Always available.
messageStringError message describing the error. Always Available.
detailsStringDetail error message. Available only for certain types of errors.

Error Codes

HTTP StatusError CodeError Message
4004001Malformed data or missing required parameter values
4004005Operation could not be performed due to low credits balance
4014016Invalid client authorization
4034031Unauthorized access
4034035Requested service is not provisioned for your account
4034039Client's IP address is not whitelisted
4034035Requested service is not provisioned for your account
4294291Maximum account rate limit exceeded
4294292Maximum API rate limit exceeded
4294293Maximum account daily limit exceeded
4294294Maximum API daily limit exceeded
5005001Request could not be processed

Sample Error Response

JSON
Copy

Get Free Trial

Create a free account Or “Talk to Us” for price information and other queries.

Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard