World Cities API
150,000+ cities with coordinates, timezones, and population. Build location search, autocomplete, and city pickers in minutes.
Cities, coordinates, and timezones included in the 14-day trial.
Cities by country — one request
Retrieve all cities for a country, or filter by state. Coordinates included.
# Request
curl https://api.apogeoapi.com/v1/countries/AR/cities \
-H "X-API-Key: your_api_key"
# Response (array)
[
{
"name": "Buenos Aires",
"country_code": "AR",
"state_code": "AR-B",
"latitude": -34.6037,
"longitude": -58.3816,
"population": 13076300,
"timezone": "America/Argentina/Buenos_Aires"
},
{
"name": "Córdoba",
"latitude": -31.4135,
"longitude": -64.1811,
"population": 1391000
},
...
]
Available fields
Every city record includes the following fields.
| Field | Type | Description |
|---|---|---|
name | string | City name in English |
country_code | string | ISO 3166-1 alpha-2 country code (e.g. AR) |
state_code | string | State or province code within the country |
latitude | number | Geographic latitude in decimal degrees |
longitude | number | Geographic longitude in decimal degrees |
population | number | Estimated city population |
timezone | string | IANA timezone identifier (e.g. America/Argentina/Buenos_Aires) |
What developers build with it
From checkout forms to geospatial applications — city data is everywhere.
City Autocomplete
Power instant search fields. Query by name prefix and get ranked results by population.
Distance Calculator
Use lat/lng coordinates to compute distances between cities in your app or backend.
Store Locator
List all cities in a country or state to build location-aware store or branch finders.
Shipping Forms
Populate city dropdowns dynamically based on country and state selection in checkout forms.
Low competition, high value — very few APIs offer 150K+ cities at this price point, with coordinates, timezones, and country/state context all bundled in.
Start building with the Cities API
14-day full trial. No credit card. All 150K+ cities available immediately.
Start Free TrialFrequently asked questions
How many cities are available?
Over 150,000 cities across 250+ countries, covering major cities, regional capitals, and thousands of smaller localities with coordinates and population data.
Can I search cities by name?
Yes. Use GET /v1/cities?search=Buenos to perform a name search across all cities. Results are ranked by population by default.
Are coordinates included?
Yes. Every city record includes latitude and longitude coordinates, making it suitable for distance calculations, map rendering, and geospatial queries.