History

Bulk daily history download

Every daily bar for the requested metals, back to the start of each series (October 1966 for gold and silver), as one CSV file with columns symbol, date, open, high, low, close, volume, currency, unit. currency and unit convert as on /v1/history (FX history starts 1999-01-04, so a converted file starts there). For an initial load or a nightly sync. Requires the Ultimate plan.

get/v1/bulk/history

Request

  • Base URL: https://api.metalcharts.org
  • URL: https://api.metalcharts.org/v1/bulk/history
  • Auth: none declared

Query parameters

symbolsstring

Comma-separated metal codes. Default: all of XAU, XAG, XPT, XPD, HG, ALI, NI, ZN, PB, JBP, CO, LC, UXA.

currencystring

ISO 4217 code to quote in. Default USD. One of: USD, EUR, GBP, JPY, CHF, AUD, CAD, CNY, INR, SGD, HKD, NZD, SEK, NOK, DKK, MXN, BRL, ZAR, TRY, PLN, CZK, HUF, RON, ISK, ILS, KRW, IDR, MYR, PHP, THB, AED, SAR.

unitstring

Mass unit to quote per: toz, g, kg, lb, mt, tola (toz is the troy ounce; oz is accepted as an alias). Default: the market's own unit.

Response

CSV file.

Changes

No recorded changes to this operation across all 1 revision of this API.