GoldPrice

Harga emas, perak & crypto live + grafik, historis, ETF, saham tambang, berita, dan kalkulator. Sumber data publik goldprice.

10 endpoints2.7k calls10/10 passing
Get API key

Harga spot emas & perak live (per oz/gram/kg), any currency.

GET/v1/…goldprice/spot
passing · 0.0s1m cache

Try it

Checking your keys…

Parameters

currency

string · query · optional

Kode mata uang ISO (mis. USD, IDR, EUR). Default USD.

Example response

{"project":"finance:goldprice",  "data": {"asOf":"Jun 14th 2026, 01:41:25 am NY",    "gold": {"change":112.885,"pricePerKg":135383.74,"pricePerOz":4210.905,"pricePerGram":135.3837,"changePercent":2.7546,"previousClose":4098.02    },    "silver": {"change":3.8419,"pricePerKg":2179.23,"pricePerOz":67.7815,"pricePerGram":2.1792,"changePercent":6.0086,"previousClose":63.9396    },"currency":"USD","timestamp":1781415690581,"goldSilverRatio":62  },"timestamp":"2026-06-14T06:24:09Z"}

Errors

  • 401Missing or invalid x-api-key
  • 404Not found or private
  • 429Rate limit or monthly quota reached

Code

const data = await client.run(  "finance:goldprice",  "spot",  { currency: "USD" });