Electricity price · Widget
The exchange price.
On your site.
The price now and the cheapest three hours, live per quarter hour. For blogs, utilities and Home Assistant. Free, no cookies.
Pick, copy, paste.
The code goes into your page like a YouTube video. No script of ours runs on your site.
Size
Look
Language
<iframe src="https://ampena.com/widget/strompreis?size=m&lang=en" width="340" height="252" style="border:0;max-width:100%" title="Exchange electricity price now" loading="lazy"></iframe>
<p style="margin:4px 0 0;font:12px/1.4 sans-serif"><a href="https://ampena.com/en/electricity-price">Electricity price</a> by Ampena</p>The line under the box links to ampena.com. Please keep it; that is all we ask.
As a picture, for READMEs and forums.
Where a box is not allowed, a picture is: on GitHub, in forums, in a signature. It shows the price now and the change since yesterday.
Markdown
[](https://ampena.com/en/electricity-price)BBCode
[url=https://ampena.com/en/electricity-price][img]https://ampena.com/badge/strompreis.png?lang=en[/img][/url]HTML
<a href="https://ampena.com/en/electricity-price"><img src="https://ampena.com/badge/strompreis.svg?lang=en" alt="Exchange electricity price now" height="20"></a>Another country or German: add ?zone=FR or ?lang=de to the address of the picture.
In Home Assistant.
Add a “Webpage” card to your dashboard, switch to the code editor and paste this. Light or dark follows your device.
YAML
type: iframe
url: https://ampena.com/widget/strompreis?size=m&theme=auto&lang=en
aspect_ratio: 74%Good to know
- What does the box show?
- The exchange price of the running quarter hour, the change against the same time yesterday and the cheapest three hours in a row, up to tomorrow once the prices are out. The same numbers as on ampena.com/en/electricity-price.
- How current is it?
- The box reloads itself every quarter hour, just after the next price applies. The picture is current when it is fetched; GitHub and some forums keep pictures for a while.
- What does it cost?
- Nothing. The only request: keep the line with the link.
- And privacy?
- No cookies, no script of ours on your site, nothing stored in the browser. Like any picture from the web, your visitors’ browsers load the box from ampena.com; our host Vercel sees the IP address (privacy policy, section 3, in German). We only count how often it is shown on which website, without any link to people.
- Where do the numbers come from?
- Day-ahead wholesale price per quarter hour from Bundesnetzagentur | SMARD.de, licence CC BY 4.0. The source is named in the box and in the picture.
Charge when it is cheap.
Ampena puts your car’s charging into the cheapest quarter hours. Ready when you leave.
See your first plan