Get Binance Candles
Pricing & Candles
Candles
Get OHLCV candlestick data for a Binance trading pair
GET
Get Binance Candles
Fetch OHLCV candlestick data derived from Binance book ticker mid-prices. Supported intervals:
Useful for backtesting crypto up/down prediction markets:
1s, 1m, 5m, 15m, 1h, 4h, 1d.
Requires Dev or Pro tier. This endpoint is not available on the Free tier.
| Constraint | Value |
|---|---|
limit | 1–1,500 (default 500) |
Time Range Limits
| Interval | Max Range |
|---|---|
1s | 1 hour |
1m | 7 days |
5m | 30 days |
15m | 90 days |
1h | 180 days |
4h | 365 days |
1d | 730 days |
15mfor 15-minute markets1hfor 1-hour markets4hand1dfor longer timeframes
Authorizations
Path Parameters
Trading pair
Available options:
BTCUSDT, ETHUSDT, SOLUSDT, XRPUSDT Query Parameters
Candle interval
Available options:
1s, 1m, 5m, 15m, 1h, 4h, 1d Unix timestamp (seconds) for range start
Required range:
x >= 0Unix timestamp (seconds) for range end
Required range:
x >= 0Max candles to return
Required range:
1 <= x <= 1500Response
Successful Response
OHLCV candlestick response for a Binance trading pair.
Intervals 1s and 1m are served from pre-aggregated materialized views. Larger intervals (5m, 15m, 1h, 4h, 1d) are aggregated on-the-fly from 1m data.
