Best Quote
Real-time best bid and best ask for futures pairs.
Use this stream when you need only the top of the book — the best bid and best ask with their sizes — without maintaining a full order book.
Endpoint
wss://futures-marketdata-service.outpoll.com/ws/book/bestAuthentication
No authentication required.
Message Envelope
pi
string
Pair ID, as a string (for example "1")
a
array
Best ask [price, size]
b
array
Best bid [price, size]
t
integer
Quote time, epoch ms
Message Types
subscribe / unsubscribe
Client → Server
Start or stop pairs
Quote
Server → Client
Current best bid and ask of one pair
Error
Server → Client
{"er", "msg"} — see Errors
ping / pong
Both
Plain-text keep-alive
Subscribe
Every pair:
Server confirmation: there is no confirmation frame. When you subscribe by pair ID, the pair's current quote arrives immediately. With all: true, quotes arrive as each pair updates.
Updates are pushed whenever the pair's order book updates. Each frame is the complete top of book — replace the previous value.
Quote Payload
pi
string
Pair ID
a
array
Best ask: [price, size]
b
array
Best bid: [price, size]
t
integer
Quote time, epoch ms
Python Example
Was this helpful?

