14-day full trial — no credit card required

World Cities API

150,000+ cities with coordinates, timezones, and population. Build location search, autocomplete, and city pickers in minutes.

150,000+Cities
250+Countries covered
lat/lngCoordinates included
IANATimezone per city

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.

GET api.apogeoapi.com/v1/countries/AR/cities
# 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
  },
  ...
]
Filter by state · Search by name · Paginate with ?page= and ?limit=

Available fields

Every city record includes the following fields.

FieldTypeDescription
namestringCity name in English
country_codestringISO 3166-1 alpha-2 country code (e.g. AR)
state_codestringState or province code within the country
latitudenumberGeographic latitude in decimal degrees
longitudenumberGeographic longitude in decimal degrees
populationnumberEstimated city population
timezonestringIANA 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 Trial

Frequently 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.