Skip to content

GSTIN Status

Check the registration status, business details, and compliance information of a GSTIN.

Endpoint

GET /vas-api/gstn-status-v1

Authentication

Requires OAuth2 Bearer token. Get your credentials →

Request

Query parameters

ParameterTypeRequiredDescriptionExample
gstinstringYes15-character GSTIN number29ABCDE1234F1Z5

Example request

bash
curl -X GET "https://api.api4business.com/vas-api/gstn-status-v1?gstin=29ABCDE1234F1Z5" \
  -H "Authorization: Bearer YOUR_ACCESS_TOKEN"
python
import requests

response = requests.get(
  "https://api.api4business.com/vas-api/gstn-status-v1",
  params={"gstin": "29ABCDE1234F1Z5"},
  headers={"Authorization": "Bearer YOUR_ACCESS_TOKEN"}
)
print(response.json())
javascript
const response = await fetch(
  "https://api.api4business.com/vas-api/gstn-status-v1?gstin=29ABCDE1234F1Z5",
  { headers: { "Authorization": "Bearer YOUR_ACCESS_TOKEN" } }
);
console.log(await response.json());
java
HttpRequest request = HttpRequest.newBuilder()
  .uri(URI.create("https://api.api4business.com/vas-api/gstn-status-v1?gstin=29ABCDE1234F1Z5"))
  .header("Authorization", "Bearer YOUR_ACCESS_TOKEN")
  .GET()
  .build();
HttpResponse<String> response = client.send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());

Response

Success (200)

FieldTypeDescription
body.gstinstringThe GSTIN that was checked
body.gstinStatusstringRegistration status (Active, Cancelled, Suspended)
body.legalBusinessNamestringLegal name of the registered business
body.tradeNamestringTrade name of the business
body.businessConstitutionstringType of business (e.g., Proprietorship, Partnership, Private Limited)
body.businessNaturestringJSON string listing business activities
body.taxTypestringTax type (Regular, Composition)
body.registrationDatestringDate of GST registration (YYYY-MM-DD)
body.panstringPAN linked to the GSTIN
body.centerJurisdictionstringCentral jurisdiction code
body.stateJurisdictionstringState jurisdiction code
body.centerCodestringCentral tax range
body.stateCodestringState jurisdiction name
body.lastUpdatedDatestringLast update from GSTN portal
body.irnGenerationEligibilitystringWhether eligible for IRN generation (Yes, No)

Example response

json
{
  "ok": true,
  "responseCode": 200,
  "message": "Transmission OK",
  "body": {
    "gstin": "29ABCDE1234F1Z5",
    "gstinStatus": "Active",
    "legalBusinessName": "SAMPLE TRADING COMPANY",
    "tradeName": "SAMPLE ELECTRONICS AND HOME NEEDS",
    "businessConstitution": "Proprietorship",
    "businessNature": "[\"Office / Sale Office\",\"Retail Business\",\"Wholesale Business\"]",
    "taxType": "Regular",
    "registrationDate": "2019-08-14",
    "pan": "ABCDE1234F",
    "centerJurisdiction": "YK0405",
    "stateJurisdiction": "AP074",
    "centerCode": "RANGE-I",
    "stateCode": "KARNATAKA",
    "lastUpdatedDate": "2023-04-29",
    "irnGenerationEligibility": "No",
    "lastSynced": 1724924655077
  }
}

businessNature is a stringified JSON array

The businessNature field contains a JSON-encoded string array. Parse it to get individual business activities.

Response headers

HeaderDescription
x-request-idUnique request identifier — log this for debugging and support

Error responses

StatusError CodeMessageResolution
400400Invalid GSTINCheck the 15-character GSTIN format
400400Invalid RequestVerify the gstin query parameter is present
401401Invalid CredentialsRefresh your access token
429429Quota ViolationRate limit exceeded
500500Internal Server ErrorRetry after delay

Released under the API4Business Terms of Service