Ocado Product Detail API
Read one product by its Ocado product number or link, including any offer and the date it ends.
- 1 credit per call
- Failed calls are free
- Updated
- ocado.product.detail.get
{ "product": { "name": "Arla BOB Semi-Skimmed Milk that Tastes like Whole", "available": true, "brand": "Arla", "gtin": null, "image": "https://www.ocado.com/images-v3/eafa5127-d256-497b-9609-4869092accd6/eeab8dca-610d-4f2f-8e42-31e353192a13/300x300.jpg", "pack_size": "2L", "retailer_product_id": "606356011", "url": "https://www.ocado.com/products/arla-bob-semi-skimmed-milk-that-tastes-like-whole/606356011", "price": { "amount": 2.5, "currency": "GBP" }, "unit_price": { "amount": 1.25, "currency": "GBP", "unit": "per_litre" }, "member_prices": [], "promotions": [ { "buy_quantity": 2, "description": "Buy any 2 for £4", "end": "2026-11-03", "id": "31db4fd0-3435-4fa5-87d0-cdd3ac76840c", "start": null, "type": "multibuy", "for_price": { "amount": 4, "currency": "GBP" } } ] }}
What you send
The input
object of the request, with every field the endpoint accepts.
| Field | Type | Required | What it does | Example |
|---|---|---|---|---|
| product_id | string | one of | Ocado's product number, such as 606356011. It also ends the product's page link. | 606356011 |
| url | string | one of | The product's ocado.com page, instead of the number. |
Fields it returns
What each record in the response holds, with the values from the sample above.
| Field | Type | What it is | Example |
|---|---|---|---|
| product.promotions[].buy_quantity | integer | 2 | |
| product.promotions[].description | string | Buy any 2 for £4 | |
| product.promotions[].end | string | 2026-11-03 | |
| product.promotions[].for_price | object | 2 fields | |
| product.promotions[].id | string | 31db4fd0-3435-4fa5-87d0-cdd3ac76840c | |
| product.promotions[].start | null | null | |
| product.promotions[].type | string | multibuy | |
| product | object | The product. | 12 fields |
| product.name | string | The name as Ocado shows it. | Arla BOB Semi-Skimmed Milk that Tastes like Whole |
| product.brand | string | The product's brand, such as Ocado or M&S. | Arla |
| product.pack_size | string | The pack size, such as 2L. | 2L |
| product.price.amount | number | The price of one pack. | 2.5 |
| product.unit_price.amount | number | The price per litre, kilo or item. | 1.25 |
| product.unit_price.unit | string | What the unit price is per, such as per_litre. | per_litre |
| product.available | boolean | Whether Ocado lists the product as available to order; not a stock count. | true |
| product.retailer_product_id | string | Ocado's product number; the product and review endpoints take it. | 606356011 |
| product.url | string | The page on ocado.com. | https://www.ocado.com/products/arla-bob-semi-skimmed-milk-that-… |
| product.gtin | null | The barcode, when Ocado gives one; usually empty. | null |
| product.image | string | The product picture. | https://www.ocado.com/images-v3/eafa5127-d256-497b-9609-4869092… |
| product.member_prices | array | Member-only prices, when Ocado shows them. | empty in this sample |
| product.price | object | The price of one pack. | 2 fields |
| product.price.currency | string | GBP for pounds, GBX for pence. | GBP |
| product.promotions | array | The offers on the product. | 1 records |
| product.unit_price | object | The price per litre, kilo or item. | 3 fields |
| product.unit_price.currency | string | GBP for pounds, GBX for pence. | GBP |
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": "ocado.product.detail.get", "input": { "product_id": "606356011" }}'
import jsonimport osimport requestspayload = json.loads(r'''{ "capability": "ocado.product.detail.get", "input": { "product_id": "606356011" }}''')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": "ocado.product.detail.get", "input": { "product_id": "606356011" }}),});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
Using Upscrape, get Ocado product 606356011. Tell me its price, price per litre, whether it is available, and any offer on it with the date the offer ends.
More from the Ocado API
The same data from other platforms
Ocado Product Detail API FAQ
The short answers. The docs have the long ones.
How much does the Ocado Product Detail API cost?
1 credit per successful call, shown before it runs. You buy credits once, and paid credits never expire.
What do I send?
Send product_id or url. The input fields below list every option with its type and limits.
Do I need an Ocado login?
No. It reads public Ocado data; nothing runs on your account.
Can my AI agent call it?
Yes, over MCP: the agent finds ocado.product.detail.get, checks its price and runs it with the same credits as the REST API.
Your first Ocado call is free.
Up to 100 free credits to start, no card needed.