This API comes from the open public-apis dataset (MIT license), and its official site passed our link check on 23 Oct 2026 (HTTP 200). We have not yet run a full endpoint test on it — those happen in weekly passes, most-wanted first. Until then: no playground and no fake badges, just an honest listing.
Three ways to call Fuel Prices at Spanish Gas Stations — pick your weapon.
// Fuel Prices at Spanish Gas Stations — no build step, no library. Just fetch.
const res = await fetch("https://datos.gob.es/en/apidata");
const data = await res.json();
console.log(data);
# Fuel Prices at Spanish Gas Stations with Python requests
import requests
r = requests.get("https://datos.gob.es/en/apidata")
print(r.status_code)
print(r.json())
# Fuel Prices at Spanish Gas Stations from your terminal
curl "https://datos.gob.es/en/apidata"
🏅 Own this API?
Add the live-verified badge to your docs or repo — it only ever displays the status from our latest check.
<a href="https://freeapis.akclnt.com/api/fuel-prices-at-spanish-gas-stations/"><img src="https://freeapis.akclnt.com/badge/fuel-prices-at-spanish-gas-stations.svg" alt="Fuel Prices at Spanish Gas Stations — live-verified free API on AKCLNT Free APIs"></a>