# France Fuel Prices: Every Station, Live Feed (`arnaud437/france-fuel-prices`) Actor

Fuel prices of every petrol station in France from the official government feed: diesel, SP95, SP98, E10, E85, LPG, with address, hours and shortages.

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

## Pricing

from $0.35 / 1,000 station extracteds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## France Fuel Prices: Every Station, Live Feed

Get the **fuel prices of every petrol station in France** from the **official government feed** (prix-carburants.gouv.fr), refreshed every 10 minutes: **diesel (gazole), SP95, SP98, E10, E85 and LPG**, with the station's **address**, **GPS position**, **opening days**, **services** and **temporary shortages**. Search by **department**, **postal code**, **city** or **around a point**, **cheapest first**. **$0.50 per 1,000 stations**.

### What you get

One row per petrol station:

- **Prices in euros per litre** for the six fuels, each with its **update time** (UTC).
- **Address, postal code, city, department** and **latitude / longitude**; **distance** from your point when you give one.
- **On a motorway** or not, **open 24/7** (card machine), **closed days**.
- **Services**: car wash, shop, LPG, truck lane, EV charging, parcel relay…
- **Temporary shortages**: fuels the station has run out of right now.

### Use cases

- **Fleet and logistics**: find the cheapest diesel along a route or around a depot.
- **Price monitoring**: track prices by department, brand area or motorway.
- **Apps and maps**: feed a fuel price map or a price alert.
- **Research and journalism**: compare prices between regions, motorways and towns.
- **Energy and retail analysis**: follow E85 and E10 availability and shortages.

### How to use

- **Without changing anything**: the 20 cheapest diesel stations of Paris (75).
- **Places**: departments (75, 2A, 974…), postal codes or city names; leave them all empty for the whole of France (about 9,800 stations).
- **Around a point**: latitude, longitude and a radius in km; stations come nearest first.
- **Fuels sold**: keep only stations that sell one of these fuels.
- **Cheapest first for**: sort by the price of one fuel.

Schedule it every hour or every day to build a price history.

### Input example

```json
{
  "cities": ["Lyon"],
  "fuels": ["e85"],
  "cheapestFirst": "e85",
  "maxResults": 10
}
```

### Output example

```json
{
  "recordType": "station",
  "id": "92300004",
  "stationId": "92300004",
  "address": "2/10 BLD FORT DE VAUX",
  "postalCode": "75017",
  "city": "Paris",
  "departmentCode": "75",
  "latitude": 48.893,
  "longitude": 2.302,
  "onHighway": false,
  "open24h": true,
  "closedDays": [],
  "services": ["Automate CB 24/24"],
  "fuels": ["diesel", "e85", "e10", "sp98"],
  "dieselPrice": 2.029,
  "sp95Price": null,
  "sp98Price": 1.989,
  "e10Price": 1.929,
  "e85Price": 0.939,
  "lpgPrice": null,
  "prices": [
    { "fuel": "diesel", "price": 2.029, "updatedAt": "2026-11-20T09:50:11.000Z" },
    { "fuel": "e85", "price": 0.939, "updatedAt": "2026-11-20T09:50:11.000Z" },
    { "fuel": "e10", "price": 1.929, "updatedAt": "2026-11-20T09:50:11.000Z" },
    { "fuel": "sp98", "price": 1.989, "updatedAt": "2026-11-20T09:50:11.000Z" }
  ],
  "temporarilyOutOfStock": [],
  "pricesUpdatedAt": "2026-11-20T09:50:11.000Z",
  "distanceKm": null,
  "status": "ok",
  "sourceName": "Prix des carburants en France, flux instantané (ministère de l'Économie)",
  "sourceUrl": "https://www.prix-carburants.gouv.fr/rubrique/opendata/",
  "licence": "Licence Ouverte / Open Licence 2.0 (Etalab)",
  "sourceUpdatedAt": "2026-11-20T12:40:12.000Z",
  "actorVersion": "0.1.1",
  "retrievedAt": "2026-11-20T12:55:04.120Z"
}
```

### Pricing

Pay per event: **$0.50 per 1,000 stations** (`station-extracted`, $0.0005 each), plus Apify's start fee of $0.00005 per run.

| Stations                 | Price |
| ------------------------ | ----- |
| 20                       | $0.01 |
| 1,000                    | $0.50 |
| All France (about 9,800) | $4.90 |

### Data source

The instant feed of **prix-carburants.gouv.fr**, the French Ministry of the Economy's fuel price site: stations must declare every price change. One download of the official zip file per run.

### Is it legal?

Yes. The feed is open data under the **Licence Ouverte 2.0** (Etalab), free to reuse, including commercially, with the source named; every row names it. The data only describes petrol stations, never people.

### FAQ

- **Why is a price weeks old?** Some stations do not declare often; check `updatedAt` for each fuel.
- **Why no brand or station name?** The official feed does not publish them; the address and the station number identify the station.
- **What time zone?** All dates are in UTC (the feed uses Paris time, converted).

### Related Actors

- [France Electricity Mix](https://apify.com/arnaud437/france-electricity-mix): RTE éCO2mix Data
- [ECB Exchange Rates](https://apify.com/arnaud437/exchange-rates-ecb): Official Euro FX Rates & History
- [French Property Prices (DVF)](https://apify.com/arnaud437/france-property-sales): Sales & Price per m²
- [Open Food Facts Barcode Lookup](https://apify.com/arnaud437/open-food-facts-ean): Nutri-Score, Nutrition
- [EU Public Tenders (TED)](https://apify.com/arnaud437/eu-public-tenders): Calls for Tenders & Awards

Every Actor here also works as a tool for AI agents (Claude, ChatGPT, Cursor…) through [Apify’s MCP server](https://mcp.apify.com).

### Changelog

See [CHANGELOG.md](CHANGELOG.md).

### En français

#### Les prix des carburants de toutes les stations de France

Prix du gazole, SP95, SP98, E10, E85 et GPLc de chaque station, d'après le flux officiel du ministère de l'Économie (prix-carburants.gouv.fr), mis à jour toutes les 10 minutes. Recherche par département, code postal, ville ou autour d'un point, du moins cher au plus cher.

#### Prix

0,50 $ les 1 000 stations.

#### Source et légalité

Données ouvertes sous Licence Ouverte 2.0 (Etalab), réutilisables en citant la source.

# Changelog

This Actor's version history is a separate document: https://apify.com/arnaud437/france-fuel-prices/changelog.md

# Actor input Schema

## `departments` (type: `array`):

Department numbers, such as 75, 69, 2A or 974. Leave all places empty for the whole of France (about 9,800 stations).

## `postalCodes` (type: `array`):

Postal codes of 5 digits, such as 69003.

## `cities` (type: `array`):

City names; accents and case do not matter (Saint-Étienne, st etienne).

## `latitude` (type: `number`):

Optional: only stations within the radius of this point, nearest first. Example: 48.8566.

## `longitude` (type: `number`):

Example: 2.3522.

## `radiusKm` (type: `number`):

Distance from the point, in kilometres.

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

Only stations that sell at least one of these fuels. Empty means all stations.

## `cheapestFirst` (type: `string`):

Optional: sort by the price of this fuel, cheapest first (stations without it are left out).

## `maxResults` (type: `integer`):

Up to 20,000.

## Actor input object example

```json
{
  "departments": [
    "75"
  ],
  "radiusKm": 10,
  "cheapestFirst": "diesel",
  "maxResults": 20
}
```

# Actor output Schema

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

One row per petrol station: fuel prices, address, hours, services and shortages.

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

Stations extracted, error rows, and dates of the run.

# 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 = {
    "departments": [
        "75"
    ],
    "cheapestFirst": "diesel",
    "maxResults": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("arnaud437/france-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 = {
    "departments": ["75"],
    "cheapestFirst": "diesel",
    "maxResults": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("arnaud437/france-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 '{
  "departments": [
    "75"
  ],
  "cheapestFirst": "diesel",
  "maxResults": 20
}' |
apify call arnaud437/france-fuel-prices --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,arnaud437/france-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/W90y7EYM3DnBwLHYq/builds/aIvQkN8NsiHppvGVd/openapi.json
