How do find Market Cap?

Is Market Cap and/or Float available via the API? I don’t see either but thought maybe I’m missing it. Shouldn’t MarketCap at least be very easy to obtain?

1 Like

I just use yfinance for current price and info on tickers.

@jschaenzle Alpaca currently doesn’t provide market cap or float information through the APIs. There are other 3rd party data providers such as Intrinio and Xignite which have this information but it’s usually not free. Since these values don’t change very often, one approach could be to screen-scrape the results from Yahoo or similar and then just store in a file, or hardcode, them into your algo. I do something similar to check for leveraged ETFs.

You can create a free account to Financial Modeling Prep - Home and use: Free Stock Market API and Financial Statements API - FMP API (financialmodelingprep.com) to get a list of companies and their market caps. You can combine the result of this endpoint with results from other free endpoints to get the outstanding shares and free float.

1 Like