Yahoo! Finance API used to be the de facto API for stock data but its now closed off. Though Apple's iOS stocks app still gets Yahoo Data from them. Google Finance API was killed a while ago too.
I am trying to build a stock portfolio management web app and am looking for APIs to get stock price data (not real-time; 15 min delayed) with some historical prices (last 3-6 months). Along with some metadata like company's industry/sector, country, dividend yield, beta, P/E, etc.
The ones I found so far are IEX Cloud ($20/mo) with some limits, and a few new websites that don't seem trustworthy (can shut down anytime). Another hack is opening an account with Alpaca brokerage to just use their Market Data API.
I looked at what Robinhood app, Public.com app, etc. are using and they are commercial APIs (costs over $500/mo). I am working on an MVP and plan on a $5/mo solution that will need a lot of users because I can afford an expensive data service.
Anyone else working with finance APIs, or know of free or affordable APIs for stock data?
We had the same issue when we were working on AssetClass.app (no longer fully functional)
Yuzu.dev has a stock and crypto API that is free to use for individuals. It has historical and 15-min delayed prices and it's based on GraphQL which is really nice for frontends devs.
I use IEX Cloud for my upcoming business, it was the best option (coverage and price-wise) for a commercial license I could find.