REST API to get real-time gold futures price in USD from the Chicago Mercantile Exchange (CME). One endpoint. Clean JSON. 5,000 free requests/month.
- Real-time gold futures price from the CME
- One endpoint, no parameters — just call
/price - Clean JSON response with price and timestamp
- 99.99% uptime SLA
- 5,000 requests/month on free tier
- Example Response:
{
"price_usd": 5030.7,
"updated_at": "2026-02-09T10:12:49+00:00"
}Create an account at omkar.cloud to get your API key, and use it in requests. 5000 requests are free every month.
curl -X GET "https://gold-price-api.omkar.cloud/price" \
-H "API-Key: YOUR_API_KEY"{
"price_usd": 5030.7,
"updated_at": "2026-02-09T10:12:49+00:00"
}pip install requestsimport requests
response = requests.get(
"https://gold-price-api.omkar.cloud/price",
headers={"API-Key": "YOUR_API_KEY"}
)
data = response.json()
print(f"Gold Price: ${data['price_usd']} USD")npm install axiosimport axios from "axios";
const response = await axios.get("https://gold-price-api.omkar.cloud/price", {
headers: { "API-Key": "YOUR_API_KEY" }
});
console.log(`Gold Price: $${response.data.price_usd} USD`);GET https://gold-price-api.omkar.cloud/price
| Header | Required | Description |
|---|---|---|
API-Key |
Yes | API key from omkar.cloud/api-key |
None. Just call the endpoint with your API key.
| Field | Type | Description |
|---|---|---|
price_usd |
number | Current gold futures price in USD (e.g., 5030.7) |
updated_at |
string | Last updated timestamp in ISO 8601 format |
import requests
response = requests.get(
"https://gold-price-api.omkar.cloud/price",
headers={"API-Key": "YOUR_API_KEY"}
)
data = response.json()
print(f"Gold: ${data['price_usd']} (updated {data['updated_at']})")import requests
ALERT_THRESHOLD = 5000
response = requests.get(
"https://gold-price-api.omkar.cloud/price",
headers={"API-Key": "YOUR_API_KEY"}
)
price = response.json()["price_usd"]
if price > ALERT_THRESHOLD:
print(f"Gold crossed ${ALERT_THRESHOLD}! Current: ${price}")import requests
import time
prices = []
for _ in range(10):
response = requests.get(
"https://gold-price-api.omkar.cloud/price",
headers={"API-Key": "YOUR_API_KEY"}
)
data = response.json()
prices.append(data["price_usd"])
print(f"${data['price_usd']} at {data['updated_at']}")
time.sleep(60)response = requests.get(
"https://gold-price-api.omkar.cloud/price",
headers={"API-Key": "YOUR_API_KEY"}
)
if response.status_code == 200:
data = response.json()
elif response.status_code == 401:
# Invalid API key
pass
elif response.status_code == 429:
# Rate limit exceeded
pass| Plan | Price | Requests/Month |
|---|---|---|
| Free | $0 | 5,000 |
| Starter | $25 | 100,000 |
| Grow | $75 | 1,000,000 |
| Scale | $150 | 10,000,000 |
Most gold price APIs charge $99/month for unlimited access. We don't. Start free, scale cheap.
Reach out anytime. We will solve your query within 1 working day.

