GSTVerify Developer API

The GST verification API built for India

Verify GSTINs, score vendor risk, pull filing history and generate GSTIN QR codes from one REST API. JSON over HTTPS, API-key auth, and you only pay for what you use.

  • 10 freedemo credits
  • ₹0.10per credit, from
  • 7endpoints
  • 60/minrate limit
GET /api/v1/verify/27AAAAA0000A1Z5
curl -H "X-API-Key: YOUR_API_KEY" \
  "https://gst.getbusiness.co.in/api/v1/verify/27AAAAA0000A1Z5"
{
  "success": true,
  "cached": false,
  "credits_remaining": 499,
  "data": {
    "gstin": "27AAAAA0000A1Z5",
    "legal_name": "EXAMPLE COMPANY PRIVATE LIMITED",
    "status": "Active",
    "taxpayer_type": "Regular",
    "state": "Maharashtra",
    "pan": "AAAAA0000A"
  }
}
Endpoints

Everything you need to check a GST registration

All endpoints are GET requests that return JSON. GSTIN endpoints draw on your API credits; search endpoints draw on Search Credits.

Quickstart

Make your first call in a minute

Sign in and generate a key, then send it in the X-API-Key header. Replace YOUR_API_KEY below with your key, or with your sandbox key while you build.

curl -H "X-API-Key: YOUR_API_KEY" \
  "https://gst.getbusiness.co.in/api/v1/verify/27AAAAA0000A1Z5"
<?php
$ch = curl_init('https://gst.getbusiness.co.in/api/v1/verify/27AAAAA0000A1Z5');
curl_setopt_array($ch, [
  CURLOPT_HTTPHEADER     => ['X-API-Key: YOUR_API_KEY'],
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_TIMEOUT        => 15,
]);
$res = json_decode(curl_exec($ch), true);

if ($res['success']) {
  echo $res['data']['legal_name'] . ' — ' . $res['data']['status'];
}
import requests

res = requests.get(
    "https://gst.getbusiness.co.in/api/v1/verify/27AAAAA0000A1Z5",
    headers={"X-API-Key": "YOUR_API_KEY"},
    timeout=15,
)
body = res.json()

if body["success"]:
    print(body["data"]["legal_name"], body["data"]["status"])
const res = await fetch("https://gst.getbusiness.co.in/api/v1/verify/27AAAAA0000A1Z5", {
  headers: { "X-API-Key": process.env.GSTIN_API_KEY },
});
const body = await res.json();

if (body.success) {
  console.log(body.data.legal_name, body.data.status);
}
The basics

Authentication, credits and limits

Authentication

Send your key in the X-API-Key header on every request. An api_key query parameter also works, but the header keeps keys out of logs and browser history.

You can have up to 5 live keys plus one sandbox key. Revoking a key stops it working immediately.

Credits

Each call uses a fixed number of credits: verify 1, health score, risk score and filing 1 each, QR code 5. Cached and live responses cost the same.

Every response includes credits_remaining. Raw PNG/SVG QR responses carry it in the X-Credits-Remaining header instead.

Rate limits

60 requests per minute per account, shared across the GSTIN endpoints. PAN and name search have a separate limit of 30 per minute. Over the limit you get HTTP 429; wait a few seconds and retry.

Caching

Results are cached for up to 30 days to keep responses fast. "cached": true tells you the data came from cache rather than a fresh GST portal lookup.

Reference

Endpoint reference

Base URL: https://gst.getbusiness.co.in/api/v1. Example responses are shortened where marked.

GSTIN endpoints · API credits

Verify GSTIN

GET/api/v1/verify/{GSTIN}1 credit

Returns registration details, status, address, PAN and nature of business for a single GSTIN.

Request
curl -H "X-API-Key: YOUR_API_KEY" \
  "https://gst.getbusiness.co.in/api/v1/verify/27AAAAA0000A1Z5"
Response
{
  "success": true,
  "sandbox": false,
  "cached": false,
  "credits_remaining": 499,
  "data": {
    "gstin": "27AAAAA0000A1Z5",
    "legal_name": "EXAMPLE COMPANY PRIVATE LIMITED",
    "trade_name": "Example Co",
    "status": "Active",
    "constitution": "Private Limited Company",
    "taxpayer_type": "Regular",
    "registration_date": "01/07/2017",
    "last_updated": "12/10/2026",
    "state": "Maharashtra",
    "state_code": "27",
    "pan": "AAAAA0000A",
    "tan": null,
    "address": "123 Business Park, Andheri East, Mumbai, 400001",
    "district": "Mumbai",
    "pincode": "400001",
    "nature_of_business": [
      "Supplier of Services"
    ]
  }
}

Health score

GET/api/v1/health-score/{GSTIN}1 credit

A 0–100 compliance score using the same algorithm as our free GST Health Score checker. It weighs registration status, filing recency, entity age and taxpayer type.

Request
curl -H "X-API-Key: YOUR_API_KEY" \
  "https://gst.getbusiness.co.in/api/v1/health-score/27AAAAA0000A1Z5"
Response (shortened)
{
  "success": true,
  "gstin": "27AAAAA0000A1Z5",
  "legal_name": "EXAMPLE COMPANY PRIVATE LIMITED",
  "data": {
    "score": 82,
    "rating": "Excellent",
    "summary": "This GSTIN shows excellent compliance indicators...",
    "factors": [
      {
        "label": "Registration Status",
        "pts": 50,
        "max": 50,
        "note": "Active — GSTIN is valid and in good standing"
      }
    ]
  },
  "cached": false,
  "credits_remaining": 489
}

Vendor risk score

GET/api/v1/risk-score/{GSTIN}2 credits

A 0–100 score (higher is safer) built for procurement and vendor onboarding. It weighs filing consistency over the past year, entity maturity and taxpayer type, not just a compliance snapshot.

Request
curl -H "X-API-Key: YOUR_API_KEY" \
  "https://gst.getbusiness.co.in/api/v1/risk-score/27AAAAA0000A1Z5"
Response (shortened)
{
  "success": true,
  "gstin": "27AAAAA0000A1Z5",
  "data": {
    "score": 78,
    "level": "Low Risk",
    "recommendation": "Standard onboarding — no elevated vendor risk indicators.",
    "signals": [
      "..."
    ]
  },
  "cached": false,
  "credits_remaining": 479
}

Filing history

GET/api/v1/filing/{GSTIN}1 credit

GSTR filing status per period and return type for a financial year, plus a compliance % (returns filed ÷ returns expected).

Query parameters
financial_yearOptional, e.g. 2025-26. Defaults to the current financial year.
Request
curl -H "X-API-Key: YOUR_API_KEY" \
  "https://gst.getbusiness.co.in/api/v1/filing/27AAAAA0000A1Z5?financial_year=2025-26"
Response (shortened)
{
  "success": true,
  "gstin": "27AAAAA0000A1Z5",
  "data": {
    "financial_year": "2025-26",
    "compliance_percent": 92,
    "total_expected": 24,
    "total_filed": 22,
    "periods": [
      {
        "return_period": "062025",
        "returns": [
          {
            "return_type": "GSTR3B",
            "date_of_filing": "20-07-2025",
            "status": "Filed"
          }
        ]
      }
    ]
  },
  "cached": false,
  "credits_remaining": 469
}

GSTIN QR code

GET/api/v1/qr-code/{GSTIN}5 credits

A scannable QR code for a GSTIN, the same as our free GSTIN QR Code Generator, built server-side for invoices, labels and shop displays. It encodes the GSTIN, business name, status and a live verification link. Credits are only charged when a QR code is returned.

Query parameters (all optional)
formatjson (default): PNG data URI and SVG markup in JSON. png: raw image/png. svg: raw image/svg+xml.
sizeImage width and height in pixels, 100–1000 (default 300).
contentdetails (default): GSTIN, name, status and verify link. url: verify link only, a smaller code that scans better when printed small.
eccError correction: L, M (default), Q or H. Higher survives more damage but makes a denser code.
Request
curl -H "X-API-Key: YOUR_API_KEY" \
  "https://gst.getbusiness.co.in/api/v1/qr-code/27AAAAA0000A1Z5"

# Save a raw PNG (credits left are in the X-Credits-Remaining header)
curl -H "X-API-Key: YOUR_API_KEY" -o qr.png \
  "https://gst.getbusiness.co.in/api/v1/qr-code/27AAAAA0000A1Z5?format=png&size=600"
Response (format=json, shortened)
{
  "success": true,
  "gstin": "27AAAAA0000A1Z5",
  "legal_name": "EXAMPLE COMPANY PRIVATE LIMITED",
  "trade_name": "Example Co",
  "status": "Active",
  "data": {
    "content": "GSTIN: 27AAAAA0000A1Z5\nBusiness: Example Co\nStatus: Active\nVerify: https://gst.getbusiness.co.in/gst/27aaaaa0000a1z5/",
    "verify_url": "https://gst.getbusiness.co.in/gst/27aaaaa0000a1z5/",
    "size": 300,
    "ecc": "M",
    "modules": 45,
    "png": "data:image/png;base64,iVBORw0KGgo...",
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" ..."
  },
  "cached": true,
  "credits_remaining": 464
}
Search endpoints · Search Credits

Search by PAN

GET/api/v1/search/pan/{PAN}1 search credit

Every GSTIN registered under a 10-character PAN, with live results from GSTN, so it finds registrations that aren't in our cache yet.

Request
curl -H "X-API-Key: YOUR_API_KEY" \
  "https://gst.getbusiness.co.in/api/v1/search/pan/AAACR5055K"
Response (shortened)
{
  "success": true,
  "type": "pan",
  "query": "AAACR5055K",
  "count": 3,
  "source": "live",
  "credits_remaining": 49,
  "data": [
    {
      "gstin": "27AAACR5055K1ZT",
      "legal_name": "RELIANCE INDUSTRIES LIMITED",
      "trade_name": "Reliance Industries",
      "status": "Active",
      "constitution": "Public Limited Company",
      "state": "Maharashtra",
      "state_code": "27",
      "pan": "AAACR5055K",
      "registration_date": "01/07/2017",
      "nature_of_business": [
        "Supplier of Services"
      ]
    }
  ]
}

Search by name

GET/api/v1/search/name/{query}1 search credit

Businesses whose legal or trade name matches the query (at least 3 characters), from the live GSTN database. The response has the same shape as PAN search.

Request
curl -H "X-API-Key: YOUR_API_KEY" \
  "https://gst.getbusiness.co.in/api/v1/search/name/Reliance%20Industries"

# Or with query parameters
curl -H "X-API-Key: YOUR_API_KEY" \
  "https://gst.getbusiness.co.in/api/v1/search?type=name&q=Reliance+Industries"
Errors

Error responses

Errors return a non-2xx status and a JSON body like {"success": false, "error": "Invalid API key."}. You are not charged for failed calls.

StatusMeaning
400Bad request, e.g. an unknown search type
401Missing or invalid API key
402Not enough credits for this call. Recharge your account
403Sandbox key used on the Search API. Use a live key
404GSTIN not found (QR code endpoint)
422Invalid GSTIN, PAN or query parameter
429Rate limit exceeded (60/min, or 30/min for search)
502The upstream GST service is unavailable. Retry shortly
503Temporarily unavailable. Retry shortly
Pricing

Pay as you go, or go unlimited

Credits never expire, and bigger packs cost less per credit. Compare all plans →

Free demo
10 credits + sandbox key
Free
With your first API key
Get API key
Starter
500 credits
₹100
₹0.20 per credit
Sign in to buy
Growth 25% off
5,000 credits
₹750
₹0.15 per credit
Sign in to buy
API Annual Save 50%
Unlimited calls for 12 months
₹30,000/year
₹2,500/month effective · terms apply
Sign in to subscribe
Search Credits · PAN and name search
Search Starter
100 searches
₹99
₹0.99 per search
Sign in to buy
Search Growth 19% off
500 searches
₹399
₹0.80 per search
Sign in to buy
Search Scale 29% off
2,000 searches
₹1,399
₹0.70 per search
Sign in to buy
FAQ

Frequently asked questions

Sign in with Google, then click 'Generate API Key' on this page. You get 10 free demo credits instantly. The key is shown once, so copy it and store it securely.
Each endpoint uses a fixed number of credits: verify 1, health score, risk score and filing history 1 each, and a QR code 5. Credits cost ₹0.10–₹0.20 each depending on the pack size. Cached and live responses cost the same. PAN and name searches use separate Search Credits, at one credit per search.
No. Both API credits and Search Credits never expire. Use them at your own pace.
API credits pay for the GSTIN endpoints: verify, health score, risk score, filing history and QR code. Search Credits pay for PAN and name searches. They are separate balances, bought separately.
Yes. Each account is limited to 60 requests per minute across all its keys, shared between the verify, health score, risk score, filing and QR code endpoints. The PAN and name search endpoints have their own limit of 30 requests per minute. This applies to demo, pay-as-you-go and unlimited plans alike. Going over returns HTTP 429; wait a few seconds and retry.
Yes. Generate a key to get 10 free demo credits. You also get a sandbox key, which returns realistic sample data on the GSTIN endpoints and never uses credits.
JSON over HTTPS. The QR code endpoint can also return a raw PNG or SVG image. Example responses for every endpoint are shown above.
The API returns HTTP 402 (Payment Required). Buy more credits from this page or switch to an unlimited plan.

Start building in minutes

10 free demo credits and a sandbox key the moment you sign in. No card needed.