# HALOWERK Energy Historical Price Statistics

> HALOWERK Energy Historical Price Statistics is a paid API for AI agents from energy.halowerk.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-11-23).

Returns statistical aggregates (min, max, average, etc.) for German EPEX electricity spot prices over a specified historical period.

## Facts

- Endpoint: POST https://energy.halowerk.com/history/prices/stats?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-23
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/halowerk-energy-historical-price-statistics-8ae2ccfa
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_0JXpkzyT785insEUhqpQa

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 halowerk-energy-historical-price-statistics-8ae2ccfa -d '<json body>'
```

Example prompt: Can you pull the price statistics for German EPEX electricity over the last 30 days — I need the min, max, and average to understand recent market volatility?

## When to prefer this

Use this endpoint when you need aggregated statistics (min, max, average) over a historical time window rather than real-time or point-in-time prices. Prefer this over the current-price endpoint when doing trend analysis, reporting, or benchmarking. Choose this over the event feed endpoint when you need numerical aggregates rather than discrete events like Dunkelflaute or negative price alerts.

## Known failure modes

- Invalid period format returns a 400 error — period must match the regex pattern (e.g. 'last-7d', '2024-01', '2025-Q4')
- Payment not provided triggers a 402 challenge requiring $0.01 USDC via x402 protocol
- Requesting a future period or period with no data may return empty results or an error
- Malformed request body results in a 400 validation error

## How this service works

Statistik für eine historische Preisperiode.

## Output

A JSON object containing statistical aggregates for German EPEX electricity spot prices over the requested period, including metrics such as minimum, maximum, mean, and potentially median or standard deviation values, covering the specified historical time window.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "period": {
   "type": "string",
   "pattern": "^(?:last-[1-9][0-9]*d|[0-9]{4}(?:-Q[1-4]|-(?:0[1-9]|1[0-2]))?)$",
   "examples": [
    "last-7d",
    "last-30d",
    "2025-Q4",
    "2024-01"
   ]
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/halowerk-energy-historical-price-statistics-8ae2ccfa/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from energy.halowerk.com](https://www.zero.xyz/host/energy.halowerk.com/llms.txt)
