Search places
Restaurants open right now, by name or kind of food, from what Layout holds, ranked by the person's location when you send it. Read-only: nothing is built or charged.
Request
- Base URL: https://api.layout.link/v1
- URL: https://api.layout.link/v1/places
- Auth: HTTP bearer
Query parameters
What to look for: a name or a kind of food.
A place the person named: a city or town. Results come from that place, and most distances are measured from its centre, not from the person. A neighbourhood, landmark or ZIP code is not matched as an area, and the results then carry localityMatched: false.
Where the person is. Send with lng.
Where the person is. Send with lat.
Default 5.
Headers
The API version you code against. Optional; without it you get 2026-10-01, the current version. Layout answers with the version it used.
Response
Places, possibly none. Read searched and emptyBecause before telling anyone there is nothing there.
Example response
{
"places": [
{
"placeId": "ChIJbloomCoffee",
"closesAt": "5:00 PM",
"opensAt": "Monday 7:00 AM"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.