Aldi UK Product Detail
aldi.product.detail.get
Read one product by its Aldi product number or page link, to re-check a tracked pack's price and unit price.
At a glance
- Endpoint ID
aldi.product.detail.get- Price
- 1 credit per call; failed calls are free
- Runs for up to
- 30 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": "aldi.product.detail.get", "input": { "retailer_product_id": "000000000000416713" }}'
import jsonimport osimport requestspayload = json.loads(r'''{ "capability": "aldi.product.detail.get", "input": { "retailer_product_id": "000000000000416713" }}''')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": "aldi.product.detail.get", "input": { "retailer_product_id": "000000000000416713" }}),});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 |
|---|---|---|---|---|
retailer_product_id |
string | one of | Aldi's 18-digit product number, such as 000000000000416713. Send it as text. | 000000000000416713 |
url |
string | one of | The product's aldi.co.uk 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:
{ "product": { "name": "Semi Skimmed Milk 1.7% Fat", "available": null, "brand": "COWBELLE", "gtin": null, "image": "https://dm.emea.cms.aldi.cx/is/image/aldiprodeu/product/jpg/scaleWidth/500/fa1bf699-a7a0-40fe-9362-1ce0e46f7434/Semi%20Skimmed%20Milk%201.7…", "pack_size": "3.408 l", "retailer_product_id": "000000000000416713", "url": "https://www.aldi.co.uk/product/cowbelle-semi-skimmed-milk-1-7-fat-000000000000416713", "price": { "amount": 2.4, "currency": "GBP" }, "unit_price": { "amount": 0.7, "currency": "GBP", "unit": "per_litre" }, "member_prices": [], "promotions": [] }}
Fields
| Field | Type | What it is | Example |
|---|---|---|---|
product |
object | The product. | 12 fields |
product.name |
string | The name as Aldi shows it. | Semi Skimmed Milk 1.7% Fat |
product.brand |
string | The brand or Aldi label, in capitals as the site prints it. | COWBELLE |
product.pack_size |
string | The pack size, such as 2.272 l; empty when Aldi gives none. | 3.408 l |
product.price.amount |
number | The price of one pack. | 2.4 |
product.unit_price.amount |
number | The price per kilo, litre or item; empty when Aldi shows none. | 0.7 |
product.unit_price.unit |
string | What the unit price is per, such as per_litre or per_kg. | per_litre |
product.retailer_product_id |
string | Aldi's 18-digit product number; the product endpoint takes it. | 000000000000416713 |
product.url |
string | The page on aldi.co.uk. | https://www.aldi.co.uk/product/cowbelle-semi-skimmed-milk-1-7-f… |
product.available |
null | Whether the product can be bought; Aldi does not publish this, so it stays empty. | null |
product.gtin |
null | The barcode, when Aldi gives one; usually empty. | null |
product.image |
string | The product picture. | https://dm.emea.cms.aldi.cx/is/image/aldiprodeu/product/jpg/sca… |
product.member_prices |
array | Member-only prices; Aldi has none, so this is empty. | empty in this sample |
product.price |
object | The price of one pack. | 2 fields |
product.price.currency |
string | GBP, pounds sterling. | GBP |
product.promotions |
array | The offers on the product, such as a price drop. | empty in this sample |
product.unit_price |
object | The price per kilo, litre or item; empty when Aldi shows none. | 3 fields |
product.unit_price.currency |
string | GBP, pounds sterling. | 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 Aldi UK endpoints
Something missing or unclear? Ask the team that builds the Aldi UK endpoints.