Places API Playground
Try live OpenStreetMap points of interest: nearby cafes, restaurants, pharmacies, ATMs, EV chargers, and places open now. Search a bounding box or rank from the map center, then inspect the JSON before you write any code.
This endpoint is a wrapper around the OSM Features API and provides a more user-friendly interface with addiitional features like opening hours.
Use the viewport or a point + radius to search. Nearby ranks by straight-line distance, not walking time.
POI Presets
Style
Results
0 places. Polygon POIs return as a point at the centroid.
No places in this response. Try another preset or a smaller area.
Points of interest you can query
These are the same OSM tags the API accepts. Click a row to load it into the playground. Hours filters need an OSM opening_hours tag; untagged places never count as open.
| Use case | OSM tags | |
|---|---|---|
| Cafes Coffee shops in a neighborhood or within walking distance of a point. | amenity=cafe | |
| Restaurants Restaurants for a local search or store-locator style map. | amenity=restaurant | |
| Bars open now Bars and pubs known open at evaluation time. Places without opening hours are dropped. | amenity=bar or amenity=pub | |
| Pharmacies Pharmacies for a nearby finder or on-call map. | amenity=pharmacy | |
| ATMs Cash machines ranked from a point, nearest first. | amenity=atm | |
| EV charging Charging stations for an EV map or trip planner. | amenity=charging_station | |
| Hotels Hotels and similar lodging mapped as OSM tourism features. | tourism=hotel | |
| Transit stops Bus stops and railway stations as points of interest around a location. | highway=bus_stop or railway=station | |
| Public toilets Public toilets for a city amenity map. | amenity=toilets | |
| Drinking water Drinking fountains and public water taps. | amenity=drinking_water | |
| Bike parking Bicycle parking stands and racks. | amenity=bicycle_parking |
How it works
POST /v1/places/search returns a GeoJSON FeatureCollection for a bounding box or a location plus radius. POST /v1/places/nearby ranks one tagged set from a point (straight-line, nearest first) and returns items: [{ feature, distance_m }]. Every hit includes properties.openingHours (open, closed, or unknown). openNow=true keeps only places known open. Missing or unparseable hours are dropped.
A cafe finder is one search call. Filter with OSM tags, pin a location, and read names and hours from the FeatureCollection.
Loading source from GitHub...
Source: Python · TypeScript
Nearby is the store-locator primitive: one tagged set, ranked from a point, each item carrying distance_m. Nearby is not a walking route.
Loading source from GitHub...
Source: Python · TypeScript
Walk and bike routing is a separate surface. Try the Routing API Playground or read Routing API in the API docs.
More examples
Routing API Playground
Search places in the map bbox, then walk or bike an isochrone, a path, or an optimized loop.
API Playground
Live GeoJSON queries for buildings, roads, and shops on /v2/osm_features.
Restaurant Guide
Python recipe for restaurant names, cuisine, and map pins.
Park Bench Finder
The simplest Features API query: point nodes in a bounding box.