# GridPulse Carbon-Aware Compute Window Scheduler

> GridPulse Carbon-Aware Compute Window Scheduler is a paid API for AI agents from gridpulse.theaslangroupllc.com, paid per call via x402, $0.25/call, status unknown (last checked 2026-09-14).

Returns the optimal 48-hour scheduling window to run a compute job in a given region, minimizing CO2 emissions and cost based on official NESO (GB) and Fraunhofer ISE (EU) grid forecasts.

## Facts

- Endpoint: GET https://gridpulse.theaslangroupllc.com/api/energy/compute-window
- Price: $0.25/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/gridpulse-carbon-aware-compute-window-scheduler-a94a43c3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_7KZoa_WwgkGrUHfJraBSC

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability gridpulse-carbon-aware-compute-window-scheduler-a94a43c3
```

Example prompt: Find the optimal window in the next 48 hours to run a 3-hour compute job at 80% load in the GB grid region — I want to see how many kg CO2 and EUR I'd save compared to running it right now.

## When to prefer this

Use this endpoint when an agent needs to schedule compute jobs with carbon or cost constraints and wants a deterministic, data-backed optimal window rather than a heuristic guess. Ideal for EU and GB grid regions where NESO and Fraunhofer ISE forward curves are available. Prefer over generic carbon APIs when you need both CO2 and EUR savings quantified simultaneously with support for carbon budget headers.

## Known failure modes

- Unsupported region — only GB and EU regions backed by NESO/Fraunhofer ISE curves are supported
- Invalid job length or load parameters — returns 4xx validation error
- Carbon budget header (x-ealna-carbon-max / x-grove-carbon-max) too restrictive — no feasible window found within budget
- Forward curve data temporarily unavailable — upstream grid data outage
- Payment not received or insufficient USDC — x402 payment required before response

## How this service works

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.

## Output

Returns the optimal start time window within the next 48 hours for the specified compute job, along with estimated kg CO2 saved and EUR saved versus immediate execution, derived deterministically from NESO (GB) or Fraunhofer ISE (EU) grid forward curves.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "mw": {
   "type": "number",
   "description": "Load in MW — scales the absolute savings. Default: 1"
  },
  "goal": {
   "type": "string",
   "description": "carbon | cost | blend. Default: carbon. cost/blend need a region with a day-ahead price series."
  },
  "hours": {
   "type": "number",
   "description": "Job duration in hours, 0.25–24. Default: 4"
  },
  "region": {
   "type": "string",
   "description": "UK | a GB DNO region (london, north-scotland, …) | an EU country (DE, FR, NL, BE, AT, ES, IT, NO). Default: UK"
  },
  "max_gco2": {
   "type": "number",
   "description": "Optional carbon budget (gCO2/kWh). Returns the earliest window meeting it, or satisfiable:false."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "job": {
   "load_mw": 1,
   "energy_mwh": 4,
   "duration_hours": 4
  },
  "now": {
   "start": "2026-07-12T21:00:00.000Z",
   "co2_kg": 552.8,
   "hours_from_now": 0,
   "avg_gco2_per_kwh": 138.2
  },
  "best": {
   "end": "2026-07-13T15:30:00.000Z",
   "start": "2026-07-13T11:30:00.000Z",
   "co2_kg": 246,
   "hours_from_now": 14.5,
   "avg_gco2_per_kwh": 61.5
  },
  "goal": "carbon",
  "region": "UK",
  "savings": {
   "vs_now": {
    "co2_kg": 306.8,
    "co2_pct": 55.5
   },
   "vs_worst": {
    "co2_kg": 402,
    "co2_pct": 62
   }
  },
  "verdict": "shift",
  "data_source": "NESO Carbon Intensity API (carbonintensity.org.uk)",
  "region_name": "Great Britain (national)",
  "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."
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/gridpulse-carbon-aware-compute-window-scheduler-a94a43c3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from gridpulse.theaslangroupllc.com](https://www.zero.xyz/host/gridpulse.theaslangroupllc.com/llms.txt)
