Moving from the public Hyperliquid WebSocket to GoldRush is one change:Documentation Index
Fetch the complete documentation index at: https://goldrush.dev/docs/llms.txt
Use this file to discover all available pages before exploring further.
- URL - replace
wss://api.hyperliquid.xyz/wswithwss://hypercore.goldrushdata.com/ws?key=<GOLDRUSH_API_KEY>.
key query parameter, so no header swap is needed in your client.
Side-by-side
wscat
JavaScript / TypeScript
Python
Behavioral notes
Things to be aware of when you cut over.Stream payloads are byte-equal, modulo live drift
Thechannel name and data shape match Hyperliquid byte-for-byte - same keys, same nesting, same value types. Numeric fields update independently on each side, so a price level may differ by tens of milliseconds, but the schema is identical.
Auth errors close the connection
A missing or invalidkey query param returns HTTP 401 on the upgrade handshake, so the WebSocket never opens. Public Hyperliquid has no auth and never rejects the handshake.
Filter parameters are optional on GoldRush
Parameters that the public Hyperliquid WebSocket requires (e.g.coin on l2Book) are optional on GoldRush. Omit them to stream the entire channel on a single subscription instead of fanning out one subscription per asset. See Limits.
Existing SDKs work after a wsUrl override
Most popular Hyperliquid SDKs accept a WebSocket base URL override - point them at wss://hypercore.goldrushdata.com/ws?key=<GOLDRUSH_API_KEY> and the rest of the SDK works unchanged. See SDK compatibility for the override snippets.
Authentication
The WebSocket API uses your standard GoldRush API key, passed as akey query parameter at connection time. The same key works against the Foundational API, the Streaming API, the Pipeline API, and the Info API. If you don’t have one yet, sign up here.
Never hardcode keys in source. Use environment variables or a secrets manager.
What you gain
- No subscription cap. No 1000-subscription-per-IP limit; multiplex hundreds of subscriptions on a single connection.
- Wildcard subscriptions. Omit filter parameters to stream the entire channel - e.g. the full L2 order book across every asset on one subscription.
- One key for everything Hyperliquid. The same API key unlocks Streaming, Pipeline, the Info API, and HyperEVM via the Foundational API.