Skip to main content

prices

Fetches energy trading prices from the market.

Prices 1 day beyond today are typically futures, except during weekends and holidays. For granularity greater than 'HOUR', prices are averaged over the interval.

prices(
energyType: EnergyType!
from: Time!
requestUnit: EnergyPriceTimeUnit! = DAYS
requestAmount: Int! = 1
granularity: EnergyPriceGranularity! = HOUR
): [EnergyPrice!]

Arguments

prices.energyType ● EnergyType! non-null enum

For what energy type you want to receive the prices. Gas or Electricity.

prices.from ● Time! non-null scalar

The starting point in time from which the time frame is calculated.

prices.requestUnit ● EnergyPriceTimeUnit! non-null enum

The unit of time that will define the size of the requested timeframe. If the granularity is larger than the requestUnit, it will return a bad request.

prices.requestAmount ● Int! non-null scalar

The quantity of the specified time unit. This determines the length of the requested timeframe.

prices.granularity ● EnergyPriceGranularity! non-null enum

The level of detail for the returned data within a requested timeframe. For example, hourly, daily, or monthly granularity.

Type

EnergyPrice object

Represents an energy price record.