# Energi Data Service Denmark API

> Danish and Nordic energy data from Energinet: day-ahead prices, CO2 emissions, production, gas

- Vendor: `energidataservicedenmarkapi` · version 1.0 · category Energy · tags energinet api, electricity price api, co2 emissions api, nordic power api, denmark energy api, gas storage api, day ahead price api
- Datasource: custom HTTP routes
- Marketplace page: https://apiclay.com/api/energidataservicedenmarkapi
- This document: https://apiclay.com/docs/energidataservicedenmarkapi.md
- OpenAPI 3.1: https://apiclay.com/api/energidataservicedenmarkapi/openapi.json
- MCP: connect https://api.apiclay.com/v1/mcp (see https://apiclay.com/llms.txt), then `apiclay_describe_api` with vendor `energidataservicedenmarkapi`
- Updated: 2026-11-18

## About

## Energi Data Service Denmark API

Open energy data from Energinet, Denmark's electricity and gas transmission operator: day-ahead power prices for DK1, DK2 and neighbouring areas, 5-minute CO2 emission intensity, production and consumption by source, gas storage and flows, and hundreds of other datasets.

Data comes from **energidataservice.dk** (https://www.energidataservice.dk). Every route calls the source's own public JSON endpoint (found with the live-URL scan of https://www.energidataservice.dk) and returns it unchanged.

Typical flow: `/meta?dataset=DayAheadPrices` to see a dataset's columns, then `/dataset` with `start`, `end` and `filter`.

### Routes

#### GET `/dataset` - Dataset records
| Param | In | Type | Required | Description |
|---|---|---|---|---|
| dataset | path | string | yes | Dataset name, e.g. `DayAheadPrices`, `CO2Emis`, `ProductionConsumptionSettlement`, `StorageCapacity`. |
| start | query | string | no | `2026-11-01`, `2026-11-01T00:00` or `now-P1D`. |
| end | query | string | no | Same formats as `start`. |
| limit | query | number | no | Rows (default 100; `0` for all). |
| offset | query | number | no | Rows to skip. |
| sort | query | string | no | e.g. `TimeUTC desc`. |
| filter | query | string | no | JSON, e.g. `{"PriceArea":["DK1"]}`. |
| columns | query | string | no | Comma-separated columns. |
| timezone | query | string | no | `dk` or `utc`. |

Returns: `total`, `dataset`, `records[]` (columns depend on the dataset).

#### GET `/meta` - Dataset metadata
| Param | In | Type | Required | Description |
|---|---|---|---|---|
| dataset | path | string | yes | Dataset name. |

Returns: `title`, `description`, `resolution`, `dataFrom`, `columns[]` (name, type, unit, description).

### License

Energi Data Service data is free to use; credit Energinet.

### Caveats

- `Elspotprices` stopped on 2025-09-30; use `DayAheadPrices`.
- `limit=0` on a large dataset can exceed the 2 MB response cap; page with `limit`/`offset`.
- Upstream responses can change over time. Verify fields before relying on them.
- Not affiliated with or endorsed by energidataservice.dk.

## Pricing

- Pay as you go: 0.0012 credits/request
- Trial: 1 free requests per buyer
- Billing order: trial requests -> subscribed plan requests -> pay as you go. 1 credit's USD value is shown on the marketplace page.

## HTTP routes

Only the public, buyer-facing parts of each route are listed; vendor-side credentials stay on the gateway.

### GET /dataset — Dataset records
- Gateway: `GET https://api.apiclay.com/v1/api/energidataservicedenmarkapi/dataset`
- Public query params: `start` (string), `end` (string), `limit` (number), `offset` (number), `sort` (string), `filter` (string), `columns` (string), `timezone` (string), `dataset` (string, required)
- Upstream proxy: ApiClay proxy paid by the vendor (data cap 2 MB per call). Fetched through an ApiClay proxy paid by the vendor; a response larger than the route's data cap fails with 502 and is refunded in full.

### GET /meta — Dataset metadata
- Gateway: `GET https://api.apiclay.com/v1/api/energidataservicedenmarkapi/meta`
- Public query params: `dataset` (string, required)
- Upstream proxy: ApiClay proxy paid by the vendor (data cap 2 MB per call). Fetched through an ApiClay proxy paid by the vendor; a response larger than the route's data cap fails with 502 and is refunded in full.

## Call example

```bash
curl -X GET "https://api.apiclay.com/v1/api/energidataservicedenmarkapi/dataset?dataset=<dataset>" \
  -H "token: <YOUR_APICLAY_TOKEN>"
```

Index of every published API: https://apiclay.com/llms.txt
