Find POIs Near a Coordinate
overpass.search.nearbyFind OpenStreetMap points of interest within a configurable radius (up to 5 km) around a latitude/longitude coordinate. Optionally filter by amenity type (e.g. "cafe", "atm", "pharmacy"). Without a filter, returns all amenities, tourism features, and shops in the area. Results include name, coordinates, address details, phone, website, and opening hours. Useful for answering "what is near me?" or "what restaurants are within 500 m of this hotel?". Data sourced from Overpass API (OpenStreetMap).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | Yes | Center point latitude (e.g. 48.8566 for Paris). | |
| lon | Yes | Center point longitude (e.g. 2.3522 for Paris). | |
| limit | No | Maximum number of results to return (1–50, default 20). | |
| radius_m | No | Search radius in meters from the center point (50–5000, default 500). | |
| amenity_type | No | Optional amenity type filter. Omit to search all OSM amenities, tourism, and shops within the radius. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Present only when the call failed. Includes error code, message, request_id, and any provider-specific extras. | |
| result | No | Tool response payload. Shape varies per tool — consult the tool description and inputSchema. May be an object, array, string, or number depending on the upstream provider response. |