Skip to main content

Real-Time Oil PricesFor Your Application

Simple API. Live data. 5-minute integration.

No credit card required ? 1,000 free requests ? Cancel anytime

api.oilpriceapi.com

Live API Response - Brent Crude

cURL Request:

curl https://api.oilpriceapi.com/v1/prices/latest?by_code=BRENT_USD \
-H 'Authorization: Token YOUR_API_TOKEN' \
-H 'Content-Type: application/json'

JSON Response:

{
  "status": "success",
  "data": {
    "price": 66.16,
    "formatted": "$66.16",
    "currency": "USD",
    "unit": "barrel",
    "timestamp": "2025-09-08T01:51:39.827Z",
    "code": "BRENT_USD",
    "name": "Brent Crude",
    "source": "api"
  }
}
Live Price:
$66.16USD/barrel

Real-Time Updates

Market data refreshed every 5 minutes with sub-second API response times

Enterprise Reliability

99.9% uptime SLA with redundant infrastructure and global CDN

Developer Experience

RESTful API with comprehensive docs, SDKs, and 24/7 support

Trusted by 83+ companies worldwide

Trusted by developers and analysts in over 20 countries

Enterprise-Grade Performance

Real-time metrics showcasing our API reliability and speed

Start Risk-Free Today

Professional API serving millions of requests monthly

No Credit Card

Start your free trial without any payment information

Cancel Anytime

No long-term commitments or hidden fees

60-Second Setup

Get started in under a minute with our simple API

99.9% Uptime

Enterprise-grade reliability with SLA guarantee

Explore Live Market Data

See our real-time oil and natural gas prices in action. Plus exclusive drilling intelligence data with Reservoir Mastery tier.

??? Exclusive Drilling Intelligence

Available only with Reservoir Mastery tier - Save 98% vs traditional sources

US Rig Count

540
Active drilling rigs
Updated weekly

Permian Frac Spreads

295
Active frac crews
Basin-specific data
Loading pricing...

API Documentation

Simple, reliable REST API for real-time oil price data

View Full Documentation

Quick Start

Available Endpoints

Authentication

Include your API token in the Authorization header:

Authorization: Token YOUR_API_TOKEN

Get your free API token by signing up for an account. Need help? Check our FAQ, explore our fuel oil specifications, or read our blog for integration tips.

Code Examples

curl https://api.oilpriceapi.com/v1/prices/latest \
  -H 'Authorization: Token YOUR_API_TOKEN' \
  -H 'Content-Type: application/json'

Example Response

{
  "status": "success",
  "data": {
    "price": 80.29,
    "formatted": "$80.29",
    "currency": "USD",
    "code": "BRENT_CRUDE_USD",
    "type": "spot_price",
    "created_at": "2024-01-17T20:14:05.698Z"
  }
}

Ready to Get Started?

Sign up for a free account and get your API token instantly

Frequently Asked Questions

Everything you need to know about our Oil Price API

Still have questions? Check our comprehensive documentation.

View Documentation

Stay Updated with Live Oil Prices

Follow our social media channels for real-time oil price alerts, market insights, and energy news

Live Oil Price Updates

Connect With Us

Follow us for real-time oil price updates and energy market insights

?? Get hourly oil price alerts delivered straight to your timeline

Follow @oilpricehourly