HyperNode

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:

NameContent
node_order_statuses_streamingEvery order status change (open, filled, canceled, rejected, triggered, ...)
node_fills_streamingEvery fill
hip3_oracle_updates_streamingOracle and mark prices of HIP-3 markets
node_twap_statuses_streamingTWAP order status changes
misc_events_streamingMiscellaneous block events
system_and_core_writer_actions_streamingSystem-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":[...]}
FieldMeaning
block_numberBlock the events belong to. Several lines can carry the same block
block_timeThe block's chain time
local_timeThe node's clock when it wrote the line
eventsThe 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.

FieldTypeMeaning
namestringStream name
filesintegerHourly files on disk
oldest_blockinteger or nullOldest block still on disk; null when the node has not written the stream
latest_blockinteger or nullNewest block on disk

GET /v1/streams/{name}

Follows one stream. The response never ends by itself.

ParameterInRequiredMeaning
namepathyesA stream name from the table above
from_blockquerynoFirst 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) and X-Stream-Start-Block (the block delivery starts at).
StatusMeaningWhat to do
200Stream openRead lines
404Unknown stream nameUse a name from GET /v1/streams
410from_block is older than what is on diskTake a new snapshot
503The node has not written this stream yetRetry 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.