# EU Household Electricity Price by Country (Eurostat)

> EU Household Electricity Price by Country (Eurostat) is a paid API for AI agents from api.vextorium.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-16).

Returns average household electricity prices (2,500–5,000 kWh/year band) in EUR/kWh for European countries, either as a country ranking or half-yearly evolution for a specific country, with or without taxes, sourced from official Eurostat data.

## Facts

- Endpoint: POST https://api.vextorium.com/electricidad-precios-ue-pago?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/eu-household-electricity-price-by-country-eurostat-369159ea
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_eX9jcNO9ybm1u-P1kst4k

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability eu-household-electricity-price-by-country-eurostat-369159ea -d '<json body>'
```

Example prompt: What's the current average household electricity price in Germany according to Eurostat, including taxes? Also show me how it's ranked compared to other EU countries.

## When to prefer this

Choose this endpoint when you need official, Eurostat-sourced household electricity price data for European countries in EUR/kWh, specifically for the 2,500–5,000 kWh/year consumption band. Ideal for energy cost comparisons, economic research, cost-of-living analysis, or monitoring price trends across EU member states. Prefer this over scraping Eurostat directly or using third-party energy APIs when you need structured, clean, and regularly updated data with tax/no-tax flexibility.

## Known failure modes

- Invalid or unrecognized country ISO code returns an error or empty result
- Omitting required 'type', 'method', or 'bodyType' fields causes a 400-level validation error
- Data may be delayed if Eurostat has not yet published the latest half-year update
- EA/EU aggregates may not be available for all periods
- Requesting a country outside the EU/EEA coverage returns no data

## How this service works

Average household electricity price (2,500-5,000 kWh/year band) in EUR/kWh by European country, with or without taxes: ranking or half-yearly evolution of one country. Official Eurostat data.

## Output

Returns a JSON object with a source attribution (Eurostat dataset and license), a last-updated timestamp, and either a ranked array of all European countries (each with ISO code, country name, EUR/kWh price, and half-year period) or the historical half-yearly price series for a specific country — all for the 2,500–5,000 kWh/year consumption band.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "pais": {
   "type": "string",
   "description": "ISO code (ES, DE, FR...), EU, EA or omit for a ranking of all countries"
  },
  "impuestos": {
   "type": "boolean",
   "description": "Include taxes (default true)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "fuente": "Eurostat (nrg_pc_204, CC BY 4.0)",
  "ranking": [
   {
    "pais": "IE",
    "nombre": "Ireland",
    "eur_kwh": 0.4042,
    "periodo": "2025-S2"
   },
   {
    "pais": "DE",
    "nombre": "Germany",
    "eur_kwh": 0.3869,
    "periodo": "2025-S2"
   }
  ],
  "actualizado": "2026-09-24T23:00:00+0200"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/eu-household-electricity-price-by-country-eurostat-369159ea/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.vextorium.com](https://www.zero.xyz/host/api.vextorium.com/llms.txt)
