IndiaVoter

Voter ID OCR — Extract EPIC Details

Upload a voter ID image and extract EPIC number, name, father's name, age, gender, and constituency details automatically.

curl -X POST "https://production.deepvue.tech/v1/documents/extraction/ind_voter_id" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_TOKEN (JWT)" \
  -H "x-api-key: YOUR_API_KEY" \
  -d '{
  "document1": "example_string",
  "document2": "example_string",
  "name": "John Doe"
}'
{
  "code": 200,
  "transaction_id": [
    "25859290-2a81-4327-b269-484fb17e76b9"
  ],
  "message": [
    "Document processed successfuly"
  ],
  "data": {
    "address": "string",
    "age": "string",
    "date_of_birth": "string",
    "district": "string",
    "fathers_name": "string",
    "gender": "string",
    "house_number": "string",
    "id_number": "string",
    "is_scanned": "string",
    "name_on_card": "string",
    "pincode": "string",
    "state": "string",
    "street_address": "string",
    "year_of_birth": "string"
  }
}
POST
/v1/documents/extraction/ind_voter_id
POST
Bearer Token (JWT)
Bearer Tokenstring
Required

ACCESS_TOKEN generated from the authorize endpoint. Should be included in the header as Bearer .

ACCESS_TOKEN generated from the authorize endpoint. Should be included in the header as Bearer .
API Key (header: x-api-key)
x-api-keystring
Required

The CLIENT_SECRET provided to you. This header parameter is required for authentication purposes.

The CLIENT_SECRET provided to you. This header parameter is required for authentication purposes.
Content-Typestring
Required

The media type of the request body

Options: application/json
document1string
Required

The main document being submitted for extraction of respective information.

document2string

The secondary document being submitted along with the primary document for extraction of respective information.

namestring

The name of the document being submitted for extraction of respective information.

Request Preview
Response

Response will appear here after sending the request

Authentication

header
Authorizationstring
Required

Bearer token (JWT). ACCESS_TOKEN generated from the authorize endpoint. Should be included in the header as Bearer .

header
x-api-keystring
Required

API Key for authentication. The CLIENT_SECRET provided to you. This header parameter is required for authentication purposes.

Body

application/json
document1string
Required

The main document being submitted for extraction of respective information.

document2string

The secondary document being submitted along with the primary document for extraction of respective information.

namestring

The name of the document being submitted for extraction of respective information.

Responses

codeinteger
transaction_idstring[]
messagestring[]
dataobject

Overview

The Voter Card OCR API lets you extract voter fields like voter_id, name, father_name, dob, and address from the image of a Voter Card document in the form of key-value pairs.

The API requires submission of a base64-encoded string of the document within the request payload. The system identifies and returns voter card information including voter identification number, name on card, father's name, date of birth, year of birth, age, gender, and complete address details such as house number, street address, district, state, and pincode.