Developer API

Use ChartsGold data in your own apps.

Base URL endpoints return JSON and are designed for charts, bots, and monitoring scripts.

Core endpoints

  • GET /api/gold/price
  • GET /api/gold/history?range=1Y
  • GET /api/gold/metrics
  • GET /api/macro/compare?indicator=real_yields&range=1Y
  • GET /api/central-bank-gold-buying
  • GET /api/gold-vs-bitcoin?range=1Y
  • GET /api/gold-silver-ratio?range=10Y
  • GET /api/etf-flows?range=1Y
  • GET /api/supply
  • GET /api/correlation?window=180

Tools

  • GET /api/tools/inflation-calculator?amount=1000&year=1990
  • GET /api/tools/purchasing-power?range=10Y
  • GET /api/tools/volatility?range=1Y
  • GET /api/heatmap

Refresh data

POST /api/sync runs the ingestion pipeline (Stooq + FRED + seeded fundamentals).