# EU Fuel Prices - France and Spain (official open data) (`darikami/eu-fuel-prices`) Actor

Current fuel prices of every station in France and Spain from the two governments' open data feeds: diesel, petrol 95/98, E10, LPG, CNG, HVO and more. Brand, address, coordinates, price and update time. Filter by country, fuel, postal code, map box.

- **URL**: https://apify.com/darikami/eu-fuel-prices.md
- **Developed by:** [DARIKAMI GmbH](https://apify.com/darikami) (community)
- **Categories:** Travel, Business
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$1.00 / 1,000 station price delivereds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## EU Fuel Prices - France and Spain

**Current fuel prices of filling stations in France and Spain, from the official open data of the two governments.**
You get one item per station and fuel: brand, address, postal code, coordinates, fuel type, price in EUR and the time of the price.
**USD 0.001 per station price (USD 1 per 1,000).** Filter by fuel, postal code or a map box, and pay only for what matches. No API key.

| Country | Brand | Postal code | City | Fuel | Price (EUR) | Updated |
|---|---|---|---|---|---|---|
| FR | - | 75017 | Paris | diesel | 2.136 | 2026-11-04T11:39:58+01:00 |
| FR | - | 75012 | Paris | diesel | 2.250 | 2026-11-04T14:57:54+01:00 |
| ES | PLENERGY | 28607 | El Álamo | diesel | 1.789 | 2026-11-04T23:46:42+01:00 |
| ES | FAST FUEL | 28607 | El Álamo | diesel | 1.789 | 2026-11-04T23:46:42+01:00 |
| ES | BP DUALEZ 365 | 28607 | El Álamo | diesel | 1.879 | 2026-11-04T23:46:42+01:00 |

The rows come from a real cloud run of 2026-11-04 (diesel in Paris and the Madrid region). The full item is under Output.

The sources:

- **France**: prix-carburants.gouv.fr, the government's fuel price site. Stations must report their prices by law.
- **Spain**: the Geoportal Gasolineras of the Ministry for the Ecological Transition.
- **Italy (experimental, only on request)**: the open data of the Ministry of Enterprises and Made in Italy (MIMIT).

### Who uses it

- **Drivers' apps and route planners:** the cheapest diesel or E10 in a city, a region or a map box along a route.
- **Fleet and logistics tools:** fuel cost per region, refuelling stops on motorways.
- **Market analysts:** run it every day and keep the history of about 73,000 prices in two countries.

### What it does not do

- Italy is experimental: the ministry's site refuses cloud networks, also Apify's (2026-11-04). It works only from an allowed network; on Apify, `IT` gives a free error item.
- France: no brand and no station name in the feed. Some prices are old: the feed keeps a price until the station reports a new one. Use `maxAgeDays`.
- Spain: no time per price, only the time of the file.
- Italy: the prices are those of 8:00 of the extraction day, not live. The register has no postal-code field: the actor reads the postal code from the address (95 % of the stations).
- A station without coordinates does not pass a `boundingBox` filter.
- The actor passes the prices on as the source has them. A few Italian prices are placeholders of the operators: 11 of 92,672 on 2026-10-14 (0.1 or 8.888 EUR a litre).
- No opening hours, services or EV charging points.

### Input

```json
{
  "countries": ["FR", "ES"],
  "fuels": ["diesel", "petrol-95-e10"],
  "areas": ["FR-75", "ES-28"],
  "boundingBox": { "south": 48.80, "west": 2.22, "north": 48.91, "east": 2.47 },
  "maxAgeDays": 7,
  "maxItems": 1000
}
```

All fields are optional.
An empty input returns the prices of France and Spain (about 73,000 prices, see Pricing).

| Field | What it does |
|---|---|
| `countries` | `FR`, `ES`. Default: both, or the countries of your `areas`. `IT` (experimental) only when you name it. |
| `fuels` | The fuel types (below). Default: all fuels. |
| `areas` | The country and the start of the postal code: `FR-75` = Paris, `FR-13` = Bouches-du-Rhône, `ES-28` = Madrid, `ES-08` = Barcelona. For Italy (experimental) also a province code: `IT-RM` = Rome. If you set areas, each country that you select needs an area. |
| `boundingBox` | A map box in degrees (`south`, `west`, `north`, `east`). The actor drops stations without coordinates. |
| `maxAgeDays` | The actor drops prices that are older than this number of days. |
| `maxItems` | The run stops after this number of prices. |

A station must pass every filter that you set.
In `fuels` and `areas`, one matching value is enough.

**Fuel types** (`fuel`). The source's own product name is always in `fuelName`.

| `fuel` | France | Spain | Italy (experimental) |
|---|---|---|---|
| `diesel` | Gazole | Gasóleo A | Gasolio |
| `diesel-premium` | - | Gasóleo Premium | brand diesels (Blue Diesel, Hi-Q Diesel, winter diesel) |
| `diesel-agricultural` | - | Gasóleo B | - |
| `hvo` | - | Diésel Renovable | HVO, HVOlution and other HVO products |
| `petrol-95` | SP95 | Gasolina 95 E5 | Benzina |
| `petrol-95-e10` | E10 | Gasolina 95 E10 | - |
| `petrol-98` | SP98 | Gasolina 98 E5 | brand petrols with "98" |
| `petrol-98-e10` | - | Gasolina 98 E10 | - |
| `petrol-premium` | - | Gasolina 95 E5 Premium | brand petrols (Blue Super, V-Power, 100 octane) |
| `e85` | E85 | Gasolina 95 E85 | - |
| `lpg` | GPLc | Gases licuados del petróleo | GPL |
| `cng`, `lng` | - | Gas Natural Comprimido, Gas Natural Licuado | Metano, L-GNC, GNL |
| `bio-cng`, `bio-lng`, `hydrogen`, `adblue`, `biodiesel`, `bioethanol`, `renewable-petrol` | - | yes | - |
| `other` | - | other products | brand products without a known type |

### Output

One item per station and fuel.
In Italy (experimental) a station can have two prices for one fuel: `self` service and `served`.
This is a price of a station in Madrid on 2026-11-04:

```json
{
  "type": "station-price",
  "country": "ES",
  "stationId": "3119",
  "brand": "REPSOL",
  "name": null,
  "address": "CARRETERA M-114 KM. 0,7",
  "postalCode": "28864",
  "city": "Ajalvir",
  "province": "MADRID",
  "latitude": 40.528028,
  "longitude": -3.480944,
  "motorway": null,
  "fuel": "diesel",
  "fuelName": "Gasoleo A",
  "price": 2.009,
  "currency": "EUR",
  "unit": "litre",
  "service": null,
  "updatedAt": "2026-11-04T21:33:42+01:00",
  "updatedAtKind": "snapshot",
  "sourceUpdatedAt": "2026-11-04T21:33:42+01:00",
  "source": "Geoportal Gasolineras, servicio REST EstacionesTerrestres (sedeaplicaciones.minetur.gob.es), Ministerio para la Transición Ecológica y el Reto Demográfico"
}
```

- `price` is in euros per `unit`: per litre, or per kilogram for CNG, LNG and hydrogen.
- `updatedAt`: in France and Italy the time that the station reported the price (`updatedAtKind: "reported"`). In Spain the time of the national file (`"snapshot"`): the price was in force then.
- `sourceUpdatedAt`: the time of the national file. In Italy it is 8:00 of the extraction day: the file has the prices in force at that time.
- `brand`: France has no brand in its feed (`null`). Spain gives the sign on the station: a brand or the trade name of an independent station. Italy gives the brand ("Pompe Bianche" = an independent station).
- `name`: only Italy has station names. The actor keeps a name only when a company runs the station.
- `motorway`: `true` on a motorway (France, Italy), `null` in Spain.
- Times have the offset of the country (`+01:00` in winter, `+02:00` in summer).

### Pricing (pay per event)

| Event | Price | When |
|---|---|---|
| `station-price` | **USD 0.001** | one station price that matched your filters, pushed to the dataset |

Free: prices that your filters drop, error items, and the note "nothing matched".
1,000 prices cost USD 1.
A whole country (counts of the local run of 2026-11-04):

- France: about 30,500 prices of 9,800 stations;
- Spain: about 43,000 prices of 11,500 stations;
- Italy (experimental, only on request): about 92,700 prices of 21,600 stations (file of 2026-10-14).

Set `fuels`, `areas` or `maxItems` to get less.

### Personal data

Stations are business premises.
The actor gives the brand, the address, the coordinates and the prices.

Italy (experimental): the register also names the operator of each station.
Often the operator is a sole trader, and the name is a person's name.
So the actor does not output the operator.
The station name in Italy is free text by the operator and often repeats his name.
The actor keeps it only when the operator is a company (S.r.l., S.p.A., a cooperative) and the name repeats no word of the operator's name.

In Spain, `brand` is the sign on the station as the ministry publishes it. For an independent station it is the trade name on the sign.

A brand or trade name can still hold a person's name.

### Data source and terms

- **France** - `https://donnees.roulez-eco.fr/opendata/instantane` (the "flux instantané", updated about every 10 minutes). The site prix-carburants.gouv.fr (read 2026-11-04): "Le site gouvernemental des prix des carburants met à disposition de manière libre et gratuite (Open data) les données relatives aux prix des carburants. \[...] sont fournies sous la « Licence ouverte / Open licence »." The Licence Ouverte 2.0 allows reuse "à des fins commerciales ou non", on the condition to "mentionner la paternité de l'« Information » : sa source \[...] et la date de la dernière mise à jour". Every item carries `source` and `sourceUpdatedAt` for this.
- **Spain** - `https://sedeaplicaciones.minetur.gob.es/ServiciosRESTCarburantes/PreciosCarburantes/EstacionesTerrestres/` (updated every half hour). The record of the Geoportal Gasolineras in the national spatial data catalogue (IDEE, read 2026-11-04): "No se aplican condiciones de acceso y uso." and "MITERD CC BY 4.0". Reuse of the State's information follows Law 37/2007 and Royal Decree 1495/2011: reuse "para fines comerciales o no comerciales" (art. 1.5), on the conditions to "Citar la fuente" and to "Mencionar la fecha de la última actualización" (art. 7). Every item carries `source` and `sourceUpdatedAt` for this.
- **Italy (experimental)** - `https://www.mimit.gov.it/images/exportCSV/anagrafica_impianti_attivi.csv` and `prezzo_alle_8.csv` (daily). The MIMIT dataset page: "Licenza: IODL 2.0". The files have the prices "in vigore alle ore 8 del giorno precedente a quello di pubblicazione" (in force at 8:00 of the day before publication).
- The prices are those that the stations report to their ministry. The actor does not change them. For a binding price, ask the station.
- The actor sends one request per country and run, two for Italy.

### Run summary

The run summary is in the default key-value store under `SUMMARY`, the counts under `STATS`.
The data comes as the source publishes it, without warranty.

**More official-data actors by darikami:** [Swiss UID & VAT validator](https://apify.com/darikami/swiss-uid-validator) · [Swiss electricity tariffs](https://apify.com/darikami/swiss-electricity-tariffs) · [Swiss federal law MCP](https://apify.com/darikami/swiss-federal-law-mcp) · [SEC company fundamentals](https://apify.com/darikami/sec-company-fundamentals) · [German public tenders](https://apify.com/darikami/german-public-tenders).
In an AI agent: ask the Apify MCP server (`mcp.apify.com`) for `darikami/eu-fuel-prices`.

# Actor input Schema

## `countries` (type: `array`):

FR = France, ES = Spain. Empty: France and Spain (or the countries of your areas). Each country is one whole-country file. Italy is experimental: the ministry's site refuses cloud networks; it works only from an allowed network.

## `fuels` (type: `array`):

Keep only these fuel types. Empty: every fuel. Each item also carries the source's own product name (fuelName).

## `areas` (type: `array`):

Keep stations in these areas: the country, then the start of the postal code - FR-75 = Paris, FR-13 = Bouches-du-Rhône, ES-28 = Madrid, ES-08 = Barcelona. With areas, every country you select needs an area. Italy (experimental): a province code, IT-RM = Rome.

## `boundingBox` (type: `object`):

Keep stations inside this box, in degrees: { "south": 48.80, "west": 2.22, "north": 48.91, "east": 2.47 }. Stations without coordinates are dropped.

## `maxAgeDays` (type: `integer`):

Drop prices that were last updated more than this number of days ago. France and Italy give a time per price; for Spain it is the time of the national file.

## `maxItems` (type: `integer`):

Stop after this number of station prices. Empty: no limit (France has ~30,000 prices, Spain ~43,000).

## Actor input object example

```json
{
  "countries": [
    "FR",
    "ES"
  ],
  "fuels": [
    "diesel",
    "petrol-95",
    "petrol-95-e10"
  ],
  "areas": [
    "FR-75",
    "ES-28"
  ]
}
```

# Actor output Schema

## `results` (type: `string`):

One item per station and fuel: country, station id, brand, address, postal code, city, coordinates, fuel, price in EUR, unit, update time and source.

## `summary` (type: `string`):

SUMMARY record: pushed, charged, attempts, errors, stoppedByBudget, ok, message.

## `stats` (type: `string`):

STATS record: per country the stations and prices in the feed, the matched stations, the prices pushed, the feed's update time and download size; the run's peak memory.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "countries": [
        "FR",
        "ES"
    ],
    "fuels": [
        "diesel",
        "petrol-95",
        "petrol-95-e10"
    ],
    "areas": [
        "FR-75",
        "ES-28"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("darikami/eu-fuel-prices").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "countries": [
        "FR",
        "ES",
    ],
    "fuels": [
        "diesel",
        "petrol-95",
        "petrol-95-e10",
    ],
    "areas": [
        "FR-75",
        "ES-28",
    ],
}

# Run the Actor and wait for it to finish
run = client.actor("darikami/eu-fuel-prices").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "countries": [
    "FR",
    "ES"
  ],
  "fuels": [
    "diesel",
    "petrol-95",
    "petrol-95-e10"
  ],
  "areas": [
    "FR-75",
    "ES-28"
  ]
}' |
apify call darikami/eu-fuel-prices --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,darikami/eu-fuel-prices"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/IVI9uB1qUfzDhdKqX/builds/On7IoZ9tCNTYw5G98/openapi.json
