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',
},
{
  takeover: true,
});

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

// Raw endpoint (maximum speed, no enrichments)
client.websocket.connectRaw(
  {
    query: 'AI AND ticker:NVDA',
    language: 'en',
  },
  (article) => {
    console.log('Raw article:', article);
  },
);

Python Connection

import asyncio

from finlight_client import FinlightApi, ApiConfig
from finlight_client.models import GetArticlesWebSocketParams

def on_article(data):
    print(data)


async def main():
    client = FinlightApi(
        config=ApiConfig(
            api_key="YOUR_API_KEY"
        ),
        websocket_config=WebSocketConfig(
            takeover=True
        )
    )

    payload = GetArticlesWebSocketParams(
        query="nvidia", extended=False
    )

    # Standard endpoint (enriched data)
    await client.websocket.connect(
        request_payload=payload,
        on_article=on_article
    )

    # Raw endpoint (maximum speed, no enrichments)
    await client.websocket.connect_raw(
        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.

Choose Your Mode

Standard vs. Raw WebSocket

Need maximum speed? The raw endpoint skips enrichments and delivers articles as fast as possible. Need sentiment and entities? Use the standard endpoint.

Standard

Enriched data

Raw

Maximum speed

Endpoint
wss.finlight.me
wss.finlight.me/raw
Delivery speed
Fast
Ultra-fast
Sentiment analysis
Entity extraction
Ticker mapping
Real-time filtering
SDK support

Standard endpoint

Best for dashboards, alerting systems, and applications that need sentiment scores and extracted entities out of the box.

Raw endpoint

Best for low-latency trading systems, custom NLP pipelines, and applications where speed matters more than pre-built enrichments.

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

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.