Wholesale DE-LU – All hoursNow 16:00–17:00 21.0 ct/kWh expensiveCheapest until midnight 23:00–00:00 · 14.6 ct/kWh cheapCheapest tomorrowTomorrow 06:00–07:00 · 13.0 ct/kWh cheap
Wattoday.

API · JSON · CSV

Electricity price API (JSON) for Home Assistant

Open day-ahead wholesale prices in quarter-hours, no account and no key.

GET /api/wattoday/v1/prices/

Parameters

  • zone – DE-LU, AT or CH
  • date – YYYY-MM-DD (default: today in the zone)
  • format – json (default) or csv

https://www.wattoday.com/api/wattoday/v1/prices/?zone=DE-LU&date=2026-11-28

Response

{"ok":true,"schema":1,"zone":"DE-LU","date":"…","timezone":"Europe/Berlin","currency":"EUR","unit":"EUR/MWh","resolution_minutes":15,
 "source":"Bundesnetzagentur | SMARD.de","license":"CC BY 4.0","attribution":"…","fetched_at":"…",
 "summary":{"min":…,"max":…,"average":…},
 "intervals":[{"start":"…Z","end":"…Z","price_eur_mwh":…,"price_eur_kwh":…}, …]}

Availability by zone

ZonePrice pageAPI v1 · JSONDownloads
DE-LUDay-ahead, EUR/MWhDay-ahead data, EURCSV · ICS
ATDay-ahead, EUR/MWhDay-ahead data, EURCSV · ICS
CHDay-ahead, EUR/MWhDay-ahead data, EURCSV · ICS
PLPSE RCE, PLN/MWhUnavailable in API v1 (PSE RCE, PLN)Unavailable in API v1 (PSE RCE, PLN)

data_status distinguishes complete, not_published, incomplete and unavailable. JSON and CSV for the same delivery day share the X-Wattoday-Data-Version.

format=csv&metadata=1 · This API v1 CSV download stores the data version and price type in each row. format=csv keeps the existing columns.

Saved response examples

Synthetic data for integration tests.

Example: REST sensor in Home Assistant

rest:
  - resource: https://www.wattoday.com/api/wattoday/v1/prices/?zone=DE-LU
    scan_interval: 900
    sensor:
      - name: "Wattoday day-ahead average"
        unit_of_measurement: "EUR/MWh"
        value_template: "{{ value_json.summary.average }}"
        json_attributes:
          - intervals
          - attribution

Calendar subscription (iCal)

  • format=ics – calendar with the cheapest window per day (tomorrow once published, today and 6 days back)
  • hours – 1, 2, 3 or 4 (default 3), only with format=ics
  • lang – pl, de or en (default en), only with format=ics

The date parameter is not allowed with format=ics. Zones: DE-LU, AT, CH.

https://www.wattoday.com/api/wattoday/v1/prices/?zone=DE-LU&format=ics&hours=3&lang=en

A calendar subscription adds the cheapest contiguous window every day – for tomorrow once prices are published, before that for today. No account, no stored visitor data. Wholesale price without network charges, levies and taxes.

Calendar subscription: cheapest window tomorrow DE-LU

Subscribe 1 h Subscribe 2 h Subscribe 3 h Subscribe 4 h

Addresses for “Add by URL”
  • 1 h: https://www.wattoday.com/api/wattoday/v1/prices/?zone=DE-LU&format=ics&hours=1&lang=en
  • 2 h: https://www.wattoday.com/api/wattoday/v1/prices/?zone=DE-LU&format=ics&hours=2&lang=en
  • 3 h: https://www.wattoday.com/api/wattoday/v1/prices/?zone=DE-LU&format=ics&hours=3&lang=en
  • 4 h: https://www.wattoday.com/api/wattoday/v1/prices/?zone=DE-LU&format=ics&hours=4&lang=en

Calendar subscription: cheapest window tomorrow AT

Subscribe 1 h Subscribe 2 h Subscribe 3 h Subscribe 4 h

Addresses for “Add by URL”
  • 1 h: https://www.wattoday.com/api/wattoday/v1/prices/?zone=AT&format=ics&hours=1&lang=en
  • 2 h: https://www.wattoday.com/api/wattoday/v1/prices/?zone=AT&format=ics&hours=2&lang=en
  • 3 h: https://www.wattoday.com/api/wattoday/v1/prices/?zone=AT&format=ics&hours=3&lang=en
  • 4 h: https://www.wattoday.com/api/wattoday/v1/prices/?zone=AT&format=ics&hours=4&lang=en

Calendar subscription: cheapest window tomorrow CH

Subscribe 1 h Subscribe 2 h Subscribe 3 h Subscribe 4 h

Addresses for “Add by URL”
  • 1 h: https://www.wattoday.com/api/wattoday/v1/prices/?zone=CH&format=ics&hours=1&lang=en
  • 2 h: https://www.wattoday.com/api/wattoday/v1/prices/?zone=CH&format=ics&hours=2&lang=en
  • 3 h: https://www.wattoday.com/api/wattoday/v1/prices/?zone=CH&format=ics&hours=3&lang=en
  • 4 h: https://www.wattoday.com/api/wattoday/v1/prices/?zone=CH&format=ics&hours=4&lang=en

Embeddable electricity price widget

A small card with the wholesale price now, the daily average and the cheapest hours for Germany and Luxembourg, Austria or Switzerland – to embed on your own website. No cookies, scripts or forms; source and licence (CC BY 4.0) are shown in the card. There is no widget for Poland.

Preview

Terms: the source attribution stays visible in the card; the card shows wholesale prices without network charges and taxes. Only the daily total of views is counted – without IP address and without information about the embedding website.

Rules

  • Responses are publicly cached (Cache-Control). Please poll at most every 15 minutes; the data changes once a day.
  • Query parameters and visitor data are not stored. There is no account and no key.
  • Licence: data Bundesnetzagentur | SMARD.de (directly or via Energy-Charts), CC BY 4.0 – credit the source when reusing.
  • Poland (RCE, PSE) is not in the API: PSE publishes no reuse licence.
  • Wholesale price without network charges, levies and taxes, not a retail price.

Frequently asked questions

Is the electricity price API free?

Query parameters and visitor data are not stored. There is no account and no key. Licence: data Bundesnetzagentur | SMARD.de (directly or via Energy-Charts), CC BY 4.0 – credit the source when reusing.

How often may the API be polled?

Responses are publicly cached (Cache-Control). Please poll at most every 15 minutes; the data changes once a day.

Why is Poland not in the API?

Poland (RCE, PSE) is not in the API: PSE publishes no reuse licence.