PAN to GSTIN API

The PAN to GSTIN API lists every GST registration held under one PAN, across all states, in a single call. Give a 10-character business PAN and it returns each GSTIN with its name and status, so you can see where a company, firm or trust is registered for GST.

GET https://indiacos.com/api/v1/pan/{pan}

Overview

GST registration is state-wise, so one business PAN can hold a GSTIN in every state where it operates, and sometimes several in one state. A buyer who knows only the PAN, or who has one GSTIN and wants the others, needs the full set to match invoices, check branch addresses or confirm that the entity billing from a new state is the same business. Lenders, payment teams and auditors use the same lookup to map a group's footprint before they rely on any one registration.

GET /api/v1/pan/{pan} returns the list of GST registrations under that PAN. Each GSTIN in the list can then be opened with the GST Verification API for the full record, including filing compliance. The GST Verification API also carries same_pan_registrations, a count with a link back to this endpoint, so the two are designed to be used together. When the PAN belongs to a company or LLP, the Company Master Data API returns the MCA record alongside its GSTINs.

Input
PAN (10 characters, format AAAAA9999A)
Returns
List of GST registrations (GSTINs) under the PAN
Coverage
85,10,831 GST registrations; business PANs (companies, firms, trusts)
Source
GST registration records; the PAN is embedded in each GSTIN
Auth
API key as Authorization: Bearer (or X-API-Key header); OAuth sign-in through the IndiaCos MCP server
Register
IndiaCos (indiacos.com)
MCP tool
get_pan
Data source
Public government records: the Ministry of Corporate Affairs register, GST registrations, IP India journals and registers, Udyam, EPFO, official defaulter and wanted lists, rating-agency rationales and court records.

What it returns

pan

The PAN asked for

gstin

Each GST registration number held under the PAN

legal_name

Legal name on each registration

status

Status of each registration, such as Active or Cancelled

state_code

Two-digit GST state code of each registration, for example 27 for Maharashtra

url

Link to the IndiaCos page of each registration

Use cases

Matching invoices from several states

A buyer receives invoices from a supplier's Gujarat and Karnataka branches with different GSTINs. Looking up the supplier's PAN shows every registration it holds, confirming both GSTINs belong to the same business and are active, before the accounts team books them against one vendor record.

Group footprint for credit assessment

A lender assessing a borrower calls the endpoint with the borrower's PAN to see in how many states it is registered and whether any registration has been cancelled. Each GSTIN can then be checked for filing compliance with the GST Verification API.

Finding the right GSTIN for billing

A seller that must raise an invoice to a customer's branch in Tamil Nadu has only the customer's PAN. The list shows which GSTIN under that PAN is registered in Tamil Nadu, so the invoice carries the correct registration and the customer can claim input tax credit without a mismatch.

How to use it

  1. Get an API key at indiacos.com/signup.
  2. Call GET https://indiacos.com/api/v1/pan/{pan} with Authorization: Bearer YOUR_KEY, using an upper-case PAN such as AABCE1234F.
  3. Loop over the returned registrations and pick the GSTINs you need.
  4. Open any GSTIN in full with GET /api/v1/gst/{gstin} for address, jurisdiction and filing compliance.

Parameters

NameInDescription
pan required path See the documentation. Example: AAOCM9194L

Example

Request

curl "https://indiacos.com/api/v1/pan/AAOCM9194L" \
  -H "Authorization: Bearer YOUR_KEY"

Response (illustrative)

{
  "pan": "AABCE1234F",
  "total": 3,
  "count": 3,
  "results": [
    {
      "gstin": "27AABCE1234F1Z5",
      "legal_name": "EXAMPLE TRADERS PRIVATE LIMITED",
      "state_code": "27",
      "status": "Active",
      "url": "https://indiacos.com/gst/27AABCE1234F1Z5"
    },
    {
      "gstin": "24AABCE1234F1ZB",
      "legal_name": "EXAMPLE TRADERS PRIVATE LIMITED",
      "state_code": "24",
      "status": "Active",
      "url": "https://indiacos.com/gst/24AABCE1234F1ZB"
    },
    {
      "gstin": "29AABCE1234F1Z1",
      "legal_name": "EXAMPLE TRADERS PRIVATE LIMITED",
      "state_code": "29",
      "status": "Cancelled",
      "url": "https://indiacos.com/gst/29AABCE1234F1Z1"
    }
  ]
}

Authenticate with Authorization: Bearer <key>. Every response field is documented in the IndiaCos API documentation. Assistants can also call this through the IndiaCos MCP server as the get_pan tool.

Glossary

PAN
Permanent Account Number: a 10-character income tax identifier in the form five letters, four digits, one letter. The fourth letter shows the holder type, for example C for company, F for firm, T for trust, P for individual.
GSTIN and PAN
Characters 3 to 12 of every GSTIN are the holder's PAN, so all GST registrations of one business share the same PAN. A separate GSTIN is needed in each state where the business makes taxable supplies.

Good to know

  • On the IndiaCos website, PAN pages of individuals are not indexed.

Frequently asked questions

How do I find all GST numbers under a PAN?

Call GET https://indiacos.com/api/v1/pan/{pan} with your API key. It returns every GST registration held under that PAN across all states. You can also open https://indiacos.com/pan/{PAN} in a browser for a single lookup. The API needs a key sent as Authorization: Bearer, and each GSTIN in the result can be opened with the GST Verification API.

Can one PAN have more than one GSTIN?

Yes. GST registration is state-wise, so a business needs a GSTIN in each state where it makes taxable supplies, and it can hold more than one in a state for separate business verticals. All of them share the same PAN in characters 3 to 12 of the GSTIN.

Does it work for an individual's PAN?

The endpoint lists GST registrations under a PAN, and a proprietor's GSTIN is built on the proprietor's personal PAN. On the IndiaCos website, PAN pages of individuals are not indexed; business PANs of companies, firms and trusts are the main use.

How is this better than searching the GST portal by PAN?

The GST portal's search by PAN shows results on screen behind a captcha. This API returns the same list as JSON that your system can store and act on, and each GSTIN can be expanded with a second call into the full record with filing compliance.

Can an AI assistant list GSTINs for a PAN?

Yes. Once the IndiaCos MCP server is connected at https://indiacos.com/mcp, ask something like "list every GST registration under PAN AABCE1234F". The assistant calls the get_pan tool and can follow up with get_gst on any registration to read its status, address and filing compliance in the same conversation.

How do I get filing status for every GSTIN under a PAN?

Take the GSTINs from this endpoint and send them to the Bulk GST Verification API, up to 25 at a time. Each result includes a filing_compliance rating for the last 12 completed months, with a 0 to 100 score, so you can see at a glance which state registrations are filing regularly.