Endpoints
series array, one entry per outcome token. Pass token_id on the condition or slug route to return only one outcome.
Authentication
Query parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
resolution | string | 1h | Bucket size. One of 1m, 5m, 15m, 1h, 4h, 1d. |
limit | integer | 120 | Maximum number of candle buckets in the requested window. Clamped by resolution. |
direction | string | before | before returns the window ending at anchor_ts or now. after returns the window starting at anchor_ts. |
anchor_ts | integer | now | Unix timestamp in seconds. Required when direction=after. |
start | integer | — | Explicit window start timestamp in seconds. Alias: start_time, after. |
end | integer | — | Explicit window end timestamp in seconds. Alias: end_time, before. |
order | string | asc | Candle order. Use desc to return newest bucket first. |
gap_fill | boolean | false | When true, empty buckets are filled with flat carry-forward candles after a prior price exists. |
token_id | string | — | Condition/slug routes only. Filters the resolved market to one outcome token. |
Bucket limits
limit is a candle-bucket count, not a trade count.
| Resolution | Max candles per request |
|---|---|
1m | 120 |
5m | 180 |
15m | 240 |
1h | 300 |
4h | 360 |
1d | 500 |
pagination.older_end_ts:
Token route response
count: 0 and candles: [] for a window with no trades. That is a valid empty chart window, not a missing market.
Condition and slug responses
token_id to request one outcome series.
Candle fields
| Field | Type | Description |
|---|---|---|
time | integer | Candle bucket start time in Unix seconds. |
time_unix | integer | Same as time. |
time_ms | integer | Candle bucket start time in Unix milliseconds for charting libraries. |
open | number | First trade price in the bucket. |
high | number | Highest trade price in the bucket. |
low | number | Lowest trade price in the bucket. |
close | number | Last trade price in the bucket. |
volume | number | Total USD volume in the bucket. Alias of volume_usd. |
volume_usd | number | Total USD volume in the bucket. |
volume_shares | number | Total outcome-share volume in the bucket. |
volume_buy | number | USD volume where the fill bought this outcome token. |
volume_sell | number | USD volume where the fill sold this outcome token. |
trades | integer | Number of fills in the bucket. |
vwap | number | Volume-weighted average price. |
first_trade_ts | integer or null | Timestamp of the first fill in the bucket. |
last_trade_ts | integer or null | Timestamp of the last fill in the bucket. |
first_block | integer or null | Polygon block of the first fill in the bucket. |
last_block | integer or null | Polygon block of the last fill in the bucket. |
first_log_index | integer or null | Log index of the first fill in the bucket. |
last_log_index | integer or null | Log index of the last fill in the bucket. |
gap_filled | boolean | true only for carry-forward buckets created by gap_fill=true. |
Errors and guards
| Status | Condition |
|---|---|
400 | Invalid resolution, invalid direction, invalid order, millisecond timestamp, range larger than the resolution limit, or token_id that does not belong to a condition/slug route. |
404 | Unknown token, condition, or slug. |

