Diff Book Depth Streams
Bids and asks, pushed every 500 milliseconds, 100 milliseconds (if existing)
Stream parameters
symbolThe symbol parameter
updateSpeedWebSocket stream update speed
Diff Book Depth Streams › Request
You can subscribe to this stream using one of the following options:
- Raw stream:
wss://fstream.binance.com/public/ws/{symbol}@depth@{updateSpeed} - Combined stream via URL:
wss://fstream.binance.com/public/stream?streams={symbol}@depth@{updateSpeed} - Combined stream via request: Connect to
wss://fstream.binance.com/public/stream, then send the SUBSCRIBE request shown below.
methodWebSocket Streams method name.
paramsList of streams to subscribe to.
idUnique WebSocket request ID.
Diff Book Depth Streams › Responses
Diff Book Depth Streams
eevent type
Eevent time
Ttransaction time
sOption symbol
UFirst update ID in event
uFinal update ID in event
puFinal update Id in last stream(ie u in last stream)
bBuy order
aSell order
Individual Symbol Book Ticker Streams
Pushes any update to the best bid or ask's price or quantity in real-time for a specified symbol.
Individual Symbol Book Ticker Streams › Request
You can subscribe to this stream using one of the following options:
- Raw stream:
wss://fstream.binance.com/public/ws/{symbol}@bookTicker - Combined stream via URL:
wss://fstream.binance.com/public/stream?streams={symbol}@bookTicker - Combined stream via request: Connect to
wss://fstream.binance.com/public/stream, then send the SUBSCRIBE request shown below.
methodWebSocket Streams method name.
paramsList of streams to subscribe to.
idUnique WebSocket request ID.
Individual Symbol Book Ticker Streams › Responses
Individual Symbol Book Ticker Streams
eevent type
uorder book updateId
ssymbol
bbest bid price
Bbid bid quantity
abest ask price
Abest ask quantity
Ttransaction time
Eevent time
Partial Book Depth Streams
Top
Stream parameters
symbolThe symbol parameter
levelThe level parameter
updateSpeedWebSocket stream update speed
Partial Book Depth Streams › Request
You can subscribe to this stream using one of the following options:
- Raw stream:
wss://fstream.binance.com/public/ws/{symbol}@depth{level}@{updateSpeed} - Combined stream via URL:
wss://fstream.binance.com/public/stream?streams={symbol}@depth{level}@{updateSpeed} - Combined stream via request: Connect to
wss://fstream.binance.com/public/stream, then send the SUBSCRIBE request shown below.
methodWebSocket Streams method name.
paramsList of streams to subscribe to.
idUnique WebSocket request ID.
Partial Book Depth Streams › Responses
Partial Book Depth Streams
eevent type
Eevent time
Ttransaction time
sOption symbol
UFirst update ID in event
uFinal update ID in event
puFinal update Id in last stream(ie u in last stream)
bBuy order
aSell order
24-hour TICKER
24hr ticker info for all symbols. Only symbols whose ticker info changed will be sent.
Stream parameters
symbolThe symbol parameter
expirationDateThe expiration date parameter
24-hour TICKER › Request
You can subscribe to this stream using one of the following options:
- Raw stream:
wss://fstream.binance.com/public/ws/{symbol}@optionTicker{expirationDate} - Combined stream via URL:
wss://fstream.binance.com/public/stream?streams={symbol}@optionTicker{expirationDate} - Combined stream via request: Connect to
wss://fstream.binance.com/public/stream, then send the SUBSCRIBE request shown below.
methodWebSocket Streams method name.
paramsList of streams to subscribe to.
idUnique WebSocket request ID.
24-hour TICKER › Responses
24-hour TICKER
eEvent type
EEvent time
sSymbol
pPrice change
PPrice change percent
wWeighted average price
cLast price
QLast quantity
oOpen price
hHigh price
lLow price
vTrading volume(in contracts)
qtrade amount(in quote asset)
OStatistics open time
CStatistics close time
FFirst trade ID
LLast trade Id
nTotal number of trade
Trade Streams
The Trade Streams push raw trade information for specific symbol or underlying asset. E.g.btcusdt@optionTrade
Trade Streams › Request
You can subscribe to this stream using one of the following options:
- Raw stream:
wss://fstream.binance.com/public/ws/{symbol}@optionTrade - Combined stream via URL:
wss://fstream.binance.com/public/stream?streams={symbol}@optionTrade - Combined stream via request: Connect to
wss://fstream.binance.com/public/stream, then send the SUBSCRIBE request shown below.
methodWebSocket Streams method name.
paramsList of streams to subscribe to.
idUnique WebSocket request ID.
Trade Streams › Responses
Trade Streams
eevent type
Eevent time
Ttrade completed time
sOption trading symbol
ttrade ID
pprice
qquantity, always positive
Xtrade type enum, "MARKET" for Orderbook trading, "BLOCK" for Block trade
Sdirection
mIs the buyer the market maker?