geocoding_reverse
Convert latitude and longitude coordinates into the nearest OpenStreetMap place, including address, category, and type details.
Instructions
Reverse geocode coordinates. Returns the nearest OpenStreetMap place for the required lat and lon. zoom (0 to 18, default 18) sets the level of detail; addressdetails defaults to true, and extratags, namedetails and accept_language are optional. The place has its display name, category and type, OSM type and id, bounding box, importance and address parts. Out-of-range coordinates return 400; no place found returns 404.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | Yes | Latitude | |
| lon | Yes | Longitude | |
| zoom | No | Nominatim address zoom, defaults to 18 | |
| extratags | No | Include OSM extra tags | |
| namedetails | No | Include multilingual name details | |
| addressdetails | No | Include address details, defaults to true | |
| accept_language | No | Preferred result language, forwarded to Nominatim |