Real-time News

This API provides stock market news on a websocket stream. You can find the general description of the real-time WebSocket Stream here. This page focuses on the news stream.

URL

The URL for the news stream is

wss://stream.data.alpaca.markets/v1beta1/news

Sandbox URL:

wss://stream.data.sandbox.alpaca.markets/v1beta1/news

Channels

News

Schema

AttributeTypeNotes
TstringType of message (“n” for news)
idintNews article ID
headlinestringHeadline or title of the article
summarystringSummary text for article (may be first sentence of content)
authorstringOriginal author of news article
created_atstringDate article was created in RFC-3339 format
updated_atstringDate article was updated in RFC-3339 format
contentstringContent of news article (might contain HTML)
urlstringURL of article (if applicable)
symbolsarrayList of related or mentioned symbols
sourcestringSource where the news originated from (e.g. Benzinga)

Example

{
    "T": "n",
    "id": 24918784,
    "headline": "Corsair Reports Purchase Of Majority Ownership In iDisplay, No Terms Disclosed",
    "summary": "Corsair Gaming, Inc. (NASDAQ:CRSR) (“Corsair”), a leading global provider and innovator of high-performance gear for gamers and content creators, today announced that it acquired a 51% stake in iDisplay",
    "author": "Benzinga Newsdesk",
    "created_at": "2022-01-05T22:00:37Z",
    "updated_at": "2022-01-05T22:00:38Z",
    "url": "https://www.benzinga.com/m-a/22/01/24918784/corsair-reports-purchase-of-majority-ownership-in-idisplay-no-terms-disclosed",
    "content": "\u003cp\u003eCorsair Gaming, Inc. (NASDAQ:\u003ca class=\"ticker\" href=\"https://www.benzinga.com/stock/CRSR#NASDAQ\"\u003eCRSR\u003c/a\u003e) (\u0026ldquo;Corsair\u0026rdquo;), a leading global ...",
    "symbols": ["CRSR"],
    "source": "benzinga"
}