pmus_get_price_history
Retrieve historical YES and NO price data for a Polymarket market using its slug, with configurable time range, interval, and sample resolution.
Instructions
Historical long (YES, from best ask) and short (NO, from 1 - best bid) prices. Note: the gateway currently returns empty history for many markets.
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": {
"slug": "<slug>"
},
"name": "pmus_get_price_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | Market slug | |
| end_ts | No | ||
| fidelity | No | Sample resolution in minutes | |
| interval | No | Fixed lookback window; ignored if start/end given | INTERVAL_1W |
| start_ts | No | Unix seconds (use with end_ts instead of interval) | |
| max_points | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||