Updated

Update Script Maintenance Report

78.1K

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
42.6 kB22 days ago
monthly-processed
annual
2.38 kB22 days ago
annual
monthly
35.6 kB22 days ago
monthly
FilesSizeFormatCreatedUpdatedLicenseSource
380.6 kBcsv22 days agoWorldbank gold prices

Update Script Maintenance Report

Date: 2026-03-03

  • Investigated local updater setup failure caused by strict dependency pinning on this runtime.
  • Updated scripts/requirements.txt to use compatible ranges:
    • xlrd>=2.0.1
    • pandas>=2.2.3,<3.1
  • Updated scripts/process.py to gracefully skip PDF merge when upstream PDF endpoint serves non-PDF content.
  • Executed updater (python scripts/process.py) and refreshed monthly/annual data from XLS sources while safely skipping blocked PDF merge.
  • This improves cross-environment install reliability and prevents hard failures from upstream PDF source changes.