Spanish Day-Ahead Electricity Price API

Spanish Day-Ahead Electricity Price API

A Spanish day-ahead electricity price API returns the OMIE wholesale day-ahead print as JSON. On Energy-API the symbol is OMIE_ES_DA. Call GET https://energy-api.com/api/v1/latest?symbols=OMIE_ES_DA with query api_key. Official latest sample dated 2026-06-11 prints 82.30 with currency EUR.

Starter is $19.99/mo (5,000 calls, 5 symbols, trial 7 days / 50 calls). Do not send base=USD if you need EUR symbols — they are dropped. Top-level base on the mixed sample is MIXED. There is no MCP (the MCP host does not resolve). Docs: energy-api.com/docs.

Use cases

  • Retail vs wholesale. Store OMIE_ES_DA next to a PVPC series (GET /api/v1/electricity/hourly documents PVPC_ES_2TD as a separate symbol).
  • Daily dashboard. Read dates.OMIE_ES_DA — energy markets publish on business days.
  • Multi-market card. Same latest call can include Brent / TTF / EUA if you omit base.

Request: official latest mix

curl "https://energy-api.com/api/v1/latest?symbols=BRENT_CRUDE,TTF_GAS,EUA_CO2,OMIE_ES_DA&api_key=YOUR_API_KEY"

Response: official latest sample (11 Jun 2026)

{
  "success": true,
  "date": "2026-06-11",
  "base": "MIXED",
  "rates": {
    "BRENT_CRUDE": 74.82,
    "TTF_GAS": 38.15,
    "EUA_CO2": 67.40,
    "OMIE_ES_DA": 82.30
  },
  "dates": {
    "BRENT_CRUDE": "2026-06-11",
    "TTF_GAS": "2026-06-11",
    "EUA_CO2": "2026-06-11",
    "OMIE_ES_DA": "2026-06-11"
  },
  "currencies": {
    "BRENT_CRUDE": "USD",
    "TTF_GAS": "EUR",
    "EUA_CO2": "EUR",
    "OMIE_ES_DA": "EUR"
  }
}

Hourly curve (no JSON invented here): GET /api/v1/electricity/hourly?symbol=OMIE_ES_DA&date=2026-06-18 as documented.

Go live

1. Register — 7-day trial / 50 calls.

2. Copy api_key.

3. GET latest with symbols=OMIE_ES_DA and no base=USD.

4. Label the print EUR from currencies.

Read OMIE_ES_DA with an Energy key →

Ready to get started?

Get your API key and start querying energy commodity prices in minutes.

Get API Key