โ† Back to all APIs
๐Ÿงพ

GST State Code Lookup

Decode the 2-digit state code at the start of any GSTIN.

Endpoint

GET /api/v1/gst/state/{code}

Parameters

Name In Required Description
code path Yes 2-digit GST state code, e.g. 27

Example request

curl https://apibharat.com/api/v1/gst/state/27

Example response

{
  "success": true,
  "data": {
    "state_code": "27",
    "state_name": "Maharashtra",
    "state_abbr": "MH"
  },
  "message": "GST state code details found"
}

Try it live

Open the example in your browser:

/api/v1/gst/state/27 โ†—