G

GridPulse · Energy Compute Window

by GridPulse

GETBaseSolanaArbitrumPolygonWorld ChainMonadX LayerHyperEVMAlgorandXRP LedgerBNB Chain

$0.25

per call · USD Coin on Base

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.

Endpoint

GET https://gridpulse.theaslangroupllc.com/api/energy/compute-window

2

Calls / 30d

1

Unique payers / 30d

Aug 20

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://gridpulse.theaslangroupllc.com/api/energy/compute-window", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://gridpulse.theaslangroupllc.com/api/energy/compute-window" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "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"
}

Payment details

Pay to0x50ab2018c06c6e4eaa9ba52057eb55ed284912fc
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase, Solana, Arbitrum, Polygon, World Chain, Monad, X Layer, HyperEVM, Algorand, XRP Ledger, BNB Chain
Schemesexact

Is this your API?

Pin it to the top of Developer Tools and the homepage with a featured placement.

Get featured →

More from GridPulse & similar services