PASAR API

🇬🇧 National Grid ESO ~ Carbon Intensity API

← directory
National Energy System Operator (NESO)Realtimetier: openauth: no authpricing: freeverified 2026-07-05

Fully keyless; half-hourly actual and up-to-48h forecast carbon intensity plus generation mix, nationally and by region/postcode, all timestamps in UTC.

View docs ↗ More Realtime APIs

Call it

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

AI prompt

I'm building an app using a free United Kingdom API (no auth needed).

API: National Grid ESO ~ Carbon Intensity API
Provider: National Energy System Operator (NESO)
Endpoint: GET https://api.carbonintensity.org.uk/
It returns JSON (live data).

Source: National Energy System Operator (NESO) (https://carbon-intensity.github.io/api-definitions/)
Source type: Official public feed
Endpoint type: Direct public JSON endpoint
Integration difficulty: Copy-paste ready
Last checked: 2026-07-05
Production caveat: Still handle downtime, changing fields, empty responses, and rate limits before shipping user-facing alerts.

Help me fetch this and build a simple page that displays it nicely. Include basic production safeguards for errors, empty responses, schema changes, caching, and rate limits.

Related Realtime APIs

7-day weather forecast (live)Weather warnings (live)Earthquake warnings (live)River water levels & flood warnings (live)Transit schedules ~ Rapid KL LRT/MRT/monorail/bus (Prasarana GTFS)Train schedules ~ KTMB (GTFS)Live bus positions ~ Rapid KL & Rapid Penang (Prasarana GTFS-R)Live train positions ~ KTMB (GTFS-R)Bus schedules ~ myBAS Johor Bahru (GTFS)Live bus positions ~ myBAS Johor (GTFS-R)