# fittings UK Carbon Intensity

> fittings UK Carbon Intensity is a paid API for AI agents from fittings.sh, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-15).

Returns current or forecast carbon intensity (gCO2/kWh) of the GB electricity grid, optionally including the generation fuel mix, for the whole country or a specific postcode area.

## Facts

- Endpoint: GET https://fittings.sh/v1/energy/uk-carbon-intensity
- 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/fittings-uk-carbon-intensity-b88cbb81
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_zmp4zZ1lXqTQqKUucA-1c

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 fittings-uk-carbon-intensity-b88cbb81
```

Example prompt: What's the current carbon intensity of the UK electricity grid right now, and can you include the generation fuel mix so I can see what sources are producing the power?

## When to prefer this

Use this endpoint when you need real-time or forecast carbon intensity data specifically for the Great Britain electricity grid. It is the right choice for sustainability calculations, EV charging optimization, demand-shifting logic, or any application where knowing the greenness of UK electricity at a national or postcode level matters. It differs from weather or general energy APIs by being GB-grid-specific and denominated in gCO2/kWh.

## Known failure modes

- Invalid or non-GB postcode returns an error or falls back to national data
- Carbon Intensity upstream API unavailable results in a 502 or timeout
- Malformed query parameters return a 400 bad request
- Forecast data may not be available at all times, returning only current intensity

## How this service works

Current or forecast carbon intensity of the GB electricity grid in gCO2/kWh, with the generation fuel mix.

## Output

Returns the current and/or forecast carbon intensity of the GB electricity grid in gCO2/kWh. Optionally includes a breakdown of the generation fuel mix (e.g. wind, solar, gas, nuclear, coal percentages). Results can be national or regional based on the outward postcode supplied.

## 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",
     "required": [],
     "properties": {
      "postcode": {
       "type": "string",
       "description": "Optional GB outward code, e.g. SW1A or EC1A — omit for national"
      },
      "includeMix": {
       "type": "boolean",
       "description": "Include the generation fuel mix"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/fittings-uk-carbon-intensity-b88cbb81/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from fittings.sh](https://www.zero.xyz/host/fittings.sh/llms.txt)
