---
title: "Gold Price API | Free Live Gold Prices · goldprice.dev"
description: "goldprice.dev is a gold price API for developers and AI agents: live spot and futures prices for gold, silver, copper, platinum and palladium, in 31 currencies."
canonical: "https://goldprice.dev"
---

> Index of every goldprice.dev page and doc for AI readers: [llms.txt](https://goldprice.dev/llms.txt)

# Free Gold Price API

Live spot and futures prices for gold, silver, copper, platinum and palladium.

[Get a free API key](https://goldprice.dev/signup?next=/account) · [Try the API](https://api.goldprice.dev/v1/prices?symbol=XAU-USD-SPOT)

**Gold** XAU/USD

**$3,724.72** +2.63% 7D

Nov 27 Nov 30 Dec 2 Dec 4

## Try out our live price data

Gold, silver, copper, platinum and palladium spot, gold futures and Shanghai gold, with today’s move and the week’s trend.

**Gold XAU/USD** 3,724.72 per troy oz +1.41%

**Silver XAG/USD** 45.41 per troy oz −0.63%

**Copper HG/USD** 5.546 per lb −0.73%

- [Platinum XPT/USD](https://goldprice.dev/prices/xpt-usd): 1,353.74 per troy oz · −0.78%
- [Palladium XPD/USD](https://goldprice.dev/prices/xpd-usd): 966.69 per troy oz · −0.47%
- [Gold futures most traded month](https://goldprice.dev/prices/xau-usd-futures): 3,748.40 per troy oz · +1.35%
- [Shanghai gold XAU/CNY](https://goldprice.dev/prices/xau-cny-sge): 798.61 per gram · +1.38%

**Gold XAU/EUR** 3,444.09 per troy oz +1.41%

**Gold XAU/INR** 346,469 per troy oz +1.41%

## Explore gold, silver and platinum prices from dealers in 24 countries

Dealer sell prices with premiums over spot, refreshed from local dealers. The cards show gold.

- [Japan Tanaka · retail gram](https://goldprice.dev/physical/jp): ¥21,446 · +11.5% over spot
- [Hong Kong Luk Fook · bullion 9999 (37.429g)](https://goldprice.dev/physical/hk): HK$38,712 · +10.4% over spot
- [Malaysia BNM · coin (31.1035g)](https://goldprice.dev/physical/my): MYR 16,545 · +6.5% over spot
- [Vietnam Local dealer · bar (37.5g)](https://goldprice.dev/physical/vn): ₫136,500,000 · +15.9% over spot
- [United Arab Emirates Local dealer · retail 24k](https://goldprice.dev/physical/ae): AED 449.00 · +1.5% over spot

[All countries](https://goldprice.dev/physical)

## Explore gold price history

View prices since 1996, compare yearly data and download monthly CSV.

[Browse gold price history](https://goldprice.dev/gold-price-history)

[Gold price history chart with yearly prices and a monthly CSV download.](https://goldprice.dev/gold-price-history)

## Prices in one request

Each price arrives with the time it was computed and whether it is stale. Futures are one GET too: /v1/futures/XAU.

### cURL

```bash
curl "https://api.goldprice.dev/v1/prices?symbol=XAU-USD-SPOT" \
  -H "Authorization: Bearer $API_KEY"
```

### JavaScript

```javascript
const res = await fetch('https://api.goldprice.dev/v1/prices?symbol=XAU-USD-SPOT', {
  headers: { Authorization: `Bearer ${process.env.API_KEY}` },
})
console.log(await res.json())
```

### Python

```python
import os, requests

res = requests.get(
    'https://api.goldprice.dev/v1/prices?symbol=XAU-USD-SPOT',
    headers={'Authorization': f"Bearer {os.environ['API_KEY']}"},
)
print(res.json())
```

### Go

```go
package main

import (
  "fmt"
  "io"
  "net/http"
  "os"
)

func main() {
  req, _ := http.NewRequest("GET", "https://api.goldprice.dev/v1/prices?symbol=XAU-USD-SPOT", nil)
  req.Header.Set("Authorization", "Bearer "+os.Getenv("API_KEY"))
  res, err := http.DefaultClient.Do(req)
  if err != nil {
    panic(err)
  }
  defer res.Body.Close()
  body, _ := io.ReadAll(res.Body)
  fmt.Println(string(body))
}
```

Result

### Chart

**Gold** XAU / USD

**$3,724.72** +2.83% 7d

Price from `/v1/prices`, trend from `/v1/bars`

### JSON

```json
{
  "symbols": [
    {
      "symbol": "XAU",
      "quote_currency": "USD",
      "unit": "troy_ounce",
      "contract_type": "spot",
      "price": "3724.72",
      "is_stale": false,
      "computed_at": "2026-12-04T02:19:00Z"
    }
  ]
}
```

[Read the API reference](https://goldprice.dev/docs/api-reference) · [Read the futures reference](https://goldprice.dev/docs/futures) · [Gold price per gram in Python](https://goldprice.dev/blog/gold-price-per-gram-python)

## Gold prices in 31 currencies

View spot gold prices per troy ounce and per gram.

[See all currencies](https://goldprice.dev/gold)

- [US Dollar](https://goldprice.dev/prices/xau-usd): XAU/USD · $3,724.72 · per troy oz · $119.75 per gram
- [Euro](https://goldprice.dev/prices/xau-eur): XAU/EUR · €3,444.09 · per troy oz · €110.73 per gram
- [Indian Rupee](https://goldprice.dev/gold/inr): XAU/INR · ₹346,469 · per troy oz · ₹11,139 per gram
- [Chinese Yuan](https://goldprice.dev/gold/cny): XAU/CNY · CN¥24,820 · per troy oz · CN¥797.97 per gram
- [Japanese Yen](https://goldprice.dev/gold/jpy): XAU/JPY · ¥599,832 · per troy oz · ¥19,285 per gram
- [Indonesian Rupiah](https://goldprice.dev/gold/idr): XAU/IDR · IDR 68,590,068 · per troy oz · IDR 2,205,222 per gram
- [United Arab Emirates Dirham](https://goldprice.dev/gold/aed): XAU/AED · AED 13,679 · per troy oz · AED 439.79 per gram
- [Vietnamese Dong](https://goldprice.dev/gold/vnd): XAU/VND · ₫97,885,046 · per troy oz · ₫3,147,077 per gram

## Make your first request

1. ### Start on Free
   5,000 calls a month at 10 a minute, with no credit card.
2. ### Request a price
   Send GET /v1/prices?symbol=XAU-USD-SPOT with your key in the Authorization header.
3. ### Read the response
   Check price, is_stale and computed_at in the response.

## Frequently asked questions

### Is the gold price API free?

Yes. Keyless gold, platinum and palladium spot is 15 minutes late, limited to 10 requests/minute and 100/hour per IP. Free includes 5,000 calls/month at 10 requests/minute, spot and futures for gold, silver, copper, platinum and palladium, Shanghai gold, 30 days of daily history, and MCP access (dealer prices need Basic or above). No credit card required. Free permits commercial use.

### Good API for commodity price data?

Yes. Every plan includes spot and futures for gold, silver, copper, platinum and palladium (XAU, XAG, HG, XPT, XPD), Shanghai gold in yuan per gram, and gold spot prices in 31 currencies and conversions in 35. Every source is attributed. Basic at $19/mo adds live prices and dealer quotes.

### Which sources feed the API?

Spot prices (XAU + XAG + HG + XPT + XPD) and non-USD gold via USD spot × live exchangerate.dev FX. With ?include=sources, sources[] shows each contributing source.

### Commercial use?

Free and every paid plan permit commercial use. The older Physical plan is personal and internal use only. The intact official gold price widget is free with visible attribution. Redistribution or reselling the data itself requires a separate deal: hello@goldprice.dev.

## Start with a free API key

5,000 calls a month on the free plan. No credit card. Free includes a credit link.

[Get a free key](https://goldprice.dev/signup?next=/account)

Source: https://goldprice.dev/
