UnifyAPI
← Back to catalog

overpass.amenities

mock data$0.002 / call

Find OSM Amenities in Bounding Box

Search 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.

Geo & Mapsprovider: Overpass#overpass#geo

Input schema

limit

Maximum number of results to return (1–50, default 20).

integer
lat_maxrequired

Northern boundary latitude of the search bounding box (e.g. 51.52).

number
lat_minrequired

Southern boundary latitude of the search bounding box (e.g. 51.50).

number
lon_maxrequired

Eastern boundary longitude of the search bounding box (e.g. -0.10).

number
lon_minrequired

Western boundary longitude of the search bounding box (e.g. -0.13).

number
amenity_typerequired

OSM amenity type to search for (e.g. "restaurant", "cafe", "atm", "hospital", "pharmacy", "school").

string

Call via REST

curl -X POST https://unifyapi.pro/api/call/overpass.amenities \
  -H "Authorization: Bearer uak_live_..." \
  -H "Content-Type: application/json" \
  -d '{"limit":0,"lat_max":0,"lat_min":0,"lon_max":0,"lon_min":0,"amenity_type":"<amenity_type>"}'

Try it

Paste a UnifyAPI key (create one in the dashboard) and run a real call.