API reference/Energy & Utilities/Spain Fuel Price Areas

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-areas

Data source

Query parameters

ParameterDescriptionTry value
province
string
Province code; omit to list provinces
apikey
string 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.