# French Fuel Station Prices — Prix Carburants (`bakos_bence/fr-fuel-stations`) Actor

Live French petrol, diesel, E10, E85, and LPG prices from the official Prix Carburants open data feed. Filter by postcode or lat/lng radius. Unofficial; not affiliated with the French Ministry of Energy.

- **URL**: https://apify.com/bakos\_bence/fr-fuel-stations.md
- **Developed by:** [Bakos Bence](https://apify.com/bakos_bence) (community)
- **Categories:** Travel, Automation, Other
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.60 / 1,000 results

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

### What does French Fuel Station Prices — Prix Carburants do?

**Example:** French Fuel Station Prices — Prix Carburants · 48.8566

**Try it:** Press **Start** on the prefilled input below — defaults are ready for a first run.

| Field | What you get |
|---|---|
| `stationId` | 75013025 |
| `city` | PARIS |
| `postcode` | 75013 |
| `fuel` | Gazole |
| `priceEur` | 2.25 |
| `sourceUrl` | https://donnees.roulez-eco.fr/opendata/instantane |
| `name` | Example jacket |
| `brand` | Example jacket |
| `address` | 1 Example Street |
| `latitude` | 48.8566 |
| `longitude` | 2.3522 |
| `priceUpdatedAt` | 2026-09-20 |
| `services` | true |
| `scrapedAt` | 2026-09-24T12:00:00.000Z |

**Cost:** Apify’s **Free** plan includes monthly platform credit. Open this Actor’s **Pricing** tab for current pay-per-event rates (no guesswork in the README).

![Example input form](assets/fr-fuel-stations-input-screenshot.png)

![Example dataset preview](assets/fr-fuel-stations-dataset-screenshot.png)

Press **Start**. The example is already filled in.

Live French petrol, diesel, E10, E85, and LPG prices from the official Prix Carburants open data feed. Filter by postcode or lat/lng radius. Unofficial; not affiliated with the French Ministry of Energy.

**Unofficial.** not affiliated with the French Ministry of Energy.

#### How to fill the form (first run)

1. Open **Input** — **Paris** center (48.8566 / 2.3522), **3 km** radius, **Maximum results** **5**.
2. Click **Start** for live station fuel prices (diesel, E10, SP98, etc.) from the official feed.
3. For your area: change **latitude/longitude** or list **French postcodes** (postcodes override the radius).
4. Optional: limit **Fuel types** (e.g. Gazole, E10); leave empty for all grades.
5. Leave **Proxy** at the default.

| Field | What to put |
|-------|-------------|
| Map center | WGS84 lat/lng of search center |
| Search radius | km around center (ignored if postcodes set) |
| French postcodes | Optional 5-digit filters |
| Fuel types | Optional official labels; empty = all |
| Maximum results | Row cap; 5 for a cheap test |
| Proxy | Managed by the Actor — leave default |

#### How much does it cost?

**Pay per event (PPE):** Actor start + each **result** row. See the Pricing tab on this Actor’s Store page.

#### Sample output

```json
{
  "stationId": "75013025",
  "city": "PARIS",
  "postcode": "75013",
  "fuel": "Gazole",
  "priceEur": 2.25,
  "sourceUrl": "https://donnees.roulez-eco.fr/opendata/instantane"
}
```

#### Related Actors

| Actor | When to use |
|-------|-------------|
| [Public Holidays by Country](https://apify.com/bakos_bence/public-holidays) | Calendar holiday rows for scheduling |
| [OpenFDA Recalls](https://apify.com/bakos_bence/openfda-recalls) | US FDA enforcement / recall rows |
| [SSL Certificate Monitor](https://apify.com/bakos_bence/ssl-certificate-monitor) | TLS cert expiry watchlists |

#### Export to Power BI, Tableau, Looker Studio & Qlik

Use the dataset items API URL from the run. Authenticate with your Apify API token.

**Dashboards:** connect **Power BI**, **Tableau**, **Looker Studio**, or **Qlik** to the dataset API. **AI agents:** paste this Actor’s Store page URL into an Apify-capable agent (MCP / Claude / Cursor with Apify).

# Actor input Schema

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

WGS84 latitude of the point to search around (e.g. <b>48.8566</b> = Paris).

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

WGS84 longitude (e.g. <b>2.3522</b> for Paris).

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

Distance from the map center in kilometres. Ignored when postcodes are set.

## `postcodes` (type: `array`):

Five-digit codes (e.g. <b>75013</b>, <b>69001</b>). When set, stations are filtered to these areas instead of the radius circle.

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

Official fuel labels to include. Leave empty for all fuels at each station. Common: Gazole (diesel), SP95, SP98, E10, E85, GPLc.

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

Cap station×fuel rows exported. Leave at <b>5</b> for a cheap first run.

## `proxyConfiguration` (type: `object`):

Ignored at runtime — direct egress. Leave default.

## Actor input object example

```json
{
  "latitude": 48.8566,
  "longitude": 2.3522,
  "radiusKm": 3,
  "maxItems": 5,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `overview` (type: `string`):

Default dataset items.

# 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 = {
    "latitude": 48.8566,
    "longitude": 2.3522,
    "radiusKm": 3,
    "maxItems": 5,
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("bakos_bence/fr-fuel-stations").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 = {
    "latitude": 48.8566,
    "longitude": 2.3522,
    "radiusKm": 3,
    "maxItems": 5,
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("bakos_bence/fr-fuel-stations").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 '{
  "latitude": 48.8566,
  "longitude": 2.3522,
  "radiusKm": 3,
  "maxItems": 5,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call bakos_bence/fr-fuel-stations --silent --output-dataset

```

## MCP server setup

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

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/d9IGrOSIy9yXFwSDb/builds/1qUG9wwgE7JUwaec2/openapi.json
