OpenStreetMap Places Scraper avatar

OpenStreetMap Places Scraper

Pricing

from $2.00 / 1,000 results

Go to Apify Store
OpenStreetMap Places Scraper

OpenStreetMap Places Scraper

Extract points of interest from OpenStreetMap by category and area: name, coordinates, address, phone, website, opening hours, cuisine and accessibility. Free ODbL-licensed data, no API key.

Pricing

from $2.00 / 1,000 results

Rating

0.0

(0)

Developer

Farhan Febrian Nauval

Farhan Febrian Nauval

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

16 days ago

Last modified

Categories

Features

Limited permissions

Share

OpenStreetMap Places Scraper — POIs by Category and Area

Extract points of interest from OpenStreetMap: name, coordinates, address, phone, email, website, opening hours, cuisine, dietary options and accessibility — for any category in any area. 26 built-in categories plus raw OSM tag filters.

Free, keyless, ODbL-licensed open data. Every row carries the attribution you are required to keep.

Input

FieldTypeDefaultDescription
placestring—e.g. Kreuzberg, Berlin — resolved to a bounding box via Nominatim
boundingBoxobject—{south, west, north, east} in decimal degrees; overrides place
categoriesarray—restaurant, cafe, hotel, pharmacy, supermarket, park, …
customFilterstring—Raw Overpass filter, e.g. ["amenity"="library"]
maxItemsinteger500Across all categories combined

Output

{
"_input": "cafe",
"_source": "S1-overpass-api",
"_scrapedAt": "2026-09-09T14:18:52Z",
"_attribution": "© OpenStreetMap contributors, ODbL 1.0 — https://www.openstreetmap.org/copyright",
"osmType": "node", "osmId": 84644791,
"osmUrl": "https://www.openstreetmap.org/node/84644791",
"name": "Espresso House", "brand": null, "operator": null,
"category": "cafe",
"latitude": 52.5082693, "longitude": 13.3770044,
"addressLine": "Potsdamer Platz 10",
"street": "Potsdamer Platz", "houseNumber": "10",
"postcode": "10785", "city": "Berlin", "suburb": "Mitte", "country": "DE",
"phone": "+49 30 26367933",
"email": null,
"website": "https://de.espressohouse.com/find-us/potsdamer-platz-10",
"facebook": null, "instagram": null,
"openingHours": "Mo-Fr 06:00-22:00; Sa-Su 07:00-22:00",
"cuisine": "coffee_shop",
"dietVegetarian": "yes", "dietVegan": null,
"takeaway": null, "delivery": null,
"outdoorSeating": "yes", "indoorSeating": "yes",
"smoking": "no", "wheelchair": "yes", "internetAccess": "wlan",
"amenity": "cafe", "shop": null, "tourism": null, "leisure": null,
"lastCheckedDate": "2025-06-30",
"tagCount": 24,
"tags": { /* every raw OSM tag, untouched */ }
}

Three things worth knowing

OSM has two competing conventions for contact details, both live, and which one dominates depends on where you are. In a Berlin run, 24 places used contact:phone and 17 used a bare phone. In Ubud the ratio inverted: 2 against 53. In neither run did a single place use both. So reading contact:phone alone would have returned 24 of 41 numbers in Berlin and 2 of 55 in Bali — and the difference is the mapping community's habit, not the data quality. The same split applies to website/ contact:website and email/contact:email. This actor reads both and emits one normalised field, with the complete raw tag map alongside in tags.

Ways and relations have no coordinates unless you ask for them. A supermarket mapped as a building is a way, and under a plain out body it comes back with no lat/lon at all — 16 of 97 results in one run. The query uses out center, and coordinates are taken from center when lat is absent.

A 504 from Overpass usually means "busy", not "too heavy". A parks query timed out three times and then succeeded on the same host minutes later. The actor tries the main instance and then overpass.kumi.systems, and reports server_timeout — distinct from blocked — when every mirror gives up, so you know to retry rather than to rewrite the query.

overpass.osm.ch is deliberately not in the mirror list: it answers 200 with elements: [] for queries the others fill, and a silently empty result is worse than an error because nothing downstream can distinguish it from "there are no parks here".

Identify yourself, don't impersonate a browser

This is the reverse of most scraping. Nominatim refuses Mozilla/5.0 outright — 403 Access denied. See https://operations.osmfoundation.org/policies — while a User-Agent naming the application is served normally. Both services are run by volunteers on donated infrastructure, Overpass publishes its own rate limit at /api/status, and this actor reads that endpoint to decide how long to wait rather than guessing. No proxy is needed or wanted here.

Errors

_errorMeaning
place_not_foundNominatim had no match for the place name
server_timeoutEvery Overpass mirror returned 504 — usually transient
blockedA mirror refused, or returned a 200 that was not JSON
network_errorNever reached the server
unexpected_shapeA 200 without an elements list

If nothing at all is found, the run fails rather than reporting success over an empty dataset.

Licence

OpenStreetMap data is published under the Open Database License. You may use it commercially, but you must attribute OpenStreetMap and share alike if you distribute a derived database. The _attribution field on every row is there so that obligation travels with the data.