How to Access Yahoo Finance News Articles API – Any Working Methods? or What’s the Best Way to Access

20 Replies, 2180 Views

You can still access some Yahoo Finance data via their unofficial API. Check out this GitHub repo: `yahoofinancials`.

It’s not perfect for news, but you can pull headlines. Code example:
```python
from yahoofinancials import YahooFinancials
yf = YahooFinancials('AAPL')
news = yf.get_stock_news()
```
Might help!

Messages In This Thread



Users browsing this thread: 1 Guest(s)