# Energy Price Forecast EU Predicted spot prices

Source: https://docs.evcc.io/en/tariffs/energy-price-forecast-eu-predicted-spot-prices

Day-ahead spot prices plus a 4-day forecast [energypriceforecast.eu](https://energypriceforecast.eu/en/evcc-electricity-price-co2-forecast/)

Supported features: Germany, Netherlands, Belgium, Denmark, France, Austria, Czech Republic, Poland, Finland, Sweden, Norway

## Parameters

| Name | Description | Default / example | |
| --- | --- | --- | --- |
| region | Region (DE, NL, BE, DK1, DK2, FR, AT, CZ, PL, FI, SE1, SE2, SE3, SE4, NO1, NO2, NO3, NO4, NO5) | DE |  |
| currency | Currency (EUR, DKK, CZK, PLN, SEK, NOK) | EUR |  |
| horizon | Forecast horizon Anonymous access is limited to 48 hours from October 1, 2026. An API key allows up to 120 hours. | 120 h |  |
| apikey | API Key Optional for forecasts up to 120 hours. [Get an API key](https://energypriceforecast.eu/en/api-early-access/). |  |  |
| charges | Charge Additional fixed charge per kWh |  | advanced |
| chargesZones | Charges zones Time-based grid fees that override the default charge. |  | advanced |
| tax | Tax Additional percentage charge (e.g. 0.2 for 20%) |  | advanced |
| formula | Formula Individual formula for calculating the price | math.Max((price + charges) * (1 + tax), 0.0) | advanced |
| average | Average by hour |  | advanced |

## Configuration example for evcc.yaml

```yaml
tariffs:
    grid:
      type: template
      template: energypriceforecast
      region: DE # Region, [DE, NL, BE, DK1, DK2, FR, AT, CZ, PL, FI, SE1, SE2, SE3, SE4, NO1, NO2, NO3, NO4, NO5]
      currency: EUR # Currency, [EUR, DKK, CZK, PLN, SEK, NOK]
      horizon: 120 # Forecast horizon (h), Anonymous access is limited to 48 hours from October 1, 2026. An API key allows up to 120 hours.
      apikey: # API Key, Optional for forecasts up to 120 hours. [Get an API key](https://energypriceforecast.eu/en/api-early-access/). (optional)
      charges: # Charge, Additional fixed charge per kWh (optional)
      chargesZones: # Charges zones, Time-based grid fees that override the default charge. (optional)
      tax: # Tax, Additional percentage charge (e.g. 0.2 for 20%) (optional)
      formula: math.Max((price + charges) * (1 + tax), 0.0) # Formula, Individual formula for calculating the price (optional)
      average: # Average by hour, optional
```
