14-day full trial — no credit card required

World Cities API

150,000+ cities with coordinates, timezones, and parent state/country. 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",
    "countryCode": "AR",
    "stateCode": "B",
    "stateName": "Buenos Aires",
    "latitude": "-34.61315000",
    "longitude": "-58.37723000",
    "timezone": "America/Argentina/Buenos_Aires"
  },
  {
    "name": "Córdoba",
    "countryCode": "AR",
    "latitude": "-31.41350000",
    "longitude": "-64.18110000"
  },
  ...
]
Filter by state · Search by name · Paginate with ?page= and ?limit=

Available fields

Every city record includes the following fields.

FieldTypeDescription
idnumberStable city ID (safe to store as a reference)
namestringCity name in English
countryCodestringISO 3166-1 alpha-2 country code (e.g. AR)
countryNamestringFull country name
stateCodestringState or province code within the country
stateNamestringState or province name
latitudestringGeographic latitude in decimal degrees
longitudestringGeographic longitude in decimal degrees
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 and get matching cities with their IDs.

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, timezone and parent state/country.

Can I search cities by name?

Yes. GET /v1/search?q=Buenos searches across countries, states and cities at once and returns matching cities with their IDs. To list every city in a country, use GET /v1/countries/{code}/cities.

Are coordinates included?

Yes. Every city record includes latitude and longitude coordinates, making it suitable for distance calculations, map rendering, and geospatial queries.