You may be looking for a different company

OilPriceAPI (this site) is not affiliated with, endorsed by, or connected to Oilprice.com, the energy news publication. We are two separate companies with similar names. If you came here looking for Oilprice.com's website, articles or services, go to oilprice.com instead.

Looking for an Oilprice.com API?
OilPriceAPI Is a Separate Oil Price API

A lot of people searching for "oilprice.com api" are after one specific thing: oil and energy prices they can request from code, in JSON, on a schedule. That is what OilPriceAPI is. We are an independent company, unconnected to Oilprice.com, and this page exists so you can tell in ten seconds whether you are in the right place.

Two different things with similar names

Oilprice.com

An energy news and analysis publication, published on the web for readers. It is not us, we do not speak for it, and nothing on this page should be read as a statement about what it does or does not offer.

Questions about their content, their products or their terms belong with them, not with us.

OilPriceAPI (this site)

A developer API. You send an authenticated HTTP request naming a price code; you get back JSON with the latest available value and the timestamp it carries from its source. Crude benchmarks, natural gas, refined products, futures, marine fuels and adjacent energy datasets, all under one schema.

Built for dashboards, models, alerting and internal tools — things that need a number, not an article.

Which one do you need?

You want something to read

News, market commentary, opinion and analysis about energy markets. That is a publication's job. Go to Oilprice.com or another energy title — we do not publish editorial coverage and are not trying to replace one.

You want prices in code

A REST endpoint your application calls to get the current Brent or WTI value, or a history series to backfill a chart. That is OilPriceAPI. Stable price codes, official SDKs, one response shape across every dataset.

You want to reuse their content

Syndication, licensing or permission to republish material from Oilprice.com is a conversation to have with Oilprice.com. We cannot grant rights in anyone else's work, and we would be wrong to imply otherwise.

What a request to OilPriceAPI looks like

One authenticated GET, one price code, one JSON response. No scraping, no HTML parsing, no undocumented endpoints.

curl "https://api.oilpriceapi.com/v1/prices/latest?by_code=BRENT_CRUDE_USD" \
  -H "Authorization: Token YOUR_API_KEY"

# The response is JSON: the price code you asked for, the latest
# available value, its currency, and the timestamp that value
# carries from its source — so you can see how fresh it is
# instead of assuming.

Full reference in the API documentation, or see the oil price data, commodities API and historical oil prices pages.

OilPriceAPI and Oilprice.com: which one do you need?

DimensionOilPriceAPIOilprice.com
What it isA commercial REST API that returns energy prices as structured dataAn energy news and analysis publication for readers
Primary outputJSON responses, addressed by stable codes such as BRENT_CRUDE_USDArticles, commentary and market coverage on the web
Who it is built forDevelopers, analysts and teams putting a number inside an applicationReaders following energy markets
Programmatic accessDocumented REST API, official Python, Node.js, Go and PHP SDKs, keyed accessAsk Oilprice.com directly — we do not speak for another company's products
Relationship between the twoIndependent company; no affiliation with, endorsement by, or connection to Oilprice.comIndependent company; no affiliation with, endorsement by, or connection to OilPriceAPI

Which one fits what you are doing

Choose OilPriceAPI when…

  • You need oil, gas and refined-product prices as JSON inside an application, on a schedule.
  • You want one response shape and stable human-readable price codes across every dataset, rather than a parser per source.
  • You are building a dashboard, a model, an alert or an internal tool and need a documented, keyed endpoint you can depend on.
  • You want each value to arrive with the timestamp it carries from its source, so staleness is visible rather than assumed.

Go to Oilprice.com when…

  • You want energy news, market commentary and analysis to read — that is a publication's job, not an API's.
  • You are specifically after Oilprice.com's own content, products or terms. They are the only ones who can speak to those; go and ask them.
  • Your need is editorial rather than programmatic, and a well-written piece serves you better than a JSON payload.

Oilprice.com and OilPriceAPI: common questions

Is OilPriceAPI the same company as Oilprice.com?

No. OilPriceAPI and Oilprice.com are separate, unrelated companies. We are not affiliated with Oilprice.com, not endorsed by them, not a partner or reseller of theirs, and not an official or unofficial interface to their website. The names are similar and that is the whole of the relationship.

Does Oilprice.com have a developer API?

We are not in a position to answer that for another company, and we will not guess. If you specifically need Oilprice.com's own content or data, ask Oilprice.com directly through their website — they are the only ones who can tell you what they offer and on what terms. If what you actually need is machine-readable energy prices you can call from code, that is what OilPriceAPI does, and this page explains it.

I searched for 'oilprice.com api' and landed here. What now?

It depends on which of two different needs you have. If you want energy news, market commentary and analysis to read, go to Oilprice.com — that is their publication and we are not a substitute for it. If you want oil, gas and refined-product prices returned as JSON so an application can consume them, that is what OilPriceAPI is built for.

What does OilPriceAPI actually return?

A normalized REST API over oil, natural gas, refined products, futures, marine fuels and related energy datasets, addressed by stable human-readable codes such as BRENT_CRUDE_USD and WTI_USD. Every latest value carries a source timestamp so you can see how old the number is rather than assuming it is current. Refresh cadence varies by source, market hours, dataset and plan.

How do I make a first request?

Create an account, then send an authenticated GET to /v1/prices/latest?by_code=BRENT_CRUDE_USD with an "Authorization: Token YOUR_API_KEY" header. There is a free tier of 50 requests per day for evaluation, and a 7-day core commodity api trial of 10,000 requests with no credit card required. Full reference is at docs.oilpriceapi.com.

Can I republish the prices I get from OilPriceAPI?

OilPriceAPI sells API access, normalization, monitoring and delivery. Standard plans do not grant ownership of underlying source data or unrestricted raw-data redistribution rights, and downstream display or publication use should be scoped separately. Our data usage policy sets out what access does and does not include — read it before you build a public-facing display on top of any market data, ours or anyone else's.

If it was the price data you wanted, start here

A free tier of 50 requests per day to try it, and a 7-day core commodity api trial with no credit card required.

Oilprice.com is the property of its respective owner and any related marks belong to them. This page is published for disambiguation because the two names are easily confused; it is not endorsed by, sponsored by, or affiliated with Oilprice.com, and no such relationship is implied. Nothing here is a statement about Oilprice.com's products or services. Data usage terms for OilPriceAPI are set out in our data usage policy.