---
title: Epic Number Search API
slug: v2/epic-number-search-api
description: Learn how to fetch details of a Voter ID holder with this comprehensive guide. Find step-by-step instructions on calling the API using the access token and Voter ID number. Includes sample code examples and essential information on response parameters. Co
createdAt: 2022-09-19T07:28:09.000Z
---

# Introduction

This API is used to fetch details of any Voter Id holder such as name, father's name address, dob etc.

## How to call the API

You will need to [login](https://docs.signzy.com/sandboxapis) before sending search request. You are required to pass the access token received from the login call, as authorization header in the Voter ID Detailed Search request along with Epic number.

## API Input Guidelines

Need to use EPIC number and state name as input.

## Sample Curl

:::ApiMethodV2
```json
{
  "tab": "examples",
  "url": "https://preproduction.signzy.tech/api/v2/patrons/voteridsearches",
  "name": "Voter Id V2 Epic Number Search",
  "method": "POST",
  "request": {
    "pathParameters": [],
    "queryParameters": [],
    "headerParameters": [
      {
        "kind": "required",
        "name": "Content-Type",
        "type": "string",
        "children": [],
        "description": "Application/JSON"
      },
      {
        "kind": "required",
        "name": "Authorization",
        "type": "string",
        "children": [],
        "description": "Contains the Id parameter returned from the login step"
      }
    ],
    "bodyDataParameters": [
      {
        "kind": "required",
        "name": "essentials",
        "type": "Object",
        "children": [
          {
            "kind": "required",
            "name": "epicNumber",
            "type": "string",
            "description": "Contains EPIC number of Voter Id"
          },
          {
            "kind": "required",
            "name": "state",
            "type": "String",
            "description": "Contains State Name"
          }
        ],
        "description": "essential part of the request"
      }
    ],
    "formDataParameters": []
  },
  "results": {
    "languages": [
      {
        "id": "5WJRcfXw5DZVZ-I8ITL9Z",
        "code": "{\r\n    \"essentials\": {\r\n        \"epicNumber\": \"<epic number>\",\r\n        \"state\": \"West Bengal\"\r\n    },\r\n    \"id\": \"<...Id....>\",\r\n    \"patronId\": \"<patron Id>\",\r\n    \"result\": {\r\n        \"name\": \"<name>\",\r\n        \"dob\": \"\",\r\n        \"district\": \"\",\r\n        \"state\": \"WEST BENGAL\",\r\n        \"fatherName\": \"<father name>\",\r\n        \"gender\": \"MALE\"\r\n    }\r\n}",
        "language": "200",
        "customLabel": ""
      }
    ],
    "selectedLanguageId": "5WJRcfXw5DZVZ-I8ITL9Z"
  },
  "examples": {
    "languages": [
      {
        "id": "bF74ypbM2nEXBibpEVVaa",
        "code": "curl --location --request POST 'https://preproduction.signzy.tech/api/v2/patrons/voteridsearches' \\\n--header 'Content-Type: application/json' \\\n--header 'Authorization: <token>' \\\n--data-raw '{\n    \"essentials\": {\n        \"epicNumber\": \"<Voter Id Number>\",\n        \"state\": \"<state name>\"\n    }\n}'",
        "language": "curl",
        "customLabel": "Preproduction"
      },
      {
        "id": "EEr7Crfhnt0ip2jCdd45N",
        "code": "curl --location --request POST 'https://signzy.tech/api/v2/patrons/voteridsearches' \\\r\n--header 'Content-Type: application/json' \\\r\n--header 'Authorization: <token>' \\\r\n--data-raw '{\r\n    \"essentials\": {\r\n        \"epicNumber\": \"<Voter Id Number>\",\r\n        \"state\": \"<state name>\"\r\n    }\r\n}'",
        "language": "none",
        "customLabel": "Production"
      }
    ],
    "selectedLanguageId": "EEr7Crfhnt0ip2jCdd45N"
  },
  "description": "Extracting the details of a Voter Id",
  "currentNewParameter": {
    "label": "Header Parameter",
    "value": "headerParameters"
  },
  "autoGeneratedAnchorSlug": "voter-id-v2-epic-number-search",
  "legacyHash": "xQ54zvOm0zjhdyk65_xg-"
}
```
:::

### Response Parameters

| ***Parameter Name&#x20;*** | **Description**                           |
| -------------------------- | ----------------------------------------- |
| essentials                 | Contains essentials Input data            |
| essentials.epicNumber      | Voter Id number as input                  |
| essentials.state           | State name as input                       |
| id                         | Contains Unique Id                        |
| patronId                   | Contains patronId                         |
| result                     | Contains output of the request            |
| result.name                | Name of the identity holder               |
| result.dob                 | Date of Birth of the voter Id card holder |
| result.district            | Name of the district                      |
| result.state               | Name of the state                         |
| result.fatherName          | Father's name of the Identity holder      |
| result.gender              | Gender Info of the Identity holder        |

***

:::hint{type="info"}
### Getting help

Please feel free to contact us if you have any questions, require clarification, or have ideas for how to make the documents or any of our services better.


You can reach out to us at [help@signzy.com](mailto\:help@signzy.com).
:::
