Find OSM Amenities in Bounding Box
overpass.search.amenitiesSearch OpenStreetMap (OSM) for amenities of a specific type within a geographic bounding box. Returns name, coordinates, address, phone, website, and opening hours for each result. Covers restaurants, cafes, bars, banks, ATMs, pharmacies, hospitals, schools, universities, fuel stations, parking lots, hotels, supermarkets, post offices, police stations, cinemas, museums, and more. Data sourced from the global OpenStreetMap database via Overpass API — no authentication required. Ideal for finding local services near a point of interest.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of results to return (1–50, default 20). | |
| lat_max | Yes | Northern boundary latitude of the search bounding box (e.g. 51.52). | |
| lat_min | Yes | Southern boundary latitude of the search bounding box (e.g. 51.50). | |
| lon_max | Yes | Eastern boundary longitude of the search bounding box (e.g. -0.10). | |
| lon_min | Yes | Western boundary longitude of the search bounding box (e.g. -0.13). | |
| amenity_type | Yes | OSM amenity type to search for (e.g. "restaurant", "cafe", "atm", "hospital", "pharmacy", "school"). |
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. |