OpenStreetMap
Nominatim geocoding over OpenStreetMap: find any address, landmark or business and its coordinates, or turn coordinates back into a street address.
- Provider id:
openstreetmap - Tools: 2, at $0.001 per call
- Categories: Maps & Places
- Homepage: www.openstreetmap.org
- Provider docs: nominatim.org/release-docs/latest/api/Overview
- Licence: ODbL 1.0
- Attribution: © OpenStreetMap contributors (ODbL), geocoding by Nominatim
| Tool | Price | What it does |
|---|---|---|
openstreetmap/geocode | $0.001 | Find an address, landmark or business on OpenStreetMap: coordinates, full address, type and links. |
openstreetmap/reverse | $0.001 | Turn coordinates into the nearest street address, neighbourhood, city, postcode and country. |
Inputs are JSON bodies, and unknown fields are rejected with 422 invalid_input (not charged). POST /v1/inspect with a tool's id returns the same input schema, plus the output schema.
OpenStreetMap Geocode
openstreetmap/geocode · $0.001 per call (local) · Maps & Places
Find an address, landmark or business on OpenStreetMap: coordinates, full address, type and links.
Searches OpenStreetMap through Nominatim for an address, a landmark, a business or any named place and returns up to 10 candidates, best first: name, full address, category and type (e.g. tourism/attraction, amenity/cafe), coordinates, locality, state, postcode, country, an importance score, the OpenStreetMap link and useful tags (website, phone, opening hours, Wikipedia). Narrow it with country_codes. Use the coordinates with open-meteo/forecast or openweather/current; for ratings and reviews use serper/places.
Related: openstreetmap/reverse, serper/places.
Input
| Field | Type | Required | Description |
|---|---|---|---|
query | string | yes | An address, landmark, business or place: '10 Downing Street, London', 'Eiffel Tower', 'Lekki Phase 1'. 2–200 characters. |
country_codes | string | no | Limit to ISO 3166-1 alpha-2 codes, comma-separated: 'ng,gh'. At most 60 characters. |
limit | integer | no | From 1 to 10. Default 5. |
Example
{
"query": "Eiffel Tower",
"limit": 2
}node akashi.mjs run openstreetmap/geocode --input '{"query":"Eiffel Tower","limit":2}'OpenStreetMap Reverse Geocode
openstreetmap/reverse · $0.001 per call (local) · Maps & Places
Turn coordinates into the nearest street address, neighbourhood, city, postcode and country.
Reverse geocoding: the OpenStreetMap object nearest to a latitude/longitude, with its name, full address, locality, state, postcode and country. Use it to say where a GPS point, a photo's coordinates or an earthquake epicentre is. Points at sea or far from any address answer not found. For the other direction (name → coordinates) use openstreetmap/geocode.
Related: openstreetmap/geocode.
Input
| Field | Type | Required | Description |
|---|---|---|---|
lat | number | yes | From -90 to 90. |
lon | number | yes | From -180 to 180. |
Example
{
"lat": 37.788,
"lon": -122.4075
}node akashi.mjs run openstreetmap/reverse --input '{"lat":37.788,"lon":-122.4075}'