Gold API Documentation

Use our interactive documentation and code generation to get going in seconds


GET/v1/latest

This API endpoint allows you to retrieve the latest rates for various metals based on a specified base currency.

Header(s)

x-api-key required
Value should be your API Key- get one here

Query Parameter(s)

metalsoptional
Comma seperated list of XAU,XAG,XPT,XPD
base_currencyoptional
Single currency code (e.g USD, EUR, GBP, KWD, ...)
currenciesoptional
Comma seperated list currency code (e.g USD, EUR, GBP, KWD, ...)
weight_unitoptional
Single weight unit (e.g toz, gram, kg, mt)

Example Request

  • Axios
  • Native
  • Request
  • Unirest
Loading...

GET/v1/supported-currencies

This endpoint makes an HTTP GET request to retrieve a list of supported currency symbols

Header(s)

x-api-key required
Value should be your API Key- get one here

Query Parameter(s)

searchoptional
Search avaliable currencies that are supported using codes or names

Example Request

  • Axios
  • Native
  • Request
  • Unirest
Loading...

GET/v1/supported-metals

This endpoint makes an HTTP GET request to retrieve a list of supported metal symbols

Header(s)

x-api-key required
Value should be your API Key- get one here

Query Parameter(s)

searchoptional
Search avaliable metals that are supported using codes or names

Example Request

  • Axios
  • Native
  • Request
  • Unirest
Loading...