PricesPump pricesStation pricesSet pricesTaxes and margins
MarketsCrude benchmarksJet and heating oilRefined productsCurrencies
DataCountriesSupply and stocksHistoryStatus
DocsQuick startAPI referenceMCP serverChangelog
Pricing
BRENT123.1$/bbl ▼ 3.92%WTI103.4$/bbl ▼ 1.79%ULSD4.687$/gal ▼ 3.02%RBOB3.521$/gal ▼ 1.92%MX REGULAR23.99MX$/l ▲ 0.00%ES PETROL 951.749€/l ▼ 0.34%FR PETROL 952.195€/l ▼ 0.07%PT PETROL 952.094€/l ▼ 0.01%CA REGULAR1.829C$/l ▲ 6.04%GB PETROL 95 E101.719£/l ▼ 0.29%AT PETROL 951.780€/l ▼ 2.48%HR PETROL 951.640€/l ▲ 0.00%SI PETROL 951.627€/l ▲ 0.00%AL PETROL196.0ALL/lDZ PETROL47.00DZD/lAO PETROL304.0AOA/lBRENT123.1$/bbl ▼ 3.92%WTI103.4$/bbl ▼ 1.79%ULSD4.687$/gal ▼ 3.02%RBOB3.521$/gal ▼ 1.92%MX REGULAR23.99MX$/l ▲ 0.00%ES PETROL 951.749€/l ▼ 0.34%FR PETROL 952.195€/l ▼ 0.07%PT PETROL 952.094€/l ▼ 0.01%CA REGULAR1.829C$/l ▲ 6.04%GB PETROL 95 E101.719£/l ▼ 0.29%AT PETROL 951.780€/l ▼ 2.48%HR PETROL 951.640€/l ▲ 0.00%SI PETROL 951.627€/l ▲ 0.00%AL PETROL196.0ALL/lDZ PETROL47.00DZD/lAO PETROL304.0AOA/l

API reference

Every endpoint, grouped, with what it takes and returns.

On this pageCoveragePricesStationsMarketsSeriesAccount

Base address https://api.oilapi.net. Every endpoint reads JSON with your key in a header; each page has Try it and code in four languages.

Coverage

Which countries we price and what we hold for each.

EndpointAddressWhat it gives
List countriesGET /v1/countriesEvery country we price, what we hold for it and how far back it goes
Get a countryGET /v1/countries/{country}One country in full: every series we hold for it and its stations

Prices

Pump prices and the prices governments set.

EndpointAddressWhat it gives
Pump pricesGET /v1/prices/retailA country's pump prices: today's for each fuel, or one fuel over a range
Government set pricesGET /v1/prices/setPrices a government has fixed, as each level took effect

Stations

Every station we read, its prices and its history.

EndpointAddressWhat it gives
Find stationsGET /v1/stationsStations near a point, or in a country, town or brand, with their prices
Get a stationGET /v1/stations/{id}One station and every price it shows
Station price historyGET /v1/stations/{id}/historyEvery price change at one station

Markets

Crude and product benchmarks, and currency rates.

EndpointAddressWhat it gives
List benchmarksGET /v1/benchmarksCrude and product benchmarks with their latest price
Benchmark historyGET /v1/benchmarks/{benchmark}One benchmark day by day, or averaged by week, month or year
Currency ratesGET /v1/fxUnits of a currency per US dollar, day by day

Series

Every series we hold, point by point.

EndpointAddressWhat it gives
List seriesGET /v1/seriesEvery series we hold: retail, set, wholesale, crude, supply and more, searchable
Series valuesGET /v1/series/{series}One series, point by point

Account

Your plan and your calls.

EndpointAddressWhat it gives
Your usageGET /v1/usageYour plan, your calls today and your limits; does not count against them