# SiteCheck Trade & Energy – BESS Battery Arbitrage Margin (EPEX SPOT DE-LU)

> SiteCheck Trade & Energy – BESS Battery Arbitrage Margin (EPEX SPOT DE-LU) is a paid API for AI agents from api.tradeenergy-api.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-29).

Returns the theoretical daily battery storage arbitrage margin for the German-Luxembourg EPEX SPOT day-ahead market, including optimal charge/discharge hours and gross margin per MW for a 1, 2, or 4-hour battery.

## Facts

- Endpoint: GET https://api.tradeenergy-api.workers.dev/api/energy/battery-energy-storage-bess?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/sitecheck-trade-energy-bess-battery-arbitrage-margin-epex-spot-de-lu-1d657b84
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_lWo_FnhthGwTvHsD6JGwh

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 sitecheck-trade-energy-bess-battery-arbitrage-margin-epex-spot-de-lu-1d657b84
```

Example prompt: What's the theoretical battery arbitrage margin on the German day-ahead electricity market for tomorrow, using a 2-hour battery with 88% round-trip efficiency? Show me the best charge and discharge hours and the gross margin per MW.

## When to prefer this

Choose this endpoint when you need a fast, upper-bound screening number for battery storage arbitrage economics on the German-Luxembourg EPEX SPOT day-ahead market. It is ideal for daily revenue monitoring, feasibility screening, and sensitivity analysis by duration or efficiency. Prefer it over generic energy APIs when you specifically need EPEX SPOT DE-LU hourly price spreads and BESS-specific charge/discharge scheduling logic. Not suitable for actual trading decisions — it assumes perfect foresight, one cycle per day, and excludes grid fees, imbalance costs, and degradation.

## Known failure modes

- Date not yet auctioned: if a future delivery date has no EPEX auction data yet, the API may return an error or empty result
- Invalid durationHours: values other than 1, 2, or 4 are not accepted
- Efficiency out of range: values outside 0.5–1.0 will be rejected
- Market data unavailable: EPEX SPOT data source outage may cause retrieval failure
- Malformed date format: dates not in YYYY-MM-DD format will produce an error

## How this service works

Battery storage arbitrage margin for a day on the German-Luxembourg day-ahead market (EPEX SPOT DE-LU hourly prices): for a 1, 2 or 4 hour battery, the cheapest charging hours and the most expensive discharging hours, the daily price spread and the gross margin per MW of power after round-trip losses (default 88%). One full cycle per day, perfect foresight, no grid fees or degradation: an upper-bound screening number, not a trading result.

## Output

A JSON object containing: the delivery day, battery duration, round-trip efficiency, optimal charge hours with individual prices, optimal discharge hours with individual prices, average charge and discharge prices, daily price spread (EUR/MWh), baseload price, gross margin per MW per day (EUR), gross margin per MWh stored (EUR), whether charge comes before discharge, currency, market label, a link to the EPEX SPOT source data, and a note clarifying the perfect-foresight, single-cycle, pre-fee nature of the figure.

## 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": [],
     "properties": {
      "date": {
       "type": "string",
       "description": "Delivery day YYYY-MM-DD (default: latest auctioned day)"
      },
      "efficiency": {
       "type": "string",
       "description": "Round-trip efficiency 0.5-1.0 (default 0.88)"
      },
      "durationHours": {
       "type": "string",
       "description": "Battery duration in hours: 1, 2 or 4 (default 2)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "note": "Perfect-foresight, one cycle per day, before grid fees, imbalance and degradation. chargeBeforeDischarge=false means the cheapest hours come after the dearest ones on that day.",
  "market": "EPEX SPOT day-ahead DE-LU",
  "source": "https://www.epexspot.com/en/market-results?market_area=DE-LU&auction=MRC&trading_date=2026-10-20&delivery_date=2026-10-21&modality=Auction&sub_modality=DayAhead&data_mode=table",
  "spread": 97.08,
  "baseload": 211.94,
  "currency": "EUR",
  "checkedAt": "2026-10-23T09:38:24.620Z",
  "chargeHours": [
   {
    "hour": "02:00 - 03:00",
    "price": 168.32
   },
   {
    "hour": "23:00 - 00:00",
    "price": 161.43
   }
  ],
  "deliveryDay": "2026-10-21",
  "durationHours": 2,
  "avgChargePrice": 164.88,
  "dischargeHours": [
   {
    "hour": "08:00 - 09:00",
    "price": 265.07
   },
   {
    "hour": "17:00 - 18:00",
    "price": 258.84
   }
  ],
  "avgDischargePrice": 261.96,
  "grossMarginPerMwDay": 131.29,
  "roundTripEfficiency": 0.88,
  "chargeBeforeDischarge": false,
  "grossMarginPerMwhStored": 65.65
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/sitecheck-trade-energy-bess-battery-arbitrage-margin-epex-spot-de-lu-1d657b84/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.tradeenergy-api.workers.dev](https://www.zero.xyz/host/api.tradeenergy-api.workers.dev/llms.txt)
