get_market_history
Retrieve price history data for prediction markets on Kalshi or Polymarket over specified time periods to analyze market trends and support trading decisions.
Instructions
Get price history for a prediction market over a configurable period.
Args: platform: Platform: "kalshi" or "polymarket". market_id: Platform-specific market identifier. period: History window: "48h", "7d", or "30d". max_points: Maximum data points to return.
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": {
"platform": "<platform>",
"market_id": "<market_id>"
},
"name": "get_market_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| platform | Yes | ||
| market_id | Yes | ||
| period | No | 7d | |
| max_points | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |