Download curated country-level datasets of cities, towns, villages, and hamlets derived from OpenStreetMap. Each archive contains NDJSON files grouped by place type plus matching administrative borders when available.
place_city.ndjson
, place-town.ndjson
, place-village.ndjson
, place-hamlet.ndjson
border
objects embed the corresponding administrative relation geometry when a match is foundinferred_type
highlights classifications derived from address hints instead of explicit place nodesjq -c '.' place_city.ndjson
border
field
Surface richer metadata, media, and high-resolution boundary geometries by plugging the locality's
osm_id
and osm_type
into Geoapify's Place Details endpoint:
https://api.geoapify.com/v2/place-details?osm_id=240102374&osm_type=n&apiKey=YOUR_KEY
Swap the identifiers and API key for your own values. Boundary relations embedded under border
can also be queried the same way to obtain full polygon geometry.
Click a country code to download the zip bundle:
These extracts are based on OpenStreetMap data and are distributed under the Open Database License (ODbL).