For businesses and developers
The SmartMaps API
The figures on the map, for your own app or tool: a place’s figures, what a spot is in, everything within a circle, and the land notices that name a place. The same numbers the map shows, from the same sources, updated as the map is.
Ask for a key Quick start Reference
On this page: Plans · Quick start · Calls · Figures · Every answer · Limits · Errors · Using the figures
Plans
| API Starter | API Growth | Enterprise | |
|---|---|---|---|
| Price | ₹2,499 a month ₹24,990 a year | ₹9,999 a month ₹99,990 a year | By agreement |
| For | For an app or tool that looks up the places its own users pick. | For lenders, property platforms and law firms: everything in Starter, with land notices. | Higher limits, a data licence, and terms agreed with you. |
| Calls | 5,000 a month, 500 a day, 60 a minute | 50,000 a month, 5,000 a day, 300 a minute | Set with you |
| Places a month | 250 (about 5% of India) | 1,000 (about 20% of India) | Set with you |
| Circle radius | 2 to 10 km | 1 to 25 km | 0.5 to 50 km, or wider by agreement |
| Land notices and survey-number checks | – | Yes | Yes |
Prices in rupees, plus GST once registered. Pay yearly: twelve months for the price of ten. Enterprise limits are set with you. Ask about a trial key.
What is a place? A named place (a district, a seat, a village and so on) counts once a month, however often you ask about it. For a point, a circle or notices near a point, each map square of about 28 km it touches counts once a month. India has 5,086 such squares. An app that looks up its own users’ places stays well inside its plan.
Circles. Each plan draws circles within its own band: the higher plans reach both finer (down to 0.5 km) and wider.
Quick start
- Ask for a key on the contact page: who you are and what you are building. Once the plan is paid we send a key that starts
sm_live_. - Keep it on your server, in an environment variable. The API refuses calls made from a web page, so a key in a page’s code would not work anyway.
- Call
https://api.smartmaps.inwithGETand the headerAuthorization: Bearer <your key>. Every answer is JSON. - Or import it into Postman, Insomnia or a client generator: the API’s OpenAPI description is
https://api.smartmaps.in/v1/openapi.json(no key needed).
curl "https://api.smartmaps.in/v1/circle?lat=9.9816&lon=76.2999&radius_km=5" \ -H "Authorization: Bearer $SMARTMAPS_KEY"
// Node 18 or later, on your server
const response = await fetch('https://api.smartmaps.in/v1/places/district/563', {
headers: { Authorization: `Bearer ${process.env.SMARTMAPS_KEY}` },
});
const answer = await response.json();
if (!response.ok) throw new Error(answer.message);
console.log(answer.place.name, answer.figures.population.value);import os, requests
r = requests.get("https://api.smartmaps.in/v1/circle",
params={"lat": 9.9816, "lon": 76.2999, "radius_km": 5},
headers={"Authorization": f"Bearer {os.environ['SMARTMAPS_KEY']}"})
answer = r.json()
if not r.ok:
raise RuntimeError(answer["message"])
print(answer["figures"]["population"]["value"])Calls
Levels of named places: state, district, ac (assembly seat), pc (Lok Sabha seat), ua (a city with the towns grown into it), corp (municipal corporation), and in Kerala lsg (local body), taluk and village. Ids come from /v1/search. The examples are real answers, shortened; figures change as the data is updated.
GET /v1/search
Find a place by name. Up to 10 places whose name contains q: exact names first, then names that start with it. Use the level and id it gives with /v1/places and /v1/notices.
| Parameter | Required | What |
|---|---|---|
q | yes | Part of the name, at least two letters: kochi, palakkad, mumbai |
level | no | Only this level (below) |
GET /v1/search?q=kochi
{"query": "kochi", "level": null,
"results": [
{"level": "ac", "level_name": "Assembly constituency", "id": 32080, "name": "Kochi", "number": 80,
"state": {"level": "state", "id": 32, "name": "Kerala"}},
{"level": "ua", "level_name": "Urban agglomeration (a city with the towns grown into it)", "id": 17, "name": "Kochi",
"state": {"level": "state", "id": 32, "name": "Kerala"}},
...]}
GET /v1/places/{level}/{id}
Every figure for a named place (see Figures), its area, its air quality, and for seats, cities and Kerala’s local bodies, taluks and villages, the districts it spans with each one’s share. Counts as one place.
| Parameter | Required | What |
|---|---|---|
level | yes | state, district, ac (assembly seat), pc (Lok Sabha seat), ua (a city with the towns grown into it), corp (municipal corporation); outside Kerala sd (taluk or tehsil), lb (panchayat or town), vl (village), by LGD code; in Kerala lsg (local body), taluk, village |
id | yes | The id /v1/search gives |
GET /v1/places/district/563
{"place": {"level": "district", "level_name": "District", "id": 563, "name": "Palakkad",
"state": {"level": "state", "id": 32, "name": "Kerala"}},
"area_km2": 4508.15,
"figures": {
"population": {"value": 3124558, "unit": "people", "year": "2026"},
"population_2011": {"value": 2815292, "unit": "people", "year": "2011"},
"gdp_inr": {"value": 863644700000, "unit": "INR", "year": "2024-25"},
"road_nh_km": {"value": 184.77, "unit": "km", "year": "2026"},
...},
"air_quality": {"aqi": 82, "category": "Satisfactory", "main_pollutant": "PM2.5", "date": "2026-11-12",
"window": "24 hours to 06:00 IST", "measured_share": 0, "stations": 0, "scale": "India NAQI, 0-500"}}
GET /v1/point
What a spot is in: state, district, seats and city, and in Kerala its local body, taluk and village; which seats it is near the boundary of (within about 1 km); and for its ~1 km grid cell, the share in the 1-in-100-year river flood, in high landslide susceptibility, flooded in Kerala in August 2018, and built up. Its district’s air quality. No people or money for a single cell. Counts the map square the point is in.
| Parameter | Required | What |
|---|---|---|
lat | yes | Latitude in degrees, 6 to 38 |
lon | yes | Longitude in degrees, 68 to 98 |
GET /v1/point?lat=9.9816&lon=76.2999
{"point": {"lat": 9.9816, "lon": 76.2999},
"places": {"state": {"level": "state", "id": 32, "name": "Kerala"},
"district": {"level": "district", "id": 555, "name": "Ernakulam"},
"ac": {"level": "ac", "id": 32083, "name": "Thrikkakara"}, "pc": {...}, "ua": {...}, "corp": {...},
"lsg": {"level": "lsg", "id": 3, "name": "Kochi"}, "taluk": {...}, "village": {...}},
"near_seat_boundary": ["ac"],
"cell": {"km2": 0.85, "river_flood_share": 0, "landslide_share": 0, "kerala_2018_flood_share": 0,
"built_up_share": 0.33, "about": "..."},
"air_quality": {...}}
GET /v1/circle
Every figure within a circle, how much of it is land in India (area_in_india_km2), its air quality, and the districts it covers with each one’s share. Counts every map square the circle touches.
| Parameter | Required | What |
|---|---|---|
lat | yes | The centre’s latitude, 6 to 38 |
lon | yes | The centre’s longitude, 68 to 98 |
radius_km | yes | Kilometres, within your plan’s band (Plans, above) |
GET /v1/circle?lat=9.9816&lon=76.2999&radius_km=5
{"circle": {"lat": 9.9816, "lon": 76.2999, "radius_km": 5, "area_km2": 78.54},
"area_in_india_km2": 76.95,
"figures": {"population": {"value": 466708, "unit": "people", "year": "2026"},
"hospitals": {"value": 170, "unit": "places", "year": "2026"},
"flood_people": {"value": 20867, "unit": "people", "year": "2026"}, ...},
"air_quality": {"aqi": 54, "category": "Satisfactory", ...},
"districts": [{"level": "district", "id": 555, "name": "Ernakulam",
"state": {"level": "state", "id": 32, "name": "Kerala"}, "share": 1}]}
GET /v1/notices Growth and Enterprise
Gazette of India land notices naming a place, newest first: the notice, its stage, whether it is open for objections and until when, when it lapses, the PDF, and the places it names in the area you asked about. count says how many match; more says there are more than limit (ask again with since to go further back). Counts the place, or the map squares the circle touches.
| Parameter | Required | What |
|---|---|---|
level, id | one of | A named place: state, district, ac, pc, or outside Kerala sd, lb, vl, or in Kerala lsg, taluk, village |
lat, lon, radius_km | one of | Or every notice naming a village within the circle |
since | no | Only notices from this date: YYYY-MM-DD |
limit | no | How many to list, 1 to 50 (20 if not given) |
GET /v1/notices?level=district&id=565&limit=1
{"count": 15, "more": true,
"notices": [{"key": "2026/277625", "date": "2026-11-03", "gazette_number": "S.O. 5989(E)",
"title": "Ring Road from Km 0 to Km 77.773", "kind": "national_highway", "stage": "3A",
"stage_note": "intent to acquire land: objections within 21 days; lapses if no 3D within a year",
"pdf": "https://egazette.gov.in/WriteReadData/2026/277625.pdf", "area_ha": 44.51,
"open_for_objections": true, "objections_until": "2026-11-24", "lapses_on": "2027-11-03", "lapsed_on": null,
"places": [{"state": "Kerala", "district": "Thiruvananthapuram", "subdistrict": "Chirayinkeezhu",
"village": "Kilimanoor", "survey_numbers_listed": 1, "area_ha": 0.0455,
"lat": 8.76402, "lon": 76.87281, "kerala_village": {"level": "village", "id": 1444, "name": "Kilimanoor"}}, ...]}],
"coverage": {"from": "2023-11-10", "to": "2026-11-13", "about": "..."}}
GET /v1/land-check Growth and Enterprise
Whether a survey number appears in the schedule of a land notice read so far, for that village: found, how it matched, the number and block, and the notices that list it. Not finding it does not mean the land is free of acquisition. Counts the village as one place.
| Parameter | Required | What |
|---|---|---|
state | yes | As the land records write it: Kerala |
village | yes | The revenue village |
survey | yes | The survey number as written: 388/2, 12-3A, Block 30 388/2 |
district | no | Narrows a village name found in several districts |
block | no | Kerala’s survey block, if not in survey |
GET /v1/land-check?state=Kerala&district=Thiruvananthapuram&village=Kilimanoor&survey=388/2&block=30
{"asked": {"state": "Kerala", "district": "Thiruvananthapuram", "village": "Kilimanoor", "survey": "388/2", "block": "30"},
"found": true, "how": "exact", "number": "388/2", "block": "30",
"matches": [{"how": "exact", "number": "388/2", "block": "30", "district": "Thiruvananthapuram",
"subdistrict": "Chirayinkeezhu", "notices": ["2024/258894", "2026/277625"]}],
"coverage": [["2026-01-28", "2026-11-13"], ...], "about": "..."}
GET /v1/usage Not counted
Your key’s plan and limits, what it has used this month and today, and when each starts again (unix seconds). Not counted.
GET /v1/usage
{"key": {"id": "key_ac301f07028d", "prefix": "sm_live_8Lb3", "org": "Example Co", "paid_until": 1797249175},
"plan": "api_growth", "plan_name": "API Growth", "month": "2026-11",
"calls": {"used": 120, "limit": 50000, "today": 14, "day_limit": 5000, "per_minute": 300,
"resets_at": 1796063400, "day_resets_at": 1794681000},
"places": {"used": 31, "limit": 1000, "about": "..."},
"radius_km": {"min": 1, "max": 25}, "notices": true}
GET /v1/sources Not counted
Every figure’s unit, year, coverage (IN: all India; KL: Kerala) and source, and the credit line to show with them. Not counted.
Figures
Each figure is {"value", "unit", "year"}. People, voters and rupees are whole numbers; the rest have two decimal places, as many are estimates shared out by a model. Kerala-only figures appear when the area reaches Kerala. /v1/sources gives every figure’s source.
| Figures | What |
|---|---|
population, population_2011 | People in 2026 and at the 2011 Census, as the map shows them |
gdp_inr | GDP in rupees, financial year 2024-25 (published for some districts, modelled elsewhere) |
road_nh_km, road_sh_km, road_major_km, road_minor_km, rail_km, metro_km | Kilometres of national and state highways, other main roads, minor roads, railway and metro track (OpenStreetMap) |
bus_stops, rail_stops | Bus and rail stops |
hospitals, schools, colleges, police | Hospitals and clinics; schools (UDISE+); colleges and universities (AISHE); police stations (BPR&D) |
tourism_poi, sport_places, stadiums, sport_grounds, sport_football, sport_cricket, … | Attractions and sports places as mapped |
flood_km2, flood_people | Land and people in the 1-in-100-year river flood (Copernicus GloFAS) |
landslide_km2, landslide_people | Land and people in high or very high landslide susceptibility (IIT Delhi) |
built_km2, built_mm3, land_km2 | Built-up surface and volume (GHSL 2020), and land |
vehicles | Motor vehicles on record |
flood_seen_km2, flood_seen_people | Land and people seen flooded from space in any of India's major floods of 2015-2025 (Copernicus GFM): the least that flooded |
electors, flood2018_km2, flood2018_people, lsg_plan_*, block_plan_*, dp_plan_* | Kerala only: electors, the August 2018 flood, and local body plan budgets and spending |
Air quality (air_quality): India’s AQI (0 to 500) and its band, the main pollutant, the day, the share of people near a CPCB station (measured_share; elsewhere it is estimated), and the stations counted.
Every answer
data_build: the data’s build, which changes when the map’s data is updated.attribution: the credit line to show wherever you show the figures. OpenStreetMap’s licence and others ask for it.licence: names your business and the terms the answer is given under.- Headers:
x-calls-left-month,x-calls-left-today,x-places-left-monthandx-data-build.
Limits
- Every call with a key counts toward the minute. Calls that answer with data also count toward the day and the month, and their places toward the month’s places.
- Not counted:
/v1/usage,/v1/sources, a call refused for any limit, a mistake in what was asked (400), a place that is not there (404), and a call the data could not answer (503). - Days and months are India time: the day starts again at midnight, the month on the 1st.
Errors
An error is JSON: {"error": "<code>", "message": "<what to do>"}, with retry_after or resets_at where they help.
| Status | error | When |
|---|---|---|
| 400 | bad_request | A parameter is missing or out of range; the message says which. Not counted. |
| 401 | api_key | No key, or one we do not know. |
| 402 | expired | The key’s paid period is over. |
| 403 | revoked | The key has been stopped. |
| 403 | not_in_plan | Land notices on API Starter. |
| 403 | browser | The call came from a web page (it had an Origin header). Call from your server. |
| 404 | not_found, outside | No place with that id, no such call, or a point or circle off India’s land. Not counted. |
| 405 | method | Only GET. |
| 429 | too_fast | More calls in a minute than the plan allows; retry_after says how many seconds to wait. |
| 429 | daily_limit, monthly_limit | The day’s or month’s calls are used; resets_at says when they start again. |
| 429 | places_limit | The call reaches new places beyond the month’s; places already asked about still answer. |
| 503 | data | The data could not be read just now. The call is given back; try again in a minute. |
Using the figures
- Your use, not resale. Show the figures in your app, to your users, with the credit line. Do not resell them, publish them as a dataset, or use them to build a copy of SmartMaps. The API terms say so in full.
- Keep answers up to 30 days to serve your users; the data is updated as the map is.
- Figures, not advice. Many figures are estimates, and each says where it comes from. A land notice is checked against the Gazette itself.