Member-only story

Gather Tons of Financial Data With Python APIs (Safely)

Pull huge datasets with Python APIs without getting blocked

Ari Joury, PhD
Data Science Collective
9 min read5 days ago
Financial data is abundant. But it takes some smarts to retrieve it all. Image generated with Leonardo AI

Say you want to find out how the creative industry is doing post-AI. Maybe you even want to know how it fared in other disruptive times. You put together a list of companies in the creative sector — Netflix, Warner Bros, Spotify, Adobe, and so on.

You have established a long list of companies in this sector, and now you just need their financial data to figure out how well (or unwell) they’re doing these days. The quickest way to get this data is through APIs like yfinance and others. You start building your data pipeline. But before you realize it, you’ve hit the limit and are asked to pay—or are blocked entirely.

Ew. Your project is dead in the water.

Financial APIs are powerful, but they come with strict limitations on how much data you can pull at once. If you hit those limits too often, you’ll find yourself getting throttled, banned, or forced onto an expensive premium plan.

It’s fine that these data providers charge for their services — they need to keep the lights on too. Often, however, you’re not getting half of what you could be on the free tier. Tooling around the free tier can be complex and require plenty of knowledge and research.

Create an account to read the full story.

The author made this story available to Medium members only.
If you’re new to Medium, create a new account to read this story on us.

Or, continue in mobile web

Already have an account? Sign in

Data Science Collective
Data Science Collective

Published in Data Science Collective

Advice, insights, and ideas from the Medium data science community

Ari Joury, PhD
Ari Joury, PhD

Written by Ari Joury, PhD

Founder of Wangari. Sustainable finance & ESG-financial modeling. Get all articles 3 days in advance: https://wangari.substack.com

Responses (4)

Write a response

Thanks, great post!

Thanks Daniel - awesome post! DG has really suffered from bureaucratic connotations (councils, box-ticking, etc.), but it's seriously valuable to manage data efficiently and effectively!
One of our raisons-d'être at Validio is enabling tracking and…