Skip to main content
The GET /metrics/accuracy endpoint returns error statistics comparing Nexenergie’s past forecasts to the actual prices published by OMIE. Use these metrics to gauge current model performance before making decisions — for example, when sizing risk buffers for energy procurement or validating forecast quality ahead of a new trading period.

Endpoint


Query Parameters

string
default:"day-ahead"
The market session to evaluate. Must be one of day-ahead, intraday-1, intraday-2, or intraday-3.
string
required
Start of the evaluation period, in YYYY-MM-DD format. Must be earlier than date_to.
string
required
End of the evaluation period, in YYYY-MM-DD format. The window between date_from and date_to may not exceed 90 days.
integer
When provided, restricts metric computation to a single hour of the day (0–23). Useful for isolating performance at peak or off-peak hours. Omit to aggregate across all 24 hours.
string
Filter results to a specific model version string (e.g. v2.4.1). Omit to include all versions active during the requested date range.

Request Example

The examples below request day-ahead accuracy metrics for a 30-day window.

Response

A successful request returns HTTP 200 OK with a JSON object containing aggregate accuracy statistics and, optionally, a per-hour breakdown.
string
The market session the metrics apply to (e.g. "day-ahead").
string
The start of the evaluated period, in YYYY-MM-DD format.
string
The end of the evaluated period, in YYYY-MM-DD format.
string
The model version that produced the majority of forecasts within this date range. If multiple versions contributed, this reflects the dominant one.
integer
The total number of hourly data points used to compute the metrics. Each calendar day contributes up to 24 observations.
number
Mean Absolute Error in EUR/MWh — the average absolute deviation between forecast and settled price.
number
Root Mean Square Error in EUR/MWh — penalises large individual errors more heavily than MAE.
number
Mean Absolute Percentage Error expressed as a percentage — useful for comparing performance across markets with different price levels.
array
Present only when the hour query parameter is omitted. Contains one entry per hour of day (0–23), enabling you to identify which hours drive the most error.

Example Response


Interpreting Results

Use the MAE ranges below as a practical reference for assessing forecast quality and calibrating downstream risk decisions. RMSE values will typically be 20–40% higher than MAE for the same period; a large gap between the two indicates occasional large spike errors worth investigating at the hourly level.

Error Responses

Accuracy metrics are computed against official OMIE settled prices, which are published with a short delay after each session closes. Dates within the last 24–48 hours may return no data or partial data while OMIE settlement prices are still being published and reconciled.