MCP Server For Financial Data by EODHD Learn more

Commodities API: Historical Prices for Energy, Metals & Agriculture

Commodities API: Historical Prices for Energy, Metals & Agriculture

We've added a new Commodities API that provides historical price data for 23 commodity series sourced from FRED (Federal Reserve Economic Data).

What's included

  • Energy: WTI, Brent, Natural Gas, Gasoline, Diesel, Heating Oil, Jet Fuel, Propane, Coal, Uranium

  • Metals: Copper, Aluminum

  • Agricultural: Wheat, Corn, Sugar, Cotton, Coffee (Arabica & Robustas)

  • Indices: All Commodities Index, Energy Index, EU Natural Gas, Asia LNG

How it works

Single endpoint, simple interface:

  GET /api/commodities/historical/{CODE}?api_token=YOUR_KEY&interval=monthly

Choose from 5 intervals - daily, weekly, monthly, quarterly, or annual - with data going back decades for most series. The response includes metadata (commodity name, unit, total records) and an array of date/value pairs.

Try it now

The API is available across all subscription plans.

Full documentation: https://eodhd.com/financial-apis/commodities-api/

Feel free to contact us if you would like other commodities to be added to the API.

Send the request

Leave your email and our team will contact you ASAP.