We’re excited to launch our latest product to simplify your business processes. Know More →
OCR RPACPC OCR SuiteDocument Verification

Extract Voter ID details with a single API.

The RPACPC Voter ID OCR API extracts key information from Indian Voter ID cards using Optical Character Recognition (OCR). Automate voter identity document data extraction and integrate it into your applications through a simple API request.

Live extraction Replay
1 You upload
voter_id_front_back.jpgJPG · 1.2 MB · front & back
Reading document
2 You get back
✓
SUCCESSVoter ID read · fields extracted
612 ms
Document Voter ID
Voter ID no. ABC1234567
Name PRIYA RAJESH SHARMA
Date of birth 15/08/1992
Gender Female
Address FLAT 204, GREEN PARK APARTMENTS, CIVIL LINES, NAGPUR, MAHARASHTRA, 440001
Caretaker name RAJESH SHARMA
Response time
< 2 s
Uptime SLA
99.9%+
Rate limit
500 req / sec
Auth
Authorization token
API overview

Simplify Voter ID OCR API

The RPACPC Voter ID OCR API enables businesses and developers to extract structured identity information from Voter ID card images without manually entering document details.

The API processes the submitted images and returns available information in JSON format. Extracted fields may include Voter ID number, cardholder name, gender, date of birth, address, document type, and caretaker or related-person name.

Key information available

Access essential Voter OCR API details.

The API response may include the following information, depending on the response received:

01
Voter Identification Details

Voter ID number and document type

id_number
id_type
02
Cardholder Information

Name, gender and date of birth

id_name
id_gender
id_dob
03
Address Information

Registered residential address

id_address
04
Caretaker or Related-Person Information

Caretaker or related-person name, where available

id_caretaker_name
How it works

Simple API-based verification process.

Step 01

Upload Voter ID Images

Submit the front image, back image, or both using the front and back multipart form-data fields.

Step 02

Extract Voter ID Details

The API processes the submitted images and extracts available identity and address information.

Step 03

Receive Structured Data

Retrieve the extracted Voter ID details in JSON format along with processing status and request metadata.

Step 04

Integrate into Your Application

Use the extracted fields to prefill forms, process documents or support your authorized onboarding workflows.

API Request

Step 1 Submit Voter OCR API details.

Request parameters
Parameter Type Required Description
front File No, if another image is supplied Front image of the Voter ID card.
back File No, if another image is supplied Back image of the Voter ID card.
The request values shown are illustrative dummy data.
Sample request REQUEST
headers = {
    "Authorization": "prod-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
}

files = [
    ("front", ("1.jpg", open("1.jpg", "rb"), "image/jpeg")),
    ("back", ("2.jpg", open("2.jpg", "rb"), "image/jpeg"))
]
API response

Step 2Receive structured verification information.

Key response fields
Field Description
country Country associated with the document processing request.
billable Indicates whether the request is billable.
output Object containing extracted Voter ID information.
output.id_number Voter ID card number.
output.id_gender Gender extracted from the card, when available.
output.id_name Full name of the cardholder.
output.id_dob Date of birth, when available.
output.id_address Address extracted from the Voter ID card, when available.
output.id_type Identified document type, such as Voter ID.
output.id_caretaker_name Name of the father, mother, spouse, or other related person, if available.
200 · Sample responseRESPONSE
{
  "status": "Success",
  "country": "India",
  "billable": "Yes",
  "message": "Details extraction completed successfully.",
  "output": {
    "id_number": "ABC1234567",
    "id_gender": "F",
    "id_name": "PRIYA RAJESH SHARMA",
    "id_dob": "15/08/1992",
    "id_address": "FLAT 204, GREEN PARK APARTMENTS, CIVIL LINES, NAGPUR, MAHARASHTRA, 440001",
    "id_type": "Voter ID",
    "id_caretaker_name": "RAJESH SHARMA"
  }
}

Illustrative response using dummy data. The API may return additional fields such as request ID, sequence ID and timestamps. Field availability and values may vary.

Use cases

Voter OCR API across business workflows.

Digital onboarding

Extract Voter ID details during customer registration and onboarding workflows to reduce manual data entry.

KYC and identity document processing

Capture available Voter ID information as part of broader KYC workflows, alongside any required identity and document verification checks.

Digital applications and form filling

Populate application forms with information extracted from Voter ID images, helping streamline registration processes.

Document management

Extract and organize identity document details for digital records and document processing systems.

Business process automation

Integrate Voter ID data extraction into existing applications, databases, and customer management workflows.

FAQ

Frequently asked questions

Common questions about the Voter ID OCR API — what it returns, how to submit images, and how to integrate it.

Still have a question? Talk to an expert
What is the Voter ID OCR API?
The Voter ID OCR API extracts available information from Indian Voter ID card images and returns it in structured JSON format.
Are both front and back images required?
The sample request submits both front and back images using the front and back multipart form-data fields. Confirm whether single-sided submissions are supported by your endpoint before relying on that behavior in production.
What information can the API extract?
Available fields include Voter ID number, cardholder name, gender, date of birth, address, document type, and caretaker or related-person name, depending on the information present and readable in the submitted images.
What happens if some fields are missing?
Fields may be empty or unavailable when the information is not present, is illegible, or cannot be extracted from the submitted images.
Does the Voter ID OCR API verify whether a Voter ID is genuine or active?
No. OCR extracts information from document images. It should not be treated as proof of document authenticity, electoral-roll registration, active status, or voting eligibility unless a separate verification service explicitly provides those capabilities.
What response format does the API return?
The API returns JSON containing the processing status, message, extracted Voter ID details, billing information, request identifiers, and timestamps.
Blog

What Is the Fastest Identity Solution for a Rapidly Growing Startup?

Discover the fastest identity solution for startups to streamline customer verification, speed up onboarding, and support business growth.

Read More
What Is the Fastest Identity Solution for a Rapidly Growing Startup?

India's verification infrastructure is already here.

Empower your applications with India's Enterprise Verification Intelligence Platform for faster, more reliable verification.