Free Gold Price API
Gold price API in 166 currencies with a free tier, for apps, dashboards, and trading tools
Gold XAU/USD
$4,072.10 +5.05% 7D
Oct 31Nov 2Nov 5Nov 7
Gold XAU/USD
$4,072.10 −1.51% 30D
Oct 8Oct 18Oct 28Nov 7
Gold XAU/USD
$4,072.10 −3.14% 1Y
Dec 3Mar 26Jul 17Nov 7
Gold XAU/EUR
€3,626.12 +4.45% 7D
Oct 31Nov 2Nov 5Nov 7
Gold XAU/EUR
€3,626.12 −1.78% 30D
Oct 8Oct 18Oct 28Nov 7
Gold XAU/EUR
€3,626.12 +0.37% 1Y
Dec 3Mar 27Jul 17Nov 7
Gold XAU/GBP
£3,025.22 +4.46% 7D
Oct 31Nov 2Nov 5Nov 7
Gold XAU/GBP
£3,025.22 −3.29% 30D
Oct 8Oct 18Oct 28Nov 7
Gold XAU/GBP
£3,025.22 −4.82% 1Y
Dec 3Mar 27Jul 17Nov 7
Gold XAU/AED
AED 14,955 +5.05% 7D
Oct 31Nov 2Nov 5Nov 7
Gold XAU/AED
AED 14,955 −1.51% 30D
Oct 8Oct 18Oct 28Nov 7
Gold XAU/AED
AED 14,955 −3.14% 1Y
Dec 3Mar 27Jul 17Nov 7
Gold XAU/SAR
SAR 15,270 +5.05% 7D
Oct 31Nov 2Nov 5Nov 7
Gold XAU/SAR
SAR 15,270 −1.51% 30D
Oct 8Oct 18Oct 28Nov 7
Gold XAU/SAR
SAR 15,270 −3.14% 1Y
Dec 3Mar 27Jul 17Nov 7
Try out our live price data
Gold, silver and copper spot, with today’s move and the week’s trend.
Explore gold price history
View prices since 2025, compare yearly data and download monthly CSV.
Browse gold price history
Prices in one request
Each price arrives with the time it was computed.
curl "https://goldapi.dev/api/v1/price/XAU/USD" \ -H "X-API-Key: $API_KEY"
const res = await fetch('https://goldapi.dev/api/v1/price/XAU/USD', { headers: { 'X-API-Key': process.env.API_KEY },})console.log(await res.json())
import os, requestsres = requests.get( 'https://goldapi.dev/api/v1/price/XAU/USD', headers={'X-API-Key': os.environ['API_KEY']},)print(res.json())
$ch = curl_init('https://goldapi.dev/api/v1/price/XAU/USD');curl_setopt_array($ch, [ CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => ['X-API-Key: ' . getenv('API_KEY')],]);echo curl_exec($ch);
$4,072.10 +5.05% 7D
Price from /v1/price, trend from /v1/history
{
"symbol": "XAU",
"name": "Gold",
"currency": "USD",
"unit": "oz",
"price": 4072.1,
"gram": 130.921,
"karat": 24,
"updatedAt": "2026-11-07T01:30:20+02:00"
}
-
US Dollar XAU/USD $4,072.10 per troy oz $130.92 per gram
-
Euro XAU/EUR €3,626.12 per troy oz €116.58 per gram
-
Indian Rupee XAU/INR ₹384,964 per troy oz ₹12,377 per gram
-
Chinese Yuan XAU/CNY CN¥27,212 per troy oz CN¥874.88 per gram
-
Japanese Yen XAU/JPY ¥642,722 per troy oz ¥20,664 per gram
-
Indonesian Rupiah XAU/IDR IDR 73,623,547 per troy oz IDR 2,367,050 per gram
-
UAE Dirham XAU/AED AED 14,955 per troy oz AED 480.81 per gram
-
Vietnamese Dong XAU/VND ₫104,622,204 per troy oz ₫3,363,679 per gram
Make your first request
-
Start on Free
100 requests an hour, with no credit card.
-
Request a price
Send GET /api/v1/price/XAU/USD with your key in the X-API-Key header.
-
Read the response
Check price, gram and updatedAt in the response.
Frequently asked questions
Is the gold price API free?
Yes. Free includes 100 requests an hour, live spot prices for gold, silver, copper, platinum and palladium, and exchange rates. No credit card required. Free permits commercial use with a visible link.
Good API for commodity price data?
Yes. Every plan includes live spot prices for gold, silver, copper, platinum and palladium, with conversions into other currencies. Basic at $8/mo adds daily history.
Which sources feed the API?
Spot prices come from our market data source. Prices in other currencies are USD spot × live exchange rates, and gold in EGP also follows Egypt's local market. Each response includes the time it was computed.
Commercial use?
Every plan permits commercial use. Free requires a visible link to goldapi.dev near the prices. Redistribution or reselling the data itself requires a separate deal: [email protected].
Start with a free API key
100 requests an hour on the free plan. No credit card. Free includes a credit link.