The unfiltered firehose, in real time
Every channel Hyperliquid emits — trades, L2 book, BBO, candles, fills — multiplexed over one resilient WebSocket, with sequence numbers and backfill so you never trade on a stale book.
| 1 | const ws = new WebSocket( |
| 2 | "wss://stream.hyperliquidrpc.com/raw" |
| 3 | ); |
| 4 | ws.onopen = () => ws.send(JSON.stringify({ |
| 5 | method: "subscribe", |
| 6 | subscription: { type: "trades", coin: "ETH" }, |
| 7 | })); |
| 8 | // → { px, sz, side, time, seq } per trade |
Built for production from day one
The full firehose
Every channel Hyperliquid exposes — l2Book, trades, bbo, candles, userFills, activeAssetCtx — multiplexed over one connection you manage.
Built for uptime
Managed connection pools with heartbeat monitoring and automatic reconnect. We absorb node restarts so your bot never misses a tick.
Gap-free by design
Sequence numbers on every message plus on-reconnect backfill so you can detect and recover from any gap deterministically.
Scale to every market
Subscribe to one coin or all of them. Throughput scales with your plan with no per-channel connection limits to juggle.
Pairs well with
Start building
today
Spin up an API key in seconds. Free tier included — no credit card required.