Gold API

Unlock Real-Time Financial Market Data for Gold, Silver, Platinum, Palladium in over 160 currencies

Need something else? -
1{
2    "status": "success",
3    "data": {
4        "base_currency": "USD",
5        "metals": "XAU,XAG,XPT,XPD",
6        "weight_unit": "toz",
7        "weight_name": "Troy Ounce (toz)",
8        "metal_prices": {
9            "XAU": {
10                "open": 2742.32,
11                "high": 2749.65,
12                "low": 2701.26,
13                "prev": 2743.73,
14                "change": -12.98,
15                "change_percentage": -0.47332,
16                "price": 2729.34,
17                "price_24k": 2729.34,
18                "price_22k": 2501.98598,
19                "price_21k": 2388.1725,
20     

Join the 3000+ developers and businesses accross 70+ countries that trust us to deliver


Interactive 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...