Live Data • Updated Every 5 Minutes

Real-TimeOil Price API

Access professional-grade oil market data through our enterprise API. Trusted by developers in over 20 countries.

Free Tier Available
99.9% Uptime SLA
Enterprise Ready
api.oilpriceapi.com

Live API Response

cURL Request:

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

JSON Response:

{
  "status": "success",
  "data": {
    "price": "Loading...",
    "timestamp": "",
    "currency": "USD",
    "unit": "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 developers and analysts in over 20 countries

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.

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