Just Eat restaurant menu with prices and options
The full menu of a Just Eat restaurant with its details: id, slug, name, link, description, address, postcode, city, coordinates, timezone, cuisines, halal and offline flags, allergen phone, opening times per service and day, logo and banner, menu languages and version; the menus per service (delivery, collection) with schedules, preparation time and ETA bands, and their categories (item ids); every item with description, labels (e.g. vegetarian), image, calories and each size variation's price, calories and the ids of its option groups and meal-deal groups; and the option groups (min/max choices, each option's extra price and calories) and meal-deal groups. With hygiene=true (UK) also the restaurant's food hygiene rating.
Every response includes credits_used: the credits this call cost.
Parameters
| name | type | description |
|---|---|---|
slug | string | The restaurant's slug (from /justeat/v1/restaurants). Example: tops-pizza---islington |
url | string | The restaurant's just-eat.co.uk/restaurants-<slug>/menu link instead of slug. |
country | string | uk (default) or ie. |
hygiene | boolean | UK only: true adds hygiene_rating (rating, label, status, last inspection date, badge image). |
Every endpoint also takes fresh, raw, fields (see lean responses and caching).
Example
curl "https://api.api.sh/justeat/v1/menu?slug=tops-pizza---islington" \
-H "x-api-key: $APISH_KEY" import os, requests
res = requests.get(
"https://api.api.sh/justeat/v1/menu",
params={"slug": "tops-pizza---islington"},
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/justeat/v1/menu");
url.searchParams.set("slug", "tops-pizza---islington");
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).