Analytics

Exchange rates

Exchange rates for the 32 currencies the API quotes metals in: the US dollar, the ECB reference set and the pegged UAE dirham and Saudi riyal. rates holds units of each currency per one unit of base (USD by default). With date, the rates in force on that day; on weekends and holidays, the last publication before it. timestamp is in milliseconds.

get/v1/currency/

Request

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

Query parameters

basestring

Currency the rates are quoted against. Default USD.

datestring

YYYY-MM-DD: the ECB reference rates in force that day (history from 1999-01-04). Counts as history for plan limits.

Response

Exchange rates keyed by ISO 4217 code.

successboolean required
basestring required
datestring date
ratesobject required

Rate per unit of base, keyed by ISO 4217 code.

timestampnumber

When these rates were captured, as Unix time in milliseconds (not seconds).

sourcestring

Changes

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