PAN to GSTIN Lookup — Find Linked GSTINs
Search for all GSTINs linked to a PAN number. Discover the complete GST footprint of any business or individual.
curl -X GET "https://production.deepvue.tech/v1/verification/gstin/gstin-by-pan?pan_number=example_string" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_TOKEN (JWT)" \
-H "x-api-key: YOUR_API_KEY"
import requests
import json
url = "https://production.deepvue.tech/v1/verification/gstin/gstin-by-pan?pan_number=example_string"
headers = {
"Content-Type": "application/json",
"Authorization": "Bearer YOUR_API_TOKEN (JWT)",
"x-api-key": "YOUR_API_KEY"
}
response = requests.get(url, headers=headers)
print(response.json())
const response = await fetch("https://production.deepvue.tech/v1/verification/gstin/gstin-by-pan?pan_number=example_string", {
method: "GET",
headers: {
"Content-Type": "application/json",
"Authorization": "Bearer YOUR_API_TOKEN (JWT)",
"x-api-key": "YOUR_API_KEY"
}
});
const data = await response.json();
console.log(data);
package main
import (
"fmt"
"net/http"
)
func main() {
req, err := http.NewRequest("GET", "https://production.deepvue.tech/v1/verification/gstin/gstin-by-pan?pan_number=example_string", nil)
if err != nil {
panic(err)
}
req.Header.Set("Content-Type", "application/json")
req.Header.Set("Authorization", "Bearer YOUR_API_TOKEN (JWT)")
req.Header.Set("x-api-key", "YOUR_API_KEY")
client := &http.Client{}
resp, err := client.Do(req)
if err != nil {
panic(err)
}
defer resp.Body.Close()
fmt.Println("Response Status:", resp.Status)
}
require 'net/http'
require 'json'
uri = URI('https://production.deepvue.tech/v1/verification/gstin/gstin-by-pan?pan_number=example_string')
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = true
request = Net::HTTP::Get.new(uri)
request['Content-Type'] = 'application/json'
request['Authorization'] = 'Bearer YOUR_API_TOKEN (JWT)'
request['x-api-key'] = 'YOUR_API_KEY'
response = http.request(request)
puts response.body
{
"code": 200,
"timestamp": 1738183354983,
"transaction_id": "7f366ec230f34c809c53cda8d4506eb4",
"sub_code": "SUCCESS",
"message": "Linked GSTINs fetched successfully.",
"data": [
{
"gstin": "24AAHFJ8299B1Z7",
"state": "Gujarat",
"state_code": "24",
"status": "Active"
}
]
}
{
"code": 200,
"timestamp": 1738180009332,
"transaction_id": "8323546f078b43d5bb19e042a779807d",
"sub_code": "INVALID_ID_OR_NO_DATA_FOUND",
"message": "Invalid PAN or no linked GSTINs found."
}
{
"detail": "Inactive client_id"
}
{
"detail": "Not authenticated"
}
{
"detail": "Not a valid token"
}
{
"code": 422,
"timestamp": 1738183354812,
"transaction_id": "e3c75bed646a4018a7351124eabcd0de",
"sub_code": "INVALID_INPUT",
"message": "Invalid Pan Pattern."
}
{
"detail": "Internal Server Error"
}
/v1/verification/gstin/gstin-by-pan
ACCESS_TOKEN generated from the authorize endpoint. Should be included in the header as Bearer .
The CLIENT_SECRET provided to you. This header parameter is required for authentication purposes.
Request Preview
Response
Response will appear here after sending the request
Authentication
Bearer token (JWT). ACCESS_TOKEN generated from the authorize endpoint. Should be included in the header as Bearer .
API Key for authentication. The CLIENT_SECRET provided to you. This header parameter is required for authentication purposes.
Query Parameters
Responses
Overview
The Search GSTIN by PAN endpoint enables businesses to retrieve all GST-registered entities linked to a specific PAN (Permanent Account Number). Unlike a standard GSTIN search which returns details for a single GST entity, this API provides the information of all the business entities that are associated with that corresponding PAN.
The API accepts a PAN number as input and responds with comprehensive details about every GST registration tied to that PAN, including:
- GSTIN identifier
- Associated state and state code
- Current registration status
While the standard Search GSTIN API focuses on a particular GST entity by its GSTIN, this PAN-based variant delivers a complete picture of all entities under one PAN registration, making it valuable for multi-entity business verification scenarios.
Last updated 4 weeks ago
Built with Documentation.AI