Europe
Spain APIs
2 endpoints built on Spain's own data, from Ministerio para la Transición Ecológica y el Reto Demográfico (Spain). One API key, one JSON format.
Straight from the source
Try it: Spain Fuel Price Areas
curl "https://api.sectorapi.com/api/v1/energy/es/fuel-areas?province=28&apikey=YOUR_API_KEY"⚡ Energy & Utilities 2whole sector →
| Spain Fuel Price Areas Province codes for Spain, or the municipality codes of one province, to use with /energy/es/fuel-prices. | |
| Spain Fuel Prices by Station Official pump prices at every service station in a Spanish province or municipality, from the Ministry for the Ecological Transition: price of the chosen fuel, all fuels sold, brand, address, coordinates and opening hours, cheapest first, with min, median, average and max. Optional nearby search and past dates. |