/macrotrends/stocks/financials
Get historical financial data for a stock ticker from Macrotrends
Price: 1 credit
💡 AI Hint: Retrieve historical financial time-series for a stock. Income statement: revenue, gross-profit, ebitda, net-income, eps-earnings-per-share-diluted, shares-outstanding, research-development-expenses, selling-general-administrative-expenses, cost-goods-sold. Balance sheet: total-assets, total-liabilities, total-stockholders-equity, cash-on-hand, long-term-debt, book-value-per-share. Cash flow: free-cash-flow. Valuation ratios: pe-ratio, price-book, market-cap. Each bar has date, stock_price, metric value, and YoY change %. Sorted newest-first.
⚠️ Common errors: 412: Ticker symbol not found or no data available for the requested metric
Authorizations
API token from the dashboard
Headers
Body
Ticker symbol
1"AAPL"
"MSFT"
"GOOGL"
Financial metric to retrieve
revenue, gross-profit, ebitda, net-income, eps-earnings-per-share-diluted, shares-outstanding, research-development-expenses, selling-general-administrative-expenses, cost-goods-sold, total-assets, total-liabilities, total-stockholders-equity, cash-on-hand, long-term-debt, book-value-per-share, free-cash-flow, pe-ratio, price-book, market-cap Number of data points to return
x >= 1Max scrapping execution timeout (in seconds)
20 <= x <= 1500Data frequency
quarterly, annual