---
title: Voter ID Detailed search
slug: api-marketplace/voter-id-detailed-search
createdAt: 2023-11-02T11:46:52.780Z
---

## Introduction

The Voter ID Detailed Search API is a comprehensive solution designed to access detailed voter data using the EPIC number. It provides information such as the voter's name, relative's name, age, polling station details, and other voter-related information.&#x20;
This API is an invaluable resource for organizations, governmental bodies, and electoral agencies that require quick and accurate access to voter information.

***

## API details

### Endpoint

:::CodeblockTabs
Production Environment

```jsx
POST https://api.signzy.app/api/v3/voterid/detailedSearch
```
:::

:::CodeblockTabs
UAT/Testing environment

```jsx
POST https://api-preproduction.signzy.app/api/v3/voterid/detailedSearch
```
:::

***

### Request headers&#x20;

| Name          | Value            | Required  | Description                                                                                                |
| ------------- | ---------------- | --------- | ---------------------------------------------------------------------------------------------------------- |
| Content-Type  | application/json | Mandatory | The type of content that the request body contains.                                                        |
| Authorization | XXXXXXXXXXXXXXX  | Mandatory | An authentication token to authorize the request. Reach out to the Signzy support team to get one created. |

***

### Request body parameters

| **Parameter**                                     | **Data type** | **Description**                                                                                                                                                                                                           | **Required** |
| ------------------------------------------------- | ------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------ |
| epicNumber                                        | String        | EPIC Number on the voter ID.                                                                                                                                                                                              | Mandatory    |
| getAdditionalData<br /><br />  <br /><br /><br /> | String        | Flag to get additional data.<br />**true** if you require the additional data, else **false.**<br />Parameters marked as "\*" in **Response body parameters** table will be available only if this is passed as **true**. | Optional     |
| getSupplementData                                 | String        | Flag to get Supplement data.<br />**true** if you require the Supplement data, else **false.**                                                                                                                            | Optional     |



```json
{
   "epicNumber": "XXX0000000",
   "getAdditionalData": "true",
   "getSupplementData" : "true"

}
```

***

### Code samples

:::CodeblockTabs
```curl
curl --location 'https://api-preproduction.signzy.app/api/v3/voterid/detailedSearch' \
--header 'Content-Type: application/json' \
--header 'Authorization: <Token>' \
--data '{
    "epicNumber": "<epic number>",
    "getAdditionalData": "true",
    "getSupplementData" : "true/false"

}'
```

```nodejs
const axios = require('axios');
let data = JSON.stringify({
   "epicNumber": "<epic number>",
  "getAdditionalData": "true"
});

let config = {
  method: 'post',
  maxBodyLength: Infinity,
  url: 'https://api-preproduction.signzy.app/api/v3/voterid/detailedSearch',
  headers: { 
    'Content-Type': 'application/json', 
    'Authorization': '<Token>'
  },
  data : data
};

axios.request(config)
.then((response) => {
  console.log(JSON.stringify(response.data));
})
.catch((error) => {
  console.log(error);
});

```

```python
import requests
import json

url = "https://api-preproduction.signzy.app/api/v3/voterid/detailedSearch"

payload = json.dumps({
   "epicNumber": "<epic number>",
  "getAdditionalData": "true"
})
headers = {
  'Content-Type': 'application/json',
  'Authorization': '<Token>'
}

response = requests.request("POST", url, headers=headers, data=payload)

print(response.text)

```

```go
package main

import (
  "fmt"
  "strings"
  "net/http"
  "io/ioutil"
)

func main() {

  url := "https://api-preproduction.signzy.app/api/v3/voterid/detailedSearch"
  method := "POST"

  payload := strings.NewReader(`{
     "epicNumber": "<epic number>",
    "getAdditionalData": "true"
}`)

  client := &http.Client {
  }
  req, err := http.NewRequest(method, url, payload)

  if err != nil {
    fmt.Println(err)
    return
  }
  req.Header.Add("Content-Type", "application/json")
  req.Header.Add("Authorization", "<Token>")

  res, err := client.Do(req)
  if err != nil {
    fmt.Println(err)
    return
  }
  defer res.Body.Close()

  body, err := ioutil.ReadAll(res.Body)
  if err != nil {
    fmt.Println(err)
    return
  }
  fmt.Println(string(body))
}
```
:::

***

### Response body parameters

| Parameter                            | Data Type        | Description                                                                           |
| ------------------------------------ | ---------------- | ------------------------------------------------------------------------------------- |
| result.name                          | String           | The full name of the individual.                                                      |
| \*result.nameInRegionalLang          | String           | The full name of the individual in the regional language.                             |
| \*result.age                         | Integer          | The age of the individual.                                                            |
| \*result.relationType                | String           | Type of relation (e.g., Father, Mother).                                              |
| \*result.relationName                | String           | Name of the relative as per the relation type.                                        |
| \*result.relationNameInRegionalLang  | String           | Name of the relative in the regional language.                                        |
| result.fatherName                    | String           | Name of the father.                                                                   |
| result.dob                           | String           | Date of birth of the individual (empty in this case).                                 |
| result.gender                        | String           | Gender of the individual.                                                             |
| result.address                       | String           | Full address of the individual.                                                       |
| result.splitAddress.district         | Array of Strings | District(s) as part of the address.                                                   |
| result.splitAddress.state            | Array of Arrays  | State(s) as part of the address.                                                      |
| result.splitAddress.city             | Array of Strings | City(s) as part of the address.                                                       |
| result.splitAddress.pincode          | String           | Pincode of the address (empty in this case).                                          |
| result.splitAddress.country          | Array of Strings | Country code(s) as part of the address.                                               |
| result.splitAddress.addressLine      | String           | Specific address line.                                                                |
| result.epicNumber                    | String           | Unique identifier number (Voter ID or similar).                                       |
| result.state                         | String           | State where the individual resides.                                                   |
| result.assemblyConstituencyNo        | Integer          | Numberreprod API /bank/accVerificationIFSCode from NCA? of the assembly constituency. |
| \*result.assemblyConstituency        | String           | Name of the assembly constituency.                                                    |
| \*result.parliamentaryConstituencyNo | Integer          | Number of the parliamentary constituency.                                             |
| \*result.parliamentaryConstituency   | String           | Name of the parliamentary constituency.                                               |
| \*result.partNo                      | Integer          | Part number in the electoral roll.                                                    |
| \*result.partName                    | String           | Name/description of the part in the electoral roll.                                   |
| \*result.serialNo                    | Integer          | Serial number in the electoral roll.                                                  |
| \*result.pollingStation              | String           | Name of the polling station.                                                          |
| result.photo<br />                   | String           | Placeholder for the photo (empty in this case).<br />                                 |
| result.isSupplement                  | Boolean          | Supplement details status                                                             |
| result.supplementDate                | String           | Supplement date of addition                                                           |

:::CodeblockTabs
200

```json
{
    "result": {
        "name": "SUSHMITHA H",
        "nameInRegionalLang": "ಸುಶ್ಮಿತ ಹೆಚ್",
        "age": "25",
        "relationType": "FTHR",
        "relationName": "SUNILAKUMAR",
        "relationNameInRegionalLang": "ಸುನಿಲಕುಮಾರ",
        "fatherName": "SUNILAKUMAR",
        "dob": "",
        "gender": "Female",
        "address": "GOVT JUNIOR COLLEGE SIRWAR",
        "splitAddress": {
            "district": [
                "RAICHUR"
            ],
            "state": [
                [
                    "Karnataka"
                ]
            ],
            "city": [
                "Manvi"
            ],
            "pincode": "",
            "country": [
                "IN",
                "IND",
                "INDIA"
            ],
            "addressLine": "GOVT JUNIOR COLLEGE SIRWAR"
        },
        "epicNumber": "ABV3863479",
        "state": "Karnataka",
        "assemblyConstituencyNo": "55",
        "assemblyConstituency": "MANVI",
        "parliamentaryConstituencyNo": "6",
        "parliamentaryConstituency": "Raichur",
        "partNo": "29",
        "partName": "GOVERMENT JUNIOR COLLEGE 2nd Room (South Wing ) sirwar",
        "serialNo": "892",
        "pollingStation": "GOVT JUNIOR COLLEGE SIRWAR",
        "photo": ""
    }
}

// When getAdditionalData is passed as "false"
{
    "result": {
        "name": "PRAMEELA C R",
        "fatherName": "RAMANADHAN A P",
        "dob": "",
        "gender": "Female",
        "address": "Holy Family C G H S Chembookavu",
        "splitAddress": {
            "district": [
                "THRISSUR"
            ],
            "state": [
                [
                    "Kerala"
                ]
            ],
            "city": [
                "THRISSUR"
            ],
            "pincode": "",
            "country": [
                "IN",
                "IND",
                "INDIA"
            ],
            "addressLine": "Holy Family C G H S Chembookavu"
        },
        "epicNumber": "XXX0000000",
        "state": "Kerala",
        "assemblyConstituency": "THRISSUR",
        "photo": ""
    }
}


// When getSupplementData is passed as "true"

{
    "result": {
        "name": "PRAMEELA C R",
        "fatherName": "RAMANADHAN A P",
        "dob": "",
        "gender": "Female",
        "address": "Holy Family C G H S Chembookavu",
        "splitAddress": {
            "district": [
                "THRISSUR"
            ],
            "state": [
                [
                    "Kerala"
                ]
            ],
            "city": [
                "THRISSUR"
            ],
            "pincode": "",
            "country": [
                "IN",
                "IND",
                "INDIA"
            ],
            "addressLine": "Holy Family C G H S Chembookavu"
        },
        "epicNumber": "XXX0000000",
        "state": "Kerala",
        "assemblyConstituency": "THRISSUR",
        "photo": "",
         "isSupplement": true,
        "supplementDate": "2026-04-02 17:00:00"
    }
}
```

400

```json
// When epicNumber is not passed in request body
{
    "error": {
        "name": "error",
        "message": "\"epicNumber\" is required",
        "status": 400,
        "reason": "VALIDATION_ERROR",
        "type": "Bad Request",
        "statusCode": 400
    }
}

// When epicNumber is passed as empty string
{
    "error": {
        "name": "error",
        "message": "\"epicNumber\" is not allowed to be empty",
        "status": 400,
        "reason": "VALIDATION_ERROR",
        "type": "Bad Request",
        "statusCode": 400
    }
}

// When getAdditionalData is not passed as string
{
    "error": {
        "name": "error",
        "message": "getAdditionalData can only be 'true' or 'false'",
        "status": 400,
        "reason": "VALIDATION_ERROR",
        "type": "Bad Request",
        "statusCode": 400
    }
}
```

401

```json
// When API key is not passed in headers
{
    "message": "No API key found in request"
}

// When wrong API key is passed in headers
{
    "message": "Invalid authentication credentials"
}
```

404

```json
// When wrong epicNumber is passed
{
    "error": {
        "name": "error",
        "message": "Epic number not found",
        "status": 404,
        "reason": "NOT_FOUND",
        "type": "Not Found",
        "statusCode": 404
    }
}
```
:::

***

**Contact Us for Any Assistance**

If you have any questions or need assistance, please reach out to our customer support team. You can contact us via email at <font color="#2166ae">**help\@signzy.com**</font>. We strive to provide prompt and reliable assistance, ensuring your queries are addressed effectively.

We value your feedback and are committed to making your experience smooth and enjoyable. Our team is dedicated to assisting you with any needs you may have. Thank you for choosing our services. We look forward to helping you!

