GSTIN verification API to integrate with your software or application

We provide easy to use API to retrieve details of any GST number. You need to signup and generate your API key by visiting developer homepage. Every account comes with a trial period and 50 API calls. You can try for free and then recharge your account. Everything is online and it takes less than 10 seconds to sign up and create your API Key.


No documents required. No offline process. Just signup and start using online.


We made it easy for you. Just get the API key and check one of example and implement.


Not able to understand anything!!! Don't worry just Whatsapp us and get instant support.

Update: Read full documentation at Developer Home Page after login.

Documentation are updated with following changes:

     >>API_KEY will be no longer a query-string, to be included in HEADERS.

Read documentation, as you will need to add header along with GSTIN in param.

KnowyourGST has launched Application Programming Interface (API) to validate GST numbers.

You can integrate our API with your existing application to access details of any GST number.

API is designed with KEEP IT SIMPLE logic.

How to register and access GSTIN data through API?

To access GSTIN data through KnowyourGST, you need to be a registered user.

You first need to register on website. You can register with your E-mail ID or login directly using your social media accounts (Google, Facebook and Twitter).

After registering on Site, you need to visit your Developer Home Page.

Your home page will look like as shown in below image:

gstin verification api

Here you can generate your API_KEY.

Any request you send to KnowyourGST will be validated using your API_KEY.

To generate API_KEY you need to provide any 10 digit security code. Click on GENERATE API KEY.

Your API_KEY will be generated.

Once, API_KEY is generated, you are ready to access GSTIN data.

Getting GSTIN details through API using API_KEY

In above steps, you have generated your API_KEY

Your API_KEY will be authenticated before you can access GSTIN details. Keep your API_KEY secured.

You can access details of any GST number using your API_KEY and GST Number.

URL with parameters to access details is:

You need to pass 2 parameters to access GSTIN details:

  • GST Number

GST Number as gstin will go in url and API_KEY will go in headers as passthrough=API_KEY

Visit developer homepage for examples to run use API.

You will get JSON response. JSON response will be:

Sample API Response:

    "status": "Active",
    "registration-date": "02/07/2017",
    "business": "Factory / Manufacturing, Leasing Business, Works Contract, Import, Office / Sale Office, Warehouse / Depot, Supplier of Services, Recipient of Goods or Services",
    "adress": {
        "lg": "",
        "bname": "",
        "street": "Thycaud",
        "bno": "Office of the Divl.Raly.Manager",
        "location": "Trivandrum",
        "lt": "",
        "floor": "2nd Floor",
        "state": "Kerala",
        "pincode": "695014"
    "gstin": "32AAAGM0289C1ZS",
    "dealer-type": "Regular",
    "trade-name": "INDIAN RAILWAYS",
    "entity-type": "Government Department",
    "pan": "AAAGM0289C",
    "legal-name": "Ministry of Railways"

You can loop through this data to access details.

In case of any doubts, you can post a question at QA section of site.

Do not disclose your API_KEY, even if asked by KnowyourGST staff.