ambolt

All guides

Danish electricity prices as an API

Hourly and 15-minute day-ahead spot prices for Denmark and neighbouring areas, plus the CO2 intensity of the grid, from one HTTP call.

Spot prices for the next day are published around 13:00 Danish time. Smart-home scripts, EV chargers, heat pumps and energy dashboards need them in a clean format: one call returns the hours of a day for DK1, DK2 or the neighbouring areas in EUR and DKK per MWh, with the minimum, maximum, average and the cheapest hours already worked out.

The CO2 endpoint returns grams of CO2 per kWh right now and over the last 24 hours, with the cleanest and dirtiest times. Use it to shift flexible loads to cleaner hours.

The calls

Each call returns 402 with the price until a payment is attached; an x402 client pays and retries automatically. Calls that fail are not charged. See Get started and the guide for bots and agents for code.

dk-electricity-prices $0.01 per call

Day-ahead electricity spot prices for one day and bidding area, in EUR and DKK per MWh, quarter-hourly or hourly, with min/max/average and the cheapest hours.

curl -i "https://api.ambolt.dev/v1/dk-electricity-prices?area=DK1"
Example response
{
  "area": "DK1",
  "date": "2026-10-02",
  "unit": "per MWh",
  "source": "Source: Energinet (www.energidataservice.dk), dataset DayAheadPrices, CC BY 4.0. Data not endorsed by Energinet.",
  "fetchedAt": "2026-10-02T21:35:41.454Z",
  "available": true,
  "resolution": "hourly",
  "summary": {
    "avgEur": 199.75,
    "min": {
      "timeDK": "2026-10-02T14:00:00",
      "timeUTC": "2026-10-02T12:00:00",
      "eur": 140.41,
      "dkk": 1049.7
    },
    "max": {
      "timeDK": "2026-10-02T19:00:00",
      "timeUTC": "2026-10-02T17:00:00",
      "eur": 319.14,
      "dkk": 2385.81
    }
  },
  "cheapest": [
    {
      "timeDK": "2026-10-02T14:00:00",
      "timeUTC": "2026-10-02T12:00:00",
      "eur": 140.41,
      "dkk": 1049.7
    },
    {
      "timeDK": "2026-10-02T13:00:00",
      "timeUTC": "2026-10-02T11:00:00",
      "eur": 140.5,
      "dkk": 1050.35
    },
    {
      "timeDK": "2026-10-02T15:00:00",
      "timeUTC": "2026-10-02T13:00:00",
      "eur": 148.88,
      "dkk": 1112.96
    }
  ],
  "prices": [
    {
      "timeDK": "2026-10-02T00:00:00",
      "timeUTC": "2026-10-01T22:00:00",
      "eur": 174.65,
      "dkk": 1305.67
    },
    {
      "timeDK": "2026-10-02T01:00:00",
      "timeUTC": "2026-10-01T23:00:00",
      "eur": 163.45,
      "dkk": 1221.9
    },
    {
      "timeDK": "2026-10-02T02:00:00",
      "timeUTC": "2026-10-02T00:00:00",
      "eur": 160.67,
      "dkk": 1201.16
    }
  ]
}

dk-co2-intensity $0.005 per call

CO2 emissions per kWh of electricity consumed in Denmark (DK1 West, DK2 East), latest 5-minute value plus 24-hour average, cleanest and dirtiest times..

curl -i "https://api.ambolt.dev/v1/dk-co2-intensity?area=DK1"
Example response
{
  "area": "DK1",
  "available": true,
  "unit": "g CO2 per kWh",
  "latest": {
    "timeDK": "2026-10-02T23:30:00",
    "gPerKwh": 133
  },
  "last24h": {
    "samples": 288,
    "average": 147.8,
    "cleanest": {
      "timeDK": "2026-10-02T15:00:00",
      "gPerKwh": 80
    },
    "dirtiest": {
      "timeDK": "2026-10-02T06:05:00",
      "gPerKwh": 180
    }
  },
  "source": "Source: Energinet (www.energidataservice.dk), dataset CO2Emis, CC BY 4.0. Data not endorsed by Energinet.",
  "fetchedAt": "2026-10-02T21:35:41.226Z"
}

Questions

When are tomorrow's prices available?

Normally around 13:00 Danish time. Before that the response says the date is not published yet instead of returning guesses.

Which areas are covered?

DK1 (West), DK2 (East), DE, NO2, SE3 and SE4.

Are prices final?

They are the published day-ahead prices for the delivery day and do not include grid fees, taxes or your supplier's margin.

Use it from an AI agent

Every call is also an MCP tool: add https://api.ambolt.dev/mcp to your agent's server list.