Where to get European fuel price data
Several European governments require fuel stations to report their prices and publish them as open data. If you need station-level prices, start with these official sources.
Official sources (station level)
| Country | Publisher | Format | Frequency | Licence |
|---|---|---|---|---|
| France | Ministère de l'Économie (DGCCRF) — data.economie.gouv.fr | JSON/CSV/XML export | ~10 min | Licence Ouverte v2.0 |
| Spain | Ministerio para la Transición Ecológica — Geoportal Gasolineras | REST JSON (decimal commas) | ~30 min | Ley 37/2007 reuse conditions |
| Italy | MIMIT — Osservaprezzi Carburanti | two pipe-separated CSV files | daily | IODL 2.0 |
| Austria | E-Control — Spritpreisrechner | REST JSON (cheapest stations per query) | near real time | no explicit open licence |
| Germany | Markttransparenzstelle (MTS-K), via licensed consumer-information services | API through approved providers | near real time | provider terms |
| United Kingdom | Fuel Finder scheme | API for third-party apps | near real time | scheme terms |
Each source has its own format, field names, units and time zone conventions, and some (Italy) split stations and prices into separate files that must be joined.
Getting France, Spain and Italy in one format
The Official Fuel Prices API downloads the French, Spanish and Italian feeds (plus Western Australia’s FuelWatch), and returns one normalized row per station and fuel with coordinates, ISO timestamps, currency, unit, source and licence. You can filter by radius, postal code, city, brand and fuel type.
curl -X POST "https://api.apify.com/v2/acts/sste~official-fuel-prices/run-sync-get-dataset-items" \
-H "Authorization: Bearer $APIFY_TOKEN" \
-H "Content-Type: application/json" \
-d '{"countries":["FR","ES","IT"],"fuelTypes":["diesel"],"maxResults":100}'
Things to watch
- Freshness differs. Italy publishes yesterday’s 08:00 prices; France and Spain update during the day.
- Licences require attribution. Keep the source and the update date with the data you display.
- Missing fields. France publishes no station names or brands; Italy publishes no separate postal code.