{
  "x402Version": 1,
  "name": "UK Electricity Price Slots",
  "description": "Cheapest half-hour UK electricity slots by postcode — best windows for EV charging, heat pumps, batteries and power-hungry jobs.",
  "payTo": "0x02226D28e0c85AE4AdDB7fe7043Dd2b1Ff710D41",
  "network": "base",
  "asset": "USDC",
  "facilitator": "https://facilitator.payai.network",
  "resources": [
    {
      "resource": "https://uk-energy-prices-mcp.donniertf.workers.dev/x402/cheapest_slots",
      "method": "POST",
      "description": "FREE. Cheapest 3 upcoming half-hour electricity slots (Agile Octopus, p/kWh inc VAT) for a UK postcode's region.",
      "accepts": [
        {
          "scheme": "exact",
          "network": "base",
          "maxAmountRequired": "20000",
          "resource": "https://uk-energy-prices-mcp.donniertf.workers.dev/x402/cheapest_slots",
          "description": "UK Electricity Price Slots: cheapest_slots — one call, $0.02 USDC",
          "mimeType": "application/json",
          "payTo": "0x02226D28e0c85AE4AdDB7fe7043Dd2b1Ff710D41",
          "maxTimeoutSeconds": 120,
          "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
          "outputSchema": {
            "input": {
              "type": "http",
              "method": "POST",
              "bodyType": "json",
              "bodyFields": {
                "postcode": {
                  "type": "string",
                  "description": "UK postcode (sets the electricity region)"
                }
              }
            },
            "output": {
              "type": "object"
            }
          },
          "extra": {
            "name": "USD Coin",
            "version": "2"
          }
        }
      ]
    },
    {
      "resource": "https://uk-energy-prices-mcp.donniertf.workers.dev/x402/best_window",
      "method": "POST",
      "description": "PRO. Cheapest continuous window of N hours in the upcoming prices (EV charging, heat pumps, batteries, industrial jobs) with average price and cost for a kWh amount.",
      "accepts": [
        {
          "scheme": "exact",
          "network": "base",
          "maxAmountRequired": "20000",
          "resource": "https://uk-energy-prices-mcp.donniertf.workers.dev/x402/best_window",
          "description": "UK Electricity Price Slots: best_window — one call, $0.02 USDC",
          "mimeType": "application/json",
          "payTo": "0x02226D28e0c85AE4AdDB7fe7043Dd2b1Ff710D41",
          "maxTimeoutSeconds": 120,
          "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
          "outputSchema": {
            "input": {
              "type": "http",
              "method": "POST",
              "bodyType": "json",
              "bodyFields": {
                "postcode": {
                  "type": "string",
                  "description": "UK postcode (sets the electricity region)"
                },
                "hours": {
                  "type": "number"
                },
                "kwh": {
                  "type": "number"
                }
              }
            },
            "output": {
              "type": "object"
            }
          },
          "extra": {
            "name": "USD Coin",
            "version": "2"
          }
        }
      ]
    },
    {
      "resource": "https://uk-energy-prices-mcp.donniertf.workers.dev/x402/all_slots",
      "method": "POST",
      "description": "PRO. All published half-hourly import prices for today/tomorrow for a postcode region.",
      "accepts": [
        {
          "scheme": "exact",
          "network": "base",
          "maxAmountRequired": "20000",
          "resource": "https://uk-energy-prices-mcp.donniertf.workers.dev/x402/all_slots",
          "description": "UK Electricity Price Slots: all_slots — one call, $0.02 USDC",
          "mimeType": "application/json",
          "payTo": "0x02226D28e0c85AE4AdDB7fe7043Dd2b1Ff710D41",
          "maxTimeoutSeconds": 120,
          "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
          "outputSchema": {
            "input": {
              "type": "http",
              "method": "POST",
              "bodyType": "json",
              "bodyFields": {
                "postcode": {
                  "type": "string",
                  "description": "UK postcode (sets the electricity region)"
                }
              }
            },
            "output": {
              "type": "object"
            }
          },
          "extra": {
            "name": "USD Coin",
            "version": "2"
          }
        }
      ]
    },
    {
      "resource": "https://uk-energy-prices-mcp.donniertf.workers.dev/x402/export_rates",
      "method": "POST",
      "description": "PRO. Agile Outgoing export prices — best upcoming slots to sell solar/battery power.",
      "accepts": [
        {
          "scheme": "exact",
          "network": "base",
          "maxAmountRequired": "20000",
          "resource": "https://uk-energy-prices-mcp.donniertf.workers.dev/x402/export_rates",
          "description": "UK Electricity Price Slots: export_rates — one call, $0.02 USDC",
          "mimeType": "application/json",
          "payTo": "0x02226D28e0c85AE4AdDB7fe7043Dd2b1Ff710D41",
          "maxTimeoutSeconds": 120,
          "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
          "outputSchema": {
            "input": {
              "type": "http",
              "method": "POST",
              "bodyType": "json",
              "bodyFields": {
                "postcode": {
                  "type": "string",
                  "description": "UK postcode (sets the electricity region)"
                }
              }
            },
            "output": {
              "type": "object"
            }
          },
          "extra": {
            "name": "USD Coin",
            "version": "2"
          }
        }
      ]
    },
    {
      "resource": "https://uk-energy-prices-mcp.donniertf.workers.dev/x402/daily_average",
      "method": "POST",
      "description": "PRO. Daily average/min/max Agile import price for the last N days (max 30) — for budgeting and tariff comparison.",
      "accepts": [
        {
          "scheme": "exact",
          "network": "base",
          "maxAmountRequired": "20000",
          "resource": "https://uk-energy-prices-mcp.donniertf.workers.dev/x402/daily_average",
          "description": "UK Electricity Price Slots: daily_average — one call, $0.02 USDC",
          "mimeType": "application/json",
          "payTo": "0x02226D28e0c85AE4AdDB7fe7043Dd2b1Ff710D41",
          "maxTimeoutSeconds": 120,
          "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
          "outputSchema": {
            "input": {
              "type": "http",
              "method": "POST",
              "bodyType": "json",
              "bodyFields": {
                "postcode": {
                  "type": "string",
                  "description": "UK postcode (sets the electricity region)"
                },
                "days": {
                  "type": "number"
                }
              }
            },
            "output": {
              "type": "object"
            }
          },
          "extra": {
            "name": "USD Coin",
            "version": "2"
          }
        }
      ]
    }
  ]
}