Get spread history
Lightweight time series of derived orderbook metrics (best bid/ask, mid price, spread, liquidity depth) without raw bids/asks — ideal for charting. Default limit 20, max 200.
Query Parameters
Token ID (required if condition_id / market_slug not set)
Condition ID — returns spread history for all positions in this market
Market slug (alternative to condition_id)
Start timestamp (Unix milliseconds, inclusive)
End timestamp (Unix milliseconds, inclusive)
Only return rows with spread >= this value
Only return rows with spread <= this value
Only return rows where total liquidity (bid + ask) >= this value
Number of results (default: 20, max: 200)
Cursor from previous response's pagination.pagination_key
Response
Spread time series rows, newest first. ts is Unix milliseconds.
Unix timestamp in seconds.
Position ID.
Condition ID.
Best bid.
Best ask.
Mid price.
Spread.
Bid liquidity in USD.
Ask liquidity in USD.
Bid levels.
Ask levels.