Waitrose Categories API
Get Waitrose's full category tree, with the IDs the aisle endpoint takes.
- 1–3 credits per call
- Failed calls are free
- Updated
- waitrose.categories.list
What you send
The input
object of the request, with every field the endpoint accepts.
| Field | Type | Required | What it does | Example |
|---|---|---|---|---|
| depth | integer | no | Levels of the grocery tree to return below the root. 1 (the default) gives the root and its 50 published top-level categories; each step adds one more level, capped at 3. From 1 to 3. Default: 1. |
1 |
Fields it returns
What each record in the response holds, with the values from the sample above.
| Field | Type | What it is | Example |
|---|---|---|---|
| categories[].children[].name | string | Christmas | |
| categories[].name | string | The name as Waitrose shows it, or the seller's name. | Groceries |
| categories[].category_id | string | Waitrose's ID for the category; the aisle endpoint takes it. | 10051 |
| categories[].children | array | The categories below this one. | 3 records |
| categories[].children[].category_id | string | 335064 | |
| categories[].children[].children | array | empty in this sample | |
| categories[].children[].url | string | https://www.waitrose.com/ecom/shop/browse/groceries/christmas | |
| categories[].url | string | The page on waitrose.com. | https://www.waitrose.com/ecom/shop/browse/groceries |
| categories | array | Waitrose's categories, each with its sub-categories. | 1 records |
Call it from your code, or ask your agent
Set UPSCRAPE_API_KEY to your key and copy a working request.
curl --request POST \ --url https://data.upscrape.com/execute \ --header "Authorization: Bearer $UPSCRAPE_API_KEY" \ --header "Content-Type: application/json" \ --header "Prefer: wait=30" \ --data '{ "capability": "waitrose.categories.list", "input": { "depth": 1 }}'
import jsonimport osimport requestspayload = json.loads(r'''{ "capability": "waitrose.categories.list", "input": { "depth": 1 }}''')response = requests.post( "https://data.upscrape.com/execute", headers={ "Authorization": f"Bearer {os.environ['UPSCRAPE_API_KEY']}", "Content-Type": "application/json", "Prefer": "wait=30", }, json=payload,)response.raise_for_status()print(json.dumps(response.json(), indent=2))
const response = await fetch("https://data.upscrape.com/execute", { method: "POST", headers: { "Authorization": `Bearer ${process.env.UPSCRAPE_API_KEY}`, "Content-Type": "application/json", "Prefer": "wait=30", }, body: JSON.stringify({ "capability": "waitrose.categories.list", "input": { "depth": 1 }}),});if (!response.ok) { throw new Error(`Upscrape request failed: ${response.status}`);}console.log(JSON.stringify(await response.json(), null, 2));
https://data.upscrape.com/mcp
With Upscrape, get the Waitrose categories for depth "1". Tell me what it costs before you run it, then show the results as a table.
More from the Waitrose API
The same data from other platforms
Waitrose Categories API FAQ
The short answers. The docs have the long ones.
How much does the Waitrose Categories API cost?
1–3 credits per successful call, shown before it runs. You buy credits once, and paid credits never expire.
What do I send?
Every input is optional; the input fields below list what each one does.
Do I need a Waitrose login?
No. It reads public Waitrose data; nothing runs on your account.
Can my AI agent call it?
Yes, over MCP: the agent finds waitrose.categories.list, checks its price and runs it with the same credits as the REST API.
Your first Waitrose call is free.
Up to 100 free credits to start, no card needed.