WebSocket · Public

Ticker Channel

Last price, best bid/ask and 24h volume. Pushed every 200–300 ms.

Public channelPush frequency: Full and real-time
WSSwss://stream-api.koinsayang.com/v2/ws/public
Channelticker
instTypeSPOT

Subscribe request

JSON
{
"op": "subscribe",
"args": [
{
"instType": "SPOT",
"channel": "ticker",
"instId": "BTCUSDT"
}
]
}

Push data format

JSON
{
"action": "snapshot",
"arg": {
"instType": "SPOT",
"channel": "ticker",
"instId": "BTCUSDT"
},
"data": [
{
"instId": "BTCUSDT",
"lastPr": "89721.8",
"open24h": "90540.2",
"high24h": "91426.7",
"low24h": "87986.5",
"change24h": "-0.01321",
"bidPr": "89738.8",
"askPr": "89739.3",
"bidSz": "0.01183",
"askSz": "0.01243",
"baseVolume": "0.61829",
"quoteVolume": "55683.20390",
"openUtc": "88427.9",
"changeUtc24h": "0.01463",
"ts": "1768979090882"
}
]
}

Fields

FieldTypeDescription
instIdStringProduct ID, e.g. BTCUSDT
lastStringLast traded price
open24hString24h open price
high24hString24h high price
low24hString24h low price
bestBidStringBest bid price
bestAskStringBest ask price
baseVolumeString24h base volume
quoteVolumeString24h quote volume
tsLongSystem timestamp (ms)
openUtcStringUTC open price
chgUTCStringChange since UTC open
bidSzStringBest bid size
askSzStringBest ask size