Skip to content
Civic Suite

Wards, pincodes, states & holidays — the civic substrate of India.

7,500+ municipal ward polygons across 7 cities, 19,000 pincodes, all 28 states + 8 UTs, 14 national/restricted holidays. Hand-curated.

Ward polygons
7,512
Pincodes
19,014
States + UTs
36
Languages catalogued
22

Endpoints

MethodPathCostTier
GET/v1/admin/ward?lat=&lng=&layer=
Point-in-polygon ward lookup.
8free
GET/v1/admin/pincode?code=
Pincode → city + state + lat/lng.
4free
GET/v1/ref/holidays?year=&state=
National + state holidays.
2free
GET/v1/ref/elections
Election dates by state + level.
2pro

Try it from your terminal

No SDK install. Plain HTTP. Works the same from a Lambda, a Jupyter notebook, or an LLM tool call.

curl -H "X-API-Key: $GR_KEY" \
  "https://api.gridrock.ai/v1/admin/ward?lat=19.0760&lng=72.8777&layer=bmc" | jq
For agents

Drop into Claude / OpenAI / LangGraph as admin_ward

Bind once. Call on demand. Get back a verbose, deterministic shape that any LLM can reason over without prompt engineering.

# When the user says "what ward is this?", agent calls:
{ "name": "admin_ward", "input": { "lat": 19.076, "lng": 72.8777, "layer": "bmc" } }
Why Bharat

No other API knows that BMC has 24 wards while BBMP has 198, that 110001 is Connaught Place not 'New Delhi'. We do, because we live here.

Related

Start building with Civic — free

No card. No sales call. 60-second self-serve, agents included.

Get a free key