Skip to main content

Market Channel

Retrieve the latest traded price, 24-hour trading volume of the instruments.

Request Parameters

ParameterTypeRequiredDescription
opstringYesOperation, subscribe unsubscribe
argslistYesList of channels to request subscription
> instTypestringYesProduct type
> channelstringYesChannel name
> instIdstringYesProduct ID E.g. BTCUSDT

Request Example

{
"op": "subscribe",
"args": [
{
"instType": "USDT-FUTURES",
"channel": "ticker",
"instId": "BTCUSDT"
}
]
}

Response Parameters

ParameterTypeDescription
eventstringEvent
argobjectSubscribed channels
> instTypestringProduct type
> channelstringChannel name
> instIdstringProduct ID E.g. BTCUSDT
codestringError code
msgstringError message

Response Example

{
"event": "subscribe",
"arg": {
"instType": "USDT-FUTURES",
"channel": "ticker",
"instId": "BTCUSDT"
}
}

Push Parameters

ParameterTypeDescription
actionstringPush data action, snapshot, update
argobjectChannels with successful subscription
> instTypestringProduct type
> channelstringChannel name
> instIdstringProduct ID E.g. BTCUSDT
dataobjectSubscription data
> instIdstringProduct ID
> lastPrstringLast traded price
> open24hstring24-hour opening price
> high24hstring24-hour highest price
> low24hstring24-hour lowest price
> change24hstring24-hour price change percentage
> baseVolumestring24-hour trading volume in base coin
> quoteVolumestring24-hour trading volume in quote coin
> tsstringTimestamp in milliseconds

Push Data

{
"action": "snapshot",
"arg": {
"instType": "USDT-FUTURES",
"channel": "ticker",
"instId": "BTCUSDT"
},
"data": {
"instId": "BTCUSDT",
"lastPr": "96543.21",
"open24h": "95120.50",
"high24h": "97200.00",
"low24h": "94800.00",
"change24h": "1.49",
"baseVolume": "12543.876",
"quoteVolume": "1205432187.54",
"ts": "1733312400000"
},
"ts": 1733312400000
}