v1
latestOpenAPI 3.0.32026-07-1745105192.4 KBCommodities Historical Prices
If you are looking for past commodity prices, you can use the Historical Commodity Prices endpoint, where you can choose specific dates and search by individual commodities. Additionally, the API offers options for daily data from the previous five years or monthly intervals using the frequency parameter.
Note:
-
A rate limit of 1 API call per minute is enforced on this endpoint.
-
The recommended historical date range for a single API call is 1 year when requesting daily data. While larger ranges (up to 1.5 years) may work, retrieving data one year at a time ensures consistency.
-
Historical data for Commodities is available for up to 15 years in the past, though coverage varies by commodity type like Metals: Typically over 13 years of historical data, with some having as few as 2 years. Energy: Generally 15 years of coverage, though a few have up to 10 years. Industrial: Usually 15 years, with some limited to 10 years. Livestock and Agricultural: Coverage ranges from 9 to 15 years.
Query parameters
Your Marketstack API access key.
Specify the commodity_name for which you like to receive the Price, aluminum for example.
Filter results from this date (inclusive). Format YYYY-MM-DD.
Filter results up to this date (inclusive). Format YYYY-MM-DD.
Specify the frequency of the commodity prices. Available options are daily, weekly, monthly, quarterly, and yearly. Default is daily.
Response
Historical commodity prices retrieved.