A WTI oil price API that is simple, efficient and up to date.

OilpriceAPI is a JSON REST API that provides live WTI oil prices in a clean and simple way.

Empower Your Decisions with Real-Time Data

Navigate the complexities of the market with confidence. Our extensive range of real-time metrics, including Brent Crude, WTI, Natural Gas, and Gold, provides you with the insights needed to make informed decisions.

We understand the value of accurate and timely data. That's why we continuously expand our offerings to include the latest measures, keeping you ahead in a dynamic environment.

Join users from over 20 countries who depend upon OILpriceAPI for Real-Time Data. Subscribe below for updates

5M+

Data points

1.5M+

Requests handled / month

~1-2min

Between Price updates

Simple integration

OilpriceAPI is a modern JSON API that returns well formatted, live and historical oil price data. Each API endpoint is simple and self-explanatory. For a list of all available endpoints please see our documentation.

View the documentation

Endpoints

/latest

Returns the latest oil price (default: brent crude). The price provided can have a 1-5 minute delay from true live prices.

/past_day

Returns all oil price data available within the last 24 hours.

/past_week

Returns all oil price data available within the last 7 days.

/past_month

Returns all oil price data available within the last 30 days.

/past_year

Returns all oil price data available within the last 365 days.

Pricing

After 7 day free trial

Monthly
Yearly (30% discount)

Get started for free

Fetch the oil price in your app in just a few minutes.