get_prices
Fetch hourly electricity spot prices (DKK/kWh) for a date and Danish price area (DK1/DK2). Returns 24 hourly entries with local Copenhagen timestamps.
Instructions
Fetch hourly electricity spot prices (DKK/kWh) for a given date and Danish price area. Returns an array of 24 hourly entries with local Copenhagen timestamps. IMPORTANT: Prices are raw Nord Pool spot prices and EXCLUDE Danish taxes, tariffs, and transport costs. The total consumer price is significantly higher.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| area | No | Price area: "DK1" (West Denmark) or "DK2" (East Denmark, default). Defaults to the DEFAULT_PRICE_AREA env var if set, otherwise "DK2". | |
| date | No | Date to query: "today" (default), "tomorrow", or a date in YYYY-MM-DD format. Note: tomorrow's prices are published around 13:00 CET — the API returns 404 before that. |