Connection
&insights=true query parameter adds public News Insights for Max connections; Starter and Pro opt-in connections close with code 1008 before acceptance. Default streams stay unchanged. See News Insights.
WebSocket streaming requires the Pro ($50/mo) or Max plan. Starter plan connections are rejected with close code
1008.Protocol
1. Connect
Open a WebSocket connection to the URL above. No subscription step is needed — the server immediately begins pushing all articles as they arrive (firehose).2. Receive articles
The server pushes JSON articles as they arrive:Pro
Max
tickers array on each message (empty when no tickers are detected). Pro streams omit the field entirely. With insights=true, an enabled Max stream also adds insights; Pro cannot opt in.
Connection Limit
Each user has 1 active WebSocket connection. A new connection for the same user takes over the slot and the old connection closes with code1000 and reason Superseded by new connection. The new connection is not rejected merely because an old one exists.
Disconnection
The connection closes when:- Your plan is not Pro or Max (close code
1008) - Invalid or inactive API key (close code
1008) - Your subscription expires mid-stream — the server re-checks every 5 minutes (close code
1008) - Server maintenance (implement auto-reconnect)