Home - Elpris Proxy API (Sweden)

This service mirrors Elprisetjustnu.se for Swedish zones SE1-SE4 in JSON format.

Example endpoints

96 x 15min, SEK → 5 decimals: 
https://api.elpris.eu/api/v1/prices/2025/12-14_SE3.json
96 x 15min, öre → 2 decimals:
https://api.elpris.eu/api/v1/prices/2025/12-14_SE3.json?unit=ore

24h averaged format (?avg24, SEK or öre):
https://api.elpris.eu/api/v1/prices/2025/12-14_SE3.json?avg24
https://api.elpris.eu/api/v1/prices/2025/12-14_SE3.json?avg24&unit=ore

Legacy format (24h average, SEK):
https://api.elpris.eu/api/v1/prices/2025/12-14_SE3.json?legacy=1

Each endpoint provides data in one of three formats, depending on the request:

Standard format 15min (1h before 2025-10-01):

{
  "src": "Elprisetjustnu.se",  ← source fingerprint
  "t0": "YYYY-MM-DDT00:00:00+01:00", ← +02:00 if DST
  "s": 900,    ← step in seconds (900 = 15min, 3600 = 1h)
  "u": "SEK",  ← per_kWh / "ore" if ?unit=ore
  "raw": 96,   ← number of detected intervals (92/96/100 for DST days)
  "p": [ ... ] ← array of prices, 15 min intervals
}

24h averaged format (with ?avg24, always 96×15min → 24×1h averages):

{
  "src": "Elprisetjustnu.se",
  "t0":
  "s": 3600,   ← 1-hour step (averaged)
  "u": "SEK",
  "raw": 96,
  "p": [ ... ] ← 24 hourly averaged values
}

Legacy format (with ?legacy=1, always 96×15min → 24×1h averages in legacy fmt):

[{"time_start":"YYYY-MM-DDTHH:00:00+01:00", ← +02:00 if DST
    "SEK_per_kWh": 0.56789   ← or "ore_per_kWh" if ?unit=ore
  },
  {"time_start":"2025-11-06T01:00:00+01:00","SEK_per_kWh":0.05278},
  ...
]
Test:
https://api.elpris.eu/api/v1/prices/2025/12-14_SE3.json?avg24&unit=ore

Last update: 18:39:28, SE4, STD-o, öre, raw=96 HIT
©2025 elpris.eu | Terms & Conditions