# EU Day-Ahead Electricity Price Lookup

> EU Day-Ahead Electricity Price Lookup is a paid API for AI agents from es.redtapeapi.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-11-18).

Returns today's or tomorrow's day-ahead electricity spot prices for a specified European bidding zone, including cheapest hours and cheapest consecutive window.

## Facts

- Endpoint: GET https://es.redtapeapi.com/v1/eu/electricity/day-ahead?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/eu-day-ahead-electricity-price-lookup-e3a242a1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_n4RkOcAd_h1WcfSaWlHPW

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability eu-day-ahead-electricity-price-lookup-e3a242a1
```

Example prompt: What are the 3 cheapest individual hours and the cheapest 4-hour consecutive window for electricity in Germany-Luxembourg tomorrow? I want prices in EUR/MWh.

## When to prefer this

Use this endpoint when you need live European day-ahead electricity spot prices for load scheduling, EV charging optimization, smart appliance control, or energy cost dashboards — without needing an account or API key. It covers 15 major EU/CH bidding zones and returns structured cheapest-hour and cheapest-window analysis in a single call, making it ideal for agents that need actionable time slots rather than raw price curves.

## Known failure modes

- Missing required 'zone' query parameter returns a 400 error
- Invalid zone code (not in the enum) returns a 400 validation error
- Day-ahead prices not yet published for 'tomorrow' (published ~12:00 CET) returns a 404 or empty result
- Window value outside 1-24 range returns a 400 error
- Cheapest count outside 1-24 range returns a 400 error
- Payment not provided or insufficient USDC via x402 returns a 402 Payment Required

## How this service works

Pay-per-call Spain and EU utilities for AI agents over x402 (USDC). No accounts, no API keys. Public open data, live official checks (EU VIES) and offline computation; nothing is stored.

## Output

A JSON object containing the requested date, bidding zone name, price unit (EUR/MWh), an array of the N cheapest individual hours each with ISO 8601 start time and price in both EUR/MWh and EUR/kWh, the cheapest consecutive window with start time and average price, and the daily average price across all hours.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "zone"
     ],
     "properties": {
      "day": {
       "type": "string",
       "description": "today (default) or tomorrow (Europe/Berlin date)"
      },
      "zone": {
       "enum": [
        "AT",
        "BE",
        "CH",
        "CZ",
        "DE-LU",
        "DK1",
        "DK2",
        "FR",
        "HU",
        "IT-North",
        "NL",
        "NO2",
        "PL",
        "SE4",
        "SI"
       ],
       "type": "string",
       "description": "Bidding zone: AT, BE, CH, CZ, DE-LU, DK1, DK2, FR, HU, IT-North, NL, NO2, PL, SE4, SI"
      },
      "window": {
       "type": "integer",
       "description": "Length in hours of the cheapest consecutive window (1-24, default 3)"
      },
      "cheapest": {
       "type": "integer",
       "description": "How many cheapest single hours to return (1-24, default 3)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "date": "2026-10-26",
  "unit": "EUR/MWh",
  "zone": "DE-LU",
  "cheapest": [
   {
    "hour": 13,
    "start": "2026-10-26T13:00+01:00",
    "eurPerKWh": 0.0412,
    "eurPerMWh": 41.2
   }
  ],
  "zoneName": "Germany-Luxembourg",
  "cheapestWindow": {
   "hours": 3,
   "start": "2026-10-26T12:00+01:00",
   "startHour": 12,
   "avgEurPerMWh": 45.1
  },
  "averageEurPerMWh": 98.4
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/eu-day-ahead-electricity-price-lookup-e3a242a1/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from es.redtapeapi.com](https://www.zero.xyz/host/es.redtapeapi.com/llms.txt)
