Best Book Ticker
Description
There is no dedicated best-bid/ask WebSocket channel. The current best order (highest bid, lowest ask) is the first level on each side of the orderbook:{symbol} stream.
Connect to wss://api.prex.world/ws and subscribe to the order book channel. A snapshot is pushed on subscribe, followed by a full update every 500 ms (top 30 levels per side).
Subscribe
{
"type": "subscribe",
"channel": "orderbook:BTCUSDT"
}
Push Example
{
"type": "orderbook",
"symbol": "BTCUSDT",
"bids": [
{ "price": "65430.00", "size": "1.2" }
],
"asks": [
{ "price": "65431.00", "size": "0.5" }
],
"timestamp": 1711000000000
}
The best bid is bids[0] and the best ask is asks[0] — bids are sorted descending and asks ascending by price.
See WebSocket API General Info for connection details. For a REST snapshot, use GET /fapi/v1/ticker/bookTicker.