Streams
Follow the six Hyperliquid node event streams over NDJSON or WebSocket, and resume from any block still on the node's disk.
Streams
The node's event streams, forwarded line for line as the node writes them. Stream names are the node's own directory names:
| Name | Content |
|---|---|
node_order_statuses_streaming | Every order status change (open, filled, canceled, rejected, triggered, ...) |
node_fills_streaming | Every fill |
hip3_oracle_updates_streaming | Oracle and mark prices of HIP-3 markets |
node_twap_statuses_streaming | TWAP order status changes |
misc_events_streaming | Miscellaneous block events |
system_and_core_writer_actions_streaming | System-level actions |
A stream line is one JSON object, exactly as the node wrote it:
{"local_time":"2026-11-26T12:00:00.123456789","block_time":"2026-11-26T12:00:00.012345678","block_number":1235400000,"events":[...]}| Field | Meaning |
|---|---|
block_number | Block the events belong to. Several lines can carry the same block |
block_time | The block's chain time |
local_time | The node's clock when it wrote the line |
events | The node's events; the shape depends on the stream and follows Hyperliquid's node data format |
Volume: order statuses run at 10–25 MB/s and about 13,000 lines per second. There is no per-coin filter; a client gets the whole stream.
GET /v1/streams
Lists the six streams and the block range still on the node's disk. The node keeps about two hours.
| Field | Type | Meaning |
|---|---|---|
name | string | Stream name |
files | integer | Hourly files on disk |
oldest_block | integer or null | Oldest block still on disk; null when the node has not written the stream |
latest_block | integer or null | Newest block on disk |
GET /v1/streams/{name}
Follows one stream. The response never ends by itself.
| Parameter | In | Required | Meaning |
|---|---|---|---|
name | path | yes | A stream name from the table above |
from_block | query | no | First block to deliver, inclusive. Omitted: start after the node's newest block |
- Response
Content-Type: application/x-ndjson: one stream line per line. - An empty line every 5 seconds when the node is quiet (keepalive). Skip empty lines.
- Response headers:
X-Node-Latest-Block(the node's newest block at the start) andX-Stream-Start-Block(the block delivery starts at).
| Status | Meaning | What to do |
|---|---|---|
| 200 | Stream open | Read lines |
| 404 | Unknown stream name | Use a name from GET /v1/streams |
| 410 | from_block is older than what is on disk | Take a new snapshot |
| 503 | The node has not written this stream yet | Retry shortly |
curl -N -H "X-CoinAPI-Key: $KEY" \
"$NODE_API_URL/v1/streams/node_fills_streaming?from_block=1235400001"GET /v1/streams/{name}/ws
The same stream over a WebSocket. Same name and from_block, same headers on the 101 response.
- Each stream line is one text message; an empty text message every 5 seconds when quiet.
- The server never reads from the socket. Send nothing.
- 404, 410 and 503 are answered before the upgrade; 400 when the request is not a WebSocket upgrade.
Use it where a proxy keeps a WebSocket open more reliably than a never-ending HTTP response.