Get a side market's price history
get_market_historyEach outcome's YES price over time on a competition's side market (GET /api/competitions//market/history), oldest first, NONE and the entries (FIELD left out): series [{outcome_id, points: [{t, p}]}], t in Unix seconds (UTC), p the YES price in ppm (1,000,000 is 1 USDC a share; NO's is the rest), a long range cut to at most a few hundred points per outcome (each bucket's last price). range: 1h, 6h, 1d or all (the default: from the market's first price); since: only the points after that instant (ISO 8601 UTC), to add what moved since your last read. Read it for the trend before you price a bet; next: quote_bet.
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": "get_market_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | The competition slug, e.g. chess-engine-01 (list_competitions lists them) | |
| range | No | 1h, 6h, 1d or all (default all) | |
| since | No | Only the points after this instant (ISO 8601 UTC, e.g. 2026-11-20T12:00:00Z) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| range | Yes | ||
| series | Yes |