↑ ↓ to move ↵ to open
Ocado API reference

Ocado Product Detail

ocado.product.detail.get

Read one product by its Ocado product number or link, including any offer and the date it ends.

At a glance

Endpoint ID
ocado.product.detail.get
Price
1 credit per call; failed calls are free
Runs for up to
45 seconds
Request
POST /execute
Run an endpoint
MCP tool when pinned
ocado__product__detail__get
Pin tools
OpenAPI
openapi.json
Download

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": "ocado.product.detail.get",  "input": {    "product_id": "606356011"  }}'

Input

FieldTypeRequiredWhat it doesExample
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.

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:

results[0].data
{  "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"        }      }    ]  }}

Fields

FieldTypeWhat it isExample
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

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 Ocado endpoints

Something missing or unclear? Ask the team that builds the Ocado endpoints.