> ## Documentation Index
> Fetch the complete documentation index at: https://docs.nexenergie.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Spanish OMIE Electricity Markets and Trading Sessions

> Understand the Spanish OMIE electricity market structure: the day-ahead market and intraday sessions 1 through 3, and how Nexenergie covers them.

Nexenergie currently supports one electricity market: **OMIE Spain**.

<CardGroup cols={2}>
  <Card title="Market ID" icon="hashtag">
    `omie_es`
  </Card>

  <Card title="Timezone" icon="clock">
    Europe/Madrid for delivery days. Series points are UTC.
  </Card>

  <Card title="Unit" icon="euro-sign">
    EUR/MWh
  </Card>

  <Card title="Region" icon="map">
    Spain
  </Card>
</CardGroup>

## Products

Use the short `product` code on the client API. Dashboard routes use `market_product_id`. Gate times are Spain-local. `D` is the delivery day.

<Tabs>
  <Tab title="Day-ahead">
    * Client product: `da`
    * Market product ID: `omie_es_da`
    * Gate closure: 12:00 D-1
    * Collector key: `day_ahead`
  </Tab>

  <Tab title="Intraday 1">
    * Client product: `ida1`
    * Market product ID: `omie_es_ida1`
    * Gate closure: 15:00 D-1
    * Collector key: `intraday_1`
  </Tab>

  <Tab title="Intraday 2">
    * Client product: `ida2`
    * Market product ID: `omie_es_ida2`
    * Gate closure: 22:00 D-1
    * Collector key: `intraday_2`
  </Tab>

  <Tab title="Intraday 3">
    * Client product: `ida3`
    * Market product ID: `omie_es_ida3`
    * Gate closure: 10:00 D
    * Collector key: `intraday_3`
  </Tab>
</Tabs>

## Time rules

* Series points (`time`, `issued_at`, `forecasted_at`) are UTC.
* Query parameter `date` is the delivery day in Europe/Madrid.
* A `from` / `to` range is UTC (`from` inclusive, `to` exclusive).

<Warning>
  Do not mix a Madrid delivery date with a UTC calendar date around midnight. For a specific session, prefer `date=YYYY-MM-DD` in Spain local time.
</Warning>
