get https://api-glb.hashkey.com/quote/v1/klines
K-line/candlestick chart interval
m -> minutes; h - > hours; d - > days; w - > weeks; M - > months
- 1m
- 3m
- 5m
- 15m
- 30m
- 1h
- 2h
- 4h
- 6h
- 8h
- 12h
- 1d
- 1w
- 1M
Request Parameters
PARAMETER | TYPE | Req 'd | Example values | DESCRIPTION |
---|---|---|---|---|
symbol | STRING | Y | ETHUSDT, BTCUSDT-PERPETUAL | Currency pair |
interval | ENUM | Y | 1m | Time interval |
limit | INTEGER | 10 | Return the number of bars, the maximum value is 1000 | |
startTime | INTEGER | 1478692862000 | Start Time | |
endTime | INTEGER | 1478696782000 | End Time |
Response Content
PARAMETER | TYPE | Example values | DESCRIPTION |
---|---|---|---|
- | Array of Arrays | Kline information list | |
(kline_open_time) | INTEGER | 1690054920000 | Opening timestamp |
(open_price) | STRING | 29871.34 | Open Price |
(high_price) | STRING | 29871.34 | High Price |
(low_price) | STRING | 29773.82 | Low Price |
(close_price) | STRING | 29863.45 | Close Price |
(volume) | STRING | 0.00602 | Trading volume |
(kline_close_time) | STRING | 0 | Closing timestamp |
(quote_asset_volume) | STRING | 179.5946714 | Quote Asset Volume |
(number_of_trades) | INTEGER | 14 | Number of Trades |
(taker_buy_base_asset_volume) | STRING | 0.004 | Taker buy base asset volume |
(taker_buy_quote_asset_volume) | STRING | 119.41295 | Taker buy quote asset volume |