Gold Prices

93,536
0
Updated:
Files:3
Size:80.6 kB
Formats:csv
License:ODC-PDDL-1.0

Monthly gold prices in USD since 1833 (sourced from the World Gold Council). The data is derived from historical records compiled by Timothy Green and supplemented by data provided by the World Bank. ...

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/gold-prices/
https://datahub.io/core/gold-prices/_r/-/.gitignore
https://datahub.io/core/gold-prices/_r/-/FRESHNESS_CHECK.md
https://datahub.io/core/gold-prices/_r/-/README.md
https://datahub.io/core/gold-prices/_r/-/UPDATE_SCRIPT_MAINTENANCE_REPORT.md
https://datahub.io/core/gold-prices/_r/-/cache/annual.xls
https://datahub.io/core/gold-prices/_r/-/cache/historical_gold_prices.pdf
https://datahub.io/core/gold-prices/_r/-/cache/monthly.xls
https://datahub.io/core/gold-prices/_r/-/data/annual.csv
https://datahub.io/core/gold-prices/_r/-/data/monthly-processed.csv
https://datahub.io/core/gold-prices/_r/-/data/monthly.csv
https://datahub.io/core/gold-prices/_r/-/datapackage.json
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/gold-prices/_r/-/datapackage.json
README.mddocumentation
https://datahub.io/core/gold-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

monthly-processed

Download

Download CSV

About

Monthly gold prices in USD per troy ounce from 1833 to present, with dates formatted as ISO 8601 full dates (YYYY-MM-DD). Rows from 1833 to 1959 carry the annual average price repeated for every month of the year, as no true monthly readings exist for that period.
Last updated
8 April 2026
Total rows
...
Format
CSV
File size
42.6 kB

annual

Download

Download CSV

About

Annual average gold prices in USD per troy ounce from 1833 to present.
Last updated
8 April 2026
Total rows
...
Format
CSV
File size
2.38 kB

monthly

Download

Download CSV

About

Monthly gold prices in USD per troy ounce from 1833 to present, with dates in YYYY-MM format. Rows from 1833 to 1959 carry the annual average price repeated for every month of the year, as no true monthly readings exist for that period.
Last updated
8 April 2026
Total rows
...
Format
CSV
File size
35.6 kB

About this dataset

badge

Monthly gold prices in USD since 1833. Historical data (1833–1959) is sourced from records compiled by Timothy Green; data from 1960 to the present is sourced from the World Bank Commodity Markets ("Pink Sheet").

Data

Preparation

You will need Python 3.11 or greater to run the script.

To update the data run the process script locally:

# Install requirements
pip install -r scripts/requirements.txt
python scripts/process.py

Notes from the Sources

  • Currently data has been sourced using multiple datasets:
    • Historical data (1833–1959): Timothy Green's Historical Gold Price Table, originally hosted at the National Mining Association. Note: as of 2026 this PDF requires a login to download; the update script handles this gracefully by skipping the PDF merge if the file is unavailable. Because only annual figures exist for this period, the monthly and monthly-processed files repeat the annual average price for every month of the year (i.e. all 12 months in 1890 carry the same value).
    • Modern data (1960–present): World Bank Commodity Markets, which is regularly updated and provides comprehensive, up-to-date data on a wide range of commodity prices.

Automation

This dataset is automatically updated daily via GitHub Actions. View the dataset on DataHub: https://datahub.io/core/gold-prices

License

The maintainers have licensed this dataset under the Public Domain Dedication and License. The World Bank data is freely available with no obvious restrictions; the Timothy Green historical records similarly carry no known restrictions.