API · /commodities-api

Commodities API

healthy 4,755 Subscribers

Live commodity futures prices as an API — the energy, grain, soft and livestock commodity complex, served from Yahoo Finance. For any commodity it returns the front-month futures price, the previous close, the absolute and percentage change on the day, the day's high and low and the 52-week high and low, with the price's currency and quoting unit (e.g. USD per barrel, US cents per bushel). Look a commodity up by name or alias (crude oil, Brent, natural gas, gasoline, corn, wheat, soybeans, coffee, sugar, cocoa, cotton, orange juice, live cattle, lean hogs and more), pull a category board (energy, grains, softs, livestock) ranked by the day's move, or get the whole board in one call. The commodity-quote layer for trading, markets and dashboard apps. Live, no key. Distinct from the precious-metals API — this is the energy, agricultural and soft-commodity complex.

api.oanor.com/commodities-api
Get an API key Try in playground → Contact provider

Machine-readable spec so AI agents can integrate this API.

/api/commodities-api/openapi.json
/api/commodities-api/llms.txt

Discovery: GET /api/index.json lists every API.

API health

healthy
Uptime
100.00%
Server probes · 24h
Avg latency
211 ms
Server probes · 24h
Subscribers
4,755
active
Total calls
24
last 7 days
status Full status page → · 12 probes/24h

Pricing

Pick a tier — billed monthly, cancel anytime.

Free

Free

  • 10,000 calls / month
  • 4 requests / second
  • Hard cap (429 above quota, no overage)
  • 10k calls/month
  • 4 req/sec
  • All endpoints
  • No credit card
Sign in to subscribe

Starter

€9.00 /month

  • 135,000 calls / month
  • 12 requests / second
  • Hard cap (429 above quota, no overage)
  • 135k calls/month
  • 12 req/sec
  • Email support
Sign in to subscribe

Pro

€23.00 /month

  • 680,000 calls / month
  • 35 requests / second
  • Hard cap (429 above quota, no overage)
  • 680k calls/month
  • 35 req/sec
  • Priority support
Sign in to subscribe

Desk

€54.00 /month

  • 3,400,000 calls / month
  • 100 requests / second
  • Hard cap (429 above quota, no overage)
  • 3.4M calls/month
  • 100 req/sec
  • Dedicated SLA
Sign in to subscribe

Built by

Related APIs

Other APIs with overlapping tags.

Commitments of Traders API

Live Commitments of Traders (COT) futures-positioning data, served straight from the US CFTC's public reporting API — no key, nothing cached. Every Friday the Commodity Futures Trading Commission publishes who is positioned how in every major futures market — currencies, stock indices, energy, metals, grains — and traders watch it closely as a sentiment and crowding signal. The report endpoint takes a market name (Euro FX, Gold, Crude Oil, S&P 500, Bitcoin) and returns the latest weekly report: how many long and short contracts are held by commercials (the hedgers), by non-commercials (the large speculators) and by small non-reportable traders, the net position of each group, the total open interest, each group's share of open interest, the week-over-week change and the number of traders — Gold shows commercials net short while large speculators run net long. The markets endpoint searches the hundreds of reported markets so you can find the exact name. The history endpoint returns the weekly path of positioning for a market. This is the positioning-and-sentiment layer for any futures, forex, commodity or macro trading app. Live from the CFTC, nothing stored. Distinct from price and open-interest APIs — this is who is long and short, by trader category. 4 endpoints.

api.oanor.com/cot-api

Precious Metals API

Live precious and industrial metal spot prices as an API — gold, silver, platinum, palladium and copper — with optional currency conversion via European Central Bank rates. Get the live USD spot price of any metal and convert it into any major currency; list them all at once; compute the value of a quantity of metal; or read the classic gold/silver and gold/platinum ratios traders watch. Built for trading, jewellery, treasury and dashboard apps. The commodities and precious-metals layer, live and key-free — distinct from generic ticker-quote APIs.

api.oanor.com/metals-api

Crypto Derivatives Exchanges API

Live ranking and directory of crypto derivatives venues — the platforms that run perpetual and futures markets — served from the public CoinGecko feed with no key and nothing cached. This is a venue-level view of the derivatives market, distinct from spot-exchange directories, per-contract open-interest feeds and single-exchange tickers: it ranks the derivatives platforms themselves. The exchanges endpoint returns the venues ranked by open interest (or by 24-hour volume), each with its open interest in BTC, 24-hour derivatives volume in BTC, the number of perpetual and futures pairs it lists, its country and the year it was established — so one call tells you who the biggest derivatives venues are and how concentrated open interest is. The exchange endpoint returns a single venue's full profile by id. The list endpoint returns every derivatives-exchange id and name for lookup and autocomplete. Everything is read live from CoinGecko on each request, nothing stored beyond a short protective cache. Ideal for derivatives dashboards, open-interest and market-structure analytics, venue comparison and trading tools. Live, no key. 3 endpoints. For per-contract funding and open-interest history use a derivatives or open-interest API.

api.oanor.com/derivativesexchanges-api

Bybit API

Live derivatives and spot market data from Bybit, one of the largest crypto-derivatives exchanges, straight from its public v5 API. Built for perpetual swaps: the ticker returns a contract's last, mark and index price together, the 24-hour change, high, low, volume and turnover, the live open interest in contracts and in USD, and the current funding rate with the next funding time — a whole perp in one call. The funding endpoint returns the historical funding-rate series, the recurring payments that anchor a perp to spot. The openinterest endpoint returns the open-interest time series, the best gauge of leverage building or unwinding. The kline endpoint returns OHLCV candles at any interval. Linear (USDT) perps, inverse (coin) perps and spot are all reachable via the category parameter. Live, no key, nothing stored. Distinct from Coinbase, Bitstamp, OKX, Gate.io, Bitfinex and Gemini venue APIs and from aggregated derivatives feeds — this is Bybit's own ticker, funding history, open interest and candles. Perfect for trading, charting, derivatives-analytics and risk apps.

api.oanor.com/bybit-api

Frequently asked questions

Quick answers about pricing, quotas, and integration.

How do I get an API key for Commodities API?
Sign up for free at oanor.com, generate an API key from the developer dashboard, and call Commodities API with the x-oanor-key header. No credit card needed for the free tier.
What's the rate limit for Commodities API?
Free tier allows 1 request per second. Paid plans scale up to 50 requests per second on the Mega tier. Hard limits return HTTP 429 above the quota — no surprise overage charges.
How much does Commodities API cost?
Commodities API has a free tier with 100 calls / month. Paid plans start at €9.00 / month with higher quotas and faster rate limits.
Can I cancel my subscription anytime?
Yes. Plans are billed monthly and you can cancel anytime from your billing dashboard. No long-term contracts and no cancellation fee.
Is Commodities API GDPR-compliant?
All requests to Commodities API go through our EU-based gateway. Your upstream API key never leaves our server and no personal data is shared with the upstream provider beyond the request you send.

Pick an endpoint from the list on the left to see its details and try it.

Code snippets

Sign up to get an API key, then call any path under your slug.

curl https://api.oanor.com/commodities-api/SOME_PATH \
  -H "x-oanor-key: oanor_test_..."
const res = await fetch("https://api.oanor.com/commodities-api/SOME_PATH", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
const data = await res.json();
$ch = curl_init("https://api.oanor.com/commodities-api/SOME_PATH");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
$response = curl_exec($ch);
import requests
r = requests.get(
    "https://api.oanor.com/commodities-api/SOME_PATH",
    headers={"x-oanor-key": "oanor_test_..."},
)
print(r.json())

Ratings

Sign in to rate.

No reviews yet.

Discussion

Ask questions, share usage tips, get answers from the provider and other developers. Public — anyone can read.

Sign in to start a thread or reply.

Sign in

New thread

/ 4000

📌 Pinned 🔒 Locked

·

· ·

/ 4000

🔒 This thread is locked — no new replies.

  • No threads yet — start the discussion.

Support

Private 1:1 support with the provider — billing questions, integration issues, account problems. Only you and the provider team can see these threads.

Sign in to open a support ticket.

Sign in

Open new ticket

Describe what you need help with. The provider team gets an email and replies on the ticket page.

  • No tickets yet for this API.

Subscription active — calls can start immediately.

Send your first request —

Subscription active — copy a snippet and fire off your first call.