Cookbook·Public data·openstreetmap.org

Scrape search results on openstreetmap.org

The call that returns search results from openstreetmap.org today, with the parameters, patterns and failure modes read off the request log since 14 Aug 2026. Last tested 6 Sep 2026.

99.7% success · Aug 2026No browser neededStandard price · 1 credit

About openstreetmap.org

openstreetmap.org describes itself as “OpenStreetMap is a map of the world, created by people like you and free to use under an open license”.

Its robots.txt disallows 12 paths, among them /traces, /api/, /edit.

Measured on Crawlbase

Success rate over every request from every account in August 2026: 99.7%. Patterns, countries and failures come from the request log since 14 Aug 2026; 0.0% of successful calls used the JavaScript token and the median answer took 1.2s.

Among the 11 public data sites in the Cookbook, openstreetmap.org ranks 2 of 11 by success rate; the category median is 97.2%. Its median answer of 1.2s is faster than the category median of 2.3s. 5 of the 11 accept the plain token, this one among them.

The call

Search result pages are the shape the accounts fetch most here, with the country and token that succeed most often. Replace the placeholder query with your own.

Run in Playground
curl "https://api.crawlbase.com/?token=YOUR_TOKEN&url=https%3A%2F%2Fwww.openstreetmap.org%2Fsearch"

Parameters that matter

ParameterSet it toWhy
countryleave unsetMost successful calls set no country (99.6%) and succeed at 99.9%.
javascriptleave unsetPlain-token calls succeed at 99.9% and make up 99.6% of the traffic. A browser costs more and, on this site, buys nothing.

URL patterns accounts fetch

PatternShare of successesJavaScript tokenCountryQuery parameters
/search100%0.0%noneformat, q, addressdetails

Fields you get

A search page carries a list of results, each with a title, a link and usually a price or a snippet. Paginate with the site’s own page parameter and stop when a page repeats.

What breaks, and the fix

Of the failures since 14 Aug 2026, the site answered:

400: 38.0% of failures 400 means the site refused the fetch. Treat it like a block: retry once with the JavaScript token and the country the successful calls use, then stop.
403: 23.0% of failures A 403 is the site refusing the exit. Set the country the successful calls use and retry once; a second 403 means the URL itself is protected.
999: 7.0% of failures 999 means the site refused the fetch. Treat it like a block: retry once with the JavaScript token and the country the successful calls use, then stop.
591: 18.0% of failures A 5xx is the site failing, not the fetch. Retry after a minute.

Run it on a schedule

Search is the expensive side of a site. Keep the query list short, run it on a cadence through the Crawler with a callback, and fetch afterwards only the result pages you need. The median answer on this site is 1.2s.

Questions

Do I need a browser to scrape openstreetmap.org?

No. 99.9% of plain-token calls succeed and accounts send 99.6% of their traffic without a browser.

How much does a openstreetmap.org page cost on Crawlbase?

1 credit without a browser. openstreetmap.org is in the standard tier.

Which country should I set for openstreetmap.org?

None is needed: most successful calls leave it unset.

Other pages on openstreetmap.org

Pages openstreetmap.org lists in its own sitemaps, fetched by Crawlbase on 6 Sep 2026 and verified in 2 consecutive runs. Each row is the cheapest call that returned the page with its content.

PageExampleTokenCountryMedian
Home
/
openstreetmap.org/Plainnone2.1s
Site names identify the pages a recipe fetches. Crawlbase is not affiliated with any site listed. Use recipes within the acceptable use policy.Measured numbers from August 2026, refreshed monthly