finlight Logo

WebSocketLive Streaming

Stream real-time financial news with lightning fast delivery . Perfect for live trading applications, dashboards, and market-critical decisions.

Part of finlight's complete news API suite

Quick Start

Connect in seconds

Establish a WebSocket connection and start receiving real-time financial news immediately.

TypeScript/JavaScript SDK

import { FinlightApi } from 'finlight-client';

const client = new FinlightApi({
  apiKey: 'your-api-key',
});

client.websocket.connect(
  {
    query: 'AI AND ticker:NVDA',
    language: 'en',
    extended: true,
    includeCompanies: true,
  },
  (article) => {
    console.log('Live article:', article);
  },
);

Python Connection

import asyncio
from finlight_client.websocket_client import WebSocketClient
from finlight_client.models import GetArticlesWebSocketParams, ApiConfig

def on_article(article):
    print("Received:", article.title)

async def main():
    ws_client = WebSocketClient(config=ApiConfig(api_key="your_api_key"))

    payload = GetArticlesWebSocketParams(
        query="Nvidia",
        language="en",
        includeContent=True,
    )

    await ws_client.connect(
        request_payload=payload,
        on_article=on_article
    )

if __name__ == "__main__":
    asyncio.run(main())

WebSocket Features

Built for real-time applications

Everything you need for live financial news streaming.

Lightning Fast Delivery

Receive news articles quickly after publication. Critical for time-sensitive trading decisions.

Real-Time Filtering

Subscribe to specific tickers, exchanges, or keywords. Only receive the news that matters to you.

Persistent Connections

Maintain stable connections with automatic reconnection and connection health monitoring.

Use Cases

Perfect for real-time applications

See how WebSocket streaming powers critical financial applications.

Live Trading Platforms

Stream market-moving news directly to trading interfaces for instant decision making.

Real-time news alerts trigger automated trading strategies within milliseconds.

Financial Dashboards

Display live news feeds on monitoring dashboards for portfolio and risk management.

Live dashboard showing breaking news affecting your portfolio companies.

Market Surveillance

Monitor specific securities or markets for regulatory compliance and risk detection.

Compliance teams receive instant alerts for news affecting watched securities.

News Applications

Build real-time financial news apps with live updates and push notifications.

Mobile apps delivering breaking financial news with push notifications.

Official Client Libraries

Get started faster with our official SDKs that include WebSocket support and comprehensive documentation

Quick Start Commands

Node.js/TypeScript
npm install finlight-client
Python
pip install finlight-client

Pricing

Flexible plans for real-time needs

WebSocket streaming is available on Pro Standard and higher plans with varying connection limits and features.

WebSocket Streaming

Available on Pro Standard and higher plans with different connection limits

Compare features, connection limits, and pricing options on our dedicated pricing page

Complete Integration Suite

Other ways to access finlight

WebSocket streaming is just one way to integrate with finlight. Choose the method that best fits your use case.

Need help choosing?Compare all methods

Frequently Asked Questions

WebSocket Questions & Answers

Get answers about connection handling, real-time streaming, authentication, and more for our WebSocket API.

Pro Standard includes 1 WebSocket stream, Pro Scale includes 3 streams, and Enterprise plans offer unlimited streams. Each stream can handle multiple subscription filters.