The government’s own hierarchy, as one clean JSON API.
Every state, district, sub-district and development block in India — with the official Local Government Directory codes — served keyless, with CORS enabled, straight from the LGD data through an independent community mirror. No signup, no API key, no charge.
Checking…
The full hierarchy, one endpoint per level
Drill from a state to its districts, from a district to its sub-districts and blocks, or search every level at once — results always carry the parent chain, because real place names repeat (there is more than one Bilaspur).
| GET /v1/states | All 36 states and union territories with LGD codes. |
| GET /v1/districts?state=<code> | Districts of one state, or all 780+ unfiltered. |
| GET /v1/subdistricts?district=<code> | Sub-districts (tehsils) of one district — filter required. |
| GET /v1/blocks?district=<code> | Development blocks of one district — filter required. |
| GET /v1/search?q=<text> | One search box across all four levels at once. |
Zero to first request
Send this request from any HTTP client, or open the Playground to inspect a live response.
curl "https://india-lgd-index-api.vercel.app/v1/states"