Shelf-price index for one week
get_shelf_price_indexReturns one published week of the UK or Australian online shelf-price index: index levels, week-on-week change and matched-product counts by retailer and product class. It measures posted online shelf prices, not prices paid; not a CPI or a government statistic. Index levels are not price levels and do not show which retailer is cheaper. No product names. matched and matchedShare show how many products each row rests on. Omit vintage for the latest week; list_index_vintages gives the others.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"market": "<market>"
},
"name": "get_shelf_price_index"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| class | No | Only rows for this product class id, e.g. "dairy-eggs". | |
| market | Yes | uk or au. Example: "uk". | |
| vintage | No | ISO week, e.g. "2026-W42". Omit for the latest published week. | |
| retailer | No | Only rows for this retailer id, e.g. "tesco" (UK) or "aldi_au" (AU). | |
| recordType | No | Only rows of this kind, e.g. "headline". Omit for all rows. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | No | ||
| rows | Yes | ||
| title | No | ||
| credit | Yes | ||
| market | Yes | ||
| notCpi | No | ||
| vintage | Yes | ||
| revision | No | ||
| publishedAt | No |