Get historical market capitalization data for a company.

get/api/v1/public/historicalquotes/marketcap/{symbolExchange}

Request

  • Base URL: https://api.leeway.tech
  • URL: https://api.leeway.tech/api/v1/public/historicalquotes/marketcap/{symbolExchange}
  • Auth: API key in query parameter apitoken

Path parameters

symbolExchangestring required

Symbol and Exchange

Query parameters

bynamestring

Set this to true and pass a Companyname in symbolExchange.

fromstring

Format: YYYY-MM-DD. The start date, if not provided, today will be used.

tostring

YYYY-MM-DD. The end date, if not provided, today in 7 days will be used.

valuationstring

Optional. pe, pb, ps, pc, or liab for one ratio; all returns an object with all five keys. Omit for market-cap history.

Response

OK. With valuation=all, returns pe, pc, pb, ps, and liab—each key is an array of daily OHLC bars for that multiple. Example shows pe for SAP.XETRA; other keys share the same shape.

Changes

No recorded changes to this operation across all 1 revision of this API.