For x402 Bots
Test payment and call paid energy endpoints on Base Mainnet USDC.
Raw data endpoints answer what is happening. Decision endpoints answer what an agent should do next.
| Endpoint | Price | Purpose |
|---|---|---|
GET /demo/paid-sample | 0.001 USDC | Machine-readable discovery for the x402 sample endpoint. The actual access flow is gated by x402 payment. |
POST /price/spot | 0.01 USDC | Aktueller EPEX Spot-Strompreis fuer Deutschland. |
GET /energy/decision | frei | GET discovery for the paid decision endpoint. Returns machine-readable endpoint metadata or method guidance. |
Example request
POST https://energy.netzhandwerker.de/energy/decision
Content-Type: application/json
PAYMENT: <x402-payload>
{"goal":"minimize_cost","device":"ev","location":"Germany","duration_hours":4}
Example response
{"ok":true,"product":"Optimization Signals","endpoint":"/energy/decision","result":{"decision":"charge_later","confidence":0.74}}
Pricing · Agent · MCP · OpenAPI
Payment: x402 over Base Mainnet, chain 8453, USDC.