APIs & Engineering

PAN to GSTIN Search: Find All GSTINs Under One PAN

Search GSTIN by PAN and see every GST registration linked to one PAN. Learn how PAN to GSTIN lookup works and how to run it with the WhiteBooks GST API.

WhiteBooks

WhiteBooks

18 November 2026• 11 min read
PAN to GSTIN Search: Find All GSTINs Under One PAN

In short: one PAN can carry many GSTINs, one for each State or Union territory where a business is registered and sometimes more than one in the same State. A PAN to GSTIN lookup returns all of them in a single call. This article explains how a GSTIN is built from a PAN, where the lookup helps, and how to run it with the WhiteBooks search-by-PAN API.

If you deal with a vendor, customer or group company that operates in several States, you rarely know every GSTIN it holds. Searching GSTIN by PAN fixes that: you enter one 10-character PAN and get the PAN number GSTIN list, which is every GST registration linked to that PAN. The same lookup answers the common question of how to find a GST number from a PAN.

How a GSTIN Is Built from a PAN

A GSTIN is a 15-character number and the PAN sits inside it. Every registration of the same legal entity therefore carries the same PAN, which is why a PAN to GSTIN lookup works at all. The 15 characters break down like this:

  • Characters 1 and 2: the State or Union territory code, for example 36 for Telangana and 27 for Maharashtra.
  • Characters 3 to 12: the 10-character PAN of the taxpayer.
  • Character 13: the registration number of that PAN within the State, counted 1, 2, 3 and so on.
  • Character 14: Z by default.
  • Character 15: a check character.

Multiple GSTINs Under One PAN

Under Section 25 of the CGST Act, a person is registered separately in each State or Union territory where they are liable to register, and a business with more than one place of business in a State may be granted a separate registration for each, subject to the prescribed conditions. That is how one PAN ends up with several GSTINs.

The figures below are illustrative and do not belong to a real taxpayer. A company with PAN AABCT1234F is registered in Telangana (two registrations), Maharashtra and Karnataka:

  • 36AABCT1234F1ZR: Telangana, first registration.
  • 36AABCT1234F2ZQ: Telangana, second registration, shown by 2 in the 13th character.
  • 27AABCT1234F1ZQ: Maharashtra.
  • 29AABCT1234F1ZM: Karnataka.

Only the State code, the registration number and the check character change. The PAN in the middle stays the same.

Why You Need to Find GST Registrations by PAN

  • Vendor and customer onboarding: KYC often gives you only a PAN. A lookup shows which State registration applies to your transaction, so the right GSTIN goes on the document.
  • Checking a supplier's GSTIN: input tax credit depends on the conditions in Section 16, including a valid supplier registration. Confirm that the GSTIN on an invoice really belongs to the PAN you onboarded before you pay and claim.
  • Aggregate turnover: under Section 2(6) of the CGST Act, aggregate turnover is computed on an all-India basis for persons with the same PAN. Thresholds such as the Rs.5 crore e-invoicing limit covered in our GST update on e-invoicing are tested on that combined figure, so you need every GSTIN under the PAN.
  • Composition scheme: a person can opt for the composition scheme only if all registered persons with the same PAN do so (Section 10 of the CGST Act), which again needs the full list.
  • Group compliance: finance teams keep one master list of GSTINs for returns, reconciliation and notices. A lookup by PAN finds registrations that were set up in a State office and never added to that list.

How to Search GSTIN by PAN Online

Start from the PAN and get the full list of GSTINs with the Search Taxpayers by PAN API, described in the next section. Once you have the list, check each GSTIN. The free GST number search and GSTIN verification tool shows the legal name, trade name and registration status of a GSTIN, and multiple GST number search checks several numbers at once.

Search by PAN with the WhiteBooks GST API

WhiteBooks is a GSP (GST Suvidha Provider) licensed by GSTN, and it offers this lookup as GET /public/searchbypan. The full reference is on the Search All GSTINs Registered to a PAN page. In short:

  • Endpoint: GET /public/searchbypan, with the sandbox at https://apisandbox.whitebooks.in for testing.
  • Query parameters, both required: pan (the 10-character PAN) and email (the user email).
  • Header parameters, both required: client_id and client_secret.
  • No OTP session is needed, because this is a public registry lookup.
  • Response: the complete list of GSTINs registered against the PAN, covering all States and Union territories.

If you are new to the API, the quickstart guide is the place to start. Build and test in the sandbox, then move to production, and check the API reference for the exact response fields and error codes.

The 10-character PAN format is validated at the API gateway before the request reaches GSTN, so a malformed PAN returns a format error straight away. You can save calls by checking the format in your own form first: five letters, four digits and one letter. The fourth letter shows the holder type, for example C for a company, P for an individual, F for a firm and H for a Hindu undivided family.

Search by PAN vs Search by GSTIN

The Search Taxpayer API (GET /public/search) works in the opposite direction. You give it one GSTIN and it returns the profile of that taxpayer. Search by PAN starts from a PAN and returns every GSTIN linked to it. A practical sequence is to call search by PAN first, then pass each GSTIN it returns to the Search Taxpayer API for its profile.

Best Practices for PAN to GSTIN Lookups

  • Validate the PAN format before every call.
  • Treat the PAN of an individual or proprietor as personal data. Collect it for a clear purpose and handle it in line with data protection law, including the Digital Personal Data Protection Act, 2023.
  • Keep client_id and client_secret on your server and never in browser or mobile app code.
  • Refresh the list at fixed points, such as before each vendor payment run or at month-end, because registrations are added and cancelled over time.

How WhiteBooks Helps You Act on the GSTIN List

Finding the GSTINs is the first step. Keeping the data right in your books and returns is where the compliance work lies.

  • Add PAN to GSTIN lookup to your onboarding flow or ERP through the WhiteBooks GST API.
  • Keep each GSTIN against the right vendor or customer in the party master so documents carry the right particulars.
  • Match purchase invoices from each supplier GSTIN with GSTR-2B reconciliation.
  • File returns for every registration through WhiteBooks GST software.
WhiteBooks
Written by

WhiteBooks

WhiteBooks is a GSTN-licensed GST Suvidha Provider offering GST, e-invoicing, e-way bill and accounting software and APIs for Indian businesses.

Turn compliance insights into automated workflows.

WhiteBooks helps 25,000+ businesses file GST, generate e-Invoices, and reconcile invoices in seconds.