WebSocketLive Streaming
Stream real-time financial news with lightning fast delivery . Perfect for live trading applications, dashboards, and market-critical decisions.
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.
Enriched data
Maximum speed
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
NPM Package
TypeScript/JavaScript SDK with full WebSocket support and connection management
Install from NPM →Python Package
Pythonic SDK with async WebSocket support and comprehensive data models
Install from PyPI →Documentation
Complete WebSocket guides, API reference, and interactive examples
Explore Docs →Quick Start Commands
Node.js/TypeScript
npm install finlight-clientPython
pip install finlight-clientPricing
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.
REST API
On-demand news data via HTTP requests for batch processing and web applications
Learn more →Webhooks
Event-driven notifications pushed to your endpoints automatically
Learn more →MCP Server
Connect AI assistants like Claude and ChatGPT to financial news via MCP
Learn more →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.
Still Have Questions?
Our developer-first support team is here to help you integrate and scale.
