Skip to content
DDataNest
Location

Cities & Countries API

A worldwide geographic database: city search with population filters, full country profiles (capital, borders, currencies, timezones), and regions.

Dashboard

A live look at what this API returns, refreshed daily.

Live snapshot

Real response from the API · refreshed daily

Results0

GET /cities?limit=5&minPopulation=10000000

Try it live

Real input, real response — straight from the API, right here.

Find big cities

Search cities by minimum population.

What you can build

Common ways developers use the Cities & Countries API.

location autocomplete

Add location autocomplete without building or maintaining the data pipeline yourself.

travel apps

Wire travel apps into your product in an afternoon with a documented endpoint.

demographic research

Swap fragile scraping for a reliable, supported source for demographic research.

Quick start

Subscribe on RapidAPI, grab your key, and call it.

curl --request GET \
  --url 'https://cities-countries-by-datanest.p.rapidapi.com/cities?limit=5&minPopulation=10000000' \
  --header 'x-rapidapi-host: cities-countries-by-datanest.p.rapidapi.com' \
  --header 'x-rapidapi-key: YOUR_RAPIDAPI_KEY'

Cities & Countries updates

Get notified about new Cities & Countries endpoints and live data highlights.