Power price in Norway POST request help

Hi folks!

I’ve come across a neat API for “Fjordkraft” - a power company in Norway and I’d love to get the daily prices from there. It seems somehow you could extract it with some rest POST command, but I honestly don’t get it. Does anyone have any experience getting this to work?

Here’s the website I’m talking about, you type in the post code and it should work:

https://www.fjordkraft.no/Templates/Fjordkraft/webservices/PriceMap.asmx?op=GetDailyPricesJson

1 Like

For the reference:

Here you go :slight_smile:

scrape:
  - resource: https://www.fjordkraft.no/Templates/Fjordkraft/webservices/PriceMap.asmx/GetDailyPricesJson?regionPriceMapPageId=1
    scan_interval: 60
    sensor:
      - name: Fjordkraft
        select: "string"
        value_template: "{{ value_json.Areas[0].price|replace(',', '.')|replace('øre/kWh','') }}"
        unit_of_measurement: "Øre/kWh"