177+ commodities — one API key

Commodity Price API

Oil, gas, metals, petrochemicals, and carbon prices — all in one REST API. Real-time quotes and 5+ years of history. Start in minutes, scale to millions.

177+
Commodities
Sub-second
Response Time
5+ yr
Historical Data
99.9%
Uptime Target

Every commodity market — one integration

Stop stitching together five different data vendors. OilPriceAPI covers all major commodity categories with a single API key.

Crude Oil & Refined Products

Brent, WTI, Dubai, OPEC Basket, gasoline, diesel, jet fuel, heating oil, and 15+ regional grades.

Natural Gas & LNG

Henry Hub, TTF, JKM, UK NBP, Appalachian spot, and Asian LNG netback prices.

Metals

Gold, silver, platinum, palladium, copper, aluminum, zinc, nickel, and rare earth elements.

Petrochemicals

Ethylene, propylene, benzene, paraxylene, methanol, ammonia, urea, and plastics feedstocks.

Carbon & Environmental

EU ETS carbon allowances, California cap-and-trade, RGGI, and voluntary carbon markets.

Bunker & Marine Fuels

VLSFO, HSFO, MGO, and IFO 380 at 10 major bunkering hubs including Singapore and Rotterdam.

One endpoint, any commodity

Fetch Brent crude, gold, and carbon prices in a single request

curl "https://api.oilpriceapi.com/v1/prices/latest?by_code=BRENT_CRUDE_USD,GOLD_USD,EU_CARBON_EUR" \
  -H "Authorization: Token YOUR_API_KEY"

{
  "status": "success",
  "data": [
    { "code": "BRENT_CRUDE_USD", "price": 84.21, "unit": "per barrel" },
    { "code": "GOLD_USD",        "price": 2318.50, "unit": "per troy oz" },
    { "code": "EU_CARBON_EUR", "price": 67.40, "unit": "per tonne CO2" }
  ]
}

Built for developers & analysts

  • SDKs in Python, Node.js, Ruby, PHP, and Go
  • Batch endpoint — fetch 50 prices in one call
  • Webhooks for price alerts and threshold triggers
  • Daily historical OHLC back to 2019
  • OpenAPI 3.0 spec for easy integration
  • 99.9% uptime target with status page

Real-time & historical

Live prices updated continuously during market hours, plus 5+ years of daily historical data for backtesting and trend analysis.

Enterprise-ready

IP whitelisting, custom rate limits, and dedicated infrastructure. Used by energy and commodity teams worldwide.

Start free. Scale when you're ready.

No credit card required. Upgrade at any time.

Free

$0
  • 50 req/month
  • All 177+ commodities
  • REST API access
Start Free

Starter

$49/mo
  • 50,000 req/month
  • Historical data
  • Email support
Get Started

Professional

$99/mo
  • 100,000 req/month
  • Webhooks & alerts
  • 99.9% uptime target
Get Started

177+ commodities. One API key.

Stop juggling multiple data vendors. Get every commodity market you need from a single, reliable REST API.

Start Free — No Card Required

50 free requests/month • Upgrade anytime • Up in minutes