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

Cheapest fuel near a user

The five cheapest diesel stations within 3 km of a point, with how fresh each price is.

Every plan2 callsUses: Find stations, Get a station
1
Ask for stations near the point, cheapest first

Give the point, a radius and the fuel, and sort by price. Each station comes with its price and when it last changed.

curl -G "https://api.oilapi.net/v1/stations" \
  -d near=48.8566,2.3522 \
  -d radius_km=3 \
  -d fuel=diesel \
  -d sort=price \
  -d per_page=5 \
  -H "X-API-Key: YOUR_API_KEY"
2
Show how fresh each price is

Every price carries changed_at. Show "changed 12 minutes ago" so people trust the number. A price unchanged for over 30 days is left out, since the station has most likely closed; add include_stale=true to see those too, each marked stale.

3
Open one station

When someone taps a station, read it by its id for every fuel it sells.

curl "https://api.oilapi.net/v1/stations/st_7qk3m2xa" \
  -H "X-API-Key: YOUR_API_KEY"

The endpoints it uses