Gold Price (XAU/USD)

$4,141.00

Call it yourself

Bearer token + one GET. MCP-native agents on Free already.

curl -H "Authorization: Bearer ga_live_..." \
  "https://api.goldprice.dev/v1/prices?symbol=XAU-USD-SPOT"
const res = await fetch(
  "https://api.goldprice.dev/v1/prices?symbol=XAU-USD-SPOT",
  { headers: { Authorization: `Bearer ${process.env.GOLDPRICE_API_KEY}` } }
);
const { symbols } = await res.json();
console.log(symbols[0].price, symbols[0].sources);

FAQ

  • Where does this price come from?
    We get XAU/USD spot from licensed primary market data; Free, anonymous calls and this website receive prices 15 minutes late. Every source that contributes appears in the API response with its source identifier and timestamps. No blended median, no hidden weights.
  • How fresh is the price?
    Hero pulse refreshes every 30 seconds. The underlying aggregator writes a new row each minute when sources tick. Per-source freshness is rendered to the right of the price.
  • How far back does the chart go?
    Up to 5 years of daily closes. Recent days come from our live aggregator; deeper history layers in from our daily-close reference.
  • Why does the page quote both troy ounce and gram?
    Western trading desks, ETFs, and futures contracts settle in troy ounces because the daily fixing and the main futures markets both quote per troy ounce. Most retail markets across Asia, the Middle East, and Indonesia price gold per gram instead, because that is how jewelry and bullion are sold over the counter. goldprice.dev returns both quotes from the same underlying source data through one API, so the same spot price is exposed in whichever unit the caller wants.
  • Can I get this via API?
    GET /v1/prices?symbol=XAU-USD-SPOT for spot; /v1/bars for daily history: Free 30 days, Basic 1 year, Plus/Pro full. MCP get_spot_price is on every plan.

Related