Get global city, region, and country data. Filter cities by name prefix, country, location, time-zone, and even minimum population (currently over 500,000 towns, cities, and counties). Display results in multiple languages. Sort by name, country code, elevation, and population - or any combination of these. Get distances between cities. Get all country regions. Get all cities in a given region. RESTful API adheres to industry best-practices, including HATEOAS-style links to help page results. Data is periodically refreshed from GeoNames and WikiData. Backed by cloud-based load-balanced infrastructure for resiliency and performance! If you’d like to host the service internally, contact us for details through the dev portal site. Data licensed under Creative Commons, http://creativecommons.org/licenses/by/3.0. For more information check out our website at http://geodb-cities-api.wirefreethought.com
Welcome to GeoDB Cities
This service provides basic info about cities, counties, regions, and countries throughout the world. It allows you to constrain and sort the data in various ways, retrieving just what’s relevant to your use-case.
Filter cities by name prefix, countries, location, time-zone, and minimum population (currently over 500,000 towns, cities, and counties).
Find cities near a city or location.
Display results in multiple languages (currently English, French, German, Italian, Portuguese, Russian, and Spanish).
Sort results by name, country code, elevation, and population - or any combination of these.
Get city details, including GPS location, time-zone, population, elevation above sea level, and the current time (factors in daylight savings).
Get all country regions, states, and provinces.
Get all cities in a given region.
Get all countries supporting a currency.
REST API adheres to industry best-practices, including HATEOAS-style links for paging results. (If you prefer GraphQL, check out the GeoDB Cities GraphQL API.)
Cloud-based load-balanced infrastructure.
Data periodically refreshed from GeoNames and WikiData.
Get user’s current city based on their GPS location.
Autocomplete a city, region, or country name as the user types. See the tutorial on how you might do so using Angular.
Autopopulate a list of regions based on the user’s selected country.
Autopopulate a list of cities based on the user’s selected country region.