Resy restaurants with tables on a date
Restaurants on Resy in a city for a date and party size, optionally matching a query (name, cuisine, neighbourhood), ordered by availability that day: id, name, slug, link, cuisines, neighbourhood, locality, region, country, rating and count, price band (1-4), currency, coordinates, phone, maximum party, waitlist and Global Dining Access flags, collections, the day's open time slots with seating type, and images, with the total and the matching cuisines. The first 20 venues; narrow with query.
Every response includes credits_used: the credits this call cost.
Parameters
| name | type | description |
|---|---|---|
city | string | Resy city slug: new-york-ny (default), los-angeles-ca, miami-fl, chicago-il, san-francisco-ca, washington-dc, austin-tx, london-uk... Example: new-york-ny |
date | string | Date YYYY-MM-DD (default tomorrow). |
seats | integer | Party size, 1-20 (default 2). Example: 2 |
query | string | Name, cuisine or neighbourhood. Example: italian |
Every endpoint also takes fresh, raw, fields (see lean responses and caching).
Example
curl "https://api.api.sh/resy/v1/search?city=new-york-ny" \
-H "x-api-key: $APISH_KEY" import os, requests
res = requests.get(
"https://api.api.sh/resy/v1/search",
params={"city": "new-york-ny"},
headers={"x-api-key": os.environ["APISH_KEY"]},
timeout=120,
)
res.raise_for_status()
data = res.json() const url = new URL("https://api.api.sh/resy/v1/search");
url.searchParams.set("city", "new-york-ny");
const res = await fetch(url, { headers: { "x-api-key": process.env.APISH_KEY } });
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
const data = await res.json(); Response
A JSON object with the fields described above, plus raw (the source's own data), cached, fetched_at and credits_used. Errors return {"success": false, "error": "…"} with the HTTP status (see errors). A lookup that ran but found nothing (404) costs the price above; refused calls and errors on our side are free (what's charged).