GET
Forecast history for a market

Path Parameters

marketId
integer
required

The tradable market id (outcomes[].id from GET /events/details), not an event id. Must be a positive integer.

Required range: x >= 1

Query Parameters

range
enum<string>
required

Window to return, which also fixes the bucket width.

Available options:
1d,
1w,
1m,
all
start_ts
integer

Optional lower bound as unix seconds. Narrows the window within range; does not change bucket width.

Required range: x >= 0
end_ts
integer

Optional upper bound as unix seconds.

Required range: x >= 0

Response

Forecast points, oldest first. Empty when nothing traded in the window.

forecast_history
ForecastDataPoint · object[]
Maximum array length: 2000