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.
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
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
- Small runs answer in the same request; longer ones answer
202with a run to poll. fieldsreturns only the fields you name. The examples send the ones picked on this page.Idempotency-Keyis optional. A retry with it is never charged twice.- You pay for records returned. Zero records cost zero.
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.
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 name | Type | Shown on this page as | Filled |
|---|---|---|---|
id | text | ID (hidden) | 3 of 3 |
interval_at | date and time | Interval at | 3 of 3 |
region | text | Region | 3 of 3 |
consumption_mw | number | Consumption mw | 3 of 3 |
forecast_d1_mw | number | Forecast d 1 mw | 3 of 3 |
nuclear_mw | number | Nuclear mw | 3 of 3 |
wind_mw | number | Wind mw | 3 of 3 |
solar_mw | number | Solar mw | 3 of 3 |
hydro_mw | number | Hydro mw | 3 of 3 |
gas_mw | number | Gas mw | 3 of 3 |
coal_mw | number | Coal mw | 3 of 3 |
oil_mw | number | Oil mw | 3 of 3 |
bioenergy_mw | number | Bioenergy mw | 3 of 3 |
pumping_mw | number | Pumping mw | 3 of 3 |
physical_exchanges_mw | number | Physical exchanges mw | 3 of 3 |
co2_rate_g_kwh | number | Co 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.
Save as pipeline
A pipeline remembers this API, your inputs and the fields you picked. It can run on a schedule and email you the results.
Sample records
| Record | Consumption mw | Forecast d 1 mw | Nuclear mw | Wind mw | Solar mw | Hydro mw | Gas mw | Coal mw | Oil mw | Bioenergy mw | Pumping mw | Physical exchanges mw | Co 2 rate g (kWh) | Region | Interval at |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | 58,021 | 59,200 | 48,902 | 2,322 | 0 | 4,976 | 6,966 | 0 | 42 | 999 | -1,636 | -4,468 | 55 | France | Dec 5, 2026 |
| 2 | 59,150 | 59,900 | 48,860 | 2,388 | 0 | 5,123 | 7,321 | 0 | 42 | 1,010 | -2,291 | -3,206 | 57 | France | Dec 5, 2026 |
| 3 | 60,408 | 60,400 | 48,938 | 2,366 | 0 | 5,172 | 7,347 | 0 | 43 | 1,002 | -2,291 | -2,118 | 57 | France | Dec 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.
- 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.
Manage this API
Only your workspace sees this part.
Automatic repair
Off: a rebuilt version is stored and waits for you in the version history.
Delete this API
Removes the API, its versions and the saved records of its runs. Calls to its address then answer 404. Records already charged stay charged. This cannot be undone.