Skip to main content
The GET /forecasts/intraday/{session} endpoint returns Nexenergie’s hourly price forecasts for a specific OMIE intraday session on the given date. Because intraday sessions cover only the hours that remain open for trading at the time of each session’s gate closure, the forecasts array will contain a subset of the day’s 24 hours rather than the full set — giving you a focused, session-accurate view of near-term price expectations.

Endpoint

Path Parameters

integer
required
The OMIE intraday session number. Must be an integer between 1 and 3 inclusive. Each session corresponds to a distinct gate-closure window and covers a different set of remaining delivery hours.

Query Parameters

string
required
The target calendar date for the forecast, in YYYY-MM-DD format (e.g. 2025-07-15). This is the delivery date — the date whose hours are being forecast, not the date the session opens.
integer
Filter the response to a single delivery hour within the session window. Must be an integer between 0 and 23. When omitted, all hours available for the requested session are returned. Supplying an hour that falls outside the session’s coverage window returns a 404.

Request Example

The examples below request forecasts for intraday session 2 on 15 July 2025.

Response

A successful request returns HTTP 200 OK with a JSON body structured as follows.
string
The market segment of this forecast. Always "intraday" for this endpoint.
integer
The intraday session number that was requested (1, 2, or 3).
string
The delivery date for which the forecast was generated, in YYYY-MM-DD format.
string
The identifier of the ML model version used to produce this forecast (e.g. "v2.4.1"). Use this field to track model changes when comparing forecast runs across sessions.
string
ISO 8601 timestamp of the most recent input data that was incorporated into this forecast (e.g. "2025-07-15T13:00:00Z").
array
Array of hourly forecast objects covering only the delivery hours that remain open for trading in the requested session. The number of items varies by session and by the time of day the forecast is generated.

Example Response

The example below shows a session 2 response for 15 July 2025, with delivery hours 14–18 (remaining session hours abbreviated for clarity).

Error Responses

Not all 24 hours of a day are forecast for every session. The forecasts array only includes the delivery hours that remain open for trading at the time of the session’s gate closure. Hours that have already been dispatched or that fall before the session window are excluded. Always check the length of the forecasts array rather than assuming a fixed number of entries.
Use session 3 for the most accurate near-term hour forecasts available on a given day. Session 3 runs closest to real-time, meaning the model benefits from the most up-to-date weather observations, generation dispatch data, and ENTSO-E imbalance signals — resulting in tighter confidence bounds compared to sessions 1 and 2.