Updated

Gold Prices

51.7K

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 Previews

monthly-processed

Loading data...

Schema

nametypeformatdescription
Datedateany
PricenumberGold price in USD per troy ounce

annual

Loading data...

Schema

nametypeformat
Dateyearmonthdefault
Pricenumberdefault

monthly

Loading data...

Schema

nametypeformat
Dateyearmonthdefault
Pricenumberdefault

Data Files

FileDescriptionSizeLast modifiedDownload
monthly-processed
44.9 kB4 days ago
monthly-processed
annual
2.38 kB18 days ago
annual
monthly
35.6 kB18 days ago
monthly
FilesSizeFormatCreatedUpdatedLicenseSource
382.9 kBcsv4 days agoWorldbank gold prices

badge

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.

Data

Preparation

You will need Python 3.6 or greater and dataflows library 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,
    • This one is presented by Timothy Green Historical Gold Price Table the description is available historical-data-1883 and the data used up until 1960 year.
    • The second dataset was obtained from the Worldbank-Commodity-Market, which is regularly updated and provides comprehensive, up-to-date data on a wide range of commodity prices. This dataset includes historical data dating back to 1960, extending up to the present day.

Automation

This dataset is automatically updates every month on the datahub.io site: http://datahub.io/core/gold-prices

License

The maintainers have licensed under the Public Domain Dedication and License. The source at the Bundesbank indicates no obvious restrictions on the data and the amount means that database rights are doubtful.