Skip to content
Fourohtwo

UK regional electricity carbon intensity for a postcode district (e.g

x402-zak.zakx402.workers.dev/v1/uk/carbon/:outcode

UK regional electricity carbon intensity for a postcode district (e.g. BH1, SW1A): current gCO2/kWh, generation mix and renewables share, 48h half-hourly forecast and the cleanest 1h/2h/4h windows. For agents scheduling EV charging, heat pumps, home batteries or compute jobs at the greenest time. National Grid ESO data (CC BY 4.0).

BaseDown
GEThttps://x402-zak.zakx402.workers.dev/v1/uk/carbon/:outcode

Uptime0.0% of 2 checks in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://x402-zak.zakx402.workers.dev/v1/uk/carbon/:outcode");
console.log(await res.json());

Example input

{}

More from UK Open Data for AgentsProvider status