---
title: PAN to GST list API
slug: v2/koCc-pan-to-gst-list-api
description: Learn how to fetch the active or inactive status of any PAN linked to a GSTIN with the Signzy API. Login and obtain an access token to make requests. The API requires a business PAN number as input. This document includes a sample Curl command and example
createdAt: 2022-09-19T07:28:09.000Z
---

Introduction

This API by Signzy helps us to fetch active or inactive status of any PAN linked to GSTIN

## How to call the API

You will need to [login](https://docs.signzy.com/sandboxapis) before sending GST request. You are required to pass the access token received from the login call, as authorization header in the PAN to GST List request along with other parameters.

## API Input Guidelines

A bussiness PAN number needs to be given as input.

## Sample Curl

:::ApiMethodV2
```json
{
  "tab": "examples",
  "url": "https://preproduction.signzy.tech/api/v2/patrons/gstns",
  "name": "PAN to GST list",
  "method": "POST",
  "request": {
    "pathParameters": [],
    "queryParameters": [],
    "headerParameters": [
      {
        "kind": "required",
        "name": "Authorization",
        "type": "string",
        "children": [],
        "description": "Authorization token"
      },
      {
        "kind": "required",
        "name": "Content-Type",
        "type": "string",
        "children": [],
        "description": "application/json"
      }
    ],
    "bodyDataParameters": [
      {
        "kind": "required",
        "name": "task",
        "type": "string",
        "description": "Contains the task performed"
      },
      {
        "kind": "required",
        "name": "essentials",
        "type": "Object",
        "children": [
          {
            "kind": "required",
            "name": "panNumber",
            "type": "string",
            "description": "Contains the PAN Number"
          }
        ],
        "description": "Contains required Input"
      }
    ],
    "formDataParameters": []
  },
  "results": {
    "languages": [
      {
        "id": "R1xp_KrjliloYUYI7R70z",
        "code": "{\r\n    \"task\": \"panToGstList\",\r\n    \"essentials\": {\r\n        \"panNumber\": \"BCKPS54xxx\"\r\n    },\r\n    \"id\": \"633980bc4c2f12f3ec12xxxx\",\r\n    \"patronId\": \"6319d81fa341350e797d4xxx\",\r\n    \"result\": {\r\n        \"gstinList\": [\r\n            {\r\n                \"gstin\": \"08BCKPS5403Cxxx\",\r\n                \"status\": \"ACTIVE\",\r\n                \"state\": \"RAJASTHAN\"\r\n            }\r\n        ]\r\n    }\r\n}",
        "language": "200",
        "customLabel": ""
      }
    ],
    "selectedLanguageId": "R1xp_KrjliloYUYI7R70z"
  },
  "examples": {
    "languages": [
      {
        "id": "bbdmkg3gdQ0mkcImUb3q0",
        "code": "curl --location --request POST 'https://preproduction.signzy.tech/api/v2/patrons/gstns' \\\n--header 'Authorization: <token>' \\\n--header 'Content-Type: application/json' \\\n--data-raw '{\n    \"task\" : \"panToGstList\",\n    \"essentials\": {\n      \"panNumber\": \"<Pan Number>\"\n    }\n  }'",
        "language": "curl",
        "customLabel": "Preproduction"
      },
      {
        "id": "MrmV663ilRKZpYpzDhcLB",
        "code": "curl --location --request POST 'https://signzy.tech/api/v2/patrons/gstns' \\\r\n--header 'Authorization: <token>' \\\r\n--header 'Content-Type: application/json' \\\r\n--data-raw '{\r\n    \"task\" : \"panToGstList\",\r\n    \"essentials\": {\r\n      \"panNumber\": \"<Pan Number> \"\r\n    }\r\n  }'",
        "language": "curl",
        "customLabel": "Production"
      }
    ],
    "selectedLanguageId": "MrmV663ilRKZpYpzDhcLB"
  },
  "description": "Fetching status of GSTIN using PAN",
  "currentNewParameter": {
    "label": "Body Parameter",
    "value": "bodyDataParameters"
  },
  "autoGeneratedAnchorSlug": "pan-to-gst-list",
  "legacyHash": "bIhn1gNBz4ssYjuQ3uo6_"
}
```
:::

### Response Parameters

| ***Parameter Name&#x20;*** | **Description**                                    |
| -------------------------- | -------------------------------------------------- |
| task                       | Task should be panToGstList                        |
| essentials.panNumber       | PAN number of the bussiness                        |
| id                         | ID of the response                                 |
| patronId                   | Unique token of the user from login call           |
| result                     | The object contains actual result                  |
| result.gstinList           | An object that holds the list of all gstin numbers |
| result.gstinList.gstin     | GSTIN number of the entity                         |
| result.gstinList.status    | Status of the gstin number                         |
| result.gstinList.state     | State in which the entity is registered            |

***

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

