CountryStateCity
CountryStateCity — free tier with API key
CountryStateCity exposes a free-tier JSON API. Register for an API key if required; we verified a public or demo endpoint.
GET https://api.countrystatecity.in/v1/countries/IN/states
{
"status": "error",
"message": "API key is required"
}curl "https://api.countrystatecity.in/v1/countries/IN/states"const res = await fetch("https://api.countrystatecity.in/v1/countries/IN/states");
const data = await res.json();
console.log(data);import requests
res = requests.get("https://api.countrystatecity.in/v1/countries/IN/states")
print(res.json())THIS API IS DEAD — NOTHING TO RUN
/v1/countries/IN/statesPROBEDCountryStateCity — free tier with API key
/v1V1 — documented GET route.
/v1/1V1 details by ID (example: 1).
/v1?limit=10V1 — documented GET route.
/v1/search?q=testSearch by query parameters.
/v1/V1 — documented GET route.
We probe a documented GET and expect 2xx JSON — full uptime and health score. Export includes every documented route below.
Stable. No schema drift observed since monitoring began — the response shape has not changed under our checks.
CountryStateCity: common questions
Is CountryStateCity free to use?
Yes — CountryStateCity is a free geo & maps API. Free tier: Free tier — API key required. Whether the free tier allows commercial use is unclear — check the provider docs.
Does CountryStateCity need an API key?
Yes — CountryStateCity needs a free API key, which you pass on each request. Rate limits: Unpublished.
Can I call CountryStateCity from the browser?
Yes — CountryStateCity returns CORS headers over HTTPS, so front-end code can fetch it directly with no backend proxy. Use the fetch snippet on this page, or hit "Run live" to try it now.
Is CountryStateCity up right now?
As of our last scheduled check, CountryStateCity is dead. We re-probe it every sweep — the status badge and uptime chart above always show the latest.