Fuel Prices Spain & France - Station Diesel & Petrol Prices
Pricing
from $0.30 / 1,000 station prices
Fuel Prices Spain & France - Station Diesel & Petrol Prices
Station-level diesel, petrol 95/98, E10, E85 and LPG prices from the official open government feeds of Spain and France (~21,000 stations). Filter by province, department, postcode, radius or fuel; cheapest-N ranking and price-change monitoring. From $0.30 per 1,000 stations.
Pricing
from $0.30 / 1,000 station prices
Rating
0.0
(0)
Developer
Cemal Atakli
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
9 days ago
Last modified
Categories
Features
Share
Fuel Prices Spain & France – Station Diesel & Petrol Prices API
Get station-level fuel prices for Spain and France – diesel, petrol 95 (E5), E10, petrol 98, E85 superethanol, LPG/autogas and (Spain) CNG, LNG, hydrogen, AdBlue and renewable fuels – straight from the official open government feeds. About 21,000 petrol stations with address, postcode, GPS coordinates, opening hours and brand (Spain), refreshed every 30 minutes (Spain) or in near real time (France).
Filter by province, department, postcode, radius around a point or fuel type, get the cheapest N stations, or run it on a schedule in monitor mode to receive only the stations whose prices changed.
What it does
- Reads the Spanish Ministry for the Ecological Transition price service (Geoportal de Gasolineras) and the French Prix des carburants – flux instantané v2 (prix-carburants.gouv.fr).
- Normalises both into one schema:
prices.diesel,prices.petrol95,prices.e10,prices.petrol98,prices.e85,prices.lpg, … in EUR per litre. - Area filters: Spanish provinces (
Madrid,Barcelona,28), French departments (75,13,2A), postcode prefixes for both countries. - Radius search: latitude + longitude + km, sorted by distance, with
distanceKmon every row. - Cheapest-N: the N cheapest stations per country for a chosen fuel, with
rank. - Monitor mode: keeps a price snapshot between runs and outputs only changed stations with old price, new price and delta.
- Every row carries
source,licence,licenceUrlandattributionfields so you can meet the open-data licence terms.
Use cases
- Fleet and logistics fuel cost planning (Spain, France, cross-border Pyrenees routes)
- Price comparison apps, maps and chatbots ("cheapest diesel near me")
- Market research on retail fuel margins, brands and regional price spreads
- Price-change alerts for a list of postcodes, scheduled hourly
- Feeding fuel prices to AI agents and dashboards
Input example
{"countries": ["ES", "FR"],"spainProvinces": ["Madrid"],"franceDepartments": ["75"],"fuelTypes": ["diesel", "petrol95", "e10"],"cheapestN": 25,"maxStations": 200}
Radius search around Irun / Hendaye (cross-border), 10 cheapest diesel stations per country:
{ "countries": ["ES", "FR"], "latitude": "43.3", "longitude": "-1.75", "radiusKm": 40, "fuelTypes": ["diesel"], "cheapestN": 10 }
Leave every area filter empty to get the whole country (Spain ~11,400 stations, France ~9,200 with prices).
Output example
{"country": "ES","countryName": "Spain","stationId": "11445","brand": "SHELL","address": "CALLE SANTO DOMINGO, 10","postcode": "28000","city": "MADRID","province": "MADRID","latitude": 40.508056,"longitude": -3.679083,"priceDiesel": 1.959,"pricePetrol95": 1.829,"prices": { "diesel": 1.959, "petrol95": 1.829 },"currency": "EUR","priceUnit": "EUR per litre","openingHours": "L-D: 24H","open24h": true,"dataTimestamp": "2026-11-03T13:09:30 Europe/Madrid","source": "Ministerio para la Transicion Ecologica y el Reto Demografico - Geoportal de Gasolineras (precios de carburantes)","licence": "Spanish public-sector information reuse conditions (Ley 37/2007, RD 1495/2011): commercial and non-commercial reuse allowed with attribution","licenceUrl": "https://datos.gob.es/es/aviso-legal","attribution": "Fuente: Ministerio para la Transicion Ecologica y el Reto Demografico"}
French rows add department, highway (motorway station), services and per-fuel pricesUpdatedAt. French open data does not include brand names. Monitor rows add changeType (price-change / new-station), priceChanges (fuel, oldPrice, newPrice, change) and previousPrices.
Fuel keys
| Key | Spain | France |
|---|---|---|
diesel | Gasóleo A | Gazole |
petrol95 | Gasolina 95 E5 | SP95 |
e10 | Gasolina 95 E10 | E10 (SP95-E10) |
petrol98 | Gasolina 98 E5 | SP98 |
e85 | Gasolina 95 E85 | E85 |
lpg | GLP | GPLc |
dieselPremium, dieselB, dieselRenewable, biodiesel, petrol95Premium, e25, petrol98E10, petrolRenewable, bioethanol, cng, lng, bioCng, bioLng, hydrogen, adblue, methanol, ammonia | Spain only | – |
Gas fuels and hydrogen are priced per kg.
Pricing
Pay per event – you only pay for stations delivered:
| Event | Price |
|---|---|
| Station with prices | $0.0003 (= $0.30 per 1,000 stations) |
| Station price change (monitor mode, after the first run) | $0.0005 |
| Actor start | $0.00005 |
The whole of Spain and France (~20,700 stations) costs about $6.20 and takes ~30 seconds. Set Max stations or a max total charge to cap spend; the Actor stops cleanly at the limit.
| Actor | Coverage | Price per result |
|---|---|---|
| This Actor | Spain + France, official open data | $0.0003 |
| GasBuddy scrapers on the Store | USA/Canada (crowd-sourced) | $0.001 – $0.00135 |
FAQ
Is this legal to use commercially? Yes. Spain's data is published for reuse under the datos.gob.es general conditions ("reutilización … para fines comerciales y no comerciales") and France's flow is under Licence Ouverte v2.0 (Etalab). Both require attribution – keep the attribution field (or the source name) visible in your product.
How fresh is the data? Spain refreshes every 30 minutes (dataTimestamp is the ministry file time). French stations report each price change; pricesUpdatedAt shows when each price was last updated.
Why is a radius search slower? The radius mode downloads the full Spanish national file (~12 MB, 30–70 s). For speed, use provinces or postcodes, optionally combined with the radius.
Italy, Portugal, Austria, Germany? Not yet – only feeds whose reuse terms we have verified are included.
How do I get alerts? Turn on Monitor price changes, give the monitor a name, and schedule the Actor (e.g. hourly). Combine with Apify integrations (Slack, email, webhooks).
Use with AI agents / Apify MCP
Add this Actor to Claude, ChatGPT or any MCP client through the Apify MCP server (gazidev/fuel-prices-europe). Agents can ask for "the 10 cheapest diesel stations within 15 km of Valencia" by passing latitude, longitude, radiusKm, fuelTypes: ["diesel"] and cheapestN: 10. Small, typed JSON rows keep token use low.
Data sources: Ministerio para la Transición Ecológica y el Reto Demográfico (Spain); Ministère de l'Économie – prix-carburants.gouv.fr, Licence Ouverte v2.0 (France). This Actor is not affiliated with either government.