Exchange Historical Candles
Returns persisted OHLCV candles for a covered Bithumb, Upbit, HashKey, bitFlyer, Coinone, or Korbit spot market.
Intervals: 5m, 4h, and 1w. bitFlyer is currently reliable for weekly (1w) OHLCV only.
Pagination: use from/to to bound the time range and limit to cap returned candles. Results are ordered newest first.
Synthetic candles: include_synthetic=true by default, so carry-forward candles for no-trade intervals are included for continuous charts. Set include_synthetic=false for raw exchange-only candles. Sparse Korbit markets may rely on synthetic rows to keep charts continuous.
Request
- Base URLhttps://api.asksurf.ai
- AuthHTTP bearer
Query parameters
Exchange identifier
Trading pair in base/quote form, e.g. BTC/KRW
Candle interval
Start of time range. Accepts Unix seconds or date string
End of time range. Accepts Unix seconds or date string
Whether to include carry-forward candles for no-trade intervals. Defaults to true for continuous charts; set false for raw exchange-only candles.
Max number of candles to return. Weekly candles allow up to 300 rows for a 5-year chart; intraday intervals are capped at 100.
Pagination offset
Response
OK
Example response
{
"$schema": "https://example.com/schemas/DataResponseExchangeCandleItem.json"
}Changes
No recorded changes to this operation across all 12 revisions of this API.