Electricity prices
get_electricity_pricesRetrieve day-ahead electricity spot prices in 15-minute intervals, showing cheapest and most expensive periods for today and tomorrow across Danish price areas.
Instructions
Day-ahead electricity spot prices in 15-minute resolution, with the cheapest and most expensive periods worked out. Covers today and, once published in the early afternoon, tomorrow. Prices are per MWh excluding tariffs, taxes and VAT — a household bill is roughly double this.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | Default now+P2D, which includes tomorrow once it is published. Danish local time. Either a timestamp (2026-01-01 or 2026-01-01T00:00) or a relative expression: now, StartOfDay, StartOfMonth, StartOfYear, optionally with an ISO 8601 offset such as now-P1D, now-PT15M, StartOfYear, now+P1D. | |
| start | No | Default StartOfDay. Danish local time. Either a timestamp (2026-01-01 or 2026-01-01T00:00) or a relative expression: now, StartOfDay, StartOfMonth, StartOfYear, optionally with an ISO 8601 offset such as now-P1D, now-PT15M, StartOfYear, now+P1D. | |
| price_areas | No | DK1 (west of the Great Belt), DK2 (east), or a neighbouring area such as DE, SE3, SE4, NO2 | |
| include_periods | No | Include every 15-minute price. Turn off for just the summary. |