Tabelog restaurant rankings in Japan
Restaurants on Tabelog (English edition) for a prefecture, optionally an area and a genre, with a budget range and sort; 20 per page: id, name, link, rank, nearest station and distance, genres, rating, review count, dinner and lunch budgets, closed days, PR line, features (non-smoking, card accepted, multilingual menu...), award and Hyakumeiten flags and image, with the total. Pass next_page back as page; null on the last page (Tabelog shows up to 60 pages).
Every response includes credits_used: the credits this call cost.
Parameters
| name | type | description |
|---|---|---|
pref | string | Prefecture slug: tokyo (default), osaka, kyoto, hokkaido, fukuoka, kanagawa, aichi, hyogo, okinawa... Example: tokyo |
area | string | Area code from Tabelog links: A1301 (Ginza, Shimbashi, Yurakucho), A1301/A130101, or A1301/A130101/R5266 (a station). Example: A1301 |
genre | string | Genre: sushi, ramen, yakiniku, tempura, izakaya, soba, udon, yakitori, unagi, tonkatsu, kaiseki, cafe... or a code like RC130101. Example: sushi |
sort | string | standard (default), rating, most_viewed or most_reserved. Example: rating |
budget_for | string | dinner (default) or lunch, for budget_min/budget_max. |
budget_min | integer | Budget level from (Tabelog's levels 1-15: 1 = under JPY 1,000 ... 15 = JPY 100,000+). |
budget_max | integer | Budget level up to (1-15). |
page | integer | Page number, 1-60 (default 1). Example: 1 |
Every endpoint also takes fresh, raw, fields (see lean responses and caching).
Example
curl "https://api.api.sh/tabelog/v1/search?pref=tokyo" \
-H "x-api-key: $APISH_KEY" import os, requests
res = requests.get(
"https://api.api.sh/tabelog/v1/search",
params={"pref": "tokyo"},
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/tabelog/v1/search");
url.searchParams.set("pref", "tokyo");
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).