Aggregated Data

Aggregated electricity prices

Changed on

Retrieves aggregated electricity prices between two dates with specified granularity.

get/api/v1/aggregated-data/aggregated-prices

Request

  • Base URL
    https://api.partner.cubee.cz
  • URL
    https://api.partner.cubee.cz/api/v1/aggregated-data/aggregated-prices
  • Auth
    none required

Query parameters

fromstring date-time required

The start of the requested period for aggregated prices, including date and time in UTC.

tostring date-time required

The end of the requested period for aggregated prices, including date and time in UTC.

cubeeSNsstring[]

List of serial numbers of Cubee devices to filter the results.

granularitystring required

Aggregation level. Allowed values: daily, monthly, all.

Response

OK

fromstring date-time

The start of the requested period for aggregated prices, including date and time in UTC.

tostring date-time

The end of the requested period for aggregated prices, including date and time in UTC.

currencystring nullable

The currency in which the prices are expressed, following the ISO 4217 currency codes. Default is "CZK".

Changes

    • breaking

      added to the response body oneOf list for the response status

    • breaking

      the response's body type changed from string to no type for status

    • info

      the endpoint scheme security bearerAuth was removed from the API

    • info

      added the non-success response with the status