Endpoints
Real-Time Stream
WS
wss://stream.newsfilter.ioDeprecated. New clients use the real-time stream of version 2.
A WebSocket connection that receives new articles as soon as they are indexed. Each message is a JSON object with an articles array. The articles have the fields of Search.
- The stream has no filters. Filter the articles in the client.
- Only articles indexed while the client is connected are sent. An article can arrive more than once; remove duplicates by
id. - The server sends a ping every 30 seconds and closes connections that do not answer. Messages from the client are ignored.