78trust / 100

Gb Carbon

by eu-verify in Weather & location

x402 APIPassing, checked 3 h ago

Carbon intensity of Great Britain's electricity grid from the official NESO Carbon Intensity API (CC BY 4.0), in half-hour periods with a low/moderate/high index. No params -> current national half-hour; ?horizon=fw24h|fw48h adds the forecast; ?region=1..17 (13=London) switches to a DNO region and includes the generation mix per fuel. 30-min upstream cadence, 30-min cache.

GET https://data.greeneris.io/v1/gb/carbon

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
178 ms typical, 412 ms slowest 5%
Last check
3 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://data.greeneris.io/v1/gb/carbon?horizon=fw24h&region=13"
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fdata.greeneris.io%2Fv1%2Fgb%2Fcarbon
const res = await pay("https://data.greeneris.io/v1/gb/carbon?horizon=fw24h&region=13");
console.log(await res.json());

Example input

{
  "horizon": "fw24h",
  "region": "13"
}

Example output

{
  "count": 1,
  "periods": [
    {
      "forecast": 81,
      "from": "2026-07-14T05:30Z",
      "generation_mix": {
        "gas": 20.5,
        "nuclear": 8.1,
        "solar": 25,
        "wind": 34.2
      },
      "index": "low",
      "to": "2026-07-14T06:00Z"
    }
  ],
  "region": {
    "dno": "UKPN London",
    "name": "London",
    "regionid": 13
  },
  "scope": "regional",
  "source": "Carbon Intensity API, National Energy System Operator (NESO), CC BY 4.0",
  "unit": "gCO2/kWh"
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
3 h agoPassed402178 ms$0.002
7 h agoPassed402177 ms$0.002
10 h agoPassed402402 ms$0.002
14 h agoPassed402338 ms$0.002
18 h agoPassed402337 ms$0.002
21 h agoPassed402407 ms$0.002
25 h agoPassed402418 ms$0.002
28 h agoPassed402412 ms$0.002
32 h agoPassed402177 ms$0.002
36 h agoPassed402176 ms$0.002
39 h agoPassed402176 ms$0.002
44 h agoPassed402178 ms$0.002