Developer API

Use MetalsCharts data in your own apps.

The new MetalsCharts app ships with clean JSON endpoints for both gold and silver so the domain structure and the data model stay aligned as more metals are added.

Gold

/api/gold

  • GET /api/gold/price
  • GET /api/gold/history?range=1Y
  • GET /api/gold/metrics
  • GET /api/gold/macro?indicator=real_yields&range=1Y
  • GET /api/gold/context
  • GET /api/gold/vs-bitcoin?range=1Y
  • GET /api/gold/ratio?range=10Y
  • GET /api/gold/etf-flows?range=1Y
  • GET /api/gold/supply
  • GET /api/gold/correlation?window=180
  • GET /api/gold/events
  • GET /api/gold/sentiment
  • GET /api/gold/tools/inflation-calculator?amount=1000&year=1990
  • GET /api/gold/tools/purchasing-power?range=10Y
  • GET /api/gold/tools/volatility?range=1Y
  • GET /api/gold/heatmap

Silver

/api/silver

  • GET /api/silver/price
  • GET /api/silver/history?range=1Y
  • GET /api/silver/metrics
  • GET /api/silver/macro?indicator=real_yields&range=1Y
  • GET /api/silver/context
  • GET /api/silver/vs-bitcoin?range=1Y
  • GET /api/silver/ratio?range=10Y
  • GET /api/silver/etf-flows?range=1Y
  • GET /api/silver/supply
  • GET /api/silver/correlation?window=180
  • GET /api/silver/events
  • GET /api/silver/sentiment
  • GET /api/silver/tools/inflation-calculator?amount=1000&year=1990
  • GET /api/silver/tools/purchasing-power?range=10Y
  • GET /api/silver/tools/volatility?range=1Y
  • GET /api/silver/heatmap