Waitrose Category Products
waitrose.category.products.list
List the products in a Waitrose aisle, such as Milk, about 50 at a time, with an offset to read further.
At a glance
- Endpoint ID
waitrose.category.products.list- Price
- 8 credits per call; failed calls are free
- Runs for up to
- 45 seconds
Request
Send the endpoint ID as capability and its fields as input. Set UPSCRAPE_API_KEY to your key first.
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.category.products.list", "input": { "category_id": "301241" }}'
import jsonimport osimport requestspayload = json.loads(r'''{ "capability": "waitrose.category.products.list", "input": { "category_id": "301241" }}''')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.category.products.list", "input": { "category_id": "301241" }}),});if (!response.ok) { throw new Error(`Upscrape request failed: ${response.status}`);}console.log(JSON.stringify(await response.json(), null, 2));
Input
| Field | Type | Required | What it does | Example |
|---|---|---|---|---|
category_id |
string | yes | A category ID from the categories endpoint, such as 301241 for Milk. | 301241 |
offset |
integer | no | How many products or reviews to skip, from next_offset in the previous response. |
Response
A finished call answers with HTTP 200; the data is in results[0].data, and billing.credits_charged is what it cost. A call still running after the wait answers 202: see jobs and results.
This is results[0].data from a real run:
{ "next_offset": 49, "offset": 0, "returned": 49, "total_products": 162, "items": [ { "name": "Arla Protein Chocolate Milk Shake", "available": true, "brand": "Arla", "gtin": null, "image": "https://ecom-su-static-prod.wtrecom.com/images/products/9/LN_821375_BP_9.jpg", "pack_size": "482ml", "rating_average": 4.4857, "rating_count": 35, "retailer_product_id": "821375-438218-438219", "url": "https://www.waitrose.com/ecom/products/arla-protein-chocolate-milk-shake/821375-438218-438219", "price": { "amount": 2.25, "currency": "GBP" }, "unit_price": { "amount": 4.67, "currency": "GBP", "unit": "per_litre" }, "member_prices": [], "promotions": [ { "buy_quantity": 2, "description": "Any 2 for £3 Mix & Match", "end": "2026-10-27", "id": "96511", "start": null, "type": "multibuy", "for_price": { "amount": 3, "currency": "GBP" } } ] }, { "name": "Essential British Free Range Semi-Skimmed Milk 4 Pints", "available": true, "brand": "Waitrose Ltd", "gtin": null, "image": "https://ecom-su-static-prod.wtrecom.com/images/products/9/LN_053457_BP_9.jpg", "pack_size": "2.272litre", "rating_average": 4.6557, "rating_count": 877, "retailer_product_id": "053457-26759-26760", "url": "https://www.waitrose.com/ecom/products/essential-british-free-range-semi-skimmed-milk-4-pints/053457-26759-26760", "price": { "amount": 1.75, "currency": "GBP" }, "unit_price": { "amount": 0.77, "currency": "GBP", "unit": "per_litre" }, "member_prices": [], "promotions": [] } ]}
Fields
| Field | Type | What it is | Example |
|---|---|---|---|
items[].name |
string | The name as Waitrose shows it, or the seller's name. | Arla Protein Chocolate Milk Shake |
items[].brand |
string | The product's brand; Waitrose Ltd for Waitrose's own. | Arla |
items[].pack_size |
string | The pack size, such as 2.272litre. | 482ml |
items[].price.amount |
number | The amount in pounds. | 2.25 |
items[].unit_price.amount |
number | The amount in pounds. | 4.67 |
items[].unit_price.unit |
string | What the unit price is per, such as per_litre. | per_litre |
items[].rating_average |
number | The product's average star rating. | 4.49 |
items[].retailer_product_id |
string | Waitrose's product ID; the product, rating, review and seller endpoints take it. | 821375-438218-438219 |
items[].price |
object | The shelf price of one pack. | 2 fields |
items[].available |
boolean | True for a product the shop lists; the product endpoint reads the page's own in-stock or out-of-stock flag. | true |
items[].gtin |
null | The barcode, when Waitrose shows one. | null |
items[].image |
string | The product picture. | https://ecom-su-static-prod.wtrecom.com/images/products/9/LN_82… |
items[].member_prices |
array | myWaitrose member prices, kept apart from the shelf price. | empty in this sample |
items[].price.currency |
string | GBP, pounds sterling. | GBP |
items[].promotions |
array | The offers on the product. | 1 records |
items[].promotions[].buy_quantity |
integer | 2 | |
items[].promotions[].description |
string | Any 2 for £3 Mix & Match | |
items[].promotions[].end |
string | 2026-10-27 | |
items[].promotions[].for_price |
object | 2 fields | |
items[].promotions[].id |
string | 96511 | |
items[].promotions[].start |
null | null | |
items[].promotions[].type |
string | multibuy | |
items[].rating_count |
integer | How many star ratings the product has. | 35 |
items[].unit_price |
object | The price per litre, kilo or item. | 3 fields |
items[].unit_price.currency |
string | GBP, pounds sterling. | GBP |
items[].url |
string | The page on waitrose.com. | https://www.waitrose.com/ecom/products/arla-protein-chocolate-m… |
items |
array | The products on this page. | 49 records |
next_offset |
integer | Send it as offset to read the next page; empty on the last page. | 49 |
offset |
integer | Where this page starts. | 0 |
returned |
integer | How many entries this page holds. | 49 |
total_products |
integer | How many products there are in total. | 162 |
If a call fails
A failed call costs nothing. The response carries an error.code you can branch on; Errors and retries lists every code and which ones to retry.
Other Waitrose endpoints
Something missing or unclear? Ask the team that builds the Waitrose endpoints.