1.0.20 • Published 1 year ago

@offrain/nordpool v1.0.20

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

Nordpool API

Unofficial nordpool-api

When you decide to use this make sure you read Nordpool T&Cs

About

This API is a tool to fetch DayAhead Prices from NordPool Market

Install

Install using npm

npm i @offrain/nordpool

Usage

// ES module
import { nordpool } from '@offrain/nordpool';
const getHourlyRates = async () => {
  const data = await nordpool.hourly({ area: 'FI', vat: 20, currency: 'EUR' });
  console.log("Today's hourly prices:", data);
};

getHourlyRates();
// COMMONJS
const { nordpool } = require('@offrain/nordpool');
const getHourlyRates = async () => {
  const data = await nordpool.hourly({ area: 'FI', vat: 20, currency: 'EUR' });
  console.log("Today's hourly prices:", data);
};

getHourlyRates();

Options

  • area: Energy market area.
    • String or an array of strings, case sensitive. Currently available areas are EE, LV, LT, AT, DK1,DK2, FI, OSLO, SE1, SE2, SE3
  • VAT: Number, pass in local vat % that will return priceWithVAT property. If not provided thenVAT nr not provided will be returned for that prop.
  • currency: DKK, EUR, NOK or SEK optional, default EUR.

Returned values

[
  {
    "region": "FI",
    "date": "2021-12-22T22:00:00.000Z", // Local Server Time
    "hour": "00:00", // Local Server Time
    "marketPrice": 181.9,
    "consumerPrice": 21.82,
    "consumerUnit": "snt/kWh"
    "marketUnit": "EUR/mWh"
  }
]
1.0.19

1 year ago

1.0.18

1 year ago

1.0.20

1 year ago

1.0.17

2 years ago

1.0.16

2 years ago

1.0.9

2 years ago

1.0.11

2 years ago

1.0.10

2 years ago

1.0.15

2 years ago

1.0.14

2 years ago

1.0.13

2 years ago

1.0.12

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago