wss://api.hyperliquid.xyz/ws. For the channels GoldRush supports, subscription payloads, channel names, and message shapes are byte-for-byte identical to the public Hyperliquid feed. The only difference is the connection URL - authentication is a required key query parameter, so no header changes are needed in your client.
Endpoint
string
required
Your GoldRush API key. Passed as a query parameter at connection time.
Comparison with the public Hyperliquid WebSocket
Available subscriptions
Order book
Stream the Hyperliquid order book in real time - three channels, from aggregated L2 snapshots to full order-level (L4) detail. Omitcoin on l2Book or l2BookDiff to stream every asset on a single subscription, which the public WebSocket’s 1000-subscription-per-IP cap makes impractical.
Wallet activity
Looking for
candle, trades, bbo, or allMids? These public Hyperliquid market-data channels aren’t mirrored on the GoldRush WebSocket - use the GoldRush equivalents instead:- OHLCV candles - the Info API
candleSnapshotendpoint for historical candles, or the real-time HIP-3 and HIP-4 OHLCV recipes for candles across every HIP-3/HIP-4 market. - Trade tape -
allFillsstreams every fill on HyperCore (the global trade tape);userFillsnarrows it to specific wallets. - Best bid/offer and mids - derive top-of-book from
l2Book, or read mark and mid prices for the full universe frommetaAndAssetCtxs.
Limits
No 1000-subscription-per-IP cap. Onl2Book and l2BookDiff, filter parameters are optional - omit coin to stream the full L2 book across every asset on a single subscription. The wildcard defaults to perps only (marketTypes: ["perp"]); pass ["spot"], ["outcome"], a mix, or ["*"] to opt into spot, outcome, and future market types. l2BookDiff additionally accepts an array of coin symbols for a fixed multi-asset subscription. l4Book requires coin and is one-asset-per-subscription. See Limits & Connections for details.