EPIC (India - ECI)
Retrieve EPIC (Voter ID) Person Data
Endpoint
https://electoralsearch.eci.gov.in/v2/in/epic
This endpoint returns name and relative-name information associated with an EPIC (Voter ID) number.
Headers
| Name | Value |
|---|---|
| Accept | application/json |
| Content-Type | application/json |
Query Parameters
| Name | Type | Required | Description | Example |
|---|---|---|---|---|
documentNumber | string | Yes | EPIC / Voter ID | IHM2796746 |
Request
- JavaScript
- Python
- Swift
- PHP
import axios from 'axios';
const options = {
method: 'GET',
url: 'https://electoralsearch.eci.gov.in/v2/in/epic',
params: { documentNumber: 'IHM2796746' },
headers: { Accept: 'application/json' },
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
import requests
url = "https://electoralsearch.eci.gov.in/v2/in/epic"
params = {"documentNumber": "IHM2796746"}
headers = {"Accept": "application/json"}
r = requests.get(url, params=params, headers=headers, timeout=30)
print(r.json())
import Foundation
let url = URL(string: "https://electoralsearch.eci.gov.in/v2/in/epic?documentNumber=IHM2796746")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("application/json", forHTTPHeaderField: "Accept")
URLSession.shared.dataTask(with: request) { data, response, error in
if let error = error {
print(error)
return
}
if let data = data {
print(String(data: data, encoding: .utf8) ?? "")
}
}.resume()
<?php
$client = new \GuzzleHttp\Client();
$response = $client->request('GET', 'https://electoralsearch.eci.gov.in/v2/in/epic', [
'query' => ['documentNumber' => 'IHM2796746'],
'headers' => [
'Accept' => 'application/json',
],
]);
echo $response->getBody();
Response
- 200
- 404
- 409
{
"data": {
"arrayName": ["SHREEYA", "JAISWAL"],
"arrayNameLocal": ["শ্রিয়া", "জয়সোয়াল"],
"documentNumber": "IHM2796746",
"documentType": "EPIC",
"firstName": "SHREEYA",
"firstNameLocal": "শ্রিয়া",
"fullName": "SHREEYA JAISWAL",
"fullNameLocal": "শ্রিয়া জয়সোয়াল",
"lastName": "JAISWAL",
"lastNameLocal": "জয়সোয়াল",
"relativeFullName": "AJAY JAISWAL",
"relativeFullNameLocal": "অজয় জয়সোয়াল"
},
"signature": {
"dateTime": "March 25, 2026 11:38 AM",
"message": "Certified by Verifik.co"
},
"id": "D4QMS"
}
{
"code": "NotFound",
"message": "Record not found."
}
{
"code": "MissingParameter",
"message": "missing documentNumber\n"
}