---
title: "Commodities Historical Prices"
method: GET
path: "/commoditieshistory"
tags: ["Commodities"]
---

# Commodities Historical Prices

`GET /commoditieshistory`

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

- `access_key` string, required
- `commodity_name` string, required
- `date_from` string, date
- `date_to` string, date
- `frequency` 'daily' | 'weekly' | 'monthly' | 'quarterly' | 'yearly'

## Response `200`

Historical commodity prices retrieved.

- CommodityHistoricalResponse
  - `result` CommodityHistoricalResponseResult
    - `basics` CommodityHistoricalResponseResultBasics
      - `frequency` string — Frequency of the historical data (e.g., 1day, 1month)
    - `data` CommodityHistoricalResponseResultData[]
      - `commodity_name` string — Name of the commodity.
      - `commodity_unit` string — Unit of the commodity.
      - `commodity_prices` CommodityHistoricalResponseResultCommodityPrices[]
        - `commodity_price` string — Price of the commodity for the date.
        - `date` string — Date for the price (YYYY-MM-DD or YYYY-MM for monthly).

---

[API](https://skmtc.net/beavermoney/apis/marketstack-api-v2.md) · [All operations](https://skmtc.net/beavermoney/apis/marketstack-api-v2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/beavermoney/marketstack-api-v2/revisions/c3305aea713e/schema)
