Geoapify OSM Locality Extracts

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.

Visit Geoapify.com

What's inside each archive?

How to use

Geoapify Place Details API

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.

Download archives

Click a country code to download the zip bundle:

Licensing

These extracts are based on OpenStreetMap data and are distributed under the Open Database License (ODbL).