Skip to main content

Mark Price

Description

Subscribe for marked price updates.

Pushing Frequency

Every 1 second.

Channel

mark_price

Request Parameters

ParameterRequiredTypeDescription
eventYesStringOperation: subscribe, unsubscribe
channelYesArraymark_price
symbolsYesArraytrading pair array

Request Response

ParameterTypeDescription
eventStringOperation: subscribe, unsubscribe
channelStringmark_price
symbolsArraytrading pair array
messageStringError message

Push Data

ParameterTypeDescription
channelStringmark_price
dataArrayThe subscribed data
> tsLongPush time (millisecond)
> sStringA trading pair
> mPxStringMark price

Request Example

{
"event": "subscribe",
"channel": ["mark_price"],
"symbols": ["BTC_USDT_PERP"]
}

Push Data Example

{
"channel": "mark_price",
"data": [
{
"ts": 1719226453000,
"s": "BTC_USDT_PERP",
"mPx": "34400"
}
]
}