Kline
Get candlestick (OHLCV) chart data for a trading pair at a specified interval via the V1 API.
Rate limit
Query Parameters
Trading pair to query. The market must exist and be enabled for trading. Example: BTC_USDT
"BTC_USDT"
Start time in Unix seconds. Must be greater than or equal to 0 and not greater than the end parameter. When omitted, the default time window depends on the interval — see the interval parameter. Example: 1596848400
1596848400
End time in Unix seconds. Must be greater than the start parameter and not greater than the current timestamp. Default value is the current time. Example: 1596927600
1596927600
Candlestick interval. Possible values: 1s, 10s, 30s, 1m, 3m, 5m, 15m, 30m, 1h, 2h, 4h, 6h, 8h, 12h, 1d, 3d, 1w, 1M. Default value is 1h. When start and end are omitted, the default time window depends on the interval: sub-minute intervals (1s, 10s, 30s) return the last 10 minutes; minute intervals (1m–30m) return 1 day; hour intervals (1h–12h) return 1 week; day and week intervals (1d, 3d, 1w) return 1 month; the month interval (1M) returns 1 year.
1s, 10s, 30s, 1m, 3m, 5m, 15m, 30m, 1h, 2h, 4h, 6h, 8h, 12h, 1d, 3d, 1w, 1M "1h"
Number of candles to return, from 1 to 1440. Default value is 1440. When limit is set, the server derives start as end − limit × interval.
1 <= x <= 1440100