curl --request GET \
--url https://api.elections.kalshi.com/trade-api/v2/markets/candlesticks{
"markets": [
{
"market_ticker": "<string>",
"candlesticks": [
{
"end_period_ts": 123,
"yes_bid": {
"open": 123,
"open_dollars": "0.5600",
"low": 123,
"low_dollars": "0.5600",
"high": 123,
"high_dollars": "0.5600",
"close": 123,
"close_dollars": "0.5600"
},
"yes_ask": {
"open": 123,
"open_dollars": "0.5600",
"low": 123,
"low_dollars": "0.5600",
"high": 123,
"high_dollars": "0.5600",
"close": 123,
"close_dollars": "0.5600"
},
"price": {
"open": 123,
"open_dollars": "0.5600",
"low": 123,
"low_dollars": "0.5600",
"high": 123,
"high_dollars": "0.5600",
"close": 123,
"close_dollars": "0.5600",
"mean": 123,
"mean_dollars": "0.5600",
"previous": 123,
"previous_dollars": "0.5600",
"min": 123,
"min_dollars": "0.5600",
"max": 123,
"max_dollars": "0.5600"
},
"volume": 123,
"open_interest": 123
}
]
}
]
}Endpoint for retrieving candlestick data for multiple markets.
include_latest_before_start parameter)curl --request GET \
--url https://api.elections.kalshi.com/trade-api/v2/markets/candlesticks{
"markets": [
{
"market_ticker": "<string>",
"candlesticks": [
{
"end_period_ts": 123,
"yes_bid": {
"open": 123,
"open_dollars": "0.5600",
"low": 123,
"low_dollars": "0.5600",
"high": 123,
"high_dollars": "0.5600",
"close": 123,
"close_dollars": "0.5600"
},
"yes_ask": {
"open": 123,
"open_dollars": "0.5600",
"low": 123,
"low_dollars": "0.5600",
"high": 123,
"high_dollars": "0.5600",
"close": 123,
"close_dollars": "0.5600"
},
"price": {
"open": 123,
"open_dollars": "0.5600",
"low": 123,
"low_dollars": "0.5600",
"high": 123,
"high_dollars": "0.5600",
"close": 123,
"close_dollars": "0.5600",
"mean": 123,
"mean_dollars": "0.5600",
"previous": 123,
"previous_dollars": "0.5600",
"min": 123,
"min_dollars": "0.5600",
"max": 123,
"max_dollars": "0.5600"
},
"volume": 123,
"open_interest": 123
}
]
}
]
}Comma-separated list of market tickers (maximum 100)
Start timestamp in Unix seconds
End timestamp in Unix seconds
Candlestick period interval in minutes
x >= 1If true, prepends the latest candlestick available before the start_ts. This synthetic candlestick is created by:
previous_price to the close price from the real candlestickMarket candlesticks retrieved successfully
Array of market candlestick data, one entry per requested market.
Show child attributes
Market ticker string (e.g., 'INXD-24JAN01').
Array of candlestick data points for the market. Includes an initial data point at the start timestamp when available.
Show child attributes
Unix timestamp for the inclusive end of the candlestick period.
Open, high, low, close (OHLC) data for YES buy offers on the market during the candlestick period.
Show child attributes
Offer price on the market at the start of the candlestick period (in cents).
Offer price on the market at the start of the candlestick period (in dollars).
"0.5600"
Lowest offer price on the market during the candlestick period (in cents).
Lowest offer price on the market during the candlestick period (in dollars).
"0.5600"
Highest offer price on the market during the candlestick period (in cents).
Highest offer price on the market during the candlestick period (in dollars).
"0.5600"
Offer price on the market at the end of the candlestick period (in cents).
Offer price on the market at the end of the candlestick period (in dollars).
"0.5600"
Open, high, low, close (OHLC) data for YES sell offers on the market during the candlestick period.
Show child attributes
Offer price on the market at the start of the candlestick period (in cents).
Offer price on the market at the start of the candlestick period (in dollars).
"0.5600"
Lowest offer price on the market during the candlestick period (in cents).
Lowest offer price on the market during the candlestick period (in dollars).
"0.5600"
Highest offer price on the market during the candlestick period (in cents).
Highest offer price on the market during the candlestick period (in dollars).
"0.5600"
Offer price on the market at the end of the candlestick period (in cents).
Offer price on the market at the end of the candlestick period (in dollars).
"0.5600"
Open, high, low, close (OHLC) and more data for trade YES contract prices on the market during the candlestick period.
Show child attributes
First traded YES contract price on the market during the candlestick period (in cents). May be null if there was no trade during the period.
First traded YES contract price on the market during the candlestick period (in dollars). May be null if there was no trade during the period.
"0.5600"
Lowest traded YES contract price on the market during the candlestick period (in cents). May be null if there was no trade during the period.
Lowest traded YES contract price on the market during the candlestick period (in dollars). May be null if there was no trade during the period.
"0.5600"
Highest traded YES contract price on the market during the candlestick period (in cents). May be null if there was no trade during the period.
Highest traded YES contract price on the market during the candlestick period (in dollars). May be null if there was no trade during the period.
"0.5600"
Last traded YES contract price on the market during the candlestick period (in cents). May be null if there was no trade during the period.
Last traded YES contract price on the market during the candlestick period (in dollars). May be null if there was no trade during the period.
"0.5600"
Mean traded YES contract price on the market during the candlestick period (in cents). May be null if there was no trade during the period.
Mean traded YES contract price on the market during the candlestick period (in dollars). May be null if there was no trade during the period.
"0.5600"
Last traded YES contract price on the market before the candlestick period (in cents). May be null if there were no trades before the period.
Last traded YES contract price on the market before the candlestick period (in dollars). May be null if there were no trades before the period.
"0.5600"
Minimum close price of any market during the candlestick period (in cents).
Minimum close price of any market during the candlestick period (in dollars).
"0.5600"
Maximum close price of any market during the candlestick period (in cents).
Maximum close price of any market during the candlestick period (in dollars).
"0.5600"
Number of contracts bought on the market during the candlestick period.
Number of contracts bought on the market by end of the candlestick period (end_period_ts).