Market Channel
Streams 24h ticker statistics for a contract, including price change, weighted average price, and the latest trade. Ticker data is pushed whenever upstream metrics change (typically within 100-300 ms).
Stream Parameters
symbolTrading pair. Used in the subscription topic inside params, not appended to the WebSocket URL.
Market Channel › Request Parameters
methodUse SUBSCRIBE to add, UNSUBSCRIBE to remove subscriptions.
paramsEach entry uses the format @ticker. Symbols are quoted in base/quote (e.g. BTCUSDT).
idClient-defined identifier echoed in the acknowledgement.
Market Channel › Responses
Market Channel
eEvent type (ticker).
EEvent time in milliseconds.
sTrading pair in uppercase (e.g. BTCUSDT).
Ticker statistic objects.
Candlestick Channel
Streams candlestick (K-line) data for a contract. After a successful subscription the server pushes kline updates whenever the requested bar is created or refreshed.
Stream Parameters
symbolTrading pair. Used in the subscription topic inside params, not appended to the WebSocket URL.
intervalCandlestick interval; case-sensitive.
priceTypeCandlestick price type.
Candlestick Channel › Request Parameters
methodSUBSCRIBE or UNSUBSCRIBE.
params@kline__.Examples: BTCUSDT@kline_1m_LAST_PRICE, ETHUSDT@kline_1h_MARK_PRICE.
idClient identifier echoed in the acknowledgement.
Candlestick Channel › Responses
Candlestick Channel
eEvent type, kline.
EEvent time (milliseconds).
sTrading pair in uppercase.
pPrice type (e.g. LAST_PRICE).
Candle entries, usually containing the currently forming bar.
Depth Channel
Streams merged order book depth change events (depth) for the subscribed trading pair and level.
Stream Parameters
symbolTrading pair. Used in the subscription topic inside params, not appended to the WebSocket URL.
levelNumber of order book levels to stream.
Depth Channel › Request Parameters
methodSUBSCRIBE to add, UNSUBSCRIBE to remove.
params@depth{level}. Supported levels: 15, 200. Example: BTCUSDT@depth15.
idClient-defined identifier echoed in the acknowledgement.
Depth Channel › Responses
Depth Channel
eEvent type, depth.
EEvent time (ms).
sTrading pair.
UFirst update ID for this message.
uLast update ID for this message.
lBook depth level.
dDepth type, CHANGED.
Changed bid levels [price, size].
Changed ask levels [price, size].
fMerge factor (present on merged-depth updates only).
Public Trade Channel
Streams recent taker trades for a contract. After subscribing the server delivers real-time trade updates (trade).
Stream Parameters
symbolTrading pair. Used in the subscription topic inside params, not appended to the WebSocket URL.
Public Trade Channel › Request Parameters
methodSUBSCRIBE or UNSUBSCRIBE.
params@trade, e.g. BTCUSDT@trade.
idClient identifier echoed in the acknowledgement.
Public Trade Channel › Responses
Public Trade Channel
eEvent type, trade.
EEvent time in milliseconds.
sTrading pair in uppercase (e.g. BTCUSDT).
Trade entries, typically containing the latest fills.