Why you should drop yfinance API and adopt OpenBB SDK

Didier Rodrigues Lopes
2 min readOct 1, 2022

OpenBB SDK will be released later this month 👀.

All data sources behind The OpenBB Terminal

yfinance API is an unofficial (not affiliated) API around Yahoo Finance website.

Although it is used in over 12,600 projects on GitHub and is downloaded on average 90,000 per week. This is still an unofficial wrapper. As you can see from Yahoo Finance website, it uses an ad revenue business model. This means that Yahoo Finance doesn’t has any incentive from having users utilizing it through Yfinance API.

If one day Yahoo Finance website adds a paywall through an API key, then Yahoo Finance would:

  1. Either become obsolete
  2. Or adopt the same architecture of OpenBB where an API key from a data source is necessary

Regardless, Yfinance API retrieves data that exists on a third-party website: Yahoo Finance website. This means that this API is limited by the data Yahoo Finance is currently paying for redistribution. And thus, users get only what data is supported through the website.

On the other hand, OpenBB SDK allows you to retrieve data from over 50 different APIs (and growing). With yfinance being one of these APIs.

Since OpenBB SDK requires API keys from most of the data sources, these have incentives to partner with OpenBB. Because:

--

--