Ticker
wss://ws-api-spot.kucoin.com
Topic: /market/ticker:{symbol},{symbol}
Description
Subscribe Message
{
"id": 1545910660739,
"type": "subscribe",
"topic": "/market/ticker:BTC-USDT",
"response": true
}
Response
Data SchemaSequence number Last traded price Last traded amount Best ask price Best ask size Best bid price Best bid size The matching time of the latest transaction
ticker
type
string
required
topic
string
required
subject
string
required
data
object
required
sequence
string
required
price
string
required
size
string
required
bestAsk
string
required
bestAskSize
string
required
bestBid
string
required
bestBidSize
string
required
time
integer <int64>
required
Example
{
"type": "message",
"topic": "/market/ticker:BTC-USDT",
"subject": "trade.ticker",
"data": {
"sequence": "1545896668986", // Sequence number
"price": "0.08", // Last traded price
"size": "0.011", // Last traded amount
"bestAsk": "0.08", // Best ask price
"bestAskSize": "0.18", // Best ask size
"bestBid": "0.049", // Best bid price
"bestBidSize": "0.036", // Best bid size
"Time": 1704873323416 //The matching time of the latest transaction
}
}
Request
Query Params
token
string
required
Example:
2neAiuYvAU61ZDXANAGAsiL4-iAExhsBXZxftpOeh_55i3Ysy2q2LEsEWU64mdzUOPusi34M_wGoSf7iNyEWJ2gZJLp3fgqGGvpzdfennGL3R06_0gIS-diYB9J6i9GjsxUuhPw3Blq6rhZlGykT3Vp1phUafnulOOpts-MEmEF-3bpfetLOAjzQ04YZ_8fRJBvJHl5Vs9Y=.28mIdGU0xg5pJ6TpPYIhjg==
connectId
string
optional
Example:
121345
Modified at 2024-11-15 08:56:59