{
  "x402Version": 2,
  "id": 15400,
  "slug": "15400",
  "resource": "https://x402-agent-pay.com/labs/api/photovoltaic-microgrid/forecast",
  "description": "Microgrid dispatch forecast — optimized PV/H2/battery plan + energy trade signal",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x367F1b3D8Ca90D1e087481a9A40d585Bf3451a03",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "50000",
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "6aCEuwH3PYx99cEmRz45otfxk39uF7ewGhqmvxfXisSG",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "50000",
      "maxTimeoutSeconds": 60
    }
  ],
  "outputSchema": {
    "bazaar": {
      "category": "AI",
      "description": "Microgrid dispatch forecast — optimized PV/H2/battery plan + energy trade signal",
      "info": {
        "description": "Forecast output for a photovoltaic microgrid from a site profile.",
        "input": {
          "bodyType": "json",
          "method": "POST",
          "schema": {
            "properties": {
              "site": {
                "properties": {
                  "avg_demand_kw": {
                    "type": "number"
                  },
                  "battery_kwh": {
                    "type": "number"
                  },
                  "energy_price_usd_per_kwh": {
                    "type": "number"
                  },
                  "hydrogen_store_kwh": {
                    "type": "number"
                  },
                  "pv_capacity_kw": {
                    "type": "number"
                  },
                  "sun_hours": {
                    "type": "number"
                  }
                },
                "type": "object"
              }
            },
            "type": "object"
          },
          "type": "http"
        },
        "inputSchema": {
          "properties": {
            "site": {
              "description": "site profile; may also be sent at the top level",
              "type": "object"
            }
          },
          "required": [
            "site"
          ],
          "type": "object"
        },
        "name": "AgentPay Labs - Photovoltaic Microgrid Forecast",
        "output": {
          "example": {
            "data": {},
            "settlement_tx": "0x0000000000000000000000000000000000000000000000000000000000000000",
            "success": true
          },
          "schema": {
            "properties": {
              "data": {
                "description": "Response payload",
                "type": "object"
              },
              "settlement_tx": {
                "description": "On-chain settlement transaction hash",
                "type": "string"
              },
              "success": {
                "type": "boolean"
              }
            },
            "type": "object"
          }
        },
        "outputSchema": {
          "description": "JSON receipt for this action. Fields vary by outcome, so the shape is described rather than enumerated.",
          "type": "object"
        }
      },
      "name": "Microgrid Energy Coordination API",
      "networks": [
        "Base"
      ],
      "provider": "AgentPay",
      "providerUrl": "https://x402-agent-pay.com",
      "schema": {
        "properties": {
          "data": {
            "description": "Response payload",
            "type": "object"
          },
          "settlement_tx": {
            "description": "On-chain settlement transaction hash",
            "type": "string"
          },
          "success": {
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "tags": [
        "energy",
        "microgrid",
        "labs",
        "clean-energy"
      ]
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "x402-agent-pay.com",
  "lastUpdated": "2026-09-04T02:52:42.301Z",
  "quality": {
    "calls30d": 2,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-09-04T02:52:42.031Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "x402-agent-pay.com",
    "manifest_name": "x402-agent-pay.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}