Energy and environment

Carbon Intensity API (GB)

by carbon-intensity.github.io

Energy and environment Added on October 31st, 2026 Checked and working on November 8th, 2026
Visit carbon-intensity.github.io →

What it does

The Carbon Intensity API from National Energy System Operator (NESO) gives the carbon intensity of electricity in Great Britain, per half hour, with a forecast up to 48 hours ahead, the generation mix (gas, wind, solar, nuclear and more) and regional figures. Useful for scheduling energy use at greener times. Responses are JSON. Free, no key needed.
  • API
  • HTTP-GET
  • JSON
  • REST

At a glance

API key
Not needed · More APIs with no key
Pricing
Free, no key needed.
From the browser
Yes (CORS)
Formats
JSON
Interface
REST, HTTP-GET
Provider
carbon-intensity.github.io
Last checked
Working on November 8th, 2026

More information: https://carbon-intensity.github.io/api-definitions/

Is this your service? Show that it is listed

Put this badge on your website or in your README; it links to this page. About the badge

Listed on Free Web Services

carbon-intensity.github.io
Carbon Intensity API (GB)

Example request

curl

curl 'https://api.carbonintensity.org.uk/intensity'

JavaScript

const response = await fetch("https://api.carbonintensity.org.uk/intensity");
const data = await response.json();
console.log(data);

Python

import requests

response = requests.get(
    "https://api.carbonintensity.org.uk/intensity",
    timeout=30,
)
print(response.json())

The JavaScript works in a web page as well as in Node.js 18 or newer.

Did it work for you?

Tell us what you found when you tried Carbon Intensity API (GB).