wscat -H "X-API-Key: $HYPEDEXER_API_KEY" -c wss://api.hypedexer.com/ws
# then:
# {"method":"subscribe","subscription":{"type":"liquidations","amount_dollars":50000}}WebSocket endpoint (subscribe / unsubscribe)
Open a WebSocket and manage subscriptions on it. One socket carries many subscriptions.
Endpoint and authentication
wss://api.hypedexer.com/ws
Authenticate during the handshake with X-API-Key: <key>, Authorization: Bearer <key> or the api_key query parameter (the only option from a browser). Without a valid key the handshake is refused with 401.
On connect the server sends {"type": "connected"}.
Heartbeat
The server sends {"type": "ping", "ts": <ms>} every 60 seconds. Reply {"method": "pong"}. A client that never answers is closed after about 180 seconds with close code 4000 (timeout).
Client messages
{"method": "subscribe", "subscription": {"type": "<name>"}}
{"method": "unsubscribe", "subscription": {"type": "<name>"}}
An unsupported name is answered with {"type": "error", "message": "Unsupported subscription: <name>"} and the connection stays open.
Subscriptions served on this endpoint
liquidations(plural on subscribe, frames carry"type": "liquidation"), with the optional filtersuserandamount_dollars. See Liquidations.- Every live-data channel, documented under Live data.
completed_trades, fills_spot and recent_activity are refused by the public endpoint today.
Checked against production on 19 September 2026.
wscat -H "X-API-Key: $HYPEDEXER_API_KEY" -c wss://api.hypedexer.com/ws
# then:
# {"method":"subscribe","subscription":{"type":"liquidations","amount_dollars":50000}}