CountryStateCity
The CountryStateCity API offers RESTful endpoints that return structured geographic data—countries, their states/regions, and cities—in JSON format, covering over 250 countries, 5,300+ states, and 150,000+ cities.
Latency
1305ms p95
Uptime
100.0% 30d
Playground
Verified
live
Endpoints
/v1/countries/{countryIso2}/states
Retrieve the list of states (or regions) for a specific country.
1 endpoint auto-detected
Authentication
This API uses an API key, passed in the "X-CSCAPI-KEY" header. No OAuth required.
curl -X GET \
"https://countrystatecity.in//v1/countries/{countryIso2}/states" \
-H "X-CSCAPI-KEY: YOUR_API_KEY"countrystatecity.in · HTTPS only