Real-Time Oil PricesShip Your Integration in 30 Minutes
60+ energy and agricultural commodity prices — 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 tier (200 requests/month) • No credit card required • Sub-second responses
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
Customer-safe response while the quote is unavailable:
{
"status": "sample",
"data": {
"price": null,
"formatted": "Live price temporarily unavailable",
"currency": "USD",
"code": "WTI_USD",
"unit": "barrel",
"timestamp": "sample-timestamp"
}
}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 — normalized into consistent JSON. No more parsing PDFs or scraping websites yourself.
Production-Ready Infrastructure
Sub-second median response times. 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
Start Risk-Free Today
Aggregated from authoritative public data — including the U.S. EIA — and cross-validated across multiple market sources for consistency
Free Tier Forever
Start from the current signup flow. Current free-tier terms are shown before you begin.
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
Built to Stay Up
Redundant infrastructure, automated failover, and continuous monitoring
Frequently Asked Questions
Everything you need to know about our Oil Price API
Still have questions? Check our comprehensive documentation.
View Documentation






