Get Price History
Returns book-derived Yes and No display prices for one market. Use the market slug as symbol.
Supported fixed profiles:
INTERVAL_1Hwithfidelity=1: approximately one-minute points for the last hourINTERVAL_6Hwithfidelity=1: approximately one-minute points for the last six hoursINTERVAL_1Dwithfidelity=5: five-minute points for the last dayINTERVAL_1Wwithfidelity=180: three-hour points for the last weekINTERVAL_1Mwithfidelity=180: three-hour points for the last 30 daysINTERVAL_ALLwithfidelity=180: three-hour points for newer markets and daily points for longer historiesINTERVAL_LIVEwithfidelity=1: from 15 minutes before the event starts through now
For a custom range, provide both Unix timestamps and use fidelity=1. Custom ranges are intended for short windows of up to 24 hours and return stored observations, which may be irregular or more frequent than once per minute.
longPrice is the Yes display price, normally derived from the best ask. shortPrice is the No display price, normally derived from one minus the best bid. They can sum to more than 1 because they preserve the bid-ask spread; these are not individual trades.
The endpoint supports one market per request. Cache identical responses for at least 30 seconds, stagger refreshes across markets, and observe the 20 requests/second/IP public limit. For live updates after loading history, use the Markets WebSocket.
Query Parameters
Market slug.
Fixed history window. Do not combine with timestamp parameters.
INTERVAL_ALL, INTERVAL_1M, INTERVAL_1W, INTERVAL_1D, INTERVAL_6H, INTERVAL_1H, INTERVAL_LIVE Custom range start in Unix seconds. Requires timestamp.endTimestamp and cannot be combined with fixedInterval.
Custom range end in Unix seconds. Requires timestamp.startTimestamp and cannot be combined with fixedInterval.
Fidelity in minutes. Use the documented value for the selected fixed interval, or 1 for a timestamp range.
x >= 1Response
Price history. Unknown symbols and markets without stored observations return an empty history array.