# UK Grid Carbon Intensity & Generation Mix

> UK Grid Carbon Intensity & Generation Mix is a paid API for AI agents from pyfile-agent.taile3ff35.ts.net:10000, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-15).

Returns live UK electricity grid carbon intensity (forecast, actual, index) and generation mix percentages including renewable share from National Grid ESO.

## Facts

- Endpoint: GET https://pyfile-agent.taile3ff35.ts.net:10000/data/energy
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/uk-grid-carbon-intensity-generation-mix-332b4b8c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_K7FZG_syBr-RWsSnSxNT4

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 uk-grid-carbon-intensity-generation-mix-332b4b8c
```

Example prompt: What's the current carbon intensity of the UK electricity grid right now — is it low, moderate, or high, and what's the renewable share in the generation mix?

## When to prefer this

Choose this endpoint when you need live UK-specific grid carbon intensity and generation mix data sourced directly from National Grid ESO. It is the right choice for sustainability monitoring, carbon-aware scheduling, green energy dashboards, or any application needing real-time renewable share data for the UK grid. It requires no parameters, making it trivial to call. It is not suitable for non-UK grids or historical energy data beyond what ESO provides.

## Known failure modes

- National Grid ESO upstream API unavailability causing stale or missing data
- Network timeout if the Tailscale-hosted server is unreachable
- HTTP 402 if payment header is missing or invalid
- Empty or partial generation mix if upstream data is delayed

## How this service works

Live UK grid carbon intensity and generation mix (National Grid ESO): intensity forecast/actual/index, generation mix %, renewable share. No params.

## Output

Returns real-time UK grid carbon intensity data including the forecasted and actual intensity values (gCO2/kWh), a qualitative index (e.g. very low, low, moderate, high, very high), and the generation mix breakdown showing percentage contributions from sources such as wind, solar, nuclear, gas, coal, hydro, imports, and biomass, along with the total renewable share percentage.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   }
  },
  "output": {
   "type": "object"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/uk-grid-carbon-intensity-generation-mix-332b4b8c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from pyfile-agent.taile3ff35.ts.net:10000](https://www.zero.xyz/host/pyfile-agent.taile3ff35.ts.net%3A10000/llms.txt)
