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.

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

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

Dataset codesoptional
Which data to read: day_ahead_prices, co2_emissions and/or production_consumption. Default: day_ahead_prices. One per line, or separated by commas.
Example: day_ahead_prices, co2_emissions
Price areasoptional
Only these areas, for example DK1, DK2, DE, NO2, SE3 or SE4. Default: every area the dataset has. One per line, or separated by commas.
Example: DK1, DK2
Startoptional
From this time (Danish local time), as 2026-12-04 or 2026-12-04T00:00.
Example: 2026-12-04T00:00
Endoptional
Until this time (Danish local time, not included), same format as start.
Example: 2026-12-05T00:00

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/denmark-energy-data/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/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.

dataset_codeslist
Which data to read: day_ahead_prices, co2_emissions and/or production_consumption. Default: day_ahead_prices.
example: day_ahead_prices, co2_emissions
price_areaslist
Only these areas, for example DK1, DK2, DE, NO2, SE3 or SE4. Default: every area the dataset has.
example: DK1, DK2
starttext
From this time (Danish local time), as 2026-12-04 or 2026-12-04T00:00.
example: 2026-12-04T00:00
endtext
Until this time (Danish local time, not included), same format as start.
example: 2026-12-05T00:00

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 nameTypeShown on this page asFilled
idtextID (hidden)3 of 3
dataset_codetextDataset code3 of 3
interval_start_atdate and timeInterval start at3 of 3
interval_start_dktextInterval start dk3 of 3
price_areatextPrice area3 of 3
day_ahead_price_eurnumberDay ahead price (EUR)1 of 3
day_ahead_price_dkknumberDay ahead price DKK1 of 3
co2_g_kwhnumberCo 2 g (kWh)1 of 3
production_mwhnumberProduction mwh1 of 3
wind_mwhnumberWind mwh1 of 3
solar_mwhnumberSolar mwh1 of 3
gross_consumption_mwhnumberGross consumption mwh1 of 3

How it reads the site

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

Sample records

Sample records
RecordDataset codeInterval start dkCo 2 g (kWh)Production mwhWind mwhSolar mwhGross consumption mwhPrice areaDay ahead price (EUR)Day ahead price DKKInterval start at
1day_ahead_pricesDec 7, 2026—————DK1248.9600071,860.503028Dec 6, 2026
2co2_emissionsDec 6, 202696————DK1——Dec 6, 2026
3production_consumptionNov 26, 2026—1,860.9379681,371.70462233.8584513,587.254044DK1——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.
Known limits
  • 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.