{
  "x402Version": 2,
  "id": 890,
  "slug": "890",
  "resource": "https://gridpulse.theaslangroupllc.com/api/energy/compute-window",
  "description": "Carbon- and cost-aware compute scheduling. Given a region, job length and load, returns the optimal window in the next 48h to run it, with kg CO2 and EUR saved versus running now. Deterministic — computed from the official NESO (GB) and Fraunhofer ISE (EU) forward curves, no model guessing. Honours x-ealna-carbon-max / x-grove-carbon-max carbon budgets.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x50ab2018c06c6E4eAA9BA52057Eb55eD284912fc",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "250000",
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x50ab2018c06c6E4eAA9BA52057Eb55eD284912fc",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "250000",
      "maxTimeoutSeconds": 604900
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "985iFjbnGQ3dJcwXnfRCMSrH4Jnc3kW1N6msR64B5KX1",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "250000",
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:137",
      "payTo": "0x50ab2018c06c6E4eAA9BA52057Eb55eD284912fc",
      "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
      "amount": "250000",
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:42161",
      "payTo": "0x50ab2018c06c6E4eAA9BA52057Eb55eD284912fc",
      "asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
      "amount": "250000",
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:480",
      "payTo": "0x50ab2018c06c6E4eAA9BA52057Eb55eD284912fc",
      "asset": "0x79A02482A880bCe3F13E09da970dC34dB4cD24D1",
      "amount": "250000",
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:143",
      "payTo": "0x50ab2018c06c6E4eAA9BA52057Eb55eD284912fc",
      "asset": "0x754704Bc059F8C67012fEd69BC8A327a5aafb603",
      "amount": "250000",
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:196",
      "payTo": "0x50ab2018c06c6E4eAA9BA52057Eb55eD284912fc",
      "asset": "0x779ded0c9e1022225f8e0630b35a9b54be713736",
      "amount": "250000",
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:999",
      "payTo": "0x50ab2018c06c6E4eAA9BA52057Eb55eD284912fc",
      "asset": "0xb88339CB7199b77E23DB6E890353E22632Ba630f",
      "amount": "250000",
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "algorand:wGHE2Pwdvd7S12BL5FaOP20EGYesN73k",
      "payTo": "62A253YPATFNJCPRKID3FKD77MYJFNTVRYRP4B4JWG36EGLPY7UXFWGI7I",
      "asset": "31566704",
      "amount": "250000",
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "xrpl:0",
      "payTo": "rMnHeutYALco8RYFVcmuU4BCgSzBpPEh32",
      "asset": "XRP",
      "amount": "250000",
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "xrpl:0",
      "payTo": "rMnHeutYALco8RYFVcmuU4BCgSzBpPEh32",
      "asset": "524C555344000000000000000000000000000000",
      "amount": "0.25",
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:56",
      "payTo": "0x50ab2018c06c6E4eAA9BA52057Eb55eD284912fc",
      "asset": "0x8d0D000Ee44948FC98c9B98A4FA4921476f08B0d",
      "amount": "250000000000000000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {},
          "type": "http"
        },
        "output": {
          "example": {
            "best": {
              "avg_gco2_per_kwh": 61.5,
              "co2_kg": 246,
              "end": "2026-07-13T15:30:00.000Z",
              "hours_from_now": 14.5,
              "start": "2026-07-13T11:30:00.000Z"
            },
            "data_source": "NESO Carbon Intensity API (carbonintensity.org.uk)",
            "goal": "carbon",
            "job": {
              "duration_hours": 4,
              "energy_mwh": 4,
              "load_mw": 1
            },
            "now": {
              "avg_gco2_per_kwh": 138.2,
              "co2_kg": 552.8,
              "hours_from_now": 0,
              "start": "2026-07-12T21:00:00.000Z"
            },
            "recommendation": "Start at 2026-07-13T11:30:00.000Z (in 14.5h). Shifting a 4h / 1 MW job from now to that window saves 306.8 kg CO2 — 55.5% — versus running immediately.",
            "region": "UK",
            "region_name": "Great Britain (national)",
            "savings": {
              "vs_now": {
                "co2_kg": 306.8,
                "co2_pct": 55.5
              },
              "vs_worst": {
                "co2_kg": 402,
                "co2_pct": 62
              }
            },
            "verdict": "shift"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "method": {
                "enum": [
                  "GET",
                  "HEAD",
                  "DELETE"
                ],
                "type": "string"
              },
              "queryParams": {
                "properties": {
                  "goal": {
                    "description": "carbon | cost | blend. Default: carbon. cost/blend need a region with a day-ahead price series.",
                    "type": "string"
                  },
                  "hours": {
                    "description": "Job duration in hours, 0.25–24. Default: 4",
                    "type": "number"
                  },
                  "max_gco2": {
                    "description": "Optional carbon budget (gCO2/kWh). Returns the earliest window meeting it, or satisfiable:false.",
                    "type": "number"
                  },
                  "mw": {
                    "description": "Load in MW — scales the absolute savings. Default: 1",
                    "type": "number"
                  },
                  "region": {
                    "description": "UK | a GB DNO region (london, north-scotland, …) | an EU country (DE, FR, NL, BE, AT, ES, IT, NO). Default: UK",
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    },
    "builder-code": {
      "info": {
        "a": "bc_gxy6qn5p"
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "a": {
            "description": "App builder code",
            "pattern": "^[a-z0-9_]{1,32}$",
            "type": "string"
          },
          "s": {
            "description": "Service builder codes",
            "items": {
              "pattern": "^[a-z0-9_]{1,32}$",
              "type": "string"
            },
            "type": "array"
          },
          "w": {
            "description": "Wallet builder code",
            "pattern": "^[a-z0-9_]{1,32}$",
            "type": "string"
          }
        },
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar",
    "builder-code"
  ],
  "sourceHost": "gridpulse.theaslangroupllc.com",
  "lastUpdated": "2026-08-20T14:02:42.55Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-08-20T14:02:42.366Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "gridpulse.theaslangroupllc.com",
    "manifest_name": "gridpulse.theaslangroupllc.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"
  }
}