Spain Fuel Prices – Cheapest Petrol & Diesel Stations (MITECO)
Pricing
$1.00 / 1,000 station price returneds
Spain Fuel Prices – Cheapest Petrol & Diesel Stations (MITECO)
Cheapest petrol and diesel stations in Spain from the official MITECO feed: price per litre, address, hours, distance and savings per tank. Updated daily.
Pricing
$1.00 / 1,000 station price returneds
Rating
0.0
(0)
Developer
FlEtsv
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
2 days ago
Last modified
Categories
Security
Limited permissionsShare
Find the cheapest petrol, diesel and LPG stations in Spain from the official MITECO price feed, ranked by price, with address, opening hours, distance and savings per 50-litre tank. Versión en español más abajo.
Use cases
- Transport and delivery fleets: cheapest diesel by province every morning
- Price comparison sites and apps: fresh fuel data through one API call
- Consumers: alert when a station in your town drops below your price
- Analysts: price trends by province, brand and fuel type
English
What does it do?
The Actor downloads the Spanish Ministry (MITECO) feed of fuel station prices, filters by province, town or radius around your coordinates, and ranks the stations by the price of the fuel you choose. Each result includes the brand, price per litre, estimated saving against the average of the selection for a 50-litre tank, full address, opening hours, a 24-hour flag, coordinates, distance, all the fuel prices of the station and a map link.
Input
provincia: name or INE code, ortodasfor all of Spain (default Madrid).municipio: optional town filter.combustible: diesel, premium diesel, gasoline 95/98, LPG, CNG, LNG or AdBlue.latitud,longitud,radioKm: filter by distance from a point.solo24h,maxItems.
The default input already works: press Start and you get results in seconds.
Example:
{"provincia":"Madrid","combustible":"gasoleoA","maxItems":10}
Output
One record per result with: posicion, rotulo, combustible, precioEurLitro, ahorroDepositoEur, direccion, codigoPostal, municipio, provincia, horario, abierto24h, latitud, longitud, distanciaKm, precios, fechaDatos, urlMapa.
Pricing (pay per event)
| Event | Price | Per 1,000 |
|---|---|---|
Station returned (station-price) | $0.001 | $1.00 |
You only pay for results returned. Set a maximum spend per run and the Actor stops when the limit is reached, keeping what it saved. The Apify FREE plan includes monthly credit to try it.
Integrations (Make, Zapier, Google Sheets)
- Make: add the Apify module "Run an Actor" (Actor
Flets_sv/gasolineras-precios-espana), paste the input JSON, chain "Get Dataset Items" and map the fields to Google Sheets, Slack, Airtable or your CRM. - Zapier: the Apify app offers "Run Actor" and "Fetch Dataset Items". Add a Schedule trigger and send each row to Gmail, Slack or Notion.
- Google Sheets: enable the official Google Sheets integration in the Actor's Integrations tab to append every run to a sheet, or call
https://api.apify.com/v2/acts/Flets_sv~gasolineras-precios-espana/run-sync-get-dataset-items?format=csvwith POST and your input from Apps Script (UrlFetchApp). - API and webhooks: start the Actor from the REST API, use Schedules for recurring runs and add a webhook to notify your system when a run finishes.
Input to paste into Make or Zapier:
{"provincia":"Madrid","combustible":"gasoleoA","maxItems":10}
FAQ
How fresh is the data? The ministry updates prices during the day; fechaDatos shows the timestamp of the feed.
Does it cover the Canary Islands? Yes. Use provincia Las Palmas or Santa Cruz de Tenerife.
Is it free to reuse? The feed is open data from the Spanish government.
Español
¿Qué hace?
El Actor descarga el listado oficial de precios de carburantes del Ministerio (MITECO), filtra por provincia, municipio o radio desde tus coordenadas y ordena las gasolineras por el precio del combustible elegido, con dirección, horario, distancia y ahorro estimado por depósito de 50 litros.
Input
Por defecto devuelve las 10 gasolineras con el gasóleo A más barato de Madrid en unos 3 segundos. Usa los mismos campos que la sección inglesa.
Output
Un registro por resultado con los campos de la sección inglesa.
Precios (pago por evento)
Station returned (station-price): $0.001 ($1.00 por cada 1.000). Solo pagas por los resultados devueltos y puedes fijar un gasto máximo por ejecución.
Integraciones (Make, Zapier, Google Sheets)
- Make: añade el módulo de Apify «Run an Actor» (Actor
Flets_sv/gasolineras-precios-espana), pega el input JSON y encadena «Get Dataset Items»; después mapea los campos a Google Sheets, Slack, Airtable o tu CRM. - Zapier: la app de Apify ofrece «Run Actor» y «Fetch Dataset Items». Ponle un disparador de horario y envía cada fila a Gmail, Slack o Notion.
- Google Sheets: en la pestaña Integrations del Actor activa la integración oficial con Google Sheets para añadir cada ejecución a una hoja, o llama desde Apps Script (
UrlFetchApp) ahttps://api.apify.com/v2/acts/Flets_sv~gasolineras-precios-espana/run-sync-get-dataset-items?format=csvcon POST y tu input. - API y webhooks: lanza el Actor por API REST, programa ejecuciones (Schedules) y avisa a tu sistema con un webhook al terminar.
Ejemplo de input para pegar en Make o Zapier:
{"provincia":"Madrid","combustible":"gasoleoA","maxItems":10}
Preguntas frecuentes
¿Puedo ver la más barata cerca de mí? Sí: indica latitud, longitud y radioKm.
¿Sirve para flotas? Sí, programa una ejecución diaria por provincia y envíala a una hoja.
Ejemplos de uso / Usage examples
Example output (real run, 2026-11-05)
First rows returned by a real run of this Actor on 2026-11-05 (shortened columns, values truncated):
| posicion | rotulo | precioEurLitro | municipio | provincia | horario | urlMapa |
|---|---|---|---|---|---|---|
| 1 | PETROPRIX | 1.709 | Leganés | MADRID | L-D: 24H | https://www.google.com/maps?q=40.314889,-3.760694 |
| 2 | PLENERGY | 1.709 | Leganés | MADRID | L-D: 24H | https://www.google.com/maps?q=40.323444,-3.751389 |
| 3 | FAMILY ENERGY | 1.709 | Leganés | MADRID | L-D: 24H | https://www.google.com/maps?q=40.319472,-3.744306 |
Copy-paste inputs
1. Cheapest diesel in Madrid
{"provincia": "Madrid","combustible": "gasoleoA","maxItems": 10}
2. Petrol 95 within 10 km of a point, open 24h
{"latitud": 41.3874,"longitud": 2.1686,"radioKm": 10,"combustible": "gasolina95E5","solo24h": true,"maxItems": 10}
Call it from your code (Apify API)
curl -X POST "https://api.apify.com/v2/acts/Flets_sv~gasolineras-precios-espana/run-sync-get-dataset-items?token=YOUR_API_TOKEN" \-H "Content-Type: application/json" \-d '{"provincia": "Madrid", "combustible": "gasoleoA", "maxItems": 10}'
from apify_client import ApifyClientclient = ApifyClient("YOUR_API_TOKEN")run = client.actor("Flets_sv/gasolineras-precios-espana").call(run_input={"provincia": "Madrid", "combustible": "gasoleoA", "maxItems": 10})for item in client.dataset(run["defaultDatasetId"]).iterate_items():print(item)
No code? Use the Apify modules for Make and Zapier (run the Actor, then fetch dataset items), or the Google Sheets integration in the Actor's Integrations tab to append each run to a sheet.