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
numberRequired

lat

numberRequired

lon

string

BCP-47 language for names (`accept-language`), e.g. `pt-BR`; the source default (English) when omitted.

number

Level of detail, 0 (country) to 18 (building).

5 credits
Codefollows the fields above
const result = await firecrawl.scrape({
  alexandria: {
    provider: "openstreetmap-org",
    capability: "places/reverse_geocode",
    options: {
      lat: -30.0325,
      lon: -51.2304,
      zoom: 10,
    },
  },
});
2Response example

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

{
  "lat": -30.0325,
  "lon": -51.2304,
  "observed_at_ms": 1790759164651,
  "place": {
    "address": {
      "ISO3166-2-lvl4": "BR-RS",
      "country": "Brazil",
      "country_code": "br",
      "municipality": "Porto Alegre",
      "region": "South Region",
      "state": "Rio Grande do Sul"
    },
    "addresstype": "municipality",
    "boundingbox": {
      "east": -51.0188522,
      "north": -29.9324744,
      "south": -30.2694499,
      "west": -51.3034404
    },
    "category": "boundary",
    "display_name": "Porto Alegre, Rio Grande do Sul, South Region, Brazil",
    "extratags": {
      "IBGE:GEOCODIGO": "4314902",
      "admin_level": "8",
      "flag": "http://upload.wikimedia.org/wikipedia/commons/3/39/Bandeira_de_Porto_Alegre_%28RS%29.svg",
      "population": "1332833",
      "population:date": "2023-08-31",
      "state_capital": "yes",
      "website": "http://www.portoalegre.rs.gov.br/",
      "wikidata": "Q40269",
      "wikipedia": "pt:Porto Alegre"
    },
    "geojson": null,
    "importance": 0.6801365745834766,
    "lat": -30.1009166,
    "lon": -51.1887882,
    "name": "Porto Alegre",
    "osm_id": 242397,
    "osm_type": "relation",
    "place_id": 8356226,
    "place_rank": 16,
    "type": "administrative",
    "url": "https://www.openstreetmap.org/relation/242397"
  },
  "source_url": "https://nominatim.openstreetmap.org/reverse?format=jsonv2&lat=-30.0325&lon=-51.2304&zoom=10&addressdetails=1&extratags=1",
  "zoom": 10
}

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 ms36
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