kollaelpris.se

← Compare

Widget and open data

Show current electricity prices on your website, your housing association's page or in Home Assistant. The widget and the JSON file are free to use with a visible link to kollaelpris.se.

Embed a widget

Pick a widget, a price area and a look. The code under the preview follows your choices. Paste it into an HTML field on your page.

Preview

Prices from kollaelpris.se

The widget is a small standalone page, 320 × 220 pixels, shown in an iframe. It loads no scripts and sets no cookies.

The prices in the widget change when kollaelpris.se updates, a few times a day. Fixed prices are the figures the Fixed price page shows for the same area and consumption.

The line under the iframe is the link to kollaelpris.se. Please keep it.

/widget/{lang}/fast-elpris/{area}/{kWh}/{theme} · /widget/{lang}/spotpris/{area}/{theme}

Open data (JSON)

The lowest and the median fixed price per price area, term (1, 2 and 3 years) and annual consumption (2,000, 5,000 and 20,000 kWh) are in a JSON file. It is built from the same data as the site, a few times a day, and can be read from any website (CORS).

Updated 27 Oct 2026, 13:11

Excerpt from the file (other fields and areas left out): SE3, 1 year, 5,000 kWh per year.

{
  "version": 1,
  "updated": "2026-10-27T12:11:33.179Z",
  "areas": {
    "SE3": {
      "fixed12": {
        "months": 12,
        "kwh5000": {
          "cheapest": 135.7,
          "cheapestDiscount": false,
          "median": 159.6,
          "offers": 70
        }
      }
    }
  }
}
updated
When the prices were collected (ISO 8601, UTC).
areas.SE1 … SE4
One object per price area.
fixed12, fixed24, fixed36
Term of 1, 2 or 3 years; months gives the number of months.
kwh2000, kwh5000, kwh20000
Annual consumption in kWh.
cheapest
Lowest comparison price, öre/kWh incl. VAT, one decimal: the figure the Fixed price page shows. null when no contract has a price.
cheapestDiscount
true when the lowest price includes a temporary discount.
median
The median of the contracts' comparison prices, öre/kWh incl. VAT, one decimal.
offers
How many contracts have a price at that consumption.
source, attribution, attributionUrl, licence
Source and terms, to show with the figures.

The comparison price is the energy price plus fixed fees converted to öre/kWh at that consumption, including 25 % VAT. Grid fees and energy tax are not included.

The file holds aggregate figures, not individual contracts. To show which suppliers are cheapest, use the widget or link to the Fixed price page.

The version is in the address (v1). New fields may be added to v1. A field that changes or goes away comes under a new address.

The prices change a few times a day, so fetching the file once an hour is enough.

Example: Home Assistant

A REST sensor with the lowest 1-year fixed price in SE3 at 5,000 kWh per year:

rest:
  - resource: https://www.kollaelpris.se/data/v1/fast-elpris.json
    scan_interval: 3600
    sensor:
      - name: "Lowest 1-year fixed price SE3"
        value_template: "{{ value_json.areas.SE3.fixed12.kwh5000.cheapest }}"
        unit_of_measurement: "öre/kWh"

Spot prices are not in the file. They are open and free at elprisetjustnu.se, which publishes Nord Pool's day-ahead prices per price area: Elpriset just nu.se – API ↗

Terms

The widget and the JSON file are free to use with a visible link to kollaelpris.se. No sign-up or key is needed.

The prices are collected automatically and can lag behind the supplier's own page. Always check the price with the supplier before you sign a contract.

Sources