mocop
Browse · Docs · Guide · Analyze

Continents, Countries And Cities API

API by Data and APIs · rest

252 countries, 7 continents and 235,640 cities from GeoNames with coordinates, population, timezone and names. Continents, countries and cities — rebuilt on GeoNames, the world''s reference geographical database: 235,640 cities and towns (every place with population 500+), 252 countries and all 7 continents, self-hosted and coherent. Every city carries real coordinates, population, elevation, IANA timezone, region (state/province) and alternate names (Múnich finds München); every country carries capital, ISO2/ISO3, area, population, currency code and name, languages, TLD, phone prefix and neighbouring countries; continents roll up their countries and population. Search cities by name prefix across native and ASCII spellings, filter by country, region or minimum population, and find every city near a coordinate with the distance-sorted nearby endpoint. Existing integrations keep working: the classic /continents, /countries and /cities paths and name/page/pageSize parameters are…

Endpoint: https://continents-countries-and-cities.dataandapis.com/

Verification: observed. Source: crawl.

Capabilities (8)

  • cities
  • nearby cities
  • get city by id
  • continents
  • get continent by id
  • countries
  • get country by id
  • data sources
About · Contact · Privacy