# EPEX Spot Day-Ahead Electricity Price API (aWATTar)

> EPEX Spot Day-Ahead Electricity Price API (aWATTar) is a paid API for AI agents from x402-datashop-production.up.railway.app, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-15).

Returns hourly EPEX Spot day-ahead electricity prices in EUR/MWh for Germany/Luxembourg or Austria, with min/max/avg summary, sourced from the aWATTar market data API.

## Facts

- Endpoint: GET https://x402-datashop-production.up.railway.app/v1/de/power-spot
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/epex-spot-day-ahead-electricity-price-api-awattar-efc87320
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_3y5iYAbQohLNXVYFXZiXU

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 epex-spot-day-ahead-electricity-price-api-awattar-efc87320
```

Example prompt: What are today's hourly day-ahead electricity spot prices for the German bidding zone? Show me the full rolling 24-hour window with min, max, and average in EUR/MWh.

## When to prefer this

Use this endpoint when you need structured, normalized EPEX Spot day-ahead electricity prices for Germany/Luxembourg or Austria, with ISO 8601 UTC timestamps and a built-in min/max/avg summary. Prefer this over raw aWATTar API calls when you want normalized, cached hourly data without handling authentication or pagination yourself. Best suited for energy cost optimization, smart charging schedules, or electricity market analysis in the DE/AT bidding zones.

## Known failure modes

- Invalid zone value (not 'de' or 'at') returns a 400/422 error
- Invalid or unparseable start/end timestamp format returns an error
- Data not yet available if day-ahead auction results haven't published yet
- Payment not fulfilled (402 Payment Required) if x402 USDC payment is not included
- Network or upstream aWATTar API outage may cause 502/503 errors

## How this service works

Hourly EPEX Spot day-ahead electricity prices in EUR/MWh from the aWATTar market data API, normalized to ISO 8601 UTC with min/max/avg summary. No params -> rolling ~24h day-ahead window; ?zone=de|at selects the bidding zone, ?start=&end= (ISO 8601 or epoch) select history. Day-ahead data updates once daily; served with a 1h cache.

## Output

A JSON array of hourly electricity price entries in EUR/MWh, each timestamped in ISO 8601 UTC, plus a summary object containing the minimum, maximum, and average price for the queried window. Covers approximately 24 hours of day-ahead data updated once per day, served with a 1-hour cache.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "end": {
       "type": "string",
       "description": "Window end, ISO 8601 or epoch (optional)"
      },
      "zone": {
       "enum": [
        "de",
        "at"
       ],
       "type": "string",
       "default": "de",
       "description": "Bidding zone: de = Germany/Luxembourg, at = Austria"
      },
      "start": {
       "type": "string",
       "description": "Window start, ISO 8601 or epoch (optional)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/epex-spot-day-ahead-electricity-price-api-awattar-efc87320/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-datashop-production.up.railway.app](https://www.zero.xyz/host/x402-datashop-production.up.railway.app/llms.txt)
