API soon deprecated?
Looking at config (https://github.com/samuelmr/nordpool-node/blob/master/src/config.ts), the nordpool urls seem to go to /marketdata/, but aren't those shutting down soon? Ref: https://www.nordpoolgroup.com/en/trading/Operational-Message-List/2024/03/deprecation-of-market-data-v1-endpoints-20240318095300/
Any plans on updating to v2 API?
When making requests from node/nodered with this library I'm now receiving 404s. Making a curl query for something like http://www.nordpoolspot.com/api/marketdata/page/10?currency=,EUR,EUR,EUR&endDate=20-06-2024 still works however (probably load balancer and/or A/B test things.)
This library is not using Nordpool's market data v1 endpoints (which are being deprecated), it's scraping website resources. I'm not planning to add support to official APIs.
I'm now also getting 404s
Seems day have launched a new portal. https://www.nordpoolgroup.com/e
The raw data can be found here now: https://dataportal-api.nordpoolgroup.com/api/DayAheadPrices?date=2024-10-09&market=DayAhead&deliveryArea=SE3¤cy=SEK
Have not seen if this is a diffrent format yet or just a moved URL adress
I switched to using https://api.spot-hinta.fi/TodayAndDayForward in my scripts for now. There are some params you can inject there too but I only need today and tomorrow prices in my app so this will do :)
The raw data can be found here now: https://dataportal-api.nordpoolgroup.com/api/DayAheadPrices?date=2024-10-09&market=DayAhead&deliveryArea=SE3¤cy=SEK
Have not seen if this is a diffrent format yet or just a moved URL adress
It's definitely a different format. Just from a quick glance at the code there is no Rows property on the object anymore. It should be somewhat trivial to adapt though if someone has the time to make a PR (which I don't today).
I did a hack so I could get hourly prices only for now.
https://github.com/samuelmr/nordpool-node/commit/94c741cbaa7bff3ef05c2fe30135e4f87b6b54ff
This library is not using Nordpool's market data v1 endpoints (which are being deprecated), it's scraping website resources. I'm not planning to add support to official API
I don't understand, the source code clearly indicates urls for nordpool API?
const baseUrl = 'https://www.nordpoolgroup.com/api'
The emphasis was probably on v1 and not whether it is or isn't nordpool...
It is "scraping website resources". Not "support to official API". Links in source code goes to official API, no?
Wonder how these urls are usable for free, when nordpool charges huge amount of money (per month) for access to their data?
I did a hack so I could get hourly prices only for now. 94c741c
Would you like to submit a pull request?
Wonder how these urls are usable for free, when nordpool charges huge amount of money (per month) for access to their data?
I suppose it's just been easier to implement their website that way. Unofficial scrapers like this are usually used by DIY enthusiasts who wouldn't be paying for API usage anyway. Companies that build commercial solutions wouldn't probably resort to scraping since it's a fragile way, as we can see.
I did a hack so I could get hourly prices only for now. 94c741c
Would you like to submit a pull request?
Sure I could do that. Note however I have commented aggregating methods and only use hourly myself.