Home
HomeChat
Markets
AlertsCalendarScreenerCharts
Portfolio
WatchlistsPortfolioFiles
Account
Docs
Sign upJoinLog inLogin

Docs

Overview

IntroductionMCP ServerOpenAPI Spec

REST API

Overview

WebSocket API

OverviewLive NewsLive SEC FilingsTrading Halts

Live News

WSwss://socket.vantafin.com/v1/stocks
View as markdown
Ultimate plan required
WebSocket streams are exclusive to the Ultimate plan. Compare plans and upgrade.

Subscribe to live news and press releases over the same WebSocket connection. Use channel N.{ticker} for a specific ticker (e.g. N.AAPL) or N.* for every article market-wide. Each message is pushed the moment a new article is ingested and carries the headline, body text, publisher, source site, canonical URL, publish time, and a newsType of either 'stockNews' or 'pressRelease'. The news stream runs around the clock - it is not gated to market hours.

Use cases

  • Real-time news terminals and breaking-headline tickers
  • Event-driven trading on press releases and market-moving news
  • Streaming a watchlist's headlines without polling the REST news API
  • Feeding NLP / sentiment pipelines as articles are published

Subscribe

Send a subscribe message after connecting. Use N.{ticker} (e.g. N.AAPL) for a single symbol or N.* for every symbol.

{
  "action": "subscribe",
  "params": "N.AAPL"
}

Message fields

FieldTypeDescription
typestringAlways 'news'.
tickerstringTicker the article is about.
newsTypestring'stockNews', 'pressRelease', or 'legal'.
sourceTypestringOriginal FMP type when newsType is 'legal' (stockNews | pressRelease).
titlestringHeadline of the article.
textstringArticle body / snippet.
publisherstringPublisher name, e.g. 'Business Wire'.
sitestringSource domain, e.g. 'businesswire.com'.
urlstringCanonical URL of the article.
publishedDatestringPublish time in UTC (YYYY-MM-DD HH:MM:SS).
from vantafin import WebSocketClient

ws = WebSocketClient("vf-live-your_api_key")
ws.connect()
ws.subscribe(["N.AAPL"])

for message in ws:
    print(message)

Official SDKs (Python, JavaScript, Go, Java, Ruby): github.com/vantafin/vantafin

{
  "type": "news",
  "ticker": "AAPL",
  "newsType": "pressRelease",
  "title": "Apple Announces Record June Quarter Results",
  "text": "Apple today announced financial results for its fiscal third quarter...",
  "publisher": "Business Wire",
  "site": "businesswire.com",
  "url": "https://www.businesswire.com/news/home/20260616/apple-q3-results",
  "publishedDate": "2026-06-16 12:30:00"
}
WebSocket API Overview
Live SEC Filings