Stock News
Obtain the latest news articles for the tickers of this Toolkit instance, whether they are stocks, cryptocurrencies or currency pairs. Qualitative companion to the toolkit’s quantitative data. Automatically filtered to this Toolkit instance’s start_date and end_date.
Each ticker is matched with the right news feed. A currency pair such as EURUSD or EURUSD=X is searched in the forex news. Any other ticker is searched in both the stock and the crypto news, since a ticker such as BTCUSD cannot be told apart from a stock by its format; the feed it does not belong to simply returns nothing.
Also known as: ticker news, company news feed, crypto news, forex news.
Stock News in Python
Install the Finance Toolkit with:
pip install financetoolkit -U
Then call get_stock_news as shown below.
from financetoolkit import Toolkit
toolkit = Toolkit(
["AAPL", "MSFT"],
api_key="FINANCIAL_MODELING_PREP_KEY",
start_date="2021-01-01",
end_date="2025-12-31",
)
stock_news = toolkit.get_stock_news(limit=5)
stock_news[["Symbol", "Publisher", "Title"]]
Which returns:
| Published Date | Symbol | Publisher | Title |
|---|---|---|---|
| 2025-12-31 17:34:00 | AAPL | GuruFocus | Market Today: Buffett era ends; Tesla warns; stocks cap strong 2025 |
| 2025-12-31 16:11:00 | AAPL | The Motley Fool | Here Are My Top 2 Stocks to Buy for 2026 and Beyond |
| 2025-12-31 14:35:53 | AAPL | Schwab Network | Ca$htag$: Apple (AAPL) Strong Holiday Season |
| 2025-12-31 14:15:00 | MSFT | The Motley Fool | The Best Tech Stocks to Buy in January for 2026 Gains |
| 2025-12-31 14:14:48 | AAPL | CNBC Television | Apple’s AI challenges in 2026 |
Parameters
get_stock_news accepts the following parameters.
| Parameter | Type | Description | Example |
|---|---|---|---|
pages | int | The number of pages to collect per news feed, each page is a separate API call, e.g. pages=5 makes 5 calls. Defaults to 1. | 3 |
limit | int | The number of articles to return per page. Defaults to 100. | 20 |
show_columns | list[str] | None | A list of column names to keep in the result. Invalid names are reported and ignored. Defaults to None, which keeps every column. | ["Publisher", "Title"] |