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
Complete SDKs with ready-to-use code examples and comprehensive API documentation for every endpoint. View docs
Free forever tier β’ No credit card required β’ 99.9% uptime SLA
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'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"
}
}Try the API
No API key required
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.
Trusted by 83+ Companies in 40+ Countries
Production planning, trading, and energy applications at scale
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
"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
Professional
Enterprise
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






