Loading page content…
Loading page content…
A clean JSON API for live gold, silver, Brent, and WTI prices from OilPriceAPI's free tier. Cached delivery, predictable schemas, ready to integrate.
{
"data": [
{
"symbol": "XAU",
"name": "Gold",
"source_symbol": "Metal.XAU/USD",
"price": "4059.884",
"confidence": "0.518",
"currency": "USD",
"status": "OPEN",
"status_reason": "live",
"is_live": true,
"last_updated": "2026-07-13T03:39:28Z",
"age_seconds": 2
}
],
"source": "Pyth Network",
"server_time": "2026-07-13T03:39:30Z"
}Quickstart
Choose your language and request all available commodity symbols in one call.
GET https://api.goldoilprices.com/api/v1/feed
GET https://api.goldoilprices.com/api/v1/history/XAU?range=1D
const response = await fetch(
"https://api.goldoilprices.com/api/v1/feed"
);
const { data, server_time } = await response.json();
console.log(data[0].symbol, data[0].price, server_time);Fast delivery
Server-side caching keeps API responses fast and rate-limit friendly.
4 commodities
Gold, silver, Brent, and WTI use one consistent response shape.
REST + JSON
Works with any modern language or platform.
Free tier
Built on OilPriceAPI free tier, suitable for learning and prototypes.
Live commodity price snapshots
Market status indicators
24-hour price change tracking
Cached for performance and rate limits