Spain Fuel Price Areas
Province codes for Spain, or the municipality codes of one province, to use with /energy/es/fuel-prices.
GET
/api/v1/energy/es/fuel-areasData source
- Precios de Carburantes (Geoportal de Gasolineras) REST serviceMinisterio para la Transición Ecológica y el Reto Demográfico (Spain)
Query parameters
| Parameter | Description | Try value |
|---|---|---|
provincestring | Province code; omit to list provinces | |
apikeystring required | Your API key. Can also be sent as the X-API-Key header. | demo key used here |
Response envelope
Success: { data, meta: { sources, fetchedAt, cached } }. Errors: { error: { code, message } } with HTTP 400, 401, 404, 502, 503 or 504.