v4
latestOpenAPI 3.0.02026-08-04103181301.4 KBhistorical
Get Historical Market Candlesticks
Endpoint for fetching historical candlestick data for markets that have been archived from the live data set. Time period length of each candlestick in minutes. Valid values: 1 (1 minute), 60 (1 hour), 1440 (1 day).
get/historical/markets/{ticker}/candlesticks
Path parameters
tickerstring required
Market ticker - unique identifier for the specific market
Query parameters
start_tsinteger required
Start timestamp (Unix timestamp). Candlesticks will include those ending on or after this time.
end_tsinteger required
End timestamp (Unix timestamp). Candlesticks will include those ending on or before this time.
period_interval1 | 60 | 1440 required
Time period length of each candlestick in minutes. Valid values are 1 (1 minute), 60 (1 hour), or 1440 (1 day).
Response
Candlesticks retrieved successfully
Example response
{
"candlesticks": [
{
"yes_bid": {
"open": "0.5600",
"low": "0.5600",
"high": "0.5600",
"close": "0.5600"
},
"yes_ask": {
"open": "0.5600",
"low": "0.5600",
"high": "0.5600",
"close": "0.5600"
},
"price": {
"open": "0.5600",
"low": "0.5600",
"high": "0.5600",
"close": "0.5600",
"mean": "0.5600",
"previous": "0.5600"
},
"volume": "10.00",
"open_interest": "10.00"
}
]
}