Access the raw data
We don't run a public API for UK Grid. The good news: everything you see here is built from three public APIs anyone can call, so you can go straight to the source.
Upstream APIs — call them directly
-
Elexon BMRS —
bmrs.elexon.co.uk.
FUELINST (5-min generation by fuel + interconnectors) at
/datasets/FUELINST/stream, Market Index Price at/balancing/pricing/market-index. Free, no key required. -
Carbon Intensity API —
carbon-intensity.github.io.
National at
/intensity, regional at/regional, history at/intensity/<from>/<to>. Free, no key required. - NESO data portal — neso.energy/data-portal. Demand CSV and many other datasets, published under the NESO Open Data Licence.
How each metric is computed
The Data sources & methodology page sets out exactly how each number on the dashboard is derived from those feeds.
Why no UK Grid API?
Two reasons. First, the upstream APIs are already free and well-documented — there's nothing meaningful we could add by relaying them. Second, running a public API would add a rate-limiting and abuse-prevention layer that the project doesn't need today. If you have a specific case where having UK Grid's normalised Firestore data would be useful, get in touch: hello@andelle.co.
Embedding
The dashboard sets frame-ancestors 'none' in its CSP,
so it can't be embedded in an <iframe> on
another site. If you want a UK-Grid-style display elsewhere, use the
upstream APIs directly.