---
title: Fetch API
slug: v2/KF-9-fetch-api
description: This document offers a comprehensive guide on utilizing the Fetch API to retrieve essential information from an individual's PAN Number. It outlines the various details that can be obtained such as the holder's name, PAN number, type of holder, PAN status
createdAt: 2022-09-26T08:38:02.000Z
---

## Introduction

The Fetch API is used to retrieve or ‘fetch’ certain details from the PAN Number of individual&#x20;

**The Following details are fetched:&#x20;**

- Name of the PAN holder
- PAN Number
- Type of Holder
- Whether holder is Individual
- PAN Status
- Last updated on

### How to call the API

You will need to [login](https://docs.signzy.com/sandboxapis) before sending Pan V2 Fetch API request. You must first login before sending the request. The authorization header in the request must include the access token obtained from the login API call for Pan V2 Fetch API along with other parameters.

### API Input Guidelines

- PAN number in Upper/Lower case

### CURL Request

:::ApiMethodV2
```json
{
  "tab": "examples",
  "url": "https://preproduction.signzy.tech/api/v2/patrons/<Patron ID>/panv2",
  "name": "PAN V2",
  "method": "POST",
  "request": {
    "pathParameters": [],
    "queryParameters": [],
    "headerParameters": [
      {
        "kind": "required",
        "name": "Authorization",
        "type": "string",
        "children": [],
        "description": "Contains the id parameter returned from the login step"
      },
      {
        "kind": "required",
        "name": "Content-Type",
        "type": "string",
        "children": [],
        "description": "Application/json"
      }
    ],
    "bodyDataParameters": [
      {
        "kind": "required",
        "name": "task",
        "type": "string",
        "description": "Task- Fetch Data from PAN Number"
      },
      {
        "kind": "required",
        "name": "essentials",
        "type": "Object",
        "children": [
          {
            "kind": "required",
            "name": "essentials.number",
            "type": "String",
            "description": "PAN number for which details need to be fetched"
          }
        ],
        "description": "Contains essential input data"
      }
    ],
    "formDataParameters": []
  },
  "results": {
    "languages": [
      {
        "id": "pX6xXEOE1BpDDAVfwXAYW",
        "code": "{\n    \"essentials\": {\n        \"number\": \"<PAN Number>\"\n    },\n    \"id\": \"<ID>\",\n    \"patronId\": \"<Patron ID>\",\n    \"task\": \"fetch\",\n    \"result\": {\n        \"name\": \"<Name of PAN Holder>\",\n        \"number\": \"<PAN Number>\",\n        \"typeOfHolder\": \"Individual or Person\",\n        \"isIndividual\": true,\n        \"isValid\": true,\n        \"firstName\": \"<First Name>\",\n        \"middleName\": \"\",\n        \"lastName\": \"<Last Name>\",\n        \"title\": \"Shri\",\n        \"panStatus\": \"VALID\",\n        \"panStatusCode\": \"E\",\n        \"aadhaarSeedingStatus\": \"Successful\",\n        \"aadhaarSeedingStatusCode\": \"Y\",\n        \"lastUpdatedOn\": \"21/10/2020\"\n    }\n}",
        "language": "200",
        "customLabel": ""
      }
    ],
    "selectedLanguageId": "pX6xXEOE1BpDDAVfwXAYW"
  },
  "examples": {
    "languages": [
      {
        "id": "mkGMBXyY2auvFOt5Q8Gtl",
        "code": "curl --location --request POST 'https://preproduction.signzy.tech/api/v2/patrons/<Patron ID>/panv2' \\\n--header 'Authorization: <Auth Key>' \\\n--header 'Content-Type: application/json' \\\n--data-raw '{\n    \"task\": \"fetch\",\n    \"essentials\": {\n        \"number\": \"<PAN Number>\"\n    }\n}'",
        "language": "curl",
        "customLabel": "Preproduction"
      },
      {
        "id": "0aeYtKFoiYlexAUtfyUES",
        "code": "curl --location --request POST 'https://signzy.tech/api/v2/patrons/<Patron ID>/panv2' \\\r\n--header 'Authorization: <Auth Key>' \\\r\n--header 'Content-Type: application/json' \\\r\n--data-raw '{\r\n    \"task\": \"fetch\",\r\n    \"essentials\": {\r\n        \"number\": \"<PAN Number>\"\r\n    }\r\n}'",
        "language": "curl",
        "customLabel": "Production"
      }
    ],
    "selectedLanguageId": "0aeYtKFoiYlexAUtfyUES"
  },
  "description": "Fetch PAN details",
  "currentNewParameter": {
    "label": "Body Parameter",
    "value": "bodyDataParameters"
  },
  "autoGeneratedAnchorSlug": "pan-v2",
  "legacyHash": "mN4kA_5awS7yt-HI54jrC"
}
```
:::

### Response Parameters

| **Parameters Name**             | **Data Type** | **Description**                                                                                                                                                                                                                   |
| ------------------------------- | ------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| result.name                     | String        | Name of PAN holder                                                                                                                                                                                                                |
| result.number                   | String        | PAN Number                                                                                                                                                                                                                        |
| result.typeOfHolder             | String        | For incometax a Holder is categorized in 10 different categories                                                                                                                                                                  |
| result.isIndividual             | Boolean       | Whether the PAN holder is individual or not, value is shown as true/false                                                                                                                                                         |
| result.isValid                  | Boolean       | Entered PAN is valid or not                                                                                                                                                                                                       |
| result.firstName                | String        | First name of PAN holder                                                                                                                                                                                                          |
| result.middleName               | String        | Middle name of PAN holder                                                                                                                                                                                                         |
| result.lastName                 | String        | Last name of PAN holder                                                                                                                                                                                                           |
| result.title                    | String        | It is honouring word used in front of names man/women                                                                                                                                                                             |
| result.panStatus                | String        | Status of PAN whether valid/invalid                                                                                                                                                                                               |
| result.panStatusCode            | String        | PAN status code                                                                                                                                                                                                                   |
| result.aadhaarSeedingStatus     | String        | The process of linking the 12 digits AADHAAR number of persons with their personal identification documents like MNREGA Job Card, Pension ID, scholarships etc is Aadhaar seeding. This parameter shows whether it is done or not |
| result.aadhaarSeedingStatusCode | String        | Y/N                                                                                                                                                                                                                               |
| result.lastUpdatedOn            | String        | Date on which last updated on                                                                                                                                                                                                     |

***

### Pan Card Status

| **STATUS CODE** | **STATUS**        |
| --------------- | ----------------- |
| E               | VALID             |
| F               | FAKE              |
| X               | DEACTIVATED       |
| D               | DELETED           |
| N               | INVALID           |
| EA              | AMALGAMATION      |
| EC              | ACQUISITION       |
| ED              | DEATH             |
| EI              | DISSOLUTION       |
| EL              | LIQUIDATED        |
| EM              | MERGER            |
| EP              | PARTITION         |
| ES              | SPLIT             |
| EU              | UNDER LIQUIDATION |
| I               | INOPERATIVE       |

***

### Aadhaar Seeding Status

| **Status Code** | **Status**            |
| --------------- | --------------------- |
| Y               | Successful            |
| R               | UnSuccessful          |
| Blank           | Aadhaar is not seeded |
| NA              | Not applicable        |

***

### Type of Holder

| STATUS CODE | STATUS                       |
| ----------- | ---------------------------- |
| A           | Association of persons (AOP) |
| B           | Body of individuals (BOI)    |
| C           | Company                      |
| F           | Firm                         |
| G           | Government                   |
| H           | HUF (Hindu undivided family) |
| L           | Local authority              |
| J           | Artificial juridical person  |
| P           | Individual or Person         |
| T           | Trust                        |



:::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](#).
:::

