Live fuel prices at every filling station in Spain (Ministry for the Ecological
Live fuel prices at every filling station in Spain (Ministry for the Ecological Transition, updated every 30 minutes): diesel, petrol 95/98, LPG, CNG, renewable diesel and AdBlue per station, by province (INE code 01-52) and optional town, with brand, address, coordinates and opening hours. Sort by price for one fuel. Spanish government open data, reuse with source and update date.
Answeringour last check, 2026-10-18
1 of 1checks answered this week
293 msmedian answer time
$0.001listed price per call
$0.001price it asked us
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
GET https://opendata402.com/v1/fuel/es
| Category | Code and developer |
|---|---|
| Provider host | opendata402.com |
| Networks | eip155:137, eip155:42161, eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 2 from 2 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-10-18 | valid payment request | 402 | $0.001 | 293 ms |
Example input (from the provider)
{
"method": "GET",
"queryParams": {
"fuel": "diesel",
"province": "28",
"town": "Madrid"
},
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"method": {
"enum": [
"GET"
],
"type": "string"
},
"queryParams": {
"properties": {
"fuel": {
"description": "Sort by the price of this fuel (cheapest first).",
"enum": [
"diesel",
"diesel_premium",
"e5_95",
"e10_95",
"e5_98",
"lpg",
"cng",
"hvo",
"adblue"
],
"type": "string"
},
"limit": {
"description": "Max stations (default 20, max 50).",
"pattern": "^([1-9]|[1-4][0-9]|50)$",
"type": "string"
},
"province": {
"description": "Spanish province INE code, e.g. 28 = Madrid, 08 = Barcelona.",
"pattern": "^(0[1-9]|[1-4][0-9]|5[0-2])$",
"type": "string"
},
"town": {
"description": "Town or municipality (part of the name).",
"pattern": "^[\\p{L} '-]{2,40}$",
"type": "string"
}
},
"required": [
"province"
],
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}