Read API: Still open?
One read-only endpoint for a "Still open? who else?" page: a fixed intent in DC, NYC or SF, each place marked open, closed or hours unknown, its closing time when its listed hours say it is open, and ride estimates from your own pin.
Request
GET /api/still-open on the Pro nightly. It runs the same engine as the MCP search tool and never writes.
| Parameter | Meaning |
|---|---|
intent | An engine intent such as PHARMACY, CAFE or LOCKSMITH. Or send q with plain words. |
city | dc, nyc or sf. Required. |
lat, lng | Optional, together. Sorts by distance and adds ride estimates from that pin. Without them the city center is used and no ride estimates are given. |
open_now=1 | Keep only places whose listed hours say open now. Hours unknown is never kept. |
limit | 1 to 20, default 10. |
rides=0 | Leave out ride options. |
Example
curl 'https://whoelse-pro-nightly.vercel.app/api/still-open?intent=PHARMACY&city=dc&lat=38.9&lng=-77.03&open_now=1&limit=1'
example The response, trimmed. The place is example data.
{
"endpoint": "/api/still-open",
"read_only": true,
"display": "Still open? Pharmacy who else?",
"intent": {
"base": "PHARMACY",
"token": "PHARMACY",
"label": "pharmacy",
"display": "Pharmacy who else?"
},
"city": "dc",
"timezone": "America/New_York",
"at": "2026-10-29T22:30:00.000Z",
"location": {
"lat": 38.9,
"lng": -77.03,
"anchor": "your pin"
},
"open_now_filter": true,
"counts": {
"considered": 40,
"open": 7,
"closed": 0,
"hours_unknown": 33,
"returned": 1
},
"places": [
{
"name": "Example Pharmacy (example data)",
"status": "open",
"open_now": true,
"status_text": "Open until 7:00 PM",
"closes_at": "2026-10-29T23:00:00.000Z",
"closes_local": "7:00 PM",
"closes_in_min": 30,
"open_24_7": false,
"hours": "Mo-Fr 09:00-19:00; Sa 10:00-18:00",
"address": "100 Example St NW",
"lat": 38.9043,
"lng": -77.0321,
"distance_m": 518,
"distance_text": "0.3 mi",
"ride": {
"from": "your pin",
"label": "Estimate, not a quote",
"options": [
{
"provider": "Uber",
"prefilled": true,
"url": "https://m.uber.com/looking?…",
"estimate": {
"low": 5.63,
"high": 6.47,
"currency": "USD",
"basis": "rideshare_typical"
}
},
{
"provider": "Lyft",
"prefilled": true,
"url": "https://ride.lyft.com/u?…",
"estimate": {
"low": 5.63,
"high": 6.47,
"currency": "USD",
"basis": "rideshare_typical"
}
}
]
}
}
],
"hours_note": "Open and closing times come only from each place's listed opening hours (OpenStreetMap, ODbL). No listed hours is \"hours unknown\", never open.",
"rides_note": "Ride estimates are whoelse estimates from your pin, not provider quotes."
}
Open, closed and hours unknown
statusisopen,closedorhours_unknown. Hours are never guessed: a place with no listed hours, or hours this reader can't parse, ishours_unknownwithopen_now: null.closes_at(UTC),closes_localandcloses_in_minare only set when the listed hours say the place is open now. Back-to-back spans past midnight count as one.open_24_7is true when the listed hours never close.countsgives open, closed and hours unknown before theopen_nowfilter.
Rules
- Read-only. Only
GETandOPTIONS; anything else gets405read_only. - Browser access (CORS) is allowed from
https://lab.whoelse.ai,https://whoelse-lab.vercel.appandhttp://localhoston any port. A preflight from any other origin gets403with no allow-origin header. - Private. Every response is
cache-control: private, no-store, since a request can carry your position. - Rate limit. It shares the MCP servers' read limit, 60 requests a minute per address; over that it answers
429. - Ride figures are estimates, not provider quotes, and the Uber and Lyft links open their sites, prefilled where supported. Nothing is booked.