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
Attribute | Type | Notes |
---|---|---|
T | string | Type of message (“n” for news) |
id | int | News article ID |
headline | string | Headline or title of the article |
summary | string | Summary text for article (may be first sentence of content) |
author | string | Original author of news article |
created_at | string | Date article was created in RFC-3339 format |
updated_at | string | Date article was updated in RFC-3339 format |
content | string | Content of news article (might contain HTML) |
url | string | URL of article (if applicable) |
symbols | array | List of related or mentioned symbols |
source | string | Source 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"
}
Updated 6 months ago