Available Datasets
Market Cap & Valuation API
Analytics APIHistorical P/E, P/B & Market Cap
Daily market cap and valuation multiples (P/E, P/B, P/S) – up to 35 years back, adjusted for splits and currency effects.
Was the stock cheaper before? Historical market cap and multiples without merging price and fundamental data yourself. Default: daily market cap; optionally historical P/E, P/B, P/S and more.
How valuation series are built
Calculated daily from closing price, share count and fundamental data. Splits and currencies are taken into account.
One call consumes 2 request units per ticker.
Example document: https://api.leeway.tech/api/v1/public/historicalquotes/marketcap/SAP.XETRA?valuation=pe
curl -s 'https://api.leeway.tech/api/v1/public/historicalquotes/marketcap/SAP.XETRA?valuation=pe&apitoken=YOUR_TOKEN'Ready for the best API experience?
Start with 100 free request units per day.
Market Cap & Valuation Fields
Daily values for market cap and valuation multiples. For the complete list visit the API Glossary.
Market Cap & Valuation Multiples
marketCap- Default response: daily market-cap history as OHLC-style bars.
valuation- Query param: pe, pb, ps, pc, liab or all for daily OHLC of that multiple.
pe- Price/Earnings (TTM net income).
pb- Price/Book (equity).
ps- Price/Sales (TTM revenue).
pc- Price/Cash Flow (TTM operating cash flow).
liab- Price/Total Liabilities.
o,h,l,c- Open, high, low, close of market cap or multiple for each trading day.
date- Trading date. Format: YYYY-MM-DD.
Frequently Asked Questions
valuation=pe|pb|ps|pc|liab you get that multiple as daily OHLC; valuation=all returns all five multiples.Ready for the best API experience?
Start with 100 free request units per day.