Skip to main content

Spot Prices

Endpoints for managing spot prices.

GET Spot Prices

Retrieve electricity prices for a given spot price area for a specific datetime range.

GET /v2/hiven/spot-prices/:spotPriceArea?startDateTime=:startDateTime&endDateTime=:endDateTime
X-Api-Key: <apiKey>
X-User-Id: <userId>

Response

{
"<string>": "<string>"
}

Read more

GET Spot Price Areas

Retrieve proper spot price area for given combination of countryCode and postalCode.

This endpoint exists, because there are some countries that have more than one spot price area (e.g. - Sweden, it has 4 spot price areas: SE1, SE2, SE3 and SE4)

GET /v2/hiven/spot-prices-areas?countryCode=:countryCode&postalCode=:postalCode
X-Api-Key: <apiKey>
X-User-Id: <userId>

Response

"<string>"

Read more

GET Supported Countries

Retrieve a list of countries that are supported by Hiven (meaning that Hiven is able to fetch spot prices and calculate charging scehdule for all of them).

GET /v2/hiven/countries
X-Api-Key: <apiKey>
X-User-Id: <userId>

Response

["<string>"]

Read more