Skip to main content
GET
Kline

Query Parameters

market
string
required

Available market. Example: BTC_USDT

Example:

"BTC_USDT"

start
integer

Start time in seconds, default value is one week earlier from the current time. Cannot be greater than end parameter. Example: 1596848400

Example:

1596848400

end
integer

End time in seconds, default value is current time. Cannot be less than start parameter. Example: 1596927600

Example:

1596927600

interval
enum<string>
default:1h

Possible values - 1m, 3m, 5m, 15m, 30m, 1h, 2h, 4h, 6h, 8h, 12h, 1d, 3d, 1w, 1M. By default in case start and end parameters were not specified, for minutes intervals the server will return candlesticks for a period of 1 day. For hours intervals will return candlesticks for 1 week, for days and week intervals will return candlesticks for 1 month and for month interval will return candlesticks for 1 year. Default value is 1h.

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

"1h"

limit
integer
default:1440

Possible values from 1 to 1440. Default value is 1440

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: