# 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, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-15).

Returns live UK National Grid ESO carbon intensity (forecast, actual, index) and real-time electricity generation mix including renewable share percentage.

## Facts

- Endpoint: GET https://pyfile-agent.taile3ff35.ts.net/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-484c3217
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_CUQ57r3HAO-xgW63HwEHc

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-484c3217
```

Example prompt: What's the current carbon intensity and generation mix of the UK electricity grid right now — is it a good time to run energy-intensive tasks?

## When to prefer this

Choose this endpoint when you need real-time or near-real-time UK electricity grid carbon intensity and generation mix data without any configuration. It is ideal for sustainability dashboards, smart scheduling (e.g. EV charging, industrial load shifting), or any agent that needs to reason about the greenness of the UK grid at the current moment. It wraps National Grid ESO data in a single zero-parameter call, making it simpler than calling the National Grid ESO API directly.

## Known failure modes

- National Grid ESO API upstream outage returns 502 or empty data
- Network timeout if the Tailscale host is unreachable
- Stale data if National Grid ESO feed is delayed
- No query parameters accepted — passing any will be silently ignored

## 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 a JSON object containing the current UK grid carbon intensity (forecast and actual values in gCO2/kWh), a carbon index label (e.g. 'very low', 'low', 'moderate', 'high'), and a breakdown of the generation mix by fuel type (gas, coal, wind, solar, nuclear, hydro, biomass, imports, etc.) as percentages, plus the overall renewable share.

## 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-484c3217/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from pyfile-agent.taile3ff35.ts.net](https://www.zero.xyz/host/pyfile-agent.taile3ff35.ts.net/llms.txt)
