About Pricing Live Dashboard →

Gold Price API

Real-time commodity prices via simple REST endpoint · Free tier · No signup required

Quick Start

Get live gold, silver, platinum, and palladium spot prices with a single HTTP request. No API key needed for up to 50 requests per day.

GET https://aurumrates.com/api/v1/spot

cURL

curl https://aurumrates.com/api/v1/spot

Python

import requests resp = requests.get("https://aurumrates.com/api/v1/spot", headers={"X-API-Key": "YOUR_KEY"}) data = resp.json() print(f"Gold: ${data['data']['gold']['price']:.2f}")

JavaScript

const res = await fetch("https://aurumrates.com/api/v1/spot", { headers: { "X-API-Key": "YOUR_KEY" } }); const { data } = await res.json(); console.log(`Gold: $${data.gold.price.toFixed(2)}`);

Response

{ "status": "ok", "plan": "free", "data": { "gold": { "price": 3245.60, "currency": "USD", "change_pct": 1.23, "change_abs": 39.50, "prev_close": 3206.10, "source": "yahoo", "timestamp": 1713200000 }, "silver": { ... }, "platinum": { ... }, "palladium": { ... } }, "ts": 1713200060 }

Parameters

ParameterTypeDescription
metalsquery stringComma-separated list of commodities. Default: gold,silver,platinum,palladium
api_keyquery stringYour API key (alternative to header)
X-API-KeyheaderYour API key (preferred method)

Available Commodities

gold, silver, platinum, palladium, crude-wti, crude-brent, natgas-us, copper, aluminum, wheat, corn, soybeans, coffee, cocoa, sugar, cotton, nickel

Example: Multiple Commodities

curl "https://aurumrates.com/api/v1/spot?metals=gold,silver,crude-wti"

Authentication

Pass your API key via the X-API-Key header or the api_key query parameter. Without a key, you get 50 requests per day from your IP address.

Rate Limits

PlanRequests/DayPrice
Free50$0/month
Starter1,000$19/month
Pro10,000$49/month
Business100,000$149/month

Rate limit headers are included in every response: X-RateLimit-Limit and X-RateLimit-Remaining.

Error Codes

CodeMeaning
200Success
400Invalid parameters
401Invalid API key
429Rate limit exceeded
502Upstream price source unavailable

Ready to integrate?

View Plans & Get API Key →

Related

Frequently Asked Questions

Yes. The free tier includes 50 requests per day with no credit card or signup required. Simply call the endpoint. For higher volumes, paid plans start at $19 per month for 1,000 requests per day.
The API covers 17 commodities: gold, silver, platinum, palladium, crude oil (WTI and Brent), natural gas, copper, aluminum, wheat, corn, soybeans, coffee, cocoa, sugar, cotton, and nickel. All prices are sourced from COMEX and major futures exchanges.
Prices are updated every 60 seconds from COMEX futures data via Yahoo Finance, with metals-api.com as a secondary fallback source. Each response includes a timestamp so you know exactly when the price was last refreshed.