⛽ Fuel Prices — USA & EU
Updated Weekly 🔄 Refreshing…Real-time gasoline and diesel prices for truckers, fleet managers and logistics professionals. USA data sourced from the U.S. Energy Information Administration (EIA); EU data from the European Commission Weekly Oil Bulletin. All data is free and updated weekly.
🇺🇸 National Average — 2026-06-14 20:29
Prices in USD per gallon (US liquid gallon = 3.785 L)Regional Prices
API: https://www.eia.gov/opendata/ — Free registration required.
🇪🇺 European Union — 27 Member States · 2026-06-15 03:17
Prices in EUR per litre (incl. taxes & VAT)Official data: energy.ec.europa.eu
🇺🇸 USA — How it works
Data is retrieved from the EIA (Energy Information Administration), the official U.S. government source for energy statistics. Prices are weekly averages.
- Series: Weekly Retail Gasoline & Diesel Prices
- Coverage: National + 7 PADD regions
- Currency: USD per US gallon
- Includes all federal and state taxes
- Free API key at eia.gov
1. Register free at eia.gov/opendata/register.php
2. Copy your API key
3. Open
fuel_prices.php and replace YOUR_FREE_EIA_API_KEY
🇪🇺 EU — How it works
EU prices come from the European Commission Weekly Oil Bulletin, published every Monday with the previous week's consumer prices for all 27 EU member states.
- Coverage: All 27 EU Member States
- Currency: EUR per litre (with taxes & VAT)
- Fuel types: Unleaded 95 gasoline + Diesel B7
- Updated every Monday
- Publicly available — no API key needed
energy.ec.europa.eu — Weekly Oil Bulletin
⚙️ Technical Setup
Prices are cached locally in JSON files for 6 hours to avoid hammering the external APIs. Cache folder: /customers/e/8/6/cp14q0hga/webroots/43c65b41/FR/fuel/cache/
PHP 8.0+, cURL extension, DOMDocument extension. No Composer packages required. Bootstrap 5 from CDN.
Place this file at /fuel/index.php or /services/fuel_prices.php on your LogisReview server. Ensure cache/ folder is writable (chmod 755).
mkdir cache && chmod 755 cache — Run from the same folder as fuel_prices.php