Get Price History
get_price_historyRetrieve a product's price history by EAN from Serbian retail price lists, including monthly snapshots and the current list, to compare prices over time.
Instructions
Price history of a product by EAN from the price lists on data.gov.rs: monthly snapshots published by the chains (snapshot='monthly') and today's list (snapshot='current').
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": {
"ean": "<ean>"
},
"name": "get_price_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ean | Yes | EAN barcode from search results. | |
| limit | No | Page size. | |
| offset | No | Number of results to skip. | |
| retail_chains | No | Optional chain or store format names to restrict results, e.g. ['Lidl', 'Maxi', 'Idea']. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | ||
| limit | Yes | ||
| total | Yes | Number of items on all pages. | |
| offset | Yes |