Commodity Price API
Commodity Price API
TLDR
- Get real-time commodity futures prices (gold, silver, crude oil, coffee, and 25+ more) from CME and NYMEX, all in USD.
- 5,000 free queries per month.
Here's a sample response:
{
"commodity_name": "Silver Futures",
"exchange": "CME",
"price_usd": 79.665,
"updated_at": "2026-02-09T11:45:04+00:00"
}What is this?
The Commodity Price API gives you real-time futures prices for 30+ commodities—gold, silver, crude oil, natural gas, coffee, wheat, and more.
One GET request. Pass the commodity name, get back the current price in USD, the exchange it trades on, and a timestamp. Clean JSON.
Perfect for trading dashboards, portfolio trackers, price alert systems, or any app that needs live commodity data.
Why use it?
1. Generous Free Plan
5,000 queries per month. Free. No credit card required.
That's 5,000 price lookups every month at no cost. Build and test your commodity tracking app without spending a dollar.
2. Affordable Pricing
When you need more, our paid plans cost less than alternatives:
- $25 gets you 100K queries/month
- $75 gets you 1M queries/month
- $150 gets you 10M queries/month
Competitors charge $50-$100/month for similar data with fewer commodities. You get more coverage at a lower price.
3. 99.99% Uptime SLA
Commodity markets move fast. Stale data costs money.
We maintain a 99.99% uptime SLA so your app always has fresh prices.
How to use it?
Simple REST API. Here's how it works:
-
Sign up on Omkar Cloud by visiting this link.

-
Visit the API Key Page.
-
Copy your API key.

-
Make a request with it:
cURL:
curl -X GET "https://commodity-price-api.omkar.cloud/commodity-price?name=silver" \
-H "API-Key: YOUR_API_KEY"Python:
import requests
commodity = "silver"
api_key = "YOUR_API_KEY"
response = requests.get(
"https://commodity-price-api.omkar.cloud/commodity-price",
params={"name": commodity},
headers={"API-Key": api_key}
)
print(response.json())JavaScript (Node.js axios):
import axios from "axios";
const commodity = "silver";
const apiKey = "YOUR_API_KEY";
const response = await axios.get("https://commodity-price-api.omkar.cloud/commodity-price", {
params: { name: commodity },
headers: { "API-Key": apiKey }
});
console.log(response.data);- Get the price data and use it.
That's it. Commodity name to live futures price in milliseconds.
API Reference
Endpoint
GET https://commodity-price-api.omkar.cloud/commodity-price
Parameters
- name (required, string):
The commodity name. Supported values:gold,silver,platinum,palladium,copper,aluminum,crude_oil,brent_crude_oil,natural_gas,gasoline_rbob,heating_oil,wheat,corn,soybean,soybean_oil,soybean_meal,oat,rough_rice,lumber,coffee,cocoa,sugar,cotton,orange_juice,live_cattle,feeder_cattle,lean_hogs,micro_gold,micro_silver,class_3_milk.
Response
Returns the current futures price with exchange and timestamp:
{
"commodity_name": "Silver Futures",
"exchange": "CME",
"price_usd": 79.665,
"updated_at": "2026-02-09T11:45:04+00:00"
}FAQs
❓ What data does the API return?
You get:
- Commodity name — Full name of the futures contract (e.g., "Silver Futures")
- Exchange — The exchange it trades on (e.g., "CME", "NYMEX")
- Price (USD) — Current futures price in US dollars
- Updated at — ISO 8601 timestamp of the last price update
All in structured JSON. Ready to drop into your app.
❓ How accurate is the data?
Prices come directly from major commodity exchanges like CME and NYMEX—the same sources used by institutional traders and financial platforms.
❓ Which commodities are supported?
30 commodities across four categories:
Precious Metals: Gold, Silver, Platinum, Palladium, Micro Gold, Micro Silver
Energy: Crude Oil (WTI), Brent Crude Oil, Natural Gas, Gasoline (RBOB), Heating Oil
Agriculture: Wheat, Corn, Soybean, Soybean Oil, Soybean Meal, Oat, Rough Rice, Lumber, Coffee, Cocoa, Sugar, Cotton, Orange Juice
Livestock: Live Cattle, Feeder Cattle, Lean Hogs, Class 3 Milk
Metals: Copper, Aluminum
❓ What exchanges are covered?
Prices are sourced from major US commodity exchanges:
- CME (Chicago Mercantile Exchange) — Precious metals, livestock, dairy
- NYMEX (New York Mercantile Exchange) — Energy products, metals
- CBOT (Chicago Board of Trade) — Agricultural commodities
These are the largest and most liquid commodity futures exchanges in the world.
❓ How often are prices updated?
Prices update in real time during market hours.
Each response includes an updated_at timestamp so you always know exactly when the price was last refreshed.
❓ What's the difference between crude_oil and brent_crude_oil?
crude_oil is WTI (West Texas Intermediate), the US benchmark for oil prices. Traded on NYMEX.
brent_crude_oil is the international benchmark, used to price about 75% of the world's traded crude. Traded on ICE.
If you're building for US markets, use WTI. For global pricing, use Brent.
❓ Does this API support historical data or time-series?
Yes, we provide this on demand. Contact us here to request access.
We approve requests within 1 working day.
❓ Tell me about Omkar Cloud.
We're an API services company with 20+ tools for OCR, document processing, and developer APIs. Some things we are proud of:
- We built Botasaurus, an open-source Python framework with 3.7K+ GitHub stars
- Sponsored by 1000+ developers on GitHub
❓ How much does it cost?
- Free — $0 — 5,000 queries/month
- Starter — $25 — 100,000 queries/month
- Grow — $75 — 1,000,000 queries/month
- Scale — $150 — 10,000,000 queries/month
Why we're affordable: Low overhead. We run lean and pass the savings to you.
Note: You get 5,000 free queries every month. Most users find this covers their needs.
❓ How do I get a refund?
If the product doesn't meet your needs within 90 days, get a refund in 2 clicks.
-
Go to Transactions Page

-
Click "Request Refund"

-
Confirm by clicking Request Refund again. The amount will be refunded within 1-2 business days. We'll email you updates.

No emails. No explanations. Simple 2-click process.
❓ Is there a catch in refunds?
No catch.
It's a simple 2-click process, exactly as described above.
Questions? We have answers.
Reach out anytime. We will solve your query within 1 working day.

