Daily basket prices by barcode or product id
lookup_basket_pricesReturns shelf-price snapshot values from the UK daily 212-item basket for up to 20 barcodes (EAN) or retailer product ids, one day, up to one row per retailer: price, was-price, loyalty price, unit price, pack size and stock, as posted. Loyalty prices appear in the basket rows only, not in the index values. Static snapshot days, not live, not a price comparison, not a statement of which retailer is cheaper. No name search. Aldi has no barcodes: use product ids. Wider data: see about_the_data.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "lookup_basket_prices"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | Day, e.g. "2026-10-08". Omit for the latest day loaded. | |
| eans | No | Barcodes, 8, 12, 13 or 14 digits, e.g. ["5000157024671"]. Give eans, products or both. | |
| products | No | Retailer product ids, e.g. [{"retailer": "tesco", "retailerProductId": "254656543"}]. | |
| retailers | No | Only these retailers, e.g. ["tesco", "asda"]. Omit for all four. The basket holds no barcodes for Aldi: use products for Aldi. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | ||
| rows | Yes | ||
| credit | Yes | ||
| notFound | Yes |