Real-Time Data: From Oil to Gold

Simplify Your Analysis with User-Friendly API Integration. OilpriceAPI is a JSON REST API that provides live and historical price data for Brent Crude, WTI, Natural Gas, Gold 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.

FAQ

Can I use this for financial applications?

OilpriceAPI should be used for display, analysis & educational purposes. The data should not be relied upon to make financial decisions.

What is the latest price source?

OilpriceAPI provides a manufactured price that is calculated by averaging many publicly available live price sources on a minute by minute basis. It should therefore be considered an approximated live price.

How far back does the data go?

OilpriceAPI has over 5 million oil price data points and daily average prices that go back as far as May 1987.