Get a product and its price history
get_price_historyRetrieve a product's current state and price read history for a chosen period, oldest first, to analyze trends and past price changes.
Instructions
Get a product and its price history. The product's latest state and every price read of the period, oldest first. The history covers every read of this product ID on this marketplace, including those made before you added it, so a product added today can come with months of p…
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": {
"product_id": "<product_id>"
},
"name": "get_price_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | History period in days. The free plan reads the last 30: history_days says which period was returned. Default: 90. | |
| product_id | Yes | product_id returned when the product was added |