Country State City API
The Country State City API is a global geographic reference dataset and REST API published by countrystatecity.in. It exposes 247+ countries, 5,000+ states / provinces, and 150,000+ cities with ISO 3166 codes, phone codes, capitals, currencies, native names, regions, sub-regions, coordinates, time zones, and flag emoji. The data is also distributed as downloadable JSON, SQL, PostgreSQL, SQLite, XML, YAML, and CSV bundles for offline use, and the live API is authenticated with the X-CSCAPI-KEY header from a free developer plan.
Country State City API publishes 3 API contracts indexed on the APIs.io network: Cities API, Countries API, and States API. Tagged areas include Capital, Cities, Countries, Currency, and Geography.
The Country State City API catalog on APIs.io includes 1 Spectral governance ruleset.
Country State City API’s developer surface includes engineering blog, authentication, documentation, developer console, pricing, and 19 more developer resources.
Kin Score
Standards implemented 1
Standards this provider implements or carries. De facto ones are profiled and measured by the API Commons; formal ones come from the standards directory and are linked by the provider's own tags. The evidence column says how each claim was established — not that it was made.
APIs 3
Individual APIs this provider publishes, each with its own machine-readable definition.
Country State City API Cities API
City reference data with coordinates and time zones, scoped by country and state.
Country State City API Countries API
Country reference data including ISO codes, currencies, phone codes, and regions.
Country State City API States API
State, province, and region reference data scoped by country.
Open Collections 5
Open, tool-agnostic API collections (OpenAPI-derived and Bruno).
API Collection
OPEN COLLECTIONCountry State City Cities API
OPEN COLLECTIONCountry State City Cities Countries API
OPEN COLLECTIONCountry State City Cities States API
OPEN COLLECTIONCountry State City API
OPEN COLLECTIONMCP Servers 1
Model Context Protocol servers that expose these APIs to AI agents.
Pricing Plans 1
Published pricing tiers and plan structures.
Rate Limits 1
Documented rate limits and quota policies.
Country State City Api Rate Limits
RATE LIMITSFinOps 1
Cost, billing, and metering signals for API financial operations.
Spectral Rules 1
Spectral governance rulesets for linting and validating these APIs.
Country State City API API Rules
SPECTRALSecurity Posture 2
Authentication, domain security, vulnerability disclosure, and trust-center signals.
Agentic Access 1
Recommended x-agentic-access execution contracts for AI agents.
Resources
Get Started 1
Portal, sign-up, and the first successful call
Documentation 2
Reference material describing how the API behaves
Agent Surfaces 2
MCP servers, agent skills, and machine-readable catalogs
Design & Contract 1
Pagination, idempotency, versioning, errors, and events
Build 2
SDKs, sample code, and the tooling you integrate with
Access & Security 2
Authentication, authorization, and security posture
Operate 4
Status, limits, changes, and where to get help
Commercial 6
Pricing, plans, and the legal terms of use
Company 2
The organization behind the API
Other 2
Properties that don't map to a standard resource type
Source (apis.yml)
Work with this as data
Every provider here is available over the APIs.io API and to AI agents over MCP.