{"slug":"opendata402-com-v1-fuel-es-ecd263","title":"Live fuel prices at every filling station in Spain (Ministry for the Ecological ","host":"opendata402.com","method":"GET","resource":"https://opendata402.com/v1/fuel/es","category":"code","description":"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_listed":0.001,"price_asked":0.001,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":293,"reported_calls_30d":2,"reported_payers_30d":2,"networks":["eip155:137","eip155:42161","eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"method":"GET","queryParams":{"fuel":"diesel","province":"28","town":"Madrid"},"type":"http"},"output_schema":{"$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"},"history":[{"day":"2026-10-18","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.001,"price_match":true,"latency_ms":293,"error":null}],"description_full":"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.","last_updated":"2026-10-14T22:24:02.393Z","schemes":["exact"]}