Klines
wss://ws-api-futures.kucoin.com
Topic: /contractMarket/limitCandle:{symbol}_{type}
Description
1min, 3min, 5min, 15min, 30min, 1hour, 2hour, 4hour, 8hour, 12hour, 1day, 1week, 1month
Subscribe Message
{
"id": 1545910660739,
"type": "subscribe",
"topic": "/contractMarket/limitCandle:XBTUSDTM_1min,ETHUSDTM_1min",
"response": true
}
Response
Data SchemaSymbol of the contract, Please refer to Get Symbol endpoint: symbol Start time, open price, close price, high price, low price, Transaction volume(This value is incorrect, please do not use it, we will fix it in subsequent versions), Transaction amount timestamp(ms)
klines
topic
string
required
type
string
required
subject
string
required
data
object
required
symbol
string
required
candles
array[string]
required
time
integer <int64>
required
Example
{
"topic": "/contractMarket/limitCandle:XBTUSDTM_1min",
"type": "message",
"data": {
"symbol": "XBTUSDTM",
"candles": [
"1731898200", //Start time of the candle cycle
"90638.6", //open price
"90638.6", //close price
"90638.6", //high price
"90638.6", //low price
"21.0", //Transaction volume(This value is incorrect, please do not use it, we will fix it in subsequent versions)
"21" //Transaction amount
],
"time": 1731898208357
},
"subject": "candle.stick"
}
Request
Query Params
token
string
required
Example:
2neAiuYvAU61ZDXANAGAsiL4-iAExhsBXZxftpOeh_55i3Ysy2q2LEsEWU64mdzUOPusi34M_wGoSf7iNyEWJ5L-EC7BtqnpYjR8gv1-fvDMhNUmkkWztdiYB9J6i9GjsxUuhPw3Blq6rhZlGykT3Vp1phUafnulOOpts-MEmEEfgimtWbtRdrNxixuN5wueJBvJHl5Vs9Y=.dN4sS8wBGiemrhhCOGcs1w==
connectId
string
optional
Example:
121345
Modified at 2025-01-23 00:41:23