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.
Use the viewport or a point + radius to search. Nearby ranks by straight-line distance, not walking time. Open now filters on places with "opening hours" tag.
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
Places is a friendlier layer on the OSM Features API. Same OpenStreetMap database, but you ask for cafes or pharmacy tags instead of writing a raw map query, and each place comes back with openNow when hours are known.
Search finds every matching place inside the map box, or inside a circle around a point. Nearby does the same from one point, then sorts nearest first. That distance is a straight bird's eye line.
Known hours set openNowtrue or false at the evaluation time (asOf, or now). Missing or unparseable hours omit the field. The open now filter keeps only openNow: true; untagged places never count as open.
A cafe finder is one search: pick a tag, pick a spot, read names and hours. A store locator is nearby: one kind of place, ranked from you, each with a distance.
Here is a basic search tutorial:
Loading source from GitHub...
Source: Python · TypeScript
Search for nearby places:
Loading source from GitHub...
Source: Python · TypeScript
Nearby answers "places near this pin." Places near other places takes two searches. Ask for train stations in the box, ask for restaurants and pubs in the same box, then keep the pairs that sit close together. nearest_within does that join on your machine.
Want walking or biking directions? That is the Routing API playground. Field lists live in the Places 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.