Guide
Overview
What this is
Streaming US stock market data over WebSockets on the API host api.financialdata.online (same origin as REST). Each enabled feed has its own path, subscribe payload, and response schema in the reference panel.
URLs to know
- Portal (website)
https://financialdata.online— sign up, pricing, and account area.- WebSocket base
wss://api.financialdata.online/— usewss://(nothttps://) for the handshake.- Example feed
wss://api.financialdata.online/ws/stocks/AM/
Paths match the feed entries in the sidebar (e.g. ws/stocks/AM/ for minute aggregates).
Suggested flow
- Basics Read (JWT on the upgrade request).
- Feed Pick a feed in the sidebar and open its reference for path, stream fields, and examples.
- Connect Open the WebSocket with
Authorization: Bearer <jwt>, then send{"action":"subscribe","tickers":["AAPL"]}. - REST For HTTP market data, switch to the REST API tab — it uses
X-Request-Token, not JWT.
Client protocol
- Subscribe
{"action": "subscribe", "tickers": ["AAPL", "MSFT"]} - Unsubscribe
{"action": "unsubscribe", "tickers": ["AAPL"]} - Data JSON market updates (
ev,sym, …) — field definitions are listed per feed in the reference.
Limits. Up to 50 ticker subscriptions per connection; one connection per feed endpoint per session is recommended.