{"uid":"cap_z_QzKHxlc9C_OY4hRuLU4","slug":"photovoltaic-microgrid-dispatch-forecast-5e5252b3","name":"Photovoltaic Microgrid Dispatch Forecast","description":"Microgrid dispatch forecast — optimized PV/H2/battery plan + energy trade signal","url":"https://x402-agent-pay.com/labs/api/photovoltaic-microgrid/forecast","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"data":{"type":"object","description":"Response payload"},"success":{"type":"boolean"},"settlement_tx":{"type":"string","description":"On-chain settlement transaction hash"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","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.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_E-oakhidSlw4sswiBmLQv","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns an optimized dispatch plan for a PV/H2/battery microgrid, including generation forecasts and energy trade signals","exampleAgentPrompt":"Give me the optimized dispatch forecast for my photovoltaic microgrid — I need to know the best PV, battery, and hydrogen dispatch plan for the next 24 hours and whether I should be buying or selling energy right now.","exampleUseCases":[{"title":"Daily solar farm dispatch planning","prompt":"Plan tomorrow's dispatch for my solar microgrid — figure out the best times to charge and discharge the battery, when to use hydrogen storage, and whether I should export energy to the grid."},{"title":"Energy arbitrage signal for trading agent","prompt":"I need an energy trade signal for my PV microgrid right now — should I be buying or selling energy based on the current forecast and my battery state?"},{"title":"Off-grid microgrid optimization","prompt":"Optimize the dispatch plan for my off-grid photovoltaic and hydrogen storage system for the next 12 hours so I can keep my load covered without wasting any generated power."}],"resultDescription":"Returns an optimized dispatch plan object indicating recommended PV generation usage, battery charge/discharge schedule, hydrogen storage dispatch, and a buy/sell energy trade signal for the forecast period, along with an on-chain settlement transaction hash confirming the $0.05 USDC payment for the call.","failureModes":["Missing or malformed microgrid configuration data returns a 400-level error","Insufficient USDC balance or failed x402 payment results in a 402 Payment Required response","Forecast horizon out of supported range may return empty or null dispatch plan","Upstream energy market data unavailable causing degraded or stale trade signal","Invalid PV system parameters returning a failed success flag in the response body"],"whenToPreferThis":"Choose this endpoint when you need a combined optimized dispatch plan and energy trade signal specifically for PV/H2/battery microgrids, especially in agentic or IoT contexts where machine-to-machine micropayments via x402 are already in use. Prefer it over generic weather or solar irradiance APIs when you need actionable dispatch scheduling and arbitrage signals rather than raw forecasts.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:40:41.225Z","isFirstParty":false}