Skip to main content

Ticker

Subscription Example​

{
"op": "sub",
"ts": 1780372400759,
"tid": "tick-sub-1",
"tps": [{
"t": "tick",
"ch": "linear",
"p": { "pairs": ["SOLUSDT"] }
}]
}

Subscription Parameters (p)​

FieldTypeRequired
pairsarray[string]Yes

Push Fields (data)​

i, m, f, pf, fi, nf, oi are futures-specific fields. Optional fields with no value will be omitted.

FieldFull NameDescription
ssymbolTrading pair
plastPriceLast price
ttimestampUpdate time (milliseconds)
cprice24hPcnt24h price change percentage
oopenPrice24h24h opening price
hhighPrice24h24h highest price
llowPrice24h24h lowest price
vvolume24h24h trading volume
tvturnover24h24h trading amount
bp1 / bz1 / ap1 / az1—Best Bid/Ask Price and Quantity
iindexPriceIndex price
mmarkPriceMark price
ffundingRateCurrent funding rate
pfpredictedFundingRatePredict funding rate
fifundingRateIntervalFunding rate interval (per hour)
nfnextFundingTimenext settlement time (milliseconds)
oiopenInterestposition volume

Push Example​

{
"ts": 1780372401000,
"tps": {
"t": "tick",
"ch": "linear",
"p": { "pairs": ["SOLUSDT"] }
},
"data": {
"s": "SOLUSDT",
"p": "65000.1",
"t": 1780372401000,
"c": "0.0123",
"o": "64000",
"h": "66000",
"l": "63000",
"v": "12345.67",
"tv": "800000000",
"bp1": "65000.0",
"bz1": "1.5",
"ap1": "65000.2",
"az1": "0.8",
"i": "64999.5",
"m": "65000.1",
"f": "0.0001",
"pf": "0.00008",
"fi": 8,
"nf": 1780376400000,
"oi": "123456.78"
}
}