Skip to content
//OpenStreetMap Data Scraper example\\

Buildings in central Palu

50 buildings of central Palu (Sulawesi Tengah) with building type, address, coordinates, all OSM tags and which attributes are empty.

Updated November 24, 2026

What this example returns

This example returns up to 50 osm elements.

The dataset’s “Elements” view shows 14 columns: Type, Name, Building type, Road class, Place type, Admin level, Address, Lat, Lon, Admin area, Filled, Checked, Empty attributes, and OSM link. See every output field.

What each setting does

The input this example runs OpenStreetMap Data Scraper with. “Try this input” opens it in the console, where you can run it as-is or change any field first.

Bounding box boundingBox

-0.900, 119.860, -0.890, 119.875

Instead of a place name: south, west, north, east in degrees, e.g. '-0.90, 119.85, -0.88, 119.88'. Takes precedence over the place name.

🧱 Feature types featureTypes

buildings

What to read. Leave empty for all four. Places are the settlements OpenStreetMap marks with a place tag; in many regions villages and neighbourhoods exist only as such points, without a boundary.

Max results maxItems

50

Stop after this many elements in total. Leave empty for every element of the area (a city can hold over 100,000 buildings).

.json
{
  "boundingBox": "-0.900, 119.860, -0.890, 119.875",
  "featureTypes": [
    "buildings"
  ],
  "maxItems": 50
}

What it costs

From about $0.01 for 50 osm elements

An estimate at the lowest plan price: 50 × $0.000204 per osm element (One saved OpenStreetMap element (building, road, admin boundary or place) with its tags and attribute check). A run is charged for the events it reports, so one that finds fewer osm elements costs less. Platform usage is included in the event price.

Full pricing

When to use this example

From the OpenStreetMap Data Scraper readme:

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.

Known limit

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).

Other ways to run OpenStreetMap Data Scraper

All examples of OpenStreetMap Data Scraper

About OpenStreetMap Data Scraper

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.

Price:
From $0.204 / 1,000 results
Developer:
Corner Ledger
Categories:
Travel, Developer tools

OpenStreetMap Data Scraper pageOutput fieldsPricing

Related actors

//From the blog\\

Latest articles

All articles

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.