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

Get Free API Key
Aker BP / Eigen
Ulterra Drilling
Way.com
GLEX
GlobeAir
Used by energy and software teams worldwide
SDKs & code examples: Python Node.js cURL Excel

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

Make the canonical first request
1

Create a free account

No credit card required. Retrieve your key from the account dashboard.

Create free account
2

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'
3

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"
  }
}
API response: $89.37 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'

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.

SDK and Raw Request Paths

SDKs for Python, Node.js, cURL, and Excel. Use tested examples for the canonical first request.

Trusted by Teams Building on Energy Data

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

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.

Developer
$19.00/month
10,000 requests/month
Starter
$49.00/month
50,000 requests/month
Professional
$99.00/month
100,000 requests/month

Frequently Asked Questions

Everything you need to know about our Oil Price API

Still have questions? Check our comprehensive documentation.

View Documentation