Firecrawl Alexandria

OpenStreetMap

OpenStreetMap data: Nominatim geocoding (forward and reverse), Overpass category search inside a bbox, radius, administrative area or polygon, and the OSM API v0.6 for element detail, batch fetch, bbox map dumps, element history, changesets and map notes.

11 Firecrawl tools use OpenStreetMap

Try OpenStreetMap now.

Choose an example or ask your own question.

OpenStreetMap
TRY ASKING
1Request
string

city

string

Opaque continuation from a previous page (the excluded place ids).

string

country

string[]

Restrict results to these ISO 3166-1 alpha-2 countries. Separate values with commas.

number

Results per page (Nominatim caps at 40).

string

Free-text query, e.g. `Moinhos de Vento, Porto Alegre`. Mutually exclusive with the structured fields.

5 credits
Codefollows the fields above
const result = await firecrawl.scrape({
  alexandria: {
    provider: "openstreetmap-org",
    capability: "places/geocode",
    options: {
      country_codes: [
        "BR",
      ],
      limit: 3,
      query: "Porto Alegre",
    },
  },
});
2Response example

This is a sample shape. Press Run to see live data from OpenStreetMap.

continuation
422185778,8356226,8372281
count
3
observed_at_ms
1790759144906
query
Porto Alegre
source_url
https://nominatim.openstreetmap.org/search?format=jsonv2&addressdetails=1&extratags=1&limit=3&q=Porto+Alegre&countrycodes=br
structured
null
addressaddresstypeboundingboxcategorydisplay_nameextratagsgeojsonimportancelatlonnameosm_idosm_typeplace_idplace_ranktypeurl
cityboundaryPorto Alegre, Rio Grande do Sul, South Region, Brazil0.6801365745834766-30.0324999-51.2303767Porto Alegre20676578relation42218577818administrativeopenstreetmap.org/relation/20676578
municipalityboundaryPorto Alegre, Rio Grande do Sul, South Region, Brazil0.6801365745834766-30.1009166-51.1887882Porto Alegre242397relation835622616administrativeopenstreetmap.org/relation/242397
administrativeboundaryPorto Alegre, Rio Grande do Sul, South Region, Brazil0.2134066552224002-30.1009166-51.1887882Porto Alegre7021674relation837228114administrativeopenstreetmap.org/relation/7021674

Firecrawl tools

11

Ready-made Firecrawl tools that call OpenStreetMap.

Quality, speed and cost, last 24 hours, across every agent call to OpenStreetMap through Alexandria.

Quality
98.6%
Calls answered without a tool error
Speed
45.5 s
95% of successful calls finish faster
Cost
5 credits
Firecrawl credits per call
Calls
1.2K
Last 24 hours, every Alexandria user
Quality and speed of each tool, last 24 hours
ToolQualitySpeedCalls
Geocode98.9%45.5 s804
Search elements97.4%45.5 s312
Reverse geocode100%649 ms37
Browse the library
//
Get started
//
Give your agent OpenStreetMap.
One API key for the live web and every provider in Alexandria.
Are you an AI agent? See setup options