StampMitraDevelopers
LiveVerification API

Verify GSTIN

Verify a GSTIN in real time.

Pricing, how it works and related APIs: GSTIN product page. Integrate with AI: copy the ready-made prompt. Markdown version: gstin.md.

Endpoint

POST /v1/verify/gstin

POST/v1/verify/gstinScope verification.gstin.read₹5 per successful callLive

Validates 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

Request parameters
FieldTypeDescription
AuthorizationrequiredheaderBearer <api-key> (e.g. sk_test_... in sandbox, sk_live_... in production). The x-api-key header is also accepted.
gstinrequiredstring15-character GSTIN, format 07AAAAA1111A1Z1.
businessNamestringBusiness (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"
}
Response fields
FieldTypeDescription
referenceIdstringStampMitra's own transaction id for this call (SMV-YYYYMMDD-XXXXXXX). Always present, including on a negative result.
verificationIdstringStampMitra'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.
gstinstringThe GSTIN that was verified. Always present; on an unknown GSTIN it is the number you sent.
GSTINstringSame value as gstin. Kept so existing integrations keep working.
validbooleanWhether the GSTIN exists and is registered. Always present.
legalNameOfBusinessstringLegal name of the business registered against this GSTIN.
tradeNameOfBusinessstringTrade name of the business, when it has one.
centerJurisdictionstringCentral tax jurisdiction (range) of the registration.
stateJurisdictionstringState tax jurisdiction of the registration.
dateOfRegistrationstringDate of GST registration, ISO yyyy-mm-dd.
constitutionOfBusinessstringConstitution of the business (legal form), for example Public Limited Company.
taxpayerTypestringTaxpayer type, for example Regular or Composition.
gstinStatusstringGST registration status, for example Active.
lastUpdateDatestringDate the registration record was last updated, ISO yyyy-mm-dd.
natureOfBusinessActivitiesarrayNature of business activities declared on the registration.
principalPlaceAddressstringPrincipal place of business as one address string.
principalPlaceSplitAddressobjectPrincipal place of business split into parts.
principalPlaceSplitAddress.buildingNamestringBuilding or premises name.
principalPlaceSplitAddress.streetstringStreet / road.
principalPlaceSplitAddress.locationstringLocality.
principalPlaceSplitAddress.buildingNumberstringBuilding or door number.
principalPlaceSplitAddress.districtstringDistrict.
principalPlaceSplitAddress.statestringState.
principalPlaceSplitAddress.citystringCity.
principalPlaceSplitAddress.flatNumberstringFlat / floor.
principalPlaceSplitAddress.latitudestringLatitude, as a string exactly as the registry returns it.
principalPlaceSplitAddress.longitudestringLongitude, as a string exactly as the registry returns it.
principalPlaceSplitAddress.pincodestringSix-digit PIN code.
additionalAddressesarrayAdditional places of business on the registration.
additionalAddresses[].addressstringThe additional place of business as one address string.
additionalAddresses[].splitAddressobjectThe same address split into parts.
additionalAddresses[].splitAddress.buildingNamestringBuilding or premises name.
additionalAddresses[].splitAddress.streetstringStreet / road.
additionalAddresses[].splitAddress.locationstringLocality.
additionalAddresses[].splitAddress.buildingNumberstringBuilding or door number.
additionalAddresses[].splitAddress.districtstringDistrict.
additionalAddresses[].splitAddress.statestringState.
additionalAddresses[].splitAddress.citystringCity.
additionalAddresses[].splitAddress.flatNumberstringFlat / floor.
additionalAddresses[].splitAddress.latitudestringLatitude, as a string exactly as the registry returns it.
additionalAddresses[].splitAddress.longitudestringLongitude, as a string exactly as the registry returns it.
additionalAddresses[].splitAddress.pincodestringSix-digit PIN code.
messagestringHuman-readable outcome, for example GSTIN Exists or GSTIN Doesn't Exist.
legalNamestringSame value as legalNameOfBusiness. Kept so existing integrations keep working.
tradeNamestringSame value as tradeNameOfBusiness. Kept so existing integrations keep working.
registrationStatusstringSame value as gstinStatus. Kept so existing integrations keep working.
principalPlaceOfBusinessstringSame 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.