Hook directly into our engine. Zero polling, zero latency.
WebSockets are only available on the Pro and Enterprise tiers.
If you connect with a Free tier key, the server will instantly drop your connection. Use GET /alerts/latest instead if you’re on Free.
Hook your client into this URL. Do not put your API key in the Authorization header—WebSocket libraries are notoriously inconsistent with custom headers. Pass it exactly as shown in the query string.
Sent by the server immediately after you send a ping.
Keep-Alives are mandatory. The server unapologetically drops connections that fail to send a ping string within any rolling 30-second window. Set your interval to 20-25 seconds to be safe.
Networks hiccup. Servers redeploy. Your bot should be resilient. Always use exponential backoff when reconnecting so you don’t get banned for hammering the auth server if something goes down.