Skip to main content

Commodity Price Infrastructure for Energy ApplicationsReal-time oil, gas, and metals prices from ICE, CME, and 20+ sources β€” normalized into a single REST API.

60+ energy and agricultural commodity prices from ICE, CME, and 20+ sources β€” normalized into a single REST API with webhooks, SDKs, and 5-minute updates. Read the docs

Get Free API Key
Aker BP / Eigen logo
Ulterra Drilling logo
Way.com logo
GLEX logo
GlobeAir logo
Join 83+ companies using our API

Complete SDKs with ready-to-use code examples and comprehensive API documentation for every endpoint. View docs

Free forever tier No credit card required

Get your first response in 30 seconds
1

Sign up (30 seconds)

No credit card required. Get your API key instantly.

Create free account
2

Run this curl command

Copy and paste into your terminal:

curl https://api.oilpriceapi.com/v1/prices/latest?by_code=WTI_USD \
-H 'Authorization: Token YOUR_API_TOKEN' \
-H 'Content-Type: application/json'
3

Get JSON response

Live data from our API:

{
  "status": "success",
  "data": {
    "price": 87.22,
    "formatted": "$87.22",
    "currency": "USD",
    "code": "WTI_USD",
    "unit": "barrel",
    "timestamp": "2026-04-20T17:18:52.922Z"
  }
}
Live: $87.22 USD/barrel
Get API Key

Try the API

No API key required

20 requests/hour
curl https://api.oilpriceapi.com/v1/demo/prices \
  -H 'Content-Type: application/json'

50+ Commodities, One Schema

Oil, gas, metals, and agricultural prices from ICE, CME, and 20+ exchanges β€” normalized into consistent JSON. No more parsing PDFs or scraping websites.

99.9% Uptime SLA

Production-ready infrastructure with <200ms average response time. 38M+ API calls served across 40+ countries. Your applications depend on it.

Ship in 30 Minutes

SDKs for Python, Node.js, cURL, and Excel. Copy-paste code examples. Get your first response in under 60 seconds.

Trusted by 83+ Companies in 40+ Countries

Production planning, trading, and energy applications at scale

International Petroleum - Energy market intelligence
Aker BP / Eigen - Norwegian oil and gas
Ulterra Drilling - Drill bit technology
GlobeAir - European private jet charter
Way.com - Automotive services marketplace
Wellsite - Oilfield operations software
Innova Drilling - Drilling solutions provider
GLEX - Norwegian energy company
38M+
API Calls Served
83+
Companies
40+
Countries Worldwide

Trusted by the Most Ambitious Energy Teams

See why 83+ companies choose our commodity price API for reliable data

"The webhook feature has noticeably reduced our API calls. Good data accuracy for our trading operations."

Cost Savings

73% reduction

Michael

Head of Trading, Apex Energy Trading

"We use the API to adjust fuel surcharges. Reliability has been solid and support responds quickly when needed."

API Uptime

99.98%

Sarah

VP of Operations, Global Logistics Solutions

"Good natural gas data coverage. The historical data access works well for our analytics needs."

Data Points

2.8M+ monthly

David

CTO, PowerGrid Analytics

Start Risk-Free Today

Data sourced from premium providers including global exchanges and cross-validated from multiple data sources for accuracy

Free Tier Forever

50 requests/month on the free plan. No credit card, no expiration.

Cancel Anytime

No long-term commitments or hidden fees

60-Second Setup

Complete SDKs, code examples, and API documentation β€” get your first response in under a minute

99.9% Uptime

Rock-solid reliability with enterprise-grade SLA guarantee

Predictable Pricing

Start free, scale when your application needs more. All plans include real-time data, 60+ commodities, and comprehensive API documentation.
See full pricing and feature comparison

Developer

$19/month
10,000 requests/month
60+ commodities
1 year historical data
Email support
Get Started
Most Popular

Professional

$99/month
100,000 requests/month
Futures data included
Unlimited historical data
Priority support
Get Started

Enterprise

$299/month
1,000,000 requests/month
Drilling Intelligence (2.19M+ permits)
WebSocket real-time updates
Dedicated support + Slack
Get Started

Frequently Asked Questions

Everything you need to know about our Oil Price API

OilPriceAPI is a simple REST API that provides real-time and historical prices for WTI, Brent Crude, Natural Gas, and 60+ energy commodities. Data updates every 5 minutes from official exchange sources. Used by 83+ companies worldwide.

No! Start with a 7-day free trial - no credit card required. Sign up instantly, get your API key, and start with 10,000 requests. Only upgrade to paid plans when you need more.

Our data comes directly from ICE and NYMEX exchanges with less than 5-minute delay. We guarantee 99.9% accuracy compared to official exchange prices with 99.9% uptime SLA on paid plans.

We provide official SDKs for Python, JavaScript/Node.js, Java, C++, C#/.NET, and Ruby. The REST API works with any language that supports HTTP requests, including PHP, Go, Rust, and Swift.

We provide the same quality oil price data as Bloomberg Terminal but via a simple REST API at 98% less cost. Instead of $24,000/year, get the data you need starting at $15/month with our Exploration plan.

Yes! You can pull live oil prices directly into Excel using our free add-in or into Google Sheets using IMPORTDATA/Apps Script. Both methods are documented with step-by-step tutorials.

Yes! Historical data is available on all paid plans going back to 2020. Access daily, weekly, and monthly data via our /prices/historical endpoint with flexible date range parameters.

Price data updates every 5 minutes during market hours (9:00 AM - 4:00 PM ET). After-hours updates occur every 15 minutes. WebSocket connections on Professional plans receive real-time updates instantly.

The 7-day free trial includes 10,000 API requests, access to current prices for all 60+ commodities including WTI, Brent, and Natural Gas, basic email support, full API documentation, and official SDKs.

Visit the pricing page and select a plan: Exploration ($15/mo, 10K requests), Production Boost ($45/mo, 50K requests), or Reservoir Mastery ($129/mo, 250K requests). Instant activation, cancel anytime.

Still have questions? Check our comprehensive documentation.

View Documentation