Price at your usage
The lowest published plans for each monthly gold request volume; commercial access is covered in the FAQ.
| Requests a month | goldprice.dev | Commodities-API |
|---|---|---|
| 1,000 | Free · $0/month | Pro · $49.99/month |
| 10,000 | Basic · $19/month | Pro Plus · $99.99/month |
| 100,000 | Basic · $19/month | Elite · $990/month |
The listed tiers include 1,000, 10,000, and 100,000 monthly calls respectively; lower tiers plus overages cost more at these volumes.
Switch in a few minutes
Commodities-API’s USD gold price is 1/XAU; goldprice.dev returns USD gold spot directly in your server request.
Commodities-API
# Change: URL and auth
curl -G \
"https://commodities-api.com/api/latest" \
--data-urlencode "access_key=YOUR_API_KEY" \
--data-urlencode "base=USD" \
--data-urlencode "symbols=XAU"// Change: URL and auth
const url = new URL(
"https://commodities-api.com/api/latest"
);
url.search = new URLSearchParams({
"access_key": "YOUR_API_KEY",
"base": "USD",
"symbols": "XAU",
}).toString();
const response = await fetch(url, {
method: "GET",
});
if (!response.ok) {
throw new Error(String(response.status));
}
console.log(await response.json());import requests
# Change: URL and auth
response = requests.get(
"https://commodities-api.com/api/latest",
params={
"access_key": "YOUR_API_KEY",
"base": "USD",
"symbols": "XAU",
},
timeout=10,
)
response.raise_for_status()
print(response.json())goldprice.dev
# Change: URL and auth
curl -G \
"https://api.goldprice.dev/v1/prices" \
--data-urlencode "symbol=XAU-USD-SPOT" \
-H "Authorization: Bearer YOUR_API_KEY"// Change: URL and auth
const url = new URL(
"https://api.goldprice.dev/v1/prices"
);
url.search = new URLSearchParams({
"symbol": "XAU-USD-SPOT",
}).toString();
const response = await fetch(url, {
method: "GET",
headers: {
"Authorization": "Bearer YOUR_API_KEY",
},
});
if (!response.ok) {
throw new Error(String(response.status));
}
console.log(await response.json());import requests
# Change: URL and auth
response = requests.get(
"https://api.goldprice.dev/v1/prices",
params={
"symbol": "XAU-USD-SPOT",
},
headers={
"Authorization": "Bearer YOUR_API_KEY",
},
timeout=10,
)
response.raise_for_status()
print(response.json())Why teams switch
An ongoing place to start
5,000 requests each month on Free let you test a recurring workload. No card is required. Every plan allows commercial use; no plan needs a credit link. The usage table shows the lowest tier for each request volume, giving a prototype a clear path to a larger workload.
History for gold applications
Daily gold bars reach 1996 on Plus and Pro. Free covers 30 days; Basic covers one year. Each returned observation includes timestamps and staleness flags, so your application can show the age of a price alongside its value. The long daily series supports a different timescale from intraday bars.
One service for code and agents
MCP is included on every plan alongside REST. Gold, silver and copper are on every plan. The same account supports application requests and agent tools, with the access limits of its selected tier.
When they are the better pick
Commodities-API is the better pick for applications combining a broad commodity catalogue with currency rates. Its metals include platinum and palladium, which goldprice.dev does not cover. A single service can supply those additional instruments alongside gold, and its MCP interface makes the same wider catalogue available to agent workflows.
Related comparisons
Get a free API keySources and review date
Reviewed .