
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.