FreetierapisFree APIs you can call right now

UK Carbon Intensity API

The Official Carbon Intensity API for Great Britain developed by National Grid

Called and docs checked Measured by usFrom the public-apis list
Our call
HTTP 200
Latency
1,185 ms
From a browser
Allowed
Key
No key
Docs link
Answered
GEThttps://api.carbonintensity.org.uk/intensity

Press Run: the request leaves from your browser, and you see what it gets back.

const res = await fetch("https://api.carbonintensity.org.uk/intensity");
if (!res.ok) throw new Error(`HTTP ${res.status}`);
const data = await res.json();
console.log(data);

UK Carbon Intensity docsMore Environment APIs

Come back to see anything that changed: answers, keys, browser access, rate limits.

Our test call Measured by us

Request
GET https://api.carbonintensity.org.uk/intensity
Result
HTTP 200 in 1,185 ms (1,186 ms with the body)
From a browser
Browser OK Access-Control-Allow-Origin: *
HTTPS
Yes
Response
application/json, 192 bytes, a JSON object
Fields
data
Rate-limit headers
none sent (that doesn't mean unlimited)
The list has CORS as "not recorded" for UK Carbon Intensity, but it sent Access-Control-Allow-Origin: * to us, so browser code can call it.

Change log Measured by us

No changes seen since we started tracking on 2026-11-06. Each check compares the answer, the key requirement, the browser (CORS) header and the rate limit with the run before.

What the list says From the public-apis list

Category
Environment
Auth
No key
CORS
Not recorded Our call disagrees
Docs link
carbon-intensity.github.io answered 200 in 6946 ms on 2026-11-06 Measured

UK Carbon Intensity is listed in Environment. UK Carbon Intensity needs no key: you can call it without signing up. The list doesn't record whether it allows browser calls (CORS), so test that before building a browser-only app on it.

The list has 23 Environment APIs: 12 need no key and 11 need an API key, and 10 of them are marked as allowing browser calls. 4 others have the same setup, such as Danish data service Energi, Luchtmeetnet and National Grid ESO.

UK Carbon Intensity and other Environment APIs

FactUK Carbon Intensity (this page)Danish data service EnergiEl mapa del aguaElpriser i dagGrünstromIndex
Key needed From the public-apis listNo keyNo keyNo keyNo keyNo key
CORS, as listed From the public-apis listNot recordedNot recordedYesYesYes
Our test call Measured by us1,185 msNot testedNot testedNot testedNot tested
Browser call Measured by usAllowed————
Docs link Measured by usAnsweredAnsweredAnsweredAnsweredAnswered

All 23 Environment APIs

Questions

Does UK Carbon Intensity need an API key?

UK Carbon Intensity needs no key: you can call it without signing up.

Can I call UK Carbon Intensity from JavaScript in the browser?

Yes. When we called it it sent Access-Control-Allow-Origin: *, so a web page can call it directly.

Where are the UK Carbon Intensity docs?

At https://carbon-intensity.github.io/api-definitions/#carbon-intensity-api-v1-0-0. When we checked, the link answered 200 in 6946 ms.

What are some alternatives to UK Carbon Intensity?

Other Environment APIs in the list include Danish data service Energi, Luchtmeetnet, National Grid ESO and PM2.5 Open Data Portal.

Listing from public-apis (github.com/marcelscruz/public-apis), MIT. Measurements are ours: how we check.

Report a problem with this page