Real-time News

Connection

URL

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

Client-to-Server

Below are possible actions the client may send to the server.

Authentication

{"action":"auth","key":"<KEY>","secret":"<SECRET>"}

Subscribe

All stocks and crypto symbols

{"action":"subscribe","news":["*"]}

Specific stock and/or crypto symbols

{"action":"subscribe","news":["*"]}

Unsubscribe

{"action":"unsubscribe","news":["*"]}

New Data

News Object

{
    "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"
}

Properties

AttributeTypeNotes
headlinestringHeadline or title of the article
created_atstring (RFC 3339)Date article was created
updated_atstring (RFC 3339)Date article was updated
authorstringOriginal author of news article
summarystringSummary text for article (may be first sentence of content)
contentstringContent of news article (might contain HTML)
urlstringURL of article (if applicable)
symbolsstring[]List of related or mentioned symbols
sourcestringSource where the news originated from (e.g. Benzinga)
idintNews article ID
TstringType of message (“n” for news)