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.

Read the full docs

PlacesPoints of InterestNearby searchFull tags

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

Endpoint
Area
open Now

Style

Results

0 places. Polygon POIs return as a point at the centroid.

View

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