MIGHTY DEVELOPERS
API playground
Choose an endpoint, run a request and inspect the response. Read-only geography from the published LGD catalogue; no API key required.
Start here →
Request access
Run only the two fixed, read-only public geography endpoints against the published LGD catalogue. The response includes source vintage when provided. Private service access requires separate review and an approved environment.
GET /sandbox/demo/v1/geo/states
No input parameters. Returns public Indian state and union-territory metadata from the published MIGHTY LGD catalogue.
200: JSON with contract, source, optional sourceUpdatedAt, and states containing code, name, districtCount and mandalCount. Errors include 400, 403, 429 and upstream failures.
curl -H 'Accept: application/json' 'https://www.pradiota.com/sandbox/demo/v1/geo/states'
Static example: {"states":[{"code":"AP","name":"Andhra Pradesh","districtCount":27,"mandalCount":679}]} — counts can change.
GET /sandbox/demo/v1/geo/districts
Required query input: state, exactly two letters such as AP. Returns the published districts and mandal counts for that state.
200: JSON with contract, source, optional sourceUpdatedAt, state name, and districts containing code, name and mandalCount. Invalid input returns 400; rate limiting returns 429.
curl -H 'Accept: application/json' 'https://www.pradiota.com/sandbox/demo/v1/geo/districts?state=AP'
Static example: {"state":"Andhra Pradesh","districts":[{"code":"745","name":"Alluri Sitharama Raju","mandalCount":22}]} — the list can change.
Both operations are anonymous, read-only and subject to published rate limits. Read the OpenAPI 3.1.1 contract. Interactive execution requires JavaScript; these endpoints and examples remain readable without it. They do not prove private service access.