Commodity Price Infrastructure for Energy ApplicationsReal-time oil, gas, and metals prices across a broad set of benchmarks — normalized into a single REST API.
60+ energy and agricultural commodity prices — normalized into a single REST API with webhooks, SDKs, and source-aware freshness. 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=BRENT_CRUDE_USD \
-H 'Authorization: Token YOUR_API_TOKEN' \
-H 'Content-Type: application/json'Get JSON response
JSON returned by the API:
{
"status": "success",
"data": {
"price": 88.26,
"formatted": "$88.26",
"currency": "USD",
"code": "BRENT_CRUDE_USD",
"unit": "barrel",
"timestamp": "2026-07-18T23:28:59Z"
}
}Try the API
No API key required
curl https://api.oilpriceapi.com/v1/demo/prices \
-H 'Content-Type: application/json'Broad Commodity Coverage, 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
Pricing
Start free, scale when your application needs more. All plans include real-time data, broad commodity coverage, and comprehensive API documentation.
Frequently Asked Questions
Everything you need to know about our Oil Price API
Still have questions? Check our comprehensive documentation.
View Documentation






