Finance news API
Recent finance news about a company or topic, with publisher, link and related tickers.
GET /v1/finance/news1 credit per callRefunded on failureimport os, requests
res = requests.get(
"https://api.groundsocial.dev/v1/finance/news?keyword=Tesla",
headers={"Authorization": f"Bearer {os.environ['GROUNDSOCIAL_API_KEY']}"},
)
res.raise_for_status()
data = res.json()Response
200 · 1 credit{ "news": [ { "uuid": "da75dfce-6c21-32a8-a4e1-bce9d061221a", "title": "Should You Buy Tesla Stock Before December?", "publisher": "Motley Fool", "link": "https://finance.yahoo.com/markets/stocks/articles/buy-tesla-stock-december-223502338.html", "providerPublishTime": 1795732502, "type": "STORY", "relatedTickers": [ "TSLA", "SPCX", "… 2 more" ], "thumbnail": { "resolutions": [ { "url": "https://media.zenfs.com/en/motleyfool.com/d3118b8cdfe0060ce263d8bfa8eb470f.png", "width": 1290, "height": 860, "tag": "original" }, { "url": "https://s.yimg.com/lo/mysterio/api/181C80250B093EBAFECCE0EE644BB3E19E15F03F846B1ED0461B52A8AA8E2E60/subgraphmysterio/res…", "width": 140, "height": 140, "tag": "140x140" } ] } }, { "uuid": "e9c69e2f-0f71-3e45-b0c2-71bf9c7f798f", "title": "Tesla Stocks Slip 1.18% as EU Delays Self-Driving Vote to December 15", "publisher": "GuruFocus.com", "link": "https://finance.yahoo.com/markets/stocks/articles/tesla-stocks-slip-1-18-190357031.html", "providerPublishTime": 1795719837, "type": "STORY", "relatedTickers": [ "TSLA" ] }, "… 8 more" ]}Parameters
| Name | Type | Description |
|---|---|---|
keywordquery · required | string | A ticker (AAPL, ^GSPC, EURUSD=X, BTC-USD) or a company name. Example: AAPL. |
limitquery | integer | Stories per page, 1 to 50. Defaults to 10. |
sincequery | string | Only rows published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp. Example: 2026-01-01. |
untilquery | string | Only rows published on or before this date: YYYY-MM-DD (that whole UTC day) or an ISO 8601 timestamp. Example: 2026-12-31. |
Response fields
200 with a FinanceNewsResponse, in Finance’s own JSON.
| Field | Type | Description |
|---|---|---|
news | FinanceNews[] |
Status codes
| Status | Meaning |
|---|---|
200 | News stories, newest first. |
400 | Invalid input. Nothing was charged. |
401 | Missing or invalid API key. |
402 | Not enough credits, a spend cap was reached, or payment is required. |
403 | The target is private, or the account is suspended. |
404 | No ticker or data matches. |
429 | Too many requests. Wait for Retry-After seconds. |
503 | Finance is temporarily unavailable. Retryable; nothing was charged. |
Every error has code, message, hint and retryable. All error codes
Questions
How many stories?
Up to 50.
Finance is a trademark of Yahoo Inc. We are not affiliated with or endorsed by Yahoo Inc.