Endpoint
POST /v1/verify/gstin
POST
/v1/verify/gstinScope verification.gstin.read₹5 per successful callLiveValidates and verifies a GSTIN. Requires the verification.gstin.read scope on the API key. Metered as gstin.verify after a successful response - usage is only recorded (and the fulfilment wallet debited, for priced services) once verification completes successfully. The response below is the exact real shape returned by /v1/verify/gstin, including its referenceId field.
Request
Request parameters
| Field | Type | Description |
|---|---|---|
Authorizationrequired | header | Bearer <api-key> (e.g. sk_test_... in sandbox, sk_live_... in production). The x-api-key header is also accepted. |
gstinrequired | string | 15-character GSTIN, format 07AAAAA1111A1Z1. |
businessName | string | Business (legal or trade) name to cross-check against the registration. |
Example
Make the call
curl -X POST "https://api-b2b.stampmitra.in/v1/verify/gstin" \
-H "Authorization: Bearer sk_test_xxxxxxxxxxxx" \
-H "Content-Type: application/json" \
-d '{"gstin":"29AAICP2912R1ZR","businessName":"UJJIVAN SMALL FINANCE BANK LIMITED"}'Playground
Try it
Response
Response example
ResponseJSON
{
"referenceId": "SMV-20260927-9K21P4",
"verificationId": "VRF-4M8Q2T7XB9KD",
"gstin": "29AAICP2912R1ZR",
"GSTIN": "29AAICP2912R1ZR",
"valid": true,
"legalNameOfBusiness": "UJJIVAN SMALL FINANCE BANK LIMITED",
"tradeNameOfBusiness": "UJJIVAN SMALL FINANCE BANK",
"centerJurisdiction": "I-A RANGE",
"stateJurisdiction": "GUWAHATI - A - 1",
"dateOfRegistration": "2017-09-30",
"constitutionOfBusiness": "Public Limited Company",
"taxpayerType": "Regular",
"gstinStatus": "Active",
"lastUpdateDate": "2022-03-01",
"natureOfBusinessActivities": [
"Retail Business",
"Supplier of Services",
"Recipient of Goods or Services",
"Office / Sale Office",
"Others"
],
"principalPlaceAddress": "First Floor 3512-DISPUR Prithivi Mansion opp. KFC building G.S. Road, Lachit Nagar Assam 781007",
"principalPlaceSplitAddress": {
"buildingName": "Prithivi Mansion",
"street": "G.S. Road",
"location": "Lachit Nagar",
"buildingNumber": "3512-DISPUR",
"district": "Guwahati",
"state": "Assam",
"city": "Dispur",
"flatNumber": "First Floor",
"latitude": "26.1445",
"longitude": "91.7362",
"pincode": "781007"
},
"additionalAddresses": [
{
"address": "Mirza Santipur NH-37 Dist-Kamrup Rural PS-Palashbari, PO Mirza Kamrup Assam 781125",
"splitAddress": {
"buildingName": "",
"street": "NH-37",
"location": "Santipur, Mirza",
"buildingNumber": "",
"district": "Kamrup Rural",
"state": "Assam",
"city": "Palashbari",
"flatNumber": "",
"latitude": "26.0926",
"longitude": "91.5069",
"pincode": "781125"
}
},
{
"address": "N.A.C.C.I. Foundation 3559-Tezpur CHAMBER BHAWAN Binjraj Road, P. o. and P.S. - Tezpur, Dist. Binjraj Road, P. o. and P.S. - Tezpur, Dist. Sonitpur Assam 784154",
"splitAddress": {
"buildingName": "CHAMBER BHAWAN",
"street": "Binjraj Road",
"location": "Tezpur",
"buildingNumber": "3559-Tezpur",
"district": "Sonitpur",
"state": "Assam",
"city": "Tezpur",
"flatNumber": "",
"latitude": "26.6338",
"longitude": "92.8006",
"pincode": "784154"
}
}
],
"message": "GSTIN Exists",
"legalName": "UJJIVAN SMALL FINANCE BANK LIMITED",
"tradeName": "UJJIVAN SMALL FINANCE BANK",
"registrationStatus": "Active",
"principalPlaceOfBusiness": "First Floor 3512-DISPUR Prithivi Mansion opp. KFC building G.S. Road, Lachit Nagar Assam 781007"
}| Field | Type | Description |
|---|---|---|
referenceId | string | StampMitra's own transaction id for this call (SMV-YYYYMMDD-XXXXXXX). Always present, including on a negative result. |
verificationId | string | StampMitra's own id for this verification (VRF- followed by 12 base32 characters). Generated for every call, unique to it. Always present. Quote it in support requests. |
gstin | string | The GSTIN that was verified. Always present; on an unknown GSTIN it is the number you sent. |
GSTIN | string | Same value as gstin. Kept so existing integrations keep working. |
valid | boolean | Whether the GSTIN exists and is registered. Always present. |
legalNameOfBusiness | string | Legal name of the business registered against this GSTIN. |
tradeNameOfBusiness | string | Trade name of the business, when it has one. |
centerJurisdiction | string | Central tax jurisdiction (range) of the registration. |
stateJurisdiction | string | State tax jurisdiction of the registration. |
dateOfRegistration | string | Date of GST registration, ISO yyyy-mm-dd. |
constitutionOfBusiness | string | Constitution of the business (legal form), for example Public Limited Company. |
taxpayerType | string | Taxpayer type, for example Regular or Composition. |
gstinStatus | string | GST registration status, for example Active. |
lastUpdateDate | string | Date the registration record was last updated, ISO yyyy-mm-dd. |
natureOfBusinessActivities | array | Nature of business activities declared on the registration. |
principalPlaceAddress | string | Principal place of business as one address string. |
principalPlaceSplitAddress | object | Principal place of business split into parts. |
principalPlaceSplitAddress.buildingName | string | Building or premises name. |
principalPlaceSplitAddress.street | string | Street / road. |
principalPlaceSplitAddress.location | string | Locality. |
principalPlaceSplitAddress.buildingNumber | string | Building or door number. |
principalPlaceSplitAddress.district | string | District. |
principalPlaceSplitAddress.state | string | State. |
principalPlaceSplitAddress.city | string | City. |
principalPlaceSplitAddress.flatNumber | string | Flat / floor. |
principalPlaceSplitAddress.latitude | string | Latitude, as a string exactly as the registry returns it. |
principalPlaceSplitAddress.longitude | string | Longitude, as a string exactly as the registry returns it. |
principalPlaceSplitAddress.pincode | string | Six-digit PIN code. |
additionalAddresses | array | Additional places of business on the registration. |
additionalAddresses[].address | string | The additional place of business as one address string. |
additionalAddresses[].splitAddress | object | The same address split into parts. |
additionalAddresses[].splitAddress.buildingName | string | Building or premises name. |
additionalAddresses[].splitAddress.street | string | Street / road. |
additionalAddresses[].splitAddress.location | string | Locality. |
additionalAddresses[].splitAddress.buildingNumber | string | Building or door number. |
additionalAddresses[].splitAddress.district | string | District. |
additionalAddresses[].splitAddress.state | string | State. |
additionalAddresses[].splitAddress.city | string | City. |
additionalAddresses[].splitAddress.flatNumber | string | Flat / floor. |
additionalAddresses[].splitAddress.latitude | string | Latitude, as a string exactly as the registry returns it. |
additionalAddresses[].splitAddress.longitude | string | Longitude, as a string exactly as the registry returns it. |
additionalAddresses[].splitAddress.pincode | string | Six-digit PIN code. |
message | string | Human-readable outcome, for example GSTIN Exists or GSTIN Doesn't Exist. |
legalName | string | Same value as legalNameOfBusiness. Kept so existing integrations keep working. |
tradeName | string | Same value as tradeNameOfBusiness. Kept so existing integrations keep working. |
registrationStatus | string | Same value as gstinStatus. Kept so existing integrations keep working. |
principalPlaceOfBusiness | string | Same value as principalPlaceAddress. Kept so existing integrations keep working. |
Errors
Error responses
401Missing or invalid API key
{
"error": {
"code": "UNAUTHORIZED",
"message": "Missing or invalid API key.",
"requestId": "a1b2c3d4-e5f6-4a1b-8c2d-9f0e1a2b3c4d"
}
}403Valid key, missing required scope
{
"error": {
"code": "FORBIDDEN",
"message": "API key is valid but lacks the required scope for this endpoint.",
"requestId": "a1b2c3d4-e5f6-4a1b-8c2d-9f0e1a2b3c4d"
}
}400Validation error
{
"error": {
"code": "BAD_REQUEST",
"message": "gstin must match the format 07AAAAA1111A1Z1",
"requestId": "a1b2c3d4-e5f6-4a1b-8c2d-9f0e1a2b3c4d"
}
}402Insufficient wallet balance
{
"error": {
"code": "PAYMENT_REQUIRED",
"message": "Insufficient fulfilment wallet balance to cover this call.",
"requestId": "a1b2c3d4-e5f6-4a1b-8c2d-9f0e1a2b3c4d"
}
}429Rate limited
{
"error": {
"code": "TOO_MANY_REQUESTS",
"message": "Rate limit exceeded: 60 requests per 60 seconds for this endpoint.",
"requestId": "a1b2c3d4-e5f6-4a1b-8c2d-9f0e1a2b3c4d"
}
}502Upstream verification service unreachable
{
"error": {
"code": "INTERNAL_ERROR",
"message": "Unable to reach the order/customer service right now",
"requestId": "5c1c1e9e-2f7b-4b7a-9b0e-0f1a2b3c4d5e"
}
}Notes
Good to know
Note
Input format is validated up front - a malformed pan/gstin/etc. fails fast with a 400 rather than being submitted for verification. referenceId (format SMV-YYYYMMDD-XXXXXXX) is StampMitra's own transaction id for this call and is always present, including on a negative (valid: false / found: false) result - both positive and negative determinations are completed, billable verifications. This is not an idempotency key. verificationId (format VRF-XXXXXXXXXXXX) is StampMitra's own id for this verification, generated for every call; quote it in support requests. Every field except referenceId, verificationId, gstin, GSTIN and valid is optional and is omitted when the registry does not provide it. Dates are ISO yyyy-mm-dd strings; latitude and longitude are strings. A GSTIN that does not exist returns HTTP 200 with valid false and a message, and none of the registration details. GSTIN and gstin carry the same value, as do legalName and legalNameOfBusiness, tradeName and tradeNameOfBusiness, registrationStatus and gstinStatus, principalPlaceOfBusiness and principalPlaceAddress; the older names are kept for existing integrations.