hyperliquid-websocket

Installation
SKILL.md

Hyperliquid WebSocket

Read-only, no key. Endpoints: wss://api.hyperliquid.xyz/ws (mainnet), wss://api.hyperliquid-testnet.xyz/ws (testnet). Prefer WebSocket over polling for anything continuous: fills, order updates, book and price watches.

Protocol

Subscribe: {"method": "subscribe", "subscription": {...}}. Unsubscribe with "method": "unsubscribe". The server acknowledges with {"channel": "subscriptionResponse", ...} then streams {"channel": "<type>", "data": ...}. The server closes a connection it has not sent a message to for 60 seconds, so on quiet channels send {"method": "ping"} periodically (the SDKs do it for you) and expect {"channel": "pong"}.

Subscription types the desk uses:

Installs
27
GitHub Stars
612
First Seen
Aug 29, 2026