---
title: PAN Fetch V3
slug: api-marketplace/pan-fetch-v3
description: Get access to the PAN Fetch V2 API by Signzy Technologies and easily retrieve PAN card details of Indian citizens. This simple API call allows you to fetch the name, PAN number, holder type, PAN status, and Aadhaar seeding status of a PAN number. Ideal fo
createdAt: 2023-04-19T11:29:37.000Z
---

## Introduction

Our PAN Fetch  API is designed to provide a wide array of valuable details based on a PAN number.&#x20;By simply requesting using a PAN number, this API returns a wealth of pertinent information. The response includes the full name of the holder, PAN status (Valid or Not), Aadhaar seeding status (linked or unlinked), the type of holder, and also tax compliance status if requested.

### Use Cases

The Signzy PAN fetch API can be used by a variety of clients who need to verify PAN numbers for compliance, risk management, or identity verification purposes. Some of the most common use cases are:

**Financial Institutions**

Financial institutions such as banks, insurance companies, and investment firms are required to comply with KYC regulations and verify the identity of their customers. The Signzy PAN fetch API can help these institutions **quickly and accurately verify the PAN numbers** of their customers, reducing the risk of fraud and ensuring regulatory compliance.

**HR and Recruitment Agencies**

HR departments and recruitment agencies need to verify the PAN numbers of job applicants to ensure that they have provided accurate information during their onboarding. The Signzy PAN fetch API can help these organizations **quickly and accurately verify the PAN numbers** of job applicants, reducing the risk of hiring unqualified or fraudulent candidates.

**Government Agencies**

Government agencies need to verify the PAN numbers of individuals for various purposes such as tax compliance, social welfare programs, and public health initiatives. The Signzy PAN fetch API can help these agencies **quickly and accurately verify the identity** of individuals and ensure compliance with regulatory requirements.

**E-commerce and Online Marketplaces**

E-commerce platforms and online marketplaces need to verify the PAN numbers of their sellers to ensure that they are legitimate and trustworthy. The Signzy PAN fetch API can help these platforms **quickly and accurately verify the identity** of their sellers, reducing the risk of fraud and ensuring a safe and secure online marketplace.

***

## API details

### Endpoint

:::CodeblockTabs
Production environment

```text
POST https://api.signzy.app/api/v3/pan/fetchV2
```
:::

:::CodeblockTabs
UAT/Testing environment

```text
POST https://api-preproduction.signzy.app/api/v3/pan/fetchV2
```
:::

***

### Request body parameters

| **Parameter**                     | **Data Type** | **Description**                                                                            | **Required** |
| --------------------------------- | ------------- | ------------------------------------------------------------------------------------------ | ------------ |
| <br /><br />number                | String        | The PAN (Permanent Account Number) to fetch information for.                               | Mandatory    |
| returnIndividualTaxComplianceInfo | String        | **true** if you want the individual tax compliance should be checked otherwise, **false**. | Optional     |
| consent                           | String        | User's consent                                                                             | Optional     |

```json
{
     "number": "XXXXX0000X",
     "returnIndividualTaxComplianceInfo": "true",
     "consent":"Y/N"
}
```

***

### Request headers

| **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. |

***

### Code Samples

:::CodeblockTabs
Curl

```curl
curl --location 'https://api-preproduction.signzy.app/api/v3/pan/fetchV2' \
--header 'Authorization: <Token>' \
--header 'Content-Type: application/json' \
--data '{
    "number": "<PAN Number>",
    "returnIndividualTaxComplianceInfo": "true",
    "consent":"Y/N"
}'
```

Node

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

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

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

```

Python

```python
import http.client
import json

conn = http.client.HTTPSConnection("api-preproduction.signzy.app")
payload = json.dumps({
  "number": "<PAN Number>",
  "returnIndividualTaxComplianceInfo": "true"
})
headers = {
  'Authorization': '<Token>',
  'Content-Type': 'application/json'
}
conn.request("POST", "/api/v3/pan/fetchV2", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
```

GO

```go
package main

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

func main() {

  url := "https://api-preproduction.signzy.app/api/v3/pan/fetchV2"
  method := "POST"

  payload := strings.NewReader(`{
    "number": "<PAN Number>",
    "returnIndividualTaxComplianceInfo": "true"
}`)

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

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

  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                               | Object        | Contains the response for the input PAN number.                                                                                                                                                                                                                                                  |
| result.name                          | String        | The full name.                                                                                                                                                                                                                                                                                   |
| result.number                        | String        | The PAN number.                                                                                                                                                                                                                                                                                  |
| result.typeOfHolder                  | String        | The type of holder.<br />The possible values are:<br />Association of persons (AOP),<br />Body of individuals (BOI),<br />Company,<br />Firm,<br />Government,<br />HUF (Hindu undivided family),<br />Local authority,<br />Artificial juridical person,<br />Individual or Person,<br />Trust. |
| result.isIndividual                  | Boolean       | Indicates if the PAN number holder is an individual.<br />**true** if the PAN holder is an individual else **false**.                                                                                                                                                                            |
| result.isValid                       | Boolean       | Indicates if the PAN number is Valid.<br />**true** if the PAN number is valid else **false**.                                                                                                                                                                                                   |
| result.firstName                     | String        | The first name of the PAN card holder.<br />(Will be blank for non-Individual PANs)                                                                                                                                                                                                              |
| result.middleName                    | String        | The middle name of the PAN card holder.<br />(Will be blank for non-Individual PANs)                                                                                                                                                                                                             |
| result.lastName                      | String        | The last name of the PAN card holder.<br />(Will be blank for non-Individual PANs)                                                                                                                                                                                                               |
| result.title                         | String        | The title associated with the PAN card holder. This can be empty.                                                                                                                                                                                                                                |
| result.panStatus                     | String        | The status of the PAN.(Refer to **PAN status codes** below for possible values).                                                                                                                                                                                                                 |
| result.panStatusCode                 | String        | A code representing the PAN status.<br />(Refer to **PAN status codes&#x20;**&#x62;elow for possible values). This can be empty.                                                                                                                                                                 |
| result.aadhaarSeedingStatus          | String        | The status of Aadhaar seeding .(Refer to **Aadhaar Seeding Status Codes** below for possible values).                                                                                                                                                                                            |
| result.aadhaarSeedingStatusCode      | String        | A code representing the Aadhar seeding status.(Refer to **Aadhaar Seeding Status Codes** below for possible values).                                                                                                                                                                             |
| result.lastUpdatedOn                 | String        | The date when the information on PAN was last updated. In format **DD/MM/YYYY**. This can be empty.                                                                                                                                                                                              |
| result.updatetTimestamp              | Integer       | Timestamp value in seconds using the UNIX(or POSIX) format and the IST time zone. This can be empty.                                                                                                                                                                                             |
| result.individualTaxComplianceStatus | String        | The status of individual tax compliance. "**operative**" if aadhaarSeedingStatusCode is "**Y**" else "**inoperative**".<br />This is provided only when "**returnIndividualTaxComplianceInfo"** is "**true".**                                                                                   |

:::CodeblockTabs
200

```json
{
    "result": {
        "name": "JOE SAMPLE",
        "number": "XXXXX0000X",
        "typeOfHolder": "Individual or Person",
        "isIndividual": true,
        "isValid": true,
        "firstName": "JOE",
        "middleName": "",
        "lastName": "SAMPLE",
        "title": "",
        "panStatus": "VALID",
        "panStatusCode": "",
        "aadhaarSeedingStatus": "Successful",
        "aadhaarSeedingStatusCode": "Y",
        "lastUpdatedOn": "",
        "updatetTimestamp":null,
        "individualTaxComplianceStatus": "operative"
    }
}
```

400

```json
// Missing number parameter
{
    "error": {
        "name": "error",
        "message": "number is required",
        "status": "Bad Request",
        "statusCode": 400
    }
}


// Passing empty PAN number
{
    "error": {
        "name": "error",
        "message": "number is not allowed to be empty.",
        "status": "Bad Request",
        "statusCode": 400
    }
}

// Passing non string PAN number
{
    "error": {
        "name": "error",
        "message": "number must be a string",
        "status": "Bad Request",
        "statusCode": 400
    }
}

// Passing INVALID PAN number
{
    "error": {
        "name": "error",
        "message": "PAN number is not valid",
        "status": "Bad Request",
        "statusCode": 400
    }
}

// Passing non string returnIndividualTaxComplianceInfo parameter
{
    "error": {
        "name": "error",
        "message": "returnIndividualTaxComplianceInfo must be a string",
        "status": "Bad Request",
        "statusCode": 400
    }
}
```

401

```json
// If Authorization token is not passed
{
    "message": "No API key found in request"
}

// If Authorization token is invalid
{
    "message": "Invalid authentication credentials"
}
```

404

```json
{
    "error": {
        "name": "error",
        "message": "Pan Number Not Found",
        "status": 404,
        "reason": "NOT_FOUND",
        "type": "Not Found",
        "statusCode": 404
    }
}
```

409

```json
{
    "error": {
        "reason": "Error From Upstream",
        "status": 409,
        "message": "Upstream Down",
        "type": "Conflict",
        "statusCode": 409,
        "name": "error"
    }
}
```
:::

### Note:

Fields result.title, result.panStatusCode, result.lastUpdatedOn, result.updatetTimestamp can contain empty data.

### Status codes

**PAN Status codes**

| **Status code** | **PAN 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 |

**Aadhaar Seeding Status codes**

| **Status code** | **Status**            | **Meaning**                                          |
| --------------- | --------------------- | ---------------------------------------------------- |
| Y               | Successful            | PAN Aadhaar linked                                   |
| R               | UnSuccessful          | PAN Aadhaar not linked                               |
| Blank           | Aadhaar is not seeded | Invalid PAN, hence Aadhaar not seeded                |
| NA              | Not applicable        | PAN is non-individual. Hence seeding not applicable. |

***

**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!



