---
title: PAN To GST
slug: api-marketplace/pan-to-gst
description: Discover exclusive insights into upcoming news and releases with this informative document. Stay ahead of the curve and gain access to valuable information you won't find anywhere else.
createdAt: 2023-04-20T20:31:25.000Z
---

## Introduction

The "PAN To GST" API offers a seamless way to retrieve comprehensive GST (Goods and Services Tax) information linked to a specific PAN (Permanent Account Number). This API is essential for businesses and financial professionals who need to correlate PAN numbers with corresponding GST registrations. By inputting a PAN number, users receive detailed GST data including business legal names, trade names, GSTIN status, registration dates, and business activities. This tool is invaluable for ensuring accuracy in tax-related documentation and compliance, enhancing financial record-keeping, and simplifying the process of tracking and verifying business-related tax information.

***

## API details

### Endpoint

:::CodeblockTabs
Production Endpoint

```none
POST https://api.signzy.app/api/v3/gst/panToGstnDetail
```
:::

:::CodeblockTabs
UAT Endpoint

```none
POST https://api-preproduction.signzy.app/api/v3/gst/panToGstnDetail
```
:::

***

### Request Headers

| **Name&#x20;** | **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** |
| ------------- | ------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------ |
| panNumber     | String        | PAN (Permanent Account Number) of the company.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   | Mandatory    |
| state         | String        | State information for filtering companies.<br />States can be: "Andaman and Nicobar Islands", "Andhra Pradesh", "Andhra Pradesh (NEW)", "Arunachal Pradesh", "Assam", "Bihar", "Chattisgarh", "Chandigarh", "Dadra and Nagar Haveli and Daman and Diu", "Daman and Diu", "Delhi", "Goa", "Gujarat", "Haryana", "Himachal Pradesh", "Jammu and Kashmir", "Jharkhand", "Karnataka", "Kerala", "Ladakh", "Lakshadweep Islands", "Madhya Pradesh", "Maharashtra", "Manipur", "Meghalaya", "Mizoram", "Nagaland", "Odisha", "Punjab", "Pondicherry", "Rajasthan", "Sikkim", "Tamil Nadu", "Telangana", "Tripura", "Uttar Pradesh", "Uttarakhand", "West Bengal"<br /> | Optional     |
| email         | String        | Email address for notification to the client that you are checking their GST details by PAN number.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | Optional     |

**Code Samples**

:::CodeblockTabs
Curl

```curl
curl --location 'https://api-preproduction.signzy.app/api/v3/gst/panToGstnDetail' \
--header 'Content-Type: application/json' \
--header 'Authorization: <Auth-Token>' \
--data '{
    "panNumber": "<Pan Number>",
    "state": "",
    "email": ""
}'
```

Node.js

```nodejs
const axios = require('axios');
let data = JSON.stringify({
  "panNumber": "<Pan Number>",
  "state": "",
  "email": ""
});

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

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

```

Python

```python
import requests
import json

url = "https://api-preproduction.signzy.app/api/v3/gst/panToGstnDetail"

payload = json.dumps({
  "panNumber": "<Pan Number>",
  "state": "",
  "email": ""
})
headers = {
  'Content-Type': 'application/json',
  'Authorization': '<Auth-Token>'
}

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

print(response.text)

```

GO

```go
package main

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

func main() {

  url := "https://api-preproduction.signzy.app/api/v3/gst/panToGstnList"
  method := "POST"

  payload := strings.NewReader(`{
    "panNumber": "<PAN number>",
    "callbackUrl": "<Callback url>"
}`)

  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", "<Auth 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                                         | Object    | The main result object containing detailed GSTN information.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| result.gstnDetailed                            | Array     | Detailed information about the GSTN.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| result.gstnDetailed.constitutionOfBusiness     | String    | The constitution of the business (e.g., "PRIVATE LIMITED COMPANY").                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| result.gstnDetailed.legalNameOfBusiness        | String    | The legal name of the business.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| result.gstnDetailed.tradeNameOfBusiness        | String    | The trade name of the business.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| result.gstnDetailed.centreJurisdiction         | String    | Centre jurisdiction information.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| result.gstnDetailed.stateJurisdiction          | String    | State jurisdiction information.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| result.gstnDetailed.registrationDate           | String    | Date of registration.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| result.gstnDetailed.taxPayerDate               | String    | Date of becoming a taxpayer.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| result.gstnDetailed.taxPayerType               | String    | Type of taxpayer (e.g., "REGULAR").                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| result.gstnDetailed.gstinStatus                | String    | GSTIN status (e.g., "ACTIVE").                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| result.gstnDetailed.cancellationDate           | String    | Date of cancellation, if applicable.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| result.gstnDetailed.e-invoicingStatus          | String    | E-invoicing status (e.g., "Yes").                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| result.gstnDetailed.natureOfBusinessActivities | Array     | Array of nature of business activities.<br /><br />e.g<br />- **Factory/Manufacturing**<br />- **Wholesale Business**<br />- **Retail Business**<br />- **Warehouse/Depot**<br />- **Bonded Warehouse**<br />- **Supplier of Services**<br />- **Office/Sale Office**<br />- **Leasing Business**<br />- **Works Contract**<br />- **E-Commerce Operator**<br />- **Recipient of Goods/Services**<br />- **Input Service Distributor (ISD)**<br />- **Banking/Financial Services**<br />- **Exporter**<br />- **Importer**<br />- **Intermediary**<br />- **Others** |
| result.gstnDetailed.principalPlaceAddress      | String    | Address of the principal place of business.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| result.gstnDetailed.principalPlaceState        | String    | State of the principal place of business.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| result.gstnDetailed.principalPlacePincode      | String    | Pincode of the principal place of business.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| result.gstnDetailed.lastUpdatedDate            | String    | Date of the last update.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| result.gstnDetailed.gstin                      | String    | Goods and Services Tax Identification Number.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| result.gstnDetailed.stateJurisdictionCode      | String    | State jurisdiction code.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| result.gstnDetailed.principalPlaceSplitAddress | Object    | Detailed split information about the principal place address.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| result.gstnRecords                             | Array     | Information about GSTN records.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| result.gstnRecords.applicationStatus           | String    | Application status for GSTN registration.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| result.gstnRecords.registrationName            | String    | Registration name associated with the GSTN.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| result.gstnRecords.mobNum                      | String    | Mobile number associated with the GSTN.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| result.gstnRecords.regType                     | String    | Registration type information.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| result.gstnRecords.emailId                     | String    | Email address associated with the GSTN.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| result.gstnRecords.tinNumber                   | String    | TIN (Taxpayer Identification Number) associated with the GSTN.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| result.gstnRecords.gstinRefId                  | String    | GSTIN reference ID.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| result.gstnRecords.gstin                       | String    | Goods and Services Tax Identification Number.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| result.gstin                                   | String    | GSTIN associated with the response.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |

:::CodeblockTabs
200

```json
{
    "result": {
        "gstnDetailed": [
            {
                "constitutionOfBusiness": "PRIVATE LIMITED COMPANY",
                "legalNameOfBusiness": "SIGNZY TECHNOLOGIES PRIVATE LIMITED",
                "tradeNameOfBusiness": "SIGNZY TECHNOLOGIES PRIVATE LIMITED",
                "centreJurisdiction": "RANGE-ESD7",
                "stateJurisdiction": "LGSTO 016- BENGALURU",
                "registrationDate": "27/06/2019",
                "taxPayerDate": "",
                "taxPayerType": "REGULAR",
                "gstinStatus": "ACTIVE",
                "cancellationDate": "",
                "e-invoicingStatus": "Yes",
                "natureOfBusinessActivities": [
                    "Supplier of Services"
                ],
                "principalPlaceAddress": "SERVICE ROAD, NO. 11, J P NAGAR, 3RD PHASE, BANNERGHATTA ROAD, BANGALORE, BENGALURU URBAN, KARNATAKA, 560068",
                "principalPlaceLatitude": "",
                "principalPlaceLongitude": "",
                "principalPlaceBuildingNameFromGST": "J P NAGAR, 3RD PHASE",
                "principalPlaceBuildingNoFromGST": "NO. 11",
                "principalPlaceFlatNo": "SERVICE ROAD",
                "principalPlaceStreet": "BANNERGHATTA ROAD",
                "principalPlaceLocality": "BANGALORE",
                "principalPlaceCity": "",
                "principalPlaceDistrict": "BENGALURU URBAN",
                "principalPlaceState": "KARNATAKA",
                "principalPlacePincode": "560068",
                "additionalPlaceAddress": "",
                "additionalPlaceLatitude": "",
                "additionalPlaceLongitude": "",
                "additionalPlaceBuildingNameFromGST": "",
                "additionalPlaceBuildingNoFromGST": "",
                "additionalPlaceFlatNo": "",
                "additionalPlaceStreet": "",
                "additionalPlaceLocality": "",
                "additionalPlaceCity": "",
                "additionalPlaceDistrict": "",
                "additionalPlaceState": "",
                "additionalPlacePincode": "",
                "additionalAddressArray": [],
                "lastUpdatedDate": "06/06/2022",
                "gstin": "29AAWCS3552Q1Z6",
                "stateJurisdictionCode": "KA004",
                "principalPlaceSplitAddress": {
                    "district": [
                        "BANGALORE"
                    ],
                    "state": [
                        [
                            "KARNATAKA",
                            "KA"
                        ]
                    ],
                    "city": [
                        "BETTADASANAPURA"
                    ],
                    "pincode": "560068",
                    "country": [
                        "IN",
                        "IND",
                        "INDIA"
                    ],
                    "addressLine": "SERVICE ROAD,NO.11,J P NAGAR,3RD PHASE,BANNERGHATTA ROAD BENGALURU URBAN"
                },
                "additionalPlaceSplitAddress": {
                    "district": [],
                    "state": [
                        []
                    ],
                    "city": [],
                    "pincode": "",
                    "country": [
                        "IN",
                        "IND",
                        "INDIA"
                    ],
                    "addressLine": ""
                }
            }
        ],
        "gstnRecords": [
            {
                "applicationStatus": "",
                "registrationName": "SIGNZY TECHNOLOGIES PRIVATE LIMITED",
                "mobNum": "",
                "regType": "",
                "emailId": "",
                "tinNumber": "",
                "gstinRefId": "",
                "gstin": "29AAWCS3552Q1Z6"
            }
        ],
        "gstin": "29AAWCS3552Q1Z6"
    }
}
```

400

```json
// When Pan Number is Empty
{
    "error": {
        "name": "error",
        "message": "PAN number is not allowed to be empty string",
        "status": "Bad Request",
        "statusCode": 400
    }
}

// When the Pan Number is not valid
{
    "error": {
        "name": "error",
        "message": "Invalid PAN number",
        "status": "Bad Request",
        "statusCode": 400
    }
}

// When there is no field of Pan
{
    "error": {
        "name": "error",
        "message": "PAN number is required",
        "status": "Bad Request",
        "statusCode": 400
    }
}
```

401

```json
// When Authorization Token is not valid
{
    "message": "Invalid authentication credentials"
}

// When Authorization Token is not given
{
    "message": "No API key found in request"
}
```
:::

***

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