Skip to main content
GET
Kline

Rate limit

Query Parameters

market
string
default:BTC_USDT
required

Trading pair to query. The market must exist and be enabled for trading. Example: BTC_USDT

Example:

"BTC_USDT"

start
integer

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

Example:

1596848400

end
integer

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

Example:

1596927600

interval
enum<string>
default:1h

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.

Available options:
1s,
10s,
30s,
1m,
3m,
5m,
15m,
30m,
1h,
2h,
4h,
6h,
8h,
12h,
1d,
3d,
1w,
1M
Example:

"1h"

limit
integer
default:1440

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.

Required range: 1 <= x <= 1440
Example:

100

Response

Successful response

success
boolean
Example:

true

message
string | null
Example:

null

result
((integer | string)[])[]

[Time in seconds, Open, Close, High, Low, Volume stock, Volume money]

Example: