Skip to content

OpenStreetMap Data Scraper

Try for free

Get OpenStreetMap buildings, roads, admin boundaries and places for any city or area: name, type, address, coordinates and every OSM tag, plus which attributes are empty. No login.

🗺️ OpenStreetMap Data Scraper

Get the OpenStreetMap data of any city, district or bounding box as one clean table: buildings, roads, administrative boundaries and named places, each with its name, type, address, coordinates and every OSM tag. Every row also lists which attributes are filled and which are empty, so you can measure how complete the map is. No login, no API key.

✨ Why use OpenStreetMap Data Scraper?

  • 🏙️ A whole city in one run — give a place name such as Palu, Sulawesi Tengah; the Actor finds its boundary and reads every element inside it, in tiles for big cities.
  • 🧱 Four feature types — buildings (building type, levels, address), roads (road class, surface, lanes), admin boundaries (admin level, outline) and named places (village, suburb, neighbourhood...).
  • ✅ Completeness built in — each row has filledAttributes, emptyAttributes and their counts for the attributes you choose, ready for a completeness percentage per type, per area or per street.
  • 🏷️ Every tag kept — the full OSM tag set of each element, plus the element's version and last edit time.
  • 📍 Coordinates and outlines — latitude/longitude for every element; GeoJSON outlines for boundaries (or for every element).
  • 🕒 Fresh data — rows come from the live OpenStreetMap database through the public Overpass API; each row says which OSM data time it reflects.

🎯 Use cases

  • 📊 Map completeness audits — how many buildings in a city have a name, an address or a building type; which roads miss a name or surface.
  • 🏛️ Local government and planning — buildings, roads and admin units of a city for GIS work, per kecamatan, district or ward.
  • 🚑 Disaster response and humanitarian mapping — see which areas still need mapping and which attributes are missing.
  • 🧭 Address and road data — street names, house numbers and road classes for geocoding or routing checks.
  • 🔁 Weekly monitoring — schedule the same area every week and compare the counts as mappers add data.

🚀 How to use

  1. Enter the area: a place name (Palu, Sulawesi Tengah), an OSM relation id (4277707) or a bounding box (south, west, north, east).
  2. Pick the feature types (all four by default) and, if you like, road classes or admin levels.
  3. Optional: set Tag elements with their admin area (e.g. 6 for kecamatan in Indonesia) to add the name of the admin area that holds each building, road and place.
  4. Optional: change the attributes checked per type.
  5. Run it and download the results as JSON, CSV or Excel, or read them through the API.

📥 Input

FieldWhat it does
areaPlace name as OpenStreetMap's place search knows it, e.g. Palu, Sulawesi Tengah.
osmRelationIdThe boundary relation id of the area (takes precedence over the name).
boundingBoxsouth, west, north, east in degrees (takes precedence over the name).
featureTypesbuildings, roads, adminBoundaries, places (all by default).
maxItemsStop after this many elements in total; empty = every element.
roadClassesOnly these highway values, e.g. primary, residential.
adminLevelsOnly these admin levels (Indonesia: 6 kecamatan, 7 desa/kelurahan, 9 RW, 10 RT).
adminAreaLevelAdd the name of the admin area of this level to every building, road and place.
includeGeometryGeoJSON outlines for boundaries (default), all elements or none.
buildingAttributes, roadAttributes, boundaryAttributes, placeAttributesOSM tags whose presence is checked per type.
{
  "area": "Palu, Sulawesi Tengah",
  "featureTypes": ["buildings", "roads", "adminBoundaries", "places"],
  "adminAreaLevel": 6
}

Default attributes checked: buildings name, building, addr:street, addr:housenumber, building:levels; roads name, highway, surface, lanes; admin boundaries name, admin_level, ref; places name, place, population. building=yes and highway=road only say "a building" / "a road", so they count as an empty type.

📤 Output

One row per OSM element.

FieldDescription
featureTypebuilding, road, adminBoundary or place
osmType, osmId, osmUrlThe element and its page on openstreetmap.org
nameName tag
buildingType / roadClass / adminLevel / placeTypeThe type of the element
addressFull, street, houseNumber, postcode, city, addressAddress tags (address holds every addr:* tag)
latitude, longitudeNode position, or the centre of a way or relation
adminArea, adminAreaOsmIdAdmin area of the chosen level that holds the element
checkedAttributes, filledAttributes, emptyAttributesAttribute check of the element
checkedAttributeCount, filledAttributeCountCounts for completeness percentages
tags, tagCountEvery OSM tag
version, lastEditedAtVersion and time of the last edit in OSM
geometry, boundsGeoJSON outline (boundaries by default) and bounding box
osmDataTimestamp, scrapedAtTime of the OSM data and of the run
{
  "featureType": "building",
  "osmType": "node",
  "osmId": 1569892514,
  "osmUrl": "https://www.openstreetmap.org/node/1569892514",
  "name": "ATM BNI/BRI Bersama",
  "buildingType": "yes",
  "addressFull": "Jalan Danau Lindu",
  "street": "Jalan Danau Lindu",
  "latitude": -0.8985998,
  "longitude": 119.86086,
  "checkedAttributes": ["name", "building", "addr:street", "addr:housenumber", "building:levels"],
  "filledAttributes": ["name", "addr:street"],
  "emptyAttributes": ["building", "addr:housenumber", "building:levels"],
  "checkedAttributeCount": 5,
  "filledAttributeCount": 2,
  "tagCount": 6,
  "tags": {"addr:street": "Jalan Danau Lindu", "amenity": "atm", "building": "yes", "name": "ATM BNI/BRI Bersama"},
  "version": 2,
  "lastEditedAt": "2019-03-17T07:53:08Z",
  "osmDataTimestamp": "2026-11-24T07:39:35Z"
}

❓ FAQ

Is it legal? OpenStreetMap data is open data under the Open Database License (ODbL). You may use it freely with the attribution "© OpenStreetMap contributors"; derived databases you share must stay under the ODbL.

Do I need a login or an API key? No. The Actor reads the public OpenStreetMap servers.

How many results can I get? Every element of the area. A city such as Palu holds well over 100,000 buildings; the Actor reads big areas in tiles and saves rows as it goes.

What does it mean when a field is empty? OpenStreetMap has no value for it. That is exactly what emptyAttributes records, so empty fields are part of the result, not an error.

Why are some villages or neighbourhoods only places, not boundaries? In many regions mappers have added villages as points (place=village) but not their boundary. The Actor returns those points under places; a boundary that does not exist in OSM cannot be returned.

Can I schedule it or use the API? Yes. Schedule a weekly run of the same area to follow the map's progress, or start runs through the API and read the dataset as JSON or CSV.

⚠️ Limits

  • Data comes from the public Overpass API. When its servers are busy the Actor waits and retries; if they stay unavailable, the run ends with a clear message and keeps the rows already saved.
  • adminArea works only where OpenStreetMap has boundaries of the chosen level; an element gets the area that holds its centre point (a long road that crosses several areas gets the one at its centre).
  • Boundary outlines are the member lines of the boundary relation (MultiLineString), not a closed polygon.
  • Admin boundaries count as inside the area when most of their outline lies in it.

Related actors

The internet is full of data.
Start owning yours.

Scrape.ly gives you the infrastructure, the tooling, and the team to extract, process, and operationalize web data at any scale. Setup takes minutes.

No credit card. No setup calls.