Danish Electricity Prices & CO2 API
Danish and neighbouring-area electricity data from Energinet: day-ahead spot prices in EUR and DKK, grid CO2 emissions per kWh and hourly production and consumption, newest first, as typed rows.
$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 energidataservice.dk
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/denmark-energy-data/run" \
-H "Authorization: Bearer $PULLROW_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"dataset_codes": [
"day_ahead_prices",
"co2_emissions"
]
},
"max_items": 50
}'Inputs
Send them as input in the request body. Leave one out to use its default.
What's in each record
12 fields: 11 here, 1 technical one under Technical details.
Basics
- Dataset code
day_ahead_prices, co2_emissions or production_consumption.
Example day_ahead_prices
- Interval start dk
The same moment in Danish local time, as written by Energinet (no zone).
Example Dec 7, 2026
- Co 2 g (kWh)
Grid CO2 emission in grams per kWh consumed (5-minute average).
Example 96
- Production mwh
Total electricity produced in the hour in MWh: power plants plus wind, solar and hydro.
Example 1,860.937968
- Wind mwh
Wind production in the hour in MWh, onshore plus offshore.
Example 1,371.704622
- Solar mwh
Solar production in the hour in MWh.
Example 33.858451
- Gross consumption mwh
Gross electricity consumption in the hour in MWh.
Example 3,587.254044
Prices
- Price area
Bidding area: DK1 (west Denmark), DK2 (east), or a neighbour such as DE, NO2, SE3, SE4.
Example DK1
- Day ahead price (EUR)
Day-ahead spot price in EUR per MWh.
Example 248.960007
- Day ahead price DKK
Day-ahead spot price in DKK per MWh.
Example 1,860.503028
Dates
- Interval start at
Start of the interval (UTC).
Example Dec 6, 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
idRow id made of dataset, area and time, such as day_ahead_prices:DK1:2026-12-04T23:00:00.000Z.
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 |
dataset_code | text | Dataset code | 3 of 3 |
interval_start_at | date and time | Interval start at | 3 of 3 |
interval_start_dk | text | Interval start dk | 3 of 3 |
price_area | text | Price area | 3 of 3 |
day_ahead_price_eur | number | Day ahead price (EUR) | 1 of 3 |
day_ahead_price_dkk | number | Day ahead price DKK | 1 of 3 |
co2_g_kwh | number | Co 2 g (kWh) | 1 of 3 |
production_mwh | number | Production mwh | 1 of 3 |
wind_mwh | number | Wind mwh | 1 of 3 |
solar_mwh | number | Solar mwh | 1 of 3 |
gross_consumption_mwh | number | Gross consumption mwh | 1 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 | Dataset code | Interval start dk | Co 2 g (kWh) | Production mwh | Wind mwh | Solar mwh | Gross consumption mwh | Price area | Day ahead price (EUR) | Day ahead price DKK | Interval start at |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | day_ahead_prices | Dec 7, 2026 | — | — | — | — | — | DK1 | 248.960007 | 1,860.503028 | Dec 6, 2026 |
| 2 | co2_emissions | Dec 6, 2026 | 96 | — | — | — | — | DK1 | — | — | Dec 6, 2026 |
| 3 | production_consumption | Nov 26, 2026 | — | 1,860.937968 | 1,371.704622 | 33.858451 | 3,587.254044 | DK1 | — | — | Nov 25, 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.
- Energinet limits request volume per user and answers with a wait of up to several minutes when it is exceeded; a run waits two seconds between requests and stops when the source asks it to slow down, returning what it has.
- Rows come newest first. Day-ahead prices appear for tomorrow once the auction results are out (about 13:00 Danish time), so the newest rows can be in the future. Prices are in 15-minute steps, CO2 in 5-minute steps and production in hours.
- Each row fills only the fields of its own dataset: prices for day_ahead_prices, co2_g_kwh for co2_emissions and the production and consumption fields for production_consumption. CO2 covers Danish areas only (DK1 and DK2).
- With several datasets the run takes an equal share of the record limit from each and mixes them; the production_consumption dataset is published with a delay of one to two weeks.
- start and end are Danish local time; without them the newest rows are returned.
- Source: Energinet Energi Data Service, open data under CC BY 4.0; name Energinet as the source.
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.