newsfilter
Endpoints

Real-Time Stream

WSwss://stream.newsfilter.io

A WebSocket connection that receives every new article as soon as it is indexed. Each message is one article object in JSON, with the same fields as in 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.