goldprice.dev vs CommodityPriceAPI
Get gold spot prices, source details, daily history, and physical dealer quotes from goldprice.dev. Pro adds silver and copper. CommodityPriceAPI covers more commodities, including platinum and palladium, with separate plans for internal use and commercial display. The tables below show how the two services compare at three request volumes.
At a glance
| Feature | goldprice.dev | CommodityPriceAPI |
|---|---|---|
| Free tier | 1,000 requests/month | 7-day trial; no permanent free plan |
| Cheapest paid plan | Physical · $10/month | Lite · $15.99/month |
| Update speed | Source-dependent; timestamps and staleness flags | 10 min Lite; 1s gold/silver from Plus |
| History | 30 days free; daily gold to 1996 on Pro | Daily from 1990 for most commodities |
| Coverage | Gold; silver and copper on Pro | 240+ symbols; 150+ quote currencies |
| Interfaces | REST; MCP; WebSocket on Pro | REST; MCP |
| SDKs | Not published | Not published |
| Commercial use on free tier | ✗ Non-commercial only | ✗ No permanent free tier |
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 | CommodityPriceAPI |
|---|---|---|
| 1,000 | Free · $0/month | Lite · $15.99/month |
| 10,000 | Physical · $10/month | Plus · $34.99/month |
| 100,000 | Pro · $30/month | Enterprise · Contact sales |
Lite and Plus cover 2,000 and 10,000 calls for internal use; commercial display starts at Premium ($149.99/month), with Enterprise above 50,000 calls.
Switch in a few minutes
Replace the XAU lookup with an explicit USD gold spot symbol in your server request.
CommodityPriceAPI
# Change: URL and auth
curl -G \
"https://api.commoditypriceapi.com/v3/rates/latest" \
--data-urlencode "symbols=XAU" \
-H "x-api-key: YOUR_API_KEY"// Change: URL and auth
const url = new URL(
"https://api.commoditypriceapi.com/v3/rates/latest"
);
url.search = new URLSearchParams({
"symbols": "XAU",
}).toString();
const response = await fetch(url, {
method: "GET",
headers: {
"x-api-key": "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.commoditypriceapi.com/v3/rates/latest",
params={
"symbols": "XAU",
},
headers={
"x-api-key": "YOUR_API_KEY",
},
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
1,000 gold requests each month on Free let you test a recurring workload. No card is required. Commercial use starts on Pro at $30/month. 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 Pro. Free covers 30 days, and Physical 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. Start with gold; Pro adds silver and copper. The same account supports application requests and agent tools, with the access limits of its selected tier.
When they are the better pick
CommodityPriceAPI is the better pick for platinum, palladium, or a wider commodity and quote-currency catalogue. Plus and Premium offer one-second XAU and XAG updates. Premium and Enterprise support commercial display and database storage, while Lite and Plus cover internal use with in-memory caching. Those plans suit applications combining several commodities in one product.
Questions
Can I use goldprice.dev commercially?
Yes. Pro includes commercial use at $30/month, subject to terms and source rights. Free and Physical are non-commercial. Free includes 1,000 monthly gold requests, MCP, and 30 days of history, with no credit card required.
Which plan allows commercial display?
CommodityPriceAPI requires Premium or Enterprise to show data on a business website, to your users, or in a commercial product. Lite and Plus are internal-use plans. Redistribution or resale needs an Enterprise distribution licence, and supplied attribution notices must stay intact.
How fast are CommodityPriceAPI updates?
Lite has ten-minute updates. Plus and Premium have sixty-second updates and one-second updates for XAU and XAG. Plus costs $34.99 per month for 10,000 calls.
Does goldprice.dev replace its full catalogue?
No. goldprice.dev covers three metals and does not offer platinum or palladium. It fits gold-focused work needing source details, daily gold history, or dealer prices. CommodityPriceAPI is the stronger choice when the wider commodity catalogue is a requirement.
Related comparisons
Get a free API keySources and review date
Reviewed .