> For the complete documentation index, see [llms.txt](https://doc.duaer.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.duaer.com/getting-started/grid-carbon.md).

# GB grid carbon intensity in Duaer

In Duaer: National Grid ESO: carbon intensity of Great Britain electricity now or for the next 24 hours, by region and fuel mix. One successful search uses 1 credit.
## What you get

Duaer GB grid carbon intensity reads the Carbon Intensity API for Great Britain. Give an outward postcode for the regional value and fuel mix.

Pick Duaer Data → GB grid carbon intensity in the node creator, or open the [data market](/getting-started/data-market.md). Related: [EIA electricity prices](/getting-started/eia-electricity.md), [Greenhouse gas levels](/getting-started/greenhouse-gases.md).

## When to use it

- Run a heavy job when the grid is greenest.
- Show the fuel mix for a region now.

## When not to use it

- US electricity prices. Use [EIA electricity prices](/getting-started/eia-electricity.md).
- Greenhouse gas levels in the air. Use [Greenhouse gas levels](/getting-started/greenhouse-gases.md).

## Search on the canvas

1. Open the node creator and pick Duaer Data → GB grid carbon intensity.
2. Fill View (now or forecast). Optional: Postcode (such as RG10).
3. Limit defaults to 10, max 20. Execute.

A search uses 1 credit only when it returns rows. No rows, wrong input, or an upstream failure uses 0.

## Call the API

- GET https://api.duaer.com/v1/data/grid-carbon?view=now
- Authorization: Bearer <Duaer key>

The call skill below matches Copy skill in the Duaer data market, with parameters, examples, and result fields.

## Call skill

Same text as Copy skill.

```
---
name: duaer-grid-carbon
description: >-
  Duaer GB grid carbon intensity. National Grid ESO: carbon intensity of Great Britain electricity now or for the next 24 hours, by region and fuel mix.
  One successful search uses 1 Duaer credit.
---

# Duaer GB grid carbon intensity

Duaer GB grid carbon intensity reads the Carbon Intensity API for Great Britain. Give an outward postcode for the regional value and fuel mix.

## When to use

- Run a heavy job when the grid is greenest.
- Show the fuel mix for a region now.

## When not to use

- US electricity prices. Use https://skills.duaer.com/eia-electricity.md.
- Greenhouse gas levels in the air. Use https://skills.duaer.com/greenhouse-gases.md.

## Call

`GET https://api.duaer.com/v1/data/grid-carbon?view=now`

Header: `Authorization: Bearer <Duaer key>`

Use an account key or a model API key.

Get a Duaer key: https://skills.duaer.com/keys.md

## Parameters

Provide `view` or `postcode`.

- `view` — `now` or `forecast` (next 24 hours in half-hour slots). Default now.
- `postcode` — Optional. First part of a GB postcode such as RG10 for its region and fuel mix.
- `limit` — Optional. Rows to return, from 1 to 20. Default 10.

## Examples

- `GET https://api.duaer.com/v1/data/grid-carbon?view=now` — the national value now.
- `GET https://api.duaer.com/v1/data/grid-carbon?view=forecast&postcode=RG10` — the next 24 hours for the RG10 region.

## Result

The response is `{ "items": [...] }`. Each item has `source`, `title`, `url`, and `summary`, plus:

- `place`, `from`, `to` — area and half-hour slot.
- `gramsCo2PerKwh`, `index` — intensity and band, such as low or high.
- `forecast`, `actual` — national forecast and measured values.
- `<fuel>Pct` — regional fuel mix in percent, such as `gasPct` and `windPct`.

Fields without a value are left out.

## Credits

A search that returns at least one row uses 1 credit.
An empty search, a search that finds nothing, or a failed search uses 0.
Wrong input returns 400 with a message and uses 0.
No remaining credits returns 402 and does not search.
A missing key returns 401.

## Related

- https://skills.duaer.com/eia-electricity.md — Duaer EIA electricity prices
- https://skills.duaer.com/greenhouse-gases.md — Duaer Greenhouse gas levels

```
## Questions

### How many credits does a GB grid carbon intensity search use in Duaer?

One credit when Duaer returns rows. A search with no rows or an error uses 0.

### Which postcode does Duaer GB grid carbon intensity take?

The first part of a GB postcode, such as RG10, not the full code.

## Related

- [EIA electricity prices in Duaer](https://doc.duaer.com/getting-started/eia-electricity.md)
- [Greenhouse gas levels in Duaer](https://doc.duaer.com/getting-started/greenhouse-gases.md)

