All Book Tickers Stream
Pushes any update to the best bid or ask's price or quantity in real-time for all symbols.
After CM migration, this stream pushes the merged UM + CM universe (subscribable on both
fstreamanddstream); each payload is appended with a newstfield (1= UM,2= CM) and a newpsfield (pair symbol).
All Book Tickers Stream › Request
You can subscribe to this stream using one of the following options:
- Raw stream:
wss://fstream.binance.com/public/ws/!bookTicker - Combined stream via URL:
wss://fstream.binance.com/public/stream?streams=!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.
All Book Tickers Stream › Responses
All Book Tickers Stream
eevent type
uorder book updateId
Eevent time
Ttransaction time
ssymbol
bbest bid price
Bbest bid qty
abest ask price
Abest ask qty
ps(After CM migration) Pair symbol
st(After CM migration) Symbol type: 1 = UM, 2 = CM
Diff. Book Depth Streams
Bids and asks, pushed every 250 milliseconds, 500 milliseconds, 100 milliseconds (if existing).
After CM migration, the payload is appended with a new
stfield (1= UM,2= CM) and a newpsfield (pair symbol).
Stream parameters
symbolTrading pair symbol.
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.
sSymbol.
UFirst update ID in the event.
uFinal update ID in the event.
puFinal update ID in the previous stream event.
bBid updates.
aAsk updates.
ps(After CM migration) Pair symbol
st(After CM migration) Symbol type: 1 = UM, 2 = CM
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.
After CM migration, the payload is appended with a new
stfield (1= UM,2= CM).
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
Eevent time
Ttransaction time
ssymbol
pspair (After CM migration)
bbest bid price
Bbest bid qty
abest ask price
Abest ask qty
st(After CM migration) Symbol type: 1 = UM, 2 = CM
Partial Book Depth Streams
Top
After CM migration, the payload is appended with a new
stfield (1= UM,2= CM) and a newpsfield (pair symbol).
Stream parameters
symbolThe symbol parameter
levelsThe levels 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{levels}@{updateSpeed} - Combined stream via URL:
wss://fstream.binance.com/public/stream?streams={symbol}@depth{levels}@{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
sSymbol
UFirst update ID in event
uFinal update ID in event
puFinal update Id in last stream(ie u in last stream)
bBids to be updated
aAsks to be updated
ps(After CM migration) Pair symbol
st(After CM migration) Symbol type: 1 = UM, 2 = CM
RPI Diff. Book Depth Streams
Bids and asks including RPI orders, pushed every 500 milliseconds
After CM migration, the payload is appended with a new
stfield (1= UM,2= CM) and a newpsfield (pair symbol).
RPI 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}@rpiDepth@500ms - Combined stream via URL:
wss://fstream.binance.com/public/stream?streams={symbol}@rpiDepth@500ms - 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.
RPI Diff. Book Depth Streams › Responses
RPI Diff. Book Depth Streams
eEvent type
EEvent time
TTransaction time
sSymbol
UFirst update ID in event
uFinal update ID in event
puFinal update Id in last stream(ie u in last stream)
bBids to be updated
aAsks to be updated
ps(After CM migration) Pair symbol
st(After CM migration) Symbol type: 1 = UM, 2 = CM