Grid Carbon Intensity Forecast: Greenest Time to Run avatar

Grid Carbon Intensity Forecast: Greenest Time to Run

Pricing

from $10.00 / 1,000 recommended windows

Go to Apify Store
Grid Carbon Intensity Forecast: Greenest Time to Run

Grid Carbon Intensity Forecast: Greenest Time to Run

When is electricity greenest? Give a grid zone (Denmark, France, Germany), job length and deadline. Get the lowest-carbon (gCO2/kWh) or cheapest window from the carbon intensity forecast, % CO2 saved vs now, and sources. Carbon-aware scheduling for CI, AI training, EV charging. No API key.

Pricing

from $10.00 / 1,000 recommended windows

Rating

0.0

(0)

Developer

Sean

Sean

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

18 days ago

Last modified

Features

Limited permissions

Share

EU Grid Carbon & Price Window Finder (Denmark, France, Germany)

When should this job run? Give a grid zone, a job length and a deadline. You get back the cleanest (lowest gCO₂/kWh) or cheapest N-hour window before the deadline, the average carbon intensity and day-ahead price for that window, how much you save compared with starting right away, and the source and licence for every figure.

No API key and no sign-up. All the data comes from official, open-licence publishers: Energinet (Denmark), RTE (France) and the Bundesnetzagentur's SMARD platform (Germany).

Who it's for

  • Carbon-aware CI/CD, ML training and batch schedulers. Shift a 3-hour nightly job to the greenest hours in DK, FR or DE.
  • EV charging, heat-pump and battery apps. In Denmark you can pick the cheapest or the cleanest hours.
  • AI agents and sustainability tools that need one answer ("start at 11:00 local, 22% less CO₂") rather than a raw time series.
  • Teams comparing regions. crossZoneCarbonRank ranks the zones you asked for by the carbon intensity of their best window.

This is a cheaper alternative to commercial carbon-intensity APIs for these three countries.

Input

FieldWhat it doesDefault
zonesAny of DK1 (West Denmark), DK2 (East Denmark), FR, DE["DK1","FR","DE"]
jobHoursJob length in whole hours (1–24)3
deadlineHoursThe job must finish within this many hours (1–48)24
deadlineExact finish-by time in ISO 8601, e.g. 2026-11-05T07:00:00Z. Overrides deadlineHours. A time with no zone is read as UTC.–
earliestStartThe job can't start before this ISO 8601 timenow
optimiseForcarbon, price (DK1/DK2 only) or bothcarbon
alternativesNumber of non-overlapping windows per zone, best first (1–5)1
includeHourlyAdds the hour-by-hour figures behind each windowfalse

Example:

{ "zones": ["DK2", "DE"], "jobHours": 4, "deadline": "2026-11-05T06:00:00+01:00", "optimiseFor": "both" }

Output (one record per window)

{
"zone": "DK2", "zoneName": "Denmark East (DK2)", "objective": "carbon", "rank": 1, "jobHours": 2,
"windowStartUtc": "2026-11-04T10:00:00+00:00", "windowEndUtc": "2026-11-04T12:00:00+00:00",
"windowStartLocal": "2026-11-04T11:00:00+01:00", "localTimezone": "Europe/Copenhagen",
"avgCarbonIntensityGPerKWh": 105.0, "avgPriceEurPerMWh": 257.53,
"earliestStartCarbonIntensityGPerKWh": 138.4, "earliestStartPriceEurPerMWh": 311.01,
"carbonSavingPct": 24.2, "priceSavingPct": 17.2,
"dataKinds": {"forecast": 2}, "candidateWindows": 11, "horizonLimited": false,
"dataHorizonUtc": "2026-11-04T23:00:00+00:00", "crossZoneCarbonRank": 1,
"latestActual": {"timeUtc": "2026-11-03T22:10:00+00:00", "carbonIntensity": 129.0},
"method": "Energinet's own CO2 intensity: CO2EmisProg forecast ...",
"sources": [{"name": "Energinet, Energi Data Service", "licence": "CC BY 4.0", "licenceUrl": "https://www.energidataservice.dk/terms-and-conditions", "attribution": "Source: Energinet (www.energidataservice.dk) ..."}],
"licence": "Energinet, Energi Data Service ...: CC BY 4.0 (...)",
"generatedAtUtc": "2026-11-03T22:10:41+00:00"
}
  • carbonSavingPct and priceSavingPct compare the window with starting at your earliest allowed time (now, by default).
  • dataKinds says whether each hour is an official forecast, a statistical estimate, or actual measured data.
  • horizonLimited: true means the published forecasts end before your deadline, so later hours couldn't be considered.
  • If a zone can't be answered (no price for that zone, a source is down, or no window fits), you get a record with an error field and no charge.

How the figures are made

ZoneCarbon intensityPrice
DK1 / DK2Energinet's own CO₂ intensity: the CO2EmisProg forecast (5-min data averaged per hour) and CO2Emis actualsEnerginet DayAheadPrices (15-min data averaged per hour)
FRRTE éCO2mix taux_co2. RTE publishes no CO₂ forecast, so future hours are an estimate: the 7-day average for that hour of day, scaled toward the latest measured level.Not available under an open licence
DECalculated from the SMARD generation mix using IPCC AR5 lifecycle median emission factors. The forecast uses SMARD's wind + solar forecast and its forecast of other generation; the factor for other generation is calibrated on the last 48 h of actuals.Not offered. SMARD asks users not to reuse wholesale prices while its HEDWIG licensing review is running.

Each country's figures follow that country's own method. Denmark and France publish their own intensity numbers, while Germany's is lifecycle-based, so treat comparisons across zones as indicative. Windows are aligned to whole hours. If your earliest start falls partway through an hour, the first window starts at that exact time and uses that hour's figures.

Pricing (pay per event)

  • $0.005 per run (Actor start)
  • $0.01 per window returned

The default run returns 3 windows (DK1, FR, DE) and costs about $0.035. Notices that carry an error are free.

Data sources & licences

The GB Carbon Intensity API and Spain's REE data are left out on purpose, because their terms forbid resale or commercial reuse. Source responses are cached for 5–60 minutes, matching each source's update rate, so heavy use doesn't hammer the publishers. The data is grid-level only and contains no personal data.

Limits

  • Forecast horizons are set by the publishers. Denmark and Germany usually run to the end of the next day (24–34 h ahead). France's estimate is capped at 48 h.
  • The output is decision support, not a guarantee. Forecasts change during the day.
  • Energinet rate-limits its API. If it's busy, the run waits up to about a minute once, then returns a free error record for the Danish zones.

Use from AI agents (MCP)

This Actor works as a tool through the Apify MCP server. An agent can call it with {"zones":["FR","DE"],"jobHours":2,"deadlineHours":12} and read windowStartLocal and carbonSavingPct from the first record. Every record carries its own sources and licence, so the agent can cite them.