France Fuel Prices by Station is a no-code web scraper that collects public open data data: station id, fuel, price (eur/l), price updated and in stock and more. Enter departments, postcodes and cities, start a run and download the results as Excel, CSV or JSON. It costs 1 credit per run plus 0.01 credits per result, so 100 results cost about 2 credits.
Category: Open data · Price: 1 credits per run + 0.01 per result.
France Fuel Prices by Station
Get the pump prices of every fuel station in France from the government's official open data (prix-carburants.gouv.fr): diesel (Gazole), SP95, SP98, E10, E85 and LPG (GPLc), with each station's address, GPS position, opening hours, services and current stock-outs. Search by department, postcode or town, or around a point within a radius, and get the cheapest stations first.
Typical uses
- Find the cheapest diesel within 10 km of a depot or along a delivery area, refreshed every run.
- Feed a fuel-price comparison page or app with fresh, attributed official data.
- Monitor competitor stations' prices around your own station several times a day.
- Track stock-outs (ruptures) of E10 or diesel by department.
Input
| Field |
What to enter |
| Departments |
Department codes, one per line: 75, 13, 2A, 974. |
| Postcodes |
Five-digit postcodes (69003). |
| Cities |
Town names as the station writes them (Lyon, Saint-Étienne). Accents, case, hyphens and "St"/"Ste" abbreviations are ignored. |
| Search around: latitude / longitude |
A point in decimal degrees (48.8566, 2.3522). Keeps stations within the radius and adds their distance. |
| Radius (km) |
0.5 to 100 km around the point. Default 10. |
| Fuels |
Any of Gazole (or diesel), SP95, SP98, E10, E85, GPLc (or LPG). Empty means all fuels. |
| Ignore prices older than (hours) |
Default 168 (one week). 0 keeps every price, however old. |
| Hide out-of-stock fuels and closed stations |
On by default. Turn it off to see out-of-stock fuels (inStock: false) and temporarily closed stations too. |
| Only stations open now |
Uses the hours each station declares, in French time. 24/7 card pumps count as open. Stations that declare no hours for today are kept. |
| Sort by |
Cheapest first (grouped by fuel), nearest first, most recently updated first, or by department and postcode. |
| Maximum rows |
One row per station and fuel. |
Departments, postcodes and cities are combined with OR: a station matching any of them is kept. The radius search is combined with AND. With no place and no point, the whole of France is returned (about 30,000 station and fuel rows).
Output example
{
"stationId": "69004002",
"fuel": "E10",
"price": 2.092,
"priceUnit": "EUR/L",
"priceUpdatedAt": "2026-10-21T13:15:00Z",
"inStock": true,
"address": "12 Rue de l'Exemple",
"postcode": "69004",
"city": "Lyon",
"department": "69",
"latitude": 45.77562,
"longitude": 4.82941,
"distanceKm": 1.76,
"roadType": "road",
"open24h": true,
"hours": "Mon-Sat 07:00-20:00; Sun closed",
"temporarilyClosed": false,
"services": ["Boutique alimentaire", "Station de gonflage", "Automate CB 24/24"],
"ruptures": [{"fuel": "GPLc", "type": "permanent", "since": "2019-03-01T09:00:00Z"}],
"licence": "Licence Ouverte / Open Licence v2.0 (Etalab)",
"attribution": "Données issues de prix-carburants.gouv.fr — Licence Ouverte / Etalab"
}
Output fields
stationId, fuel, price, priceUnit, priceUpdatedAt, inStock, address, postcode, city, department, latitude, longitude, distanceKm, roadType, open24h, hours, temporarilyClosed, services, ruptures, licence, attribution.
stationId is the station's identifier in the national register (stable between runs).
price is in euros per litre; priceUpdatedAt is when the station last declared it, converted from French local time to UTC.
inStock is false when the station reports a stock-out of that fuel (only visible with the "Hide" option off).
latitude / longitude are decimal degrees (the feed stores them multiplied by 100,000; they are converted).
roadType is motorway for motorway service areas and road otherwise.
open24h means a card-operated pump is available around the clock. hours summarises the declared opening hours (null when the station declares none).
services are the station's services in French as published (shop, car wash, air, LPG bottles…).
ruptures lists the fuels the station currently lacks: temporary (out of stock now) or permanent (no longer sold), with the start date.
distanceKm is filled only for a search around a point.
How it fetches data
- The official instant feed (
donnees.roulez-eco.fr/opendata/instantane_ruptures): one ZIP of about 1.2 MB holding an ISO-8859-1 XML file for all ~9,800 stations, with prices and stock-outs, regenerated about every 10 minutes. It is downloaded straight to a temporary file, read station by station with a streaming XML reader, and the compact result is cached for 10 minutes and shared by every run. Filtering, distances and sorting happen on our side, so a run in that window makes no request at all.
- If the feed cannot be downloaded or read, the run asks the copy of the same data on data.economie.gouv.fr (dataset "Prix des carburants en France – Flux instantané – v2") instead, with the departments, postcodes, cities and radius sent as a query filter, and says so in the log.
- No key or account is needed.
Good to know
- Licence and attribution. The data is published by the French government under the Licence Ouverte / Open Licence 2.0 (Etalab): free reuse, including commercial, as long as you credit the source and the date of the data. Every row carries
licence and attribution; keep the attribution "Données issues de prix-carburants.gouv.fr" with the data when you publish it, and don't suggest the government endorses your use.
- Prices are declared by the stations themselves. Most update daily, but some prices are weeks or months old; the default one-week age limit keeps those out of a cheapest-first list. Prices can lag behind the pump by a few hours.
- Opening hours are often incomplete or placeholder values in the source; "Only stations open now" can only be as good as what the station declared.
- Station names and brands are not part of the instant feed, only addresses. Addresses and town names are written by the stations (upper or lower case, abbreviations), so the city filter is forgiving but not perfect; departments and postcodes are the most reliable filters.
- The instant feed covers mainland France and Corsica; overseas departments are rarely present.
- Coordinates in the fallback dataset are rounded to about 100 m, so distances can differ slightly when the fallback is used.