Log inSign up
Log in to RapidAPIGain access to thousands of APIs and connect instantly
Log in with Facebook
Log in with Google
Log in with Github
Log in with Facebook
Log in with Google
Log in with Github
Remember me
Forgot password?

GeoDB Cities

FREEMIUM
By wirefreethought
Updated 7 days ago
Data
9.7/10
Popularity Score
215ms
Latency
99%
Success Rate

GeoDB Cities API Overview

Get global city, region, and country data. Filter cities by name prefix, country, location, time-zone, and even minimum population (currently over 134,000 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 facilitate paging 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.

Contact API Provider
star-blueRate

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.

Features

  • Filter cities by name prefix, countries, location, time-zone, and minimum population (currently over 134,000 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.
  • WikiData Integration
  • REST API adheres to industry best-practices, including HATEOAS-style links for paging results.
  • Cloud-based load-balanced infrastructure.
  • Data periodically refreshed from GeoNames and WikiData.

Possible Use-Cases

  • 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.
  • Display the flag of the selected country.
  • Integrate with WikiData to implement exotic use-cases such as getting a city's tourist attractions.

Docs

Install SDK for (Node.js)Unirest

OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication