Commodity prices

7,215
0
Updated:
Files:2
Size:1 MB
Formats:csv
License:ODC-PDDL-1.0

Time series of major commodity prices and indices including iron, cooper, wheat, gold, oil. Data comes from the International Monetary Fund (IMF). All rights are reserved Dataset contains Monthly ...

API Access

Access dataset files directly from scripts, code, or AI agents.

Browse dataset files
Dataset Files

Each file has a stable URL (r-link) that you can use directly in scripts, apps, or AI agents. These URLs are permanent and safe to hardcode.

/core/commodity-prices/
https://datahub.io/core/commodity-prices/_r/-/Makefile
https://datahub.io/core/commodity-prices/_r/-/README.md
https://datahub.io/core/commodity-prices/_r/-/UPDATE_SCRIPT_MAINTENANCE_REPORT.md
https://datahub.io/core/commodity-prices/_r/-/archive/external-data-v2.xls
https://datahub.io/core/commodity-prices/_r/-/archive/external-data.xls
https://datahub.io/core/commodity-prices/_r/-/data/commodity-prices.csv
https://datahub.io/core/commodity-prices/_r/-/data/commodity-prices_v2.csv
https://datahub.io/core/commodity-prices/_r/-/datapackage.json
https://datahub.io/core/commodity-prices/_r/-/requirements.txt
Key Files

Start with these files — they give you everything you need to understand and access the dataset.

datapackage.jsonmetadata & schema
https://datahub.io/core/commodity-prices/_r/-/datapackage.json
README.mddocumentation
https://datahub.io/core/commodity-prices/_r/-/README.md
Typical Usage
  1. 1. Fetch datapackage.json to inspect schema and resources
  2. 2. Download data resources listed in datapackage.json
  3. 3. Read README.md for full context

Data Views

Data Files

Explore with AI

IMF Commodity Prices Dataset (2005 Index Base)

Download

Download CSV

About

Monthly prices of most commodities (such as fuel, non-fuel, food, industrial inputs e.t.c) from 1980 to 2017.Indices are referenced to 2005=100.
Last updated
4 March 2026
Total rows
...
Format
CSV
File size
399 kB
Source

IMF Commodity Prices Dataset (2016 Index Base)

Download

Download CSV

About

Updated monthly commodity prices and indices, with 2016 as the base year (2016=100).
Last updated
9 February 2026
Total rows
...
Format
CSV
File size
601 kB
Source

About this dataset

Update Script Maintenance Report

Date: 2026-03-03

  • Ran the update pipeline (make all) and diagnosed parser/runtime failure.
  • Root cause: xlrd==1.2.0 path was incompatible in this environment for workbook parsing.
  • Updated parser in scripts/process.py to use pandas.read_excel with robust date parsing.
  • Added guarded processing so failures are surfaced per source file.
  • Updated dependencies in requirements.txt to modern Excel stack.
  • Added permissions: contents: write in .github/workflows/update.yml for reliable scheduled pushes.