{"uid":"cap_7KZoa_WwgkGrUHfJraBSC","slug":"gridpulse-carbon-aware-compute-window-scheduler-a94a43c3","name":"GridPulse Carbon-Aware Compute Window Scheduler","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.","url":"https://gridpulse.theaslangroupllc.com/api/energy/compute-window","method":"GET","headers":{},"bodySchema":{"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."}}},"responseSchema":{"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."}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.25","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.25/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.25","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.25","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_-9jAERNU5UmOaVFr_0HhD","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.25","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"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.","exampleAgentPrompt":"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.","exampleUseCases":[{"title":"Schedule batch ML training for minimum emissions","prompt":"I need to run a 6-hour machine learning training job on our EU infrastructure. Can you find me the best 48-hour window to kick it off so we emit the least CO2 and spend the least on electricity?"},{"title":"Carbon-aware data pipeline in UK grid","prompt":"We've got a heavy data processing pipeline that takes about 2 hours to complete. What's the greenest time to run it over the next two days in our UK region, and how much carbon am I saving by waiting for the optimal slot instead of running it immediately?"},{"title":"Cost and emissions optimized workload scheduling","prompt":"I have a 4-hour compute job at 50% load that I need to schedule in Germany. Show me when I should run it in the next 48 hours to hit our carbon budget while also getting the best deal on grid costs."}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:41:15.789Z","isFirstParty":false}