Carbon Intensity API

Great Britain

This is the Carbon Intensity API for Great Britain developed by National Grid. Please see the official documentation. Data is available in JSON and XML.


API Quick Start

Base URL: api.carbonintensity.org.uk

JSON

national carbon intensity

GET /intensity
gets current carbon intensity


GET /intensity/date
gets carbon intensity for today


GET /intensity/date/{date}
gets carbon intensity for specified date


GET /intensity/date/{date}/{period}
gets carbon intensity for specified date and settlement period


GET /intensity/factors
gets carbon intensity factors for fuel types


GET /intensity/{from}
gets carbon intensity for specified datetime


GET /intensity/{from}/fw24h
gets carbon intensity for 24h after specified datetime


GET /intensity/{from}/fw48h
gets carbon intensity for 48h after specified datetime


GET /intensity/{from}/pt24h
gets carbon intensity for 24h before specified datetime


GET /intensity/{from}/{to}
gets carbon intensity between specified datetimes


national statistics

GET /intensity/stats/{from}/{to}
gets carbon intensity statistics between specified datetimes


GET /intensity/stats/{from}/{to}/{block}
gets carbon intensity statistics in blocks between specified datetimes



XML

national carbon intensity

GET /xml/intensity
gets current carbon intensity


GET /xml/intensity/date
gets carbon intensity for today


GET /xml/intensity/date/{date}
gets carbon intensity for specified date


GET /xml/intensity/date/{date}/{period}
gets carbon intensity for specified date and settlement period


GET /xml/intensity/factors
gets carbon intensity factors for fuel types


GET /xml/intensity/{from}
gets carbon intensity for specified datetime


GET /xml/intensity/{from}/fw24h
gets carbon intensity for 24h after specified datetime


GET /xml/intensity/{from}/fw48h
gets carbon intensity for 48h after specified datetime


GET /xml/intensity/{from}/pt24h
gets carbon intensity for 24h before specified datetime


GET /xml/intensity/{from}/{to}
gets carbon intensity between specified datetimes


national statistics

GET /xml/intensity/stats/{from}/{to}
gets carbon intensity statistics between specified datetimes


GET /xml/intensity/stats/{from}/{to}/{block}
gets carbon intensity statistics in blocks between specified datetimes



How do we calculate Carbon Intensity?

You can find out how we calculate both national and regional carbon intensity in our methodology papers.


Contact Us

If you develop anything using this data service then please let us know! We would love to see your work. Get in touch with alasdair.bruce@nationalgrid.com or lyndon.ruff@nationalgrid.com.