{"uid":"cap_n4RkOcAd_h1WcfSaWlHPW","slug":"eu-day-ahead-electricity-price-lookup-e3a242a1","name":"EU Day-Ahead Electricity Price Lookup","description":"Pay-per-call Spain and EU utilities for AI agents over x402 (USDC). No accounts, no API keys. Public open data, live official checks (EU VIES) and offline computation; nothing is stored.","url":"https://es.redtapeapi.com/v1/eu/electricity/day-ahead?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"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":["zone"],"properties":{"day":{"type":"string","description":"today (default) or tomorrow (Europe/Berlin date)"},"zone":{"enum":["AT","BE","CH","CZ","DE-LU","DK1","DK2","FR","HU","IT-North","NL","NO2","PL","SE4","SI"],"type":"string","description":"Bidding zone: AT, BE, CH, CZ, DE-LU, DK1, DK2, FR, HU, IT-North, NL, NO2, PL, SE4, SI"},"window":{"type":"integer","description":"Length in hours of the cheapest consecutive window (1-24, default 3)"},"cheapest":{"type":"integer","description":"How many cheapest single hours to return (1-24, default 3)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"date":"2026-10-26","unit":"EUR/MWh","zone":"DE-LU","cheapest":[{"hour":13,"start":"2026-10-26T13:00+01:00","eurPerKWh":0.0412,"eurPerMWh":41.2}],"zoneName":"Germany-Luxembourg","cheapestWindow":{"hours":3,"start":"2026-10-26T12:00+01:00","startHour":12,"avgEurPerMWh":45.1},"averageEurPerMWh":98.4}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_MDLcn7FiyVVp5UUG5jQCz","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns today's or tomorrow's day-ahead electricity spot prices for a specified European bidding zone, including cheapest hours and cheapest consecutive window.","exampleAgentPrompt":"What are the 3 cheapest individual hours and the cheapest 4-hour consecutive window for electricity in Germany-Luxembourg tomorrow? I want prices in EUR/MWh.","exampleUseCases":[{"title":"EV charging cost optimization","prompt":"When is the cheapest time to charge my electric vehicle tomorrow in France? Give me the top 3 cheapest hours and the best 2-hour consecutive window so I can schedule charging overnight."},{"title":"Industrial load shifting in Germany","prompt":"I need to run a heavy manufacturing process for 6 hours in the DE-LU zone today — which consecutive 6-hour window has the lowest average electricity spot price?"},{"title":"Daily energy cost dashboard update","prompt":"Pull today's day-ahead electricity prices for the Netherlands, including the 5 cheapest individual hours and the cheapest 3-hour block, so I can update my home energy dashboard."}],"resultDescription":"A JSON object containing the requested date, bidding zone name, price unit (EUR/MWh), an array of the N cheapest individual hours each with ISO 8601 start time and price in both EUR/MWh and EUR/kWh, the cheapest consecutive window with start time and average price, and the daily average price across all hours.","failureModes":["Missing required 'zone' query parameter returns a 400 error","Invalid zone code (not in the enum) returns a 400 validation error","Day-ahead prices not yet published for 'tomorrow' (published ~12:00 CET) returns a 404 or empty result","Window value outside 1-24 range returns a 400 error","Cheapest count outside 1-24 range returns a 400 error","Payment not provided or insufficient USDC via x402 returns a 402 Payment Required"],"whenToPreferThis":"Use this endpoint when you need live European day-ahead electricity spot prices for load scheduling, EV charging optimization, smart appliance control, or energy cost dashboards — without needing an account or API key. It covers 15 major EU/CH bidding zones and returns structured cheapest-hour and cheapest-window analysis in a single call, making it ideal for agents that need actionable time slots rather than raw price curves.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-18T01:09:37.533Z","isFirstParty":false,"canonicalSlug":"eu-day-ahead-electricity-price-lookup-e3a242a1"}