Skip to content

Company metric history, commodity prices and stock index prices

Macrotrends provides long-term financial and economic charts, company metric histories, and yearly commodity and index prices; current-year prices may be incomplete.

Get company metric history

Get annual or quarterly company metric history, newest first, with full values and year-over-year change. Dividend values are trailing twelve-month payouts per share; quarterly employee counts and histories before a company began reporting or paying dividends may be unavailable.

Your information

Metric to retrieve, for example revenue.

Annual or quarterly history, for example annual.

Company name or ticker, for example Apple or AAPL.

1 credit per run

Example results

Unit
US dollars per share
Metric
Earnings Per Share
Ticker
AAPL
Company
Apple
Rows
Rows
ValuePage URLFiscal YearQuarter End DateChange Vs Prior Year (%)
7.46
2025
—
22.7
6.08
2024
—
-0.82
6.13
2023
—
0.33
6.11
2022
—
8.91
5.61
2021
—
71.04
3.28
2020
—
10.44
2.97
2019
—
-0.34
2.98
2018
—
29.57
2.3
2017
—
10.58
2.08
2016
—
-9.96
2.31
2015
—
43.48
1.61
2014
—
13.38
1.42
2013
—
-10.13
1.58
2012
—
59.6
0.99
2011
—
—
Example data · Run in Studio for fresh results.

Choose an action

About Macrotrends

Macrotrends returns annual or quarterly company metrics and year-over-year changes; provide a metric and company, and optionally a period.

Get long term price history returns yearly commodity or stock index prices; provide an asset and optionally start and end years.

Built by Fous from macrotrends.net and checked automatically; it last passed a check on Sep 29, 2026. Fous is not affiliated with Macrotrends.

Actions

Get company metric history

1 credit per run

Get annual or quarterly company metric history, newest first, with full values and year-over-year change. Dividend values are trailing twelve-month payouts per share; quarterly employee counts and histories before a company began reporting or paying dividends may be unavailable.

What you provide

FieldTypeRequiredDescription
MetricmetricTextRequiredMetric to retrieve, for example revenue.Example: Net income
PeriodperiodTextOptionalAnnual or quarterly history, for example annual.Example: Quarterly
CompanycompanyTextRequiredCompany name or ticker, for example Apple or AAPL.Example: MSFT

What you get

FieldTypeDescription
RowsrowsList
Valuerows[].valueNumberFull numeric value in the stated unit.Example: 7.46
Page URLrows[].page_urlTextCompany metric history page.Example: https://www.macrotrends.net/stocks/charts/AAPL/apple/eps-earnings-per-share-dil…
Fiscal Yearrows[].fiscal_yearNumberFiscal year for annual values; null for quarterly values.Example: 2025
Quarter End Daterows[].quarter_end_dateTextQuarter ending date (YYYY-MM-DD); null for annual values.
Change Vs Prior Year (%)rows[].change_vs_prior_year_percentNumberPercentage change from the previous year or the same quarter a year before, when available.Example: 22.7
UnitunitTextExample: US dollars per share
MetricmetricTextExample: Earnings Per Share
TickertickerTextExample: AAPL
CompanycompanyTextExample: Apple

Example result

For Metric: Earnings per share, Period: Annual, Company: Apple

JSON
{
  "rows": [
    {
      "value": 7.46,
      "page_url": "https://www.macrotrends.net/stocks/charts/AAPL/apple/eps-earnings-per-share-diluted",
      "fiscal_year": 2025,
      "quarter_end_date": null,
      "change_vs_prior_year_percent": 22.7
    },
    {
      "value": 6.08,
      "page_url": "https://www.macrotrends.net/stocks/charts/AAPL/apple/eps-earnings-per-share-diluted",
      "fiscal_year": 2024,
      "quarter_end_date": null,
      "change_vs_prior_year_percent": -0.82
    },
    {
      "value": 6.13,
      "page_url": "https://www.macrotrends.net/stocks/charts/AAPL/apple/eps-earnings-per-share-diluted",
      "fiscal_year": 2023,
      "quarter_end_date": null,
      "change_vs_prior_year_percent": 0.33
    }
  ],
  "unit": "US dollars per share",
  "metric": "Earnings Per Share",
  "ticker": "AAPL",
  "company": "Apple"
}

Get long term price history

1 credit per run

Get decades of yearly commodity or stock-index price history from Macrotrends. Yearly open, high, low and close use daily closing prices for Dow Jones, S&P 500, Nasdaq and copper; gold, silver, crude oil and natural gas use monthly closing prices. Inflation-adjusted value is the final adjusted monthly close for each year where published. The current year may be incomplete.

What you provide

FieldTypeRequiredDescription
AssetassetTextRequiredCommodity or stock index name, for example gold, crude oil, or S&P 500.Example: Gold
End Yearend_yearNumberOptionalLast calendar year to include, for example 2024. Defaults to the last available year.Example: 1973
Start Yearstart_yearNumberOptionalFirst calendar year to include, for example 2000. Defaults to the first available year.Example: 1970

What you get

FieldTypeDescription
UnitunitTextExample: US dollars per pound
AssetassetTextExample: Copper
Price Historyprice_historyList
Yearprice_history[].yearNumberExample: 1973
Page URLprice_history[].page_urlTextExample: https://www.macrotrends.net/1476/copper-prices-historical-chart-data
Year Lowprice_history[].year_lowNumberExample: 0.5062
Year Highprice_history[].year_highNumberExample: 0.6875
Year Openprice_history[].year_openNumberExample: 0.5062
Year Closeprice_history[].year_closeNumberExample: 0.6875
Annual Change (%)price_history[].annual_change_percentNumberExample: 35.82
Average Closing Priceprice_history[].average_closing_priceNumberExample: 0.6
Inflation Adjusted Valueprice_history[].inflation_adjusted_valueNumberExample: 2792.81

Example result

For Asset: Copper, End Year: 1973, Start Year: 1970

JSON
{
  "unit": "US dollars per pound",
  "asset": "Copper",
  "price_history": [
    {
      "year": 1973,
      "page_url": "https://www.macrotrends.net/1476/copper-prices-historical-chart-data",
      "year_low": 0.5062,
      "year_high": 0.6875,
      "year_open": 0.5062,
      "year_close": 0.6875,
      "annual_change_percent": 35.82,
      "average_closing_price": 0.6,
      "inflation_adjusted_value": null
    },
    {
      "year": 1972,
      "page_url": "https://www.macrotrends.net/1476/copper-prices-historical-chart-data",
      "year_low": 0.5,
      "year_high": 0.5265,
      "year_open": 0.5037,
      "year_close": 0.5062,
      "annual_change_percent": 0.5,
      "average_closing_price": 0.51,
      "inflation_adjusted_value": null
    },
    {
      "year": 1971,
      "page_url": "https://www.macrotrends.net/1476/copper-prices-historical-chart-data",
      "year_low": 0.5037,
      "year_high": 0.5325,
      "year_open": 0.5325,
      "year_close": 0.5037,
      "annual_change_percent": 8.42,
      "average_closing_price": 0.52,
      "inflation_adjusted_value": null
    }
  ]
}

For developers

Run this workflow from your own code. In Studio, turn on Developer mode and create an API key.

cURL
# First set your key: export FOUS_API_KEY='YOUR_FOUS_API_KEY'
: "${FOUS_API_KEY:?Set FOUS_API_KEY before running this example}"

curl 'https://api.fous.com/v1/query' \
  --fail-with-body --silent --show-error --max-time 120 \
  -H "Authorization: Bearer $FOUS_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "api": "@macrotrends",
  "visibility": "public",
  "operation": "get_company_metric_history",
  "version": 1,
  "input": {
    "metric": "net_income",
    "period": "quarterly",
    "company": "MSFT"
  },
  "response": {
    "format": "json"
  }
}'

What you can do with it

  • Compare a company’s annual revenue over time
  • Track quarterly company metrics and year-over-year changes
  • Review long-term commodity price movements
  • Compare yearly stock index highs, lows, opens, and closes
  • Examine inflation-adjusted commodity values

Questions

Is Fous affiliated with Macrotrends?

No. Fous is not affiliated with Macrotrends. This workflow reads the public macrotrends.net website and returns its data.

How much does it cost?

Each run costs 1 credit. With pay-as-you-go, a credit costs 1¢; monthly plans cost less per credit.

Do I need a Macrotrends account?

No. You only need a Fous account.

How current is the data?

Fous gets the data from macrotrends.net when you run it; repeating the same request within a day may return the saved result. Fous checks this workflow automatically; it last passed a check on Sep 29, 2026.

What was a company’s revenue in prior years?

Get company metric history returns annual or quarterly values for a selected metric and company.

How have commodity prices changed over time?

Get long term price history returns yearly price data, including annual change percentages, for a selected asset.

What were a stock index’s yearly highs and lows?

Get long term price history returns yearly highs and lows for a selected stock index.

All Finance workflowsBrowse all workflows