https://your-domain/api/v1 Sample GSTIN 27AABCS1429B1ZUUse aps_test_… keys: labelled sample data, never billed.Parent API: GST APIQuickstart guideAuthentication guide
GSTIN Taxpayer Search API
Looks up a GSTIN and returns the registration profile twice over: `data` (normalised, stable field names) and `raw` (the original business payload). Format and checksum are validated before anything is sent upstream.
Billing: On a found taxpayer. Invalid input, not-found, errors and timeouts are free.
Parameters
Path parameters
gstinstring (15 chars)requiredThe GSTIN to look up, e.g. 27AAPFU0939F1ZV.
Header parameters
AuthorizationstringrequiredBearer <your API key>: aps_live_… or aps_test_…. X-API-Key is also accepted.
Response
200400401402403404429502503504
200 returns the JSON shown in the example panel. Every non-200 uses the standard envelope with a stable error.code:
- 400
invalid_requestA field is missing or malformed; details.issues lists what. - 400
invalid_gstinThe GSTIN fails format or checksum validation. - 401
invalid_api_keyThe key is missing, malformed, revoked, or used with the wrong environment prefix. - 402
insufficient_balanceThe wallet cannot cover this call. Recharge and retry. - 403
insufficient_scopeThe key lacks the scope this endpoint needs. - 404
not_foundNo such resource. - 429
rate_limitedToo many requests; honour Retry-After. - 502
upstream_errorThe data source failed. You were not charged. - 503
provider_not_configuredThis capability has no live provider configured. - 504
upstream_timeoutThe data source took too long. You were not charged.
- `data` is derived only from `raw`: the two views always describe the same response.
- `outcome` is `found` or `not_found`; a not-found lookup is never billed.
Frequently Asked Questions
What is required to search a taxpayer?
Only the 15-character GSTIN in the path and your API key in the Authorization header. There are no query parameters.
What details are returned for a searched taxpayer?
Legal name, trade name, status (Active, Cancelled, Suspended), constitution, taxpayer type, registration date, state and centre jurisdictions, principal address, nature of business and e-invoice status: in `data` with stable names, and the untouched provider payload in `raw`.
Is the GSTIN format validated before querying?
Yes. The 15-character format and the check digit are validated first; a malformed GSTIN fails with invalid_gstin before anything is sent upstream, and costs nothing.
Am I charged when the GSTIN is not found?
No. Only a found taxpayer is billed. Not-found, invalid input, provider errors and timeouts are always free.