UnifyAPI
← Back to catalog

overpass.pois_nearby

mock data$0.002 / call

Find POIs Near a Coordinate

Find 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).

Geo & Mapsprovider: Overpass#overpass#geo

Input schema

latrequired

Center point latitude (e.g. 48.8566 for Paris).

number
lonrequired

Center point longitude (e.g. 2.3522 for Paris).

number
limit

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

integer
radius_m

Search radius in meters from the center point (50–5000, default 500).

integer
amenity_type

Optional amenity type filter. Omit to search all OSM amenities, tourism, and shops within the radius.

string

Call via REST

curl -X POST https://unifyapi.pro/api/call/overpass.pois_nearby \
  -H "Authorization: Bearer uak_live_..." \
  -H "Content-Type: application/json" \
  -d '{"lat":0,"lon":0,"limit":0,"radius_m":0,"amenity_type":"<amenity_type>"}'

Try it

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