Built for developers
One REST endpoint, one header, predictable JSON. Everything you need to add GSTIN verification to your product — docs, integration guides, and a dashboard to manage API keys and credits.
Verify a GSTIN in one call
Authenticate with an x-api-key
header and call a single endpoint to get taxpayer, filing, and e-invoicing data back as JSON.
async function verifyGSTIN(gstin) {
const response = await fetch(
`https://gstinapi.com/api/get-taxpayer-info/${gstin}`,
{ headers: { 'x-api-key': 'YOUR_API_KEY' } }
);
return response.json();
}
const result = await verifyGSTIN('27AAACR5055K1Z7');
console.log(result.taxpayer_data.name, result.taxpayer_data.status);
function verifyGSTIN(string $gstin): array
{
$curl = curl_init("https://gstinapi.com/api/get-taxpayer-info/{$gstin}");
curl_setopt_array($curl, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ['x-api-key: YOUR_API_KEY'],
]);
$response = curl_exec($curl);
curl_close($curl);
return json_decode($response, true);
}
$result = verifyGSTIN('27AAACR5055K1Z7');
echo $result['taxpayer_data']['name'];
import requests
def verify_gstin(gstin: str) -> dict:
url = f"https://gstinapi.com/api/get-taxpayer-info/{gstin}"
headers = {"x-api-key": "YOUR_API_KEY"}
response = requests.get(url, headers=headers)
response.raise_for_status()
return response.json()
result = verify_gstin("27AAACR5055K1Z7")
print(result["taxpayer_data"]["name"], result["taxpayer_data"]["status"])
Official client libraries
Two MIT-licensed, zero-dependency packages. Both validate a GSTIN offline — format, check digit, state, embedded PAN — with no key and no quota, and both call the live register when you give them one.
Node.js & TypeScript
npm install @dlminds/gstin-api
Node 18+, no dependencies, typed. Imported as
@dlminds/gstin-api.
Python
pip install gstin-toolkit
Python 3.9+, no dependencies, typed. Imported as
gstin_api.
Side-by-side comparison, the full export list and the offline/online split are on the client libraries page.
Developer resources
API documentation
Authentication, the endpoint reference, and every response field explained.
Read the docsIntegration guides
Step-by-step guides for integrating GSTIN verification in Laravel, Node.js, and more.
Browse guidesAPI keys & dashboard
Generate and rotate API keys, track usage, and top up credits from your dashboard.
Create an accountGuides on developer integration guides
Working code for calling a GST verification API from every major language, framework and no-code platform.
- How to Integrate a GST Verification API in Laravel
- How to Integrate a GST Verification API in Node.js
- How to Integrate a GST Verification API in Python
- How to Integrate a GST Verification API in PHP
- How to Integrate a GST Verification API in Java
- GST Verification API Integration in .NET and C#
- How to Integrate a GST Verification API in Go (Golang)
- Integrating a GST Verification API in Ruby on Rails
- How to Verify GST Numbers in Excel Using an API
- GST Number Verification in Google Sheets with Apps Script
- Automate GST Verification with Zapier (No-Code Guide)
- Verify GST Numbers with Microsoft Power Automate
- Integrating a GST Verification API with Salesforce
- How to Integrate a GST Verification API with SAP
- How to Verify GST Numbers Directly Inside Tally
- GST Number Verification for WooCommerce and WordPress
- How to Verify GST Numbers on Shopify Checkout
- GST API Rate Limits, Retries and Webhooks Explained
- GST Verification API Error Codes: A Troubleshooting Guide
- GST API Uptime and Latency: What to Measure
- GST Number Verification in Zoho Books
- Adding E-Invoicing to Your GST Billing Software
- The GSTIN Check Digit Algorithm, Measured
- Validate a GSTIN in Python Without an API Call
- Validate a GSTIN in Node.js and TypeScript
- The GSTIN Regex — and Why Most Published Ones Are Wrong
- GST Number Validation in Forms: React, Zod, Django, Laravel
- Test GST Numbers: Generate Valid GSTINs for Your Test Suite
- Storing GSTIN Data: What the DPDP Act Means for Your App
- The GST Developer Portal: What It Is and How to Get Access
- GST API for Developers: Which Access Route You Actually Need
- How to Enable API Access in the GST Portal (Step by Step)
- E-Invoice API Developer Portal: Registration to First IRN
- GST API Integration: From API Key to Production
- Do You Need a GSP for a GST API?
- GST Verification in Odoo
- GST Verification in n8n Workflows
- GST Verification in Make.com Scenarios
- GST Verification in Django
- GST Verification in Next.js
Start building in minutes
Sign up, verify your email, and get 20 free credits — no credit card required to start testing.