# EU Power Dispatch API – Paid Sample (NegPrice Decision)

> EU Power Dispatch API – Paid Sample (NegPrice Decision) is a paid API for AI agents from energy.halowerk.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-15).

Returns the current full negative-price decision for EU power markets after a micro-payment; issues a 402 challenge without payment.

## Facts

- Endpoint: GET https://energy.halowerk.com/demo/paid-sample
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/eu-power-dispatch-api-paid-sample-negprice-decision-b8fb6b63
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_uPIuywixL4bsW3kd7IpMM

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-power-dispatch-api-paid-sample-negprice-decision-b8fb6b63
```

Example prompt: What is the current negative-price decision for the EU power market right now? Go ahead and pay the small fee to retrieve the full NegPrice signal.

## When to prefer this

Choose this endpoint when you need the current German/EU negative-price decision in real time and are operating within an x402-capable agent framework that can handle USDC micropayments automatically. It is ideal for flexible-load agents, battery dispatch systems, or developers testing x402 payment flows against a live, low-cost target.

## Known failure modes

- 402 returned without payment — expected behavior, not a true error
- Payment validation failure — if USDC amount or x402 header is malformed, payment is rejected
- Stale or unavailable market data — upstream ENTSO-E/SMARD feed may be delayed
- Network timeout — endpoint unreachable transiently
- Invalid HTTP method — only GET/HEAD/DELETE accepted

## How this service works

Cheapest end-to-end x402 purchase test. Always returns a 402 challenge without payment and the current full NegPrice decision after a valid USDC payment.

## Output

After a valid USDC micropayment via x402, the endpoint returns the current full NegPrice decision — a signal indicating whether EU/German spot electricity prices are negative — along with supporting spot-market context sourced from ENTSO-E and SMARD. Without payment, it returns a standard HTTP 402 challenge.

## 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": {},
     "additionalProperties": false
    }
   },
   "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/eu-power-dispatch-api-paid-sample-negprice-decision-b8fb6b63/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)
