France Electricity Generation & CO2 API

France's electricity grid in 15-minute steps, national or by region: consumption, forecast, generation by source (nuclear, wind, solar, hydro, gas, coal, oil, bioenergy), pumping, exchanges and the CO2 rate. Empty placeholder rows are dropped.

$0.50 per 1,000 records

You pay only for the records you get. Zero records cost zero. 10,000 free records of this API to start (5,000 at the base price of $1 per 1,000), no card.

Try it
Ready-made, maintained by usRecords, 16 fieldsv1.0

Data from odre.opendatasoft.com/explore/dataset/eco2mix-national-tr/

Get this data

Try it here with a few records, download the sample, fill a Google Sheet, or call it from your own code.

Try it

Scopeoptional
national for all of France, or regional for the regions.
Regionsoptional
French regions to keep when the scope is regional, such as Bretagne. Empty means all regions. One per line, or separated by commas.
Example: Bretagne
Startoptional
Only intervals from this time on (ISO 8601, UTC).
Example: 2026-12-05T00:00:00Z
Endoptional
Only intervals before this time (ISO 8601, UTC).
Example: 2026-12-06T00:00:00Z

Run it on this page, or call it from your code with the endpoint in the developer section. A free key covers 10,000 records of this API, no card. Create a free key

For developers: the API and MCPThe endpoint, code in curl, JavaScript and Python, every input, and files for your tools
Endpoint
POSThttps://pullrow.dev/v1/apis/france-electricity-grid/run
  • Small runs answer in the same request; longer ones answer 202 with a run to poll.
  • fields returns only the fields you name. The examples send the ones picked on this page.
  • Idempotency-Key is optional. A retry with it is never charged twice.
  • You pay for records returned. Zero records cost zero.

Every run option, explained

Calling it needs a key
10,000 free records of this API to start. No card.
curl
curl -X POST "https://pullrow.dev/v1/apis/france-electricity-grid/run" \
  -H "Authorization: Bearer $PULLROW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"scope":"national"},"max_items":50}'

Inputs

Send them as input in the request body. Leave one out to use its default.

scopetext
national for all of France, or regional for the regions.
default: nationalexample: nationalone of: national, regional
regionslist
French regions to keep when the scope is regional, such as Bretagne. Empty means all regions.
example: Bretagne
starttext
Only intervals from this time on (ISO 8601, UTC).
example: 2026-12-05T00:00:00Z
endtext
Only intervals before this time (ISO 8601, UTC).
example: 2026-12-06T00:00:00Z

What's in each record

16 fields: 15 here, 1 technical one under Technical details.

Basics

  • Consumption mw

    Electricity consumption in megawatts.

    Example 58,021

  • Forecast d 1 mw

    Day-ahead consumption forecast in megawatts (national only).

    Example 59,200

  • Nuclear mw

    Nuclear generation in megawatts.

    Example 48,902

  • Wind mw

    Wind generation in megawatts.

    Example 2,322

  • Solar mw

    Solar generation in megawatts.

    Example 0

  • Hydro mw

    Hydro generation in megawatts.

    Example 4,976

  • Gas mw

    Gas generation in megawatts (national only).

    Example 6,966

  • Coal mw

    Coal generation in megawatts (national only).

    Example 0

  • Oil mw

    Oil generation in megawatts (national only).

    Example 42

  • Bioenergy mw

    Bioenergy generation in megawatts.

    Example 999

  • Pumping mw

    Pumped-storage consumption in megawatts (negative when pumping).

    Example -1,636

  • Physical exchanges mw

    Physical exchanges with neighbours in megawatts (negative means export).

    Example -4,468

  • Co 2 rate g (kWh)

    CO2 emitted per kilowatt-hour produced, in grams (national only).

    Example 55

Location

  • Region

    France for the national scope, else the region name.

    Example France

Dates

  • Interval at

    Start of the 15-minute interval (UTC).

    Example Dec 5, 2026

Technical detailsField names and types for developers, and the 1 field hidden above

Hidden by default

This field comes with each record too. It is an internal code, a note about how the record was read or a copy of what was searched for, so the lists above leave it out.

  • ID idInterval start plus region, unique per row.

Field names and types

The names your code reads in each record. "Filled" counts how many of the 3 sample records carry the field.

Field nameTypeShown on this page asFilled
idtextID (hidden)3 of 3
interval_atdate and timeInterval at3 of 3
regiontextRegion3 of 3
consumption_mwnumberConsumption mw3 of 3
forecast_d1_mwnumberForecast d 1 mw3 of 3
nuclear_mwnumberNuclear mw3 of 3
wind_mwnumberWind mw3 of 3
solar_mwnumberSolar mw3 of 3
hydro_mwnumberHydro mw3 of 3
gas_mwnumberGas mw3 of 3
coal_mwnumberCoal mw3 of 3
oil_mwnumberOil mw3 of 3
bioenergy_mwnumberBioenergy mw3 of 3
pumping_mwnumberPumping mw3 of 3
physical_exchanges_mwnumberPhysical exchanges mw3 of 3
co2_rate_g_kwhnumberCo 2 rate g (kWh)3 of 3

How it reads the site

Runs on a reader we built and maintain by hand for this site.

Sample records

Sample records
RecordConsumption mwForecast d 1 mwNuclear mwWind mwSolar mwHydro mwGas mwCoal mwOil mwBioenergy mwPumping mwPhysical exchanges mwCo 2 rate g (kWh)RegionInterval at
158,02159,20048,9022,32204,9766,966042999-1,636-4,46855FranceDec 5, 2026
259,15059,90048,8602,38805,1237,3210421,010-2,291-3,20657FranceDec 5, 2026
360,40860,40048,9382,36605,1727,3470431,002-2,291-2,11857FranceDec 5, 2026

Sample records from the example output this API publishes. Email addresses and phone numbers in them are masked. Hover over a column name to see the field name your code reads.

Reliability

Counted from real runs. Our own health checks are left out. A run succeeded when it finished and the site neither blocked it nor broke it.

Incidents and repairs

How it is kept working What a repair can't do

A ready-made API, maintained by us. It is not part of the daily check or the automatic rebuild yet.

  • You pay only for records returned. A run that returns none costs nothing.
Known limits
  • Real-time (not yet consolidated) data from RTE's eco2mix, published through the ODRE open data portal; recent values can be revised later.
  • Only intervals that already carry measured values are returned; the forecast-only future part of the day is left out.
  • Gas, coal, oil, the day-ahead forecast and the CO2 rate exist for the national scope only; regional rows leave those empty.
  • The source keeps a limited history of real-time data, and the portal pages at most 10,000 intervals per search; narrow start and end for more.
  • Licence Ouverte 2.0: credit RTE (eco2mix) and ODRE when you publish the data.

Version history

A run uses the live version unless the request names another one with version.