Feeds / Crypto exchanges (live)

Bitfinex

Spot. WebSocket snapshot, then per-level updates on the same channel.

Live in productionWebSocket25 levels per side

Live now

-
books live
-
messages / s
-
level changes / s
-
KB / s

Messages / s and KB / s are what our handler receives from the exchange (KB after decompression, REST snapshots included); level changes / s are counted after normalization, for the markets we publish.

Open live books Replay

How we connect

Market
Spot
WebSocket
wss://api-pub.bitfinex.com/ws/2
Channels
book — P0 precision, real time (F0), 25 levels
trades — trades
Update model
WebSocket snapshot, then per-level updates on the same channel.
Sequencing
None: Bitfinex v2 public messages carry no sequence number (sequence and checksum flags are not enabled). Updates are dropped until the channel's snapshot arrives; frames are routed by channel id from the subscribed event.
On a gap
Books are rebuilt from fresh snapshots on reconnect (socket error or 30 s without data).
Depth
25 levels per side
Authentication
none
Heartbeat
Bitfinex sends a per-channel hb every 15 s (ignored); WebSocket pings answered.
Symbol format
tBTCUSD (tDOGE:USD for longer tickers)

Subscribe message

{"event":"subscribe","channel":"book","symbol":"tBTCUSD","prec":"P0","freq":"F0","len":"25"}

What our handler takes care of

Instruments

loading...

Official documentation

Bitfinex — WebSocket public books ↗docs.bitfinex.comBitfinex — WebSocket public trades ↗docs.bitfinex.comBitfinex — WebSocket general (heartbeat, info codes, flags) ↗docs.bitfinex.comBitfinex — REST public book ↗docs.bitfinex.comBitfinex — requirements and limits ↗docs.bitfinex.comBitfinex — changelog ↗docs.bitfinex.comSystem status ↗bitfinex.statuspage.io

Links go to the exchange's own documentation; it is theirs and may change. Our handler follows the version described above.