OilPriceAPI Documentation

Real-time oil, gas, and energy commodity price data delivered via simple REST API with 99.9% uptime

Get Started →

🚀 Real-Time Data

Live price updates every 5 minutes for WTI, Brent Crude, Natural Gas, and 50+ energy commodities. WebSocket streaming available for premium users.

💎 99.9% Uptime

Enterprise-grade infrastructure with global CDN distribution. Trusted by 100+ companies including Petronas, Lundin Energy, and major airlines.

🛠️ Developer Friendly

Simple REST API with SDKs for Python, JavaScript, Ruby, and PHP. Comprehensive documentation and responsive support.

# 🎯 Start Building in Minutes

🔑

1. Get Your API Key

Sign up for free and get instant access to real-time data

Create Account

2. Make Your First Call

curl "https://api.oilpriceapi.com/v1/prices/latest?by_code=WTI_USD" \
  -H "Authorization: Token YOUR_API_KEY"
📊

3. Get Real-Time Prices

{
  "status": "success",
  "data": {
    "WTI_USD": {
      "price": 78.45,
      "change_24h": 1.05,
      "timestamp": "2025-01-03T15:30:00Z"
    }
  }
}

# 📊 Comprehensive Market Coverage

# 🌟 Trusted by Industry Leaders

"OilPriceAPI powers our real-time pricing dashboard across 12 trading desks globally."

- Petronas Trading Team

"Reliable data is critical for our operations. OilPriceAPI delivers exactly what we need."

- Lundin Energy

"Fuel cost optimization requires accurate data. OilPriceAPI helps us save millions annually."

- Caribbean Airlines

# 💻 Code Examples

# 🚀 Ready to Get Started?

Join 100+ companies using OilPriceAPI

Get your API key in seconds and start building today