UK Grid Carbon Intensity & Low-Carbon Windows avatar

UK Grid Carbon Intensity & Low-Carbon Windows

Pricing

from $0.70 / 1,000 result rows

Go to Apify Store
UK Grid Carbon Intensity & Low-Carbon Windows

UK Grid Carbon Intensity & Low-Carbon Windows

Half-hourly carbon intensity (gCO2/kWh) for Great Britain, its grid regions and UK outward postcodes from the NESO Carbon Intensity API: forecast, actual, index and generation mix, plus the lowest-carbon time windows for EV charging, heat pumps and other flexible loads.

Pricing

from $0.70 / 1,000 result rows

Rating

0.0

(0)

Developer

Cliqto Media

Cliqto Media

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

4 days ago

Last modified

Features

Limited permissions

Share

Get the half-hourly carbon intensity of electricity (gCO2/kWh) for Great Britain, its grid regions and UK postcodes from the Carbon Intensity API of the National Energy System Operator (NESO). Each half-hour has a forecast, an actual value (national only), an index and the generation mix. The Actor also finds the lowest-carbon time windows for EV charging, heat pumps, batch jobs and other flexible loads.

No login or API key is needed. The default run (Great Britain, London and Scotland for the next 24 hours) takes about 7 seconds, returns 153 rows (144 half-hours plus 9 ranked windows) and costs about $0.16 on the Free plan.

UK Grid Carbon Intensity & Low-Carbon Windows: choose areas and time, get every half-hour of grid CO2 with fuel mix, and get the best low-carbon windows

Run it now: open the prefilled input form and get UK grid carbon data, no coding

Table of contents

What it does

The Actor reads the public Carbon Intensity API run by the National Energy System Operator (NESO) and returns clean rows of grid carbon intensity. It does three things:

  1. It gets every half-hour in your time range for each area you choose: Great Britain, any of the 17 NESO regions, and up to 5 postcodes.
  2. It turns each half-hour into one row with UTC times, forecast and actual intensity, the index and the fuel mix.
  3. It finds the best non-overlapping windows of the length you choose (for example 3 windows of 2 hours), ranked by the average forecast intensity.

πŸ‘‰ Try it now: open the input form

Good fit

  • You plan EV charging, heat pumps, batteries or batch jobs and need the greenest hours in the next day or two.
  • You report on grid carbon intensity for a past day or week (ESG, energy dashboards).
  • You compare regions or sites by postcode for the same time range.

Not a fit

  • It does not calculate the carbon footprint of your business and does not issue certificates or guarantees of origin.
  • Great Britain only. Northern Ireland is not covered by the source.
  • Regions and postcodes have forecasts only. The source has no regional actual values.

How it works

  1. The Actor checks your input and turns the time range into half-hours (UTC).
  2. It requests the NESO Carbon Intensity API for each area: national, region or postcode. No proxy is used.
  3. It builds one row per half-hour and, if you ask, the ranked low-carbon windows.
  4. It saves the rows to the Dataset, the windows also to the WINDOWS key-value record, and a run report to RUN_SUMMARY.
  5. It writes a short status message with the result and a link to rate the Actor.

Source and licence

Contains data from the Carbon Intensity API by National Energy System Operator, licensed under CC BY 4.0. The Actor reformats it (UTC periods, window ranking). This Actor is not affiliated with or endorsed by NESO. Every row keeps provider, sourceUrl and fetchedAt.

πŸ‘‰ Try it now: open the input form

Quick start

  1. Open the Input tab.
  2. Keep the prefilled input: Great Britain, grid regions 13 (London) and 16 (Scotland), from now to +24h.
  3. Optionally add a UK postcode such as M1 or EH1 1YZ.
  4. Click Start.
  5. In the Output tab, open Low-carbon windows only for the ranked windows, or All rows for every half-hour (the recordType column says period, window or area_status).

The input form with the prefilled areas, time range and window settings, numbered 1 to 3

Expected result: one row per half-hour per area, plus the ranked windows for each area.

The result table: half-hour rows with forecast, actual, index and ranked low-carbon windows

πŸ‘‰ Try it now: open the input form

Use cases

Buyer jobInput pathOutput entityKey fieldsNext integration
Schedule EV charging or a heat pumpUK postcodes, Window length (hours), Number of windowswindowfrom, to, averageForecastIntensity, windowRankYour scheduler reads the rank 1 window
Daily ESG or energy reportStart yesterday, Great Britain (national)periodactualIntensity, forecastIntensity, generationMixExport CSV/Excel or Google Sheets
Compare regionsGrid regionsperiodregionName, forecastIntensity, intensityIndexDashboard or BI tool

πŸ‘‰ Try it now: open the input form

Input

Input fields

FieldPlain nameTypeRequiredDefault/prefillAllowed valuesEffectExampleRecommendation
includeNationalGreat Britain (national)booleannotruetrue or falseGreat Britain series. The only series with actual values.trueKeep on.
regionsGrid regionsarray of stringsnoprefill ["13", "16"]Region IDs "1"–"17"1–14 are distribution network regions (13 London, 1 North Scotland, …), 15 England, 16 Scotland, 17 Wales.["13"]Pick the regions you operate in.
postcodesUK postcodes (outward code)array of stringsnoemptyUp to 5 UK postcodesOnly the outward part is used and kept in the output (SW1A 1AA becomes SW1A).["M1 1AE"]Use one postcode per site.
startTimeStartstringnonownow, today, yesterday, tomorrow, YYYY-MM-DD (a UK day), or an ISO date-timeISO without an offset is read as UTC. Rounded down to the half-hour."now"Use now to plan ahead, yesterday for reports.
endTimeEndstringnoempty+Nh, YYYY-MM-DD, or an ISO date-timeEmpty means 24 hours after the start (or the end of the UK day for a day value). Max range 7 days (168 hours)."+48h"Keep within 48 hours for forecasts.
includeHalfHourPeriodsHalf-hour periodsbooleannotruetrue or falseOne row per area and half-hour.trueTurn off for windows only.
includeGenerationMixGeneration mixbooleannotruetrue or falseAdds the fuel mix to each half-hour.trueTurn off for smaller rows.
findLowCarbonWindowsFind low-carbon windowsbooleannotruetrue or falseOutputs ranked window rows.trueKeep on for scheduling.
windowDurationHoursWindow length (hours)numberno20.5–24, steps of 0.5Length of each window. It must fit inside the range.2Match your load, for example a 2-hour charge.
windowCountNumber of windowsintegerno31–10Windows per area. Fewer are returned if the range is too short.33 is enough for most plans.
windowsFromNowOnlyWindows only in the futurebooleannotruetrue or falseOnly search windows from the current half-hour onward.trueTurn off to rank windows in a past range.

At least one area is required. Duplicate regions and postcodes with the same outward code are merged. If both Half-hour periods and Find low-carbon windows are off, the input is rejected.

Interacting settings

WhenEffective behavior
Start is a day and End is emptyThe range is that whole UK calendar day: 48 half-hours, or 46/50 on clock-change days.
The range is in the past and Windows only in the future is onNo windows are found. Turn Windows only in the future off.
A window has already startedIt can still be ranked; its isUpcoming is false.

Input examples

{
"includeNational": true,
"regions": ["13", "16"],
"postcodes": ["M1 1AE"],
"startTime": "now",
"endTime": "+24h",
"includeGenerationMix": true,
"findLowCarbonWindows": true,
"windowDurationHours": 2,
"windowCount": 3
}

Expected output: 4 areas Γ— 48 half-hours = 192 period rows plus up to 12 window rows. M1 1AE is reported as M1.

πŸ‘‰ Try it now: open the input form

Output

Each Dataset row has a recordType:

  • period: one half-hour of one area;
  • window: one ranked low-carbon window of one area;
  • area_status: an area with no rows (not_found, no_data or error). These rows are free.

Output fields

FieldMeaningCan be empty?
recordTypeperiod, window or area_statusno
area, areaTypeArea label and type (national, region, postcode)no
regionId, regionName, dnoRegionNESO region; regionId is null for Great Britainyes
postcodeOutward postcode of the lookupyes
from, toStart and end, UTC ISO 8601null on status rows
forecastIntensityForecast, gCO2/kWhyes
actualIntensityActual, gCO2/kWh. National past half-hours only; otherwise null (not 0)yes
intensityIndexvery low, low, moderate, high, very highyes
unitAlways gCO2/kWhno
generationMixPercent by fuel: biomass, coal, gas, imports, nuclear, hydro, solar, wind, otheryes
windowRank1 = lowest average forecastwindow rows only
windowDurationHours, averageForecastIntensity, minForecastIntensity, maxForecastIntensityWindow length and its forecast (average rounded to 0.1)window rows only
isUpcomingtrue if the window starts after the run startedwindow rows only
status, messageok, or the reason for a status rowmessage yes
provider, sourceUrl, fetchedAtSource, exact API request and fetch time (UTC)no

The key-value store record WINDOWS holds only the window rows (a JSON array). The record RUN_SUMMARY has the run status, counts per area, the best windows, request statistics, warnings and the attribution text.

The Dataset has two table views, Overview and Fuel mix. Both show all rows; filter by recordType if you need one kind. To get only windows in the Dataset, turn off includeHalfHourPeriods.

Output example

A real row from the default run on 2026-10-12, trimmed:

{
"recordType": "period",
"area": "GB (national)",
"areaType": "national",
"from": "2026-10-12T13:30:00Z",
"to": "2026-10-12T14:00:00Z",
"forecastIntensity": 73,
"actualIntensity": null,
"intensityIndex": "low",
"unit": "gCO2/kWh",
"generationMix": { "wind": 49.5, "gas": 13, "nuclear": 11.5, "imports": 10.7, "biomass": 8.7, "solar": 6.6, "hydro": 0, "coal": 0, "other": 0 },
"status": "ok",
"provider": "Carbon Intensity API (National Energy System Operator)",
"sourceUrl": "https://api.carbonintensity.org.uk/intensity/2026-10-12T13:30Z/2026-10-13T13:30Z",
"fetchedAt": "2026-10-12T13:52:42Z"
}

And a window row from the same run:

{
"recordType": "window",
"area": "GB (national)",
"from": "2026-10-13T11:30:00Z",
"to": "2026-10-13T13:30:00Z",
"windowRank": 1,
"windowDurationHours": 2,
"averageForecastIntensity": 36.5,
"minForecastIntensity": 35,
"maxForecastIntensity": 38,
"isUpcoming": true
}

Output entities and surfaces

SituationWhat you getWhat to do
Normal runperiod and window rows, status message starting with βœ…Use the Overview view or the WINDOWS record
Unknown postcodeOne area_status row with not_foundCheck the postcode; Northern Ireland is not covered
Range with no data (too far ahead or before 2017)area_status row with no_data, status message starting with ℹ️Choose a range within the next ~48 hours or the past
Some areas failed or incompleteRows for the others, status message starting with ⚠️Read the area_status rows (failed areas) or the warnings in the RUN_SUMMARY record (short forecast horizon or incomplete generation mix), then retry later
Invalid inputRun finishes without failing, no rows, status message starting with Input error: and an exampleFix the named field and run again

πŸ‘‰ Try it now: open the input form

Pricing

This Actor uses pay-per-event pricing:

EventPrice
Actor start (one per run at the default 256 MB memory)$0.005
Result row (one period or window row)$0.001 (Free plan), $0.0009 (Bronze), $0.0008 (Silver), $0.0007 (Gold, Platinum and Diamond)

area_status rows are free. A run with no data (for example a range too far ahead) costs only the start event. If the source fails, no rows are charged. Platform usage is included in the price.

Cost examples (Free plan prices)

ScenarioInput scopeRowsCost
Default runGB + 2 regions, 24 h, 3 windows each153$0.158
One window only1 postcode, periods off, 1 window1$0.006
Two days, six areasGB + 5 regions, 48 h, 3 windows each594$0.599
Largest testedGB + 17 regions + 5 postcodes, 7 days, windows on7,958$7.96

πŸ‘‰ Try it now: open the input form

Limits

  • Forecasts reach about 48 hours ahead. History starts in 2017–2018.
  • A run covers at most 7 days and up to 5 postcodes.
  • The largest tested run finished in 41 seconds. You can set a maximum total charge for a run; the Actor stops saving rows when it is reached.
  • Regions and postcodes have forecasts only; actual values are national only.

πŸ‘‰ Try it now: open the input form

API export and integrations

  • API: start the Actor with the Apify API and read the Dataset items, or the WINDOWS key-value record for the ranked windows only.
  • Export: download the Dataset as JSON, CSV, Excel, XML or HTML.
  • Scheduling: run it every day (for example at 18:00 UK time) with Apify schedules to plan the next day's flexible loads.
  • Webhooks / no-code: send results to Make, Zapier, Google Sheets or your own webhook with Apify integrations.

Use with AI agents (MCP)

  • MCP server URL with only this Actor: https://mcp.apify.com?tools=cliqtomedia/uk-carbon-intensity.

  • Smallest useful input:

    { "includeNational": true, "startTime": "now", "endTime": "+24h", "includeHalfHourPeriods": false, "windowCount": 3 }
  • Key output fields: from, to, averageForecastIntensity, windowRank on window rows; forecastIntensity, intensityIndex on period rows.

  • A typical call takes about 7 seconds and costs $0.008 for 3 window rows. Limits: 7 days per run, up to 5 postcodes, region IDs "1"–"17".

πŸ‘‰ Try it now: open the input form

Troubleshooting

Every run ends with a status message. This table shows how to read it:

SituationStatus starts with
All areas doneβœ…
Some areas not done or incomplete, stopped at the maximum total charge, or aborted⚠️
No rows (nothing to save)ℹ️
No area returned data, or the run crashed❌
Input rejectedInput error:

The status message for a time-limit stop with some rows is the ⚠️ partial one; with no rows it is the ❌ one that names the time limit.

Partial result

⚠️ 2/3 areas done, 1 not done or incomplete · ⭐ Rate it: https://console.apify.com/actors/LZMHoPRMszkVdnVDV/reviews · Problem? https://apify.com/cliqtomedia/uk-carbon-intensity/issues · See area_status rows and the run summary record for details.

Reason: an area was not found (for example an unknown postcode), the source failed for it, or the source has fewer half-hours than your range (forecasts end about 48 hours ahead). The other areas are saved and charged normally. Action: two cases. If an area failed or was not found, open the Dataset, filter recordType to area_status and read the message; check the postcode or retry later. If the source has fewer half-hours than your range (forecasts end about 48 hours ahead) or the generation mix is incomplete, there is no area_status row: read the warnings in the RUN_SUMMARY record of the key-value store and shorten the range.

No rows: your settings

ℹ️ 0 rows: the source has data, but your settings keep no rows. Turn on Half-hour periods, or for a past range turn off Windows only in the future Β· Problem? https://apify.com/cliqtomedia/uk-carbon-intensity/issues

Reason: Half-hour periods is off and no low-carbon window fits (a past range with Windows only in the future on, or a range shorter than Window length (hours)). Action: turn on Half-hour periods, or turn off Windows only in the future for a past range.

No rows: no data

ℹ️ 0 rows: the source has no data for these areas and this time range Β· Problem? https://apify.com/cliqtomedia/uk-carbon-intensity/issues

Reason: the range is too far ahead or before 2017, or the postcodes are unknown. Action: choose a range within the next ~48 hours or the past, and check the postcodes.

Stopped at the maximum total charge

⚠️ Stopped at the maximum total charge: 120 rows saved · ⭐ Rate it: https://console.apify.com/actors/LZMHoPRMszkVdnVDV/reviews · Problem? https://apify.com/cliqtomedia/uk-carbon-intensity/issues

With no rows saved the text is ⚠️ Stopped at the maximum total charge: 0 rows saved · Problem? https://apify.com/cliqtomedia/uk-carbon-intensity/issues. Reason: the run reached the maximum total charge you set. Action: raise the maximum total charge or narrow the areas and the time range.

Run aborted

⚠️ Run aborted · 120 rows saved · ⭐ Rate it: https://console.apify.com/actors/LZMHoPRMszkVdnVDV/reviews

With no rows saved the text is ⚠️ Run aborted · 0 rows saved. Reason: the run was aborted by you or by Apify. Action: start it again; rows already saved stay in the Dataset.

No areas returned data

❌ No areas returned data: the source is not available right now, try again later · Report it: https://apify.com/cliqtomedia/uk-carbon-intensity/issues · Run link: https://console.apify.com/view/runs/<run ID>

Other reasons you can see instead of the one above: the source changed its format, the run reached its time limit before any data arrived, the source returned an error. The run is marked failed and no rows are charged. Action: retry later. If it repeats, report it with the run link.

Run failed

❌ Run failed · Report it: https://apify.com/cliqtomedia/uk-carbon-intensity/issues · Run link: https://console.apify.com/view/runs/<run ID>

Reason: an unexpected error. The run is marked failed. Action: report it with the run link.

Input error

Input error: Start must be now, today, yesterday, tomorrow, a date (YYYY-MM-DD) or an ISO date-time; got "next week". Example: Start: "now". Problem? https://apify.com/cliqtomedia/uk-carbon-intensity/issues

The text names the form field by its label and gives a correct example. The run finishes without failing and no rows are charged. Action: fix the named field and run again.

Input is rejected for a region name

Symptom: the run says the region value is not allowed. Reason: the input form accepts region IDs only. Action: use "13" for London, "16" for Scotland, and so on (see the Input table).

Scotland shows 0 gCO2/kWh

Symptom: many half-hours for Scotland (16), North Scotland (1) or Scottish postcodes have forecast 0, and several windows have an average of 0. Reason: this is the value the source publishes for these areas. The Actor keeps it as is and does not invent a ranking. When every forecast in the range is the same, RUN_SUMMARY.warnings says that the windows are ties ordered by start time. Action: none needed; use another region if you need a ranking.

πŸ‘‰ Try it now: open the input form

FAQ

Do I need an account or API key for the source?

No. The source is a free public API. You only need an Apify account to run the Actor.

Why is actualIntensity null?

The source publishes actual values only for Great Britain as a whole and only for half-hours that have passed. Regions and postcodes have forecasts only. A null means "no value", never 0.

How fresh is the data?

Each run requests the source live. fetchedAt shows when. Forecasts change during the day, so a later run can show different forecasts for the same half-hour.

Why are times in UTC?

The source uses UTC. A UK calendar day (today, 2026-10-25) is converted for you, so clock-change days have 46 or 50 half-hours.

πŸ‘‰ Try it now: open the input form

πŸ‘‰ Try it now: open the input form

Support

For bugs, questions or feature requests, open an issue on the Actor's Issues tab in Apify Store. Include the run ID and your input. Do not send API tokens or other secrets.

⭐ Found it useful? Rate this Actor. Something wrong? Report a problem

Run it now: open the prefilled input form and get UK grid carbon data, no coding