Commodity Price Infrastructure for Energy ApplicationsSource-timestamped oil, gas, and metals values across a broad set of benchmarks — normalized into a single REST API.
Energy and agricultural commodity values — 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 • Source timestamps included
Create a free account
No credit card required. Retrieve your key from the account dashboard.
Create free accountRun 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": 89.37,
"formatted": "$89.37",
"currency": "USD",
"code": "BRENT_CRUDE_USD",
"unit": "barrel",
"timestamp": "2026-07-20T18:52:46Z"
}
}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
Versioned REST endpoints, structured errors, freshness metadata, and documented recovery paths for production integrations.
Trusted by Teams Building on Energy Data
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, then choose the request volume and data package your application needs. See the pricing page for current plan details.
Frequently Asked Questions
Everything you need to know about our Oil Price API
Still have questions? Check our comprehensive documentation.
View Documentation






