{"uid":"cap_BdqyeXZdDYyn1rQ5hOxn-","slug":"eu-negative-electricity-price-prediction-api-baa5c90f","name":"EU Negative Electricity Price Prediction API","description":"One x402 call returns the action, best time window, expected EUR value, confidence and expiry for German and European electricity decisions. USDC on Base, no API key or account.","url":"https://energy.netzhandwerker.de/predict/negative-price","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","properties":{"policy_profile":{"enum":["balanced","utility","precision","recall"],"type":"string","default":"balanced","description":"Selects the reviewed probability threshold profile without changing the underlying calibrated probabilities."}},"additionalProperties":false},"type":{"type":"string","const":"http"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["ok","endpoint","result"],"properties":{"ok":{"type":"boolean"},"result":{"type":"object","required":["schema_version","expires_at","prediction","horizons","decision_engine"],"properties":{"horizons":{"type":"array","items":{"type":"object"}},"expires_at":{"type":["string","null"]},"prediction":{"type":"object"},"schema_version":{"type":"string"},"decision_engine":{"type":"object"}},"additionalProperties":true},"endpoint":{"type":"string"}},"additionalProperties":true}}}}},"responseSchema":{"type":"json","example":{"ok":true,"result":{"model":{"version":"4.1"},"horizons":[{"lead_hours":2,"probability":0.85}],"expires_at":"2026-07-12T13:00:00.000Z","prediction":{"probability":0.85,"negative_price_in_2h":true},"risk_flags":[],"schema_version":"negprice_signal_v1","decision_engine":{"should_act":true,"recommended_action":"execute_shift_to_target_window"}},"endpoint":"/predict/negative-price"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ENs81Grmy8S568hV1-elI","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Predicts whether German/European electricity prices will go negative in the next 2 hours and recommends whether to act (shift load, charge EV, discharge battery, or trade).","exampleAgentPrompt":"Should my EV charger or home battery act right now to catch a negative electricity price window in Germany? Use a balanced policy profile and tell me the probability, recommended action, and when this signal expires.","exampleUseCases":[{"title":"EV smart charging automation","prompt":"Is now a good time to start charging my electric vehicle in Germany? I want to know if prices are likely to go negative in the next couple of hours, and what action you recommend — use a precision policy so we only act when the signal is strong."},{"title":"Home battery arbitrage decision","prompt":"My home battery is at 40% — should I charge it from the grid right now to lock in near-negative or negative electricity prices? Give me the probability and recommended action using the balanced policy profile."},{"title":"Energy trader alert system","prompt":"I'm trading European electricity spot contracts — tell me if there's a high probability of negative prices in the next 2 hours in Germany, and whether I should execute a position shift now. Use the recall policy so I don't miss opportunities."}],"resultDescription":"Returns a JSON object with: a boolean `negative_price_in_2h` prediction, a calibrated probability score (0–1), the recommended action string (e.g. 'execute_shift_to_target_window'), a `should_act` boolean, an array of time horizon objects with lead hours and probabilities, risk flags, a schema version, and an expiry timestamp indicating when the signal becomes stale.","failureModes":["Missing or malformed `policy_profile` enum value returns a validation error","Payment not included or insufficient USDC causes x402 payment-required response","Upstream grid data unavailable may result in degraded confidence or null expires_at","Request body sent as wrong bodyType (e.g. form-data instead of json) causes parse failure","Calling with GET instead of POST returns method-not-allowed"],"whenToPreferThis":"Choose this endpoint when you need a single, actionable go/no-go decision for a German or European energy flexibility asset (EV, battery, or trading position) based on a negative price prediction — rather than raw price data or carbon intensity metrics. It is ideal for autonomous agents that need a fast, cheap ($0.001 USDC), keyless signal with built-in decision logic and configurable risk policy profiles, avoiding the need to build your own prediction and threshold logic on top of raw market data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-16T00:33:19.914Z","isFirstParty":false}