GET
/
api
/
v1
/
aggregated-data
/
aggregated-prices
Aggregated electricity prices
curl --request GET \
  --url https://api.partner.cubee.cz/api/v1/aggregated-data/aggregated-prices \
  --header 'Authorization: Bearer <token>'
{
  "from": "2023-11-07T05:31:56Z",
  "to": "2023-11-07T05:31:56Z",
  "periods": [
    {
      "date": "2023-12-25",
      "totalBuyEnergyMWh": 123,
      "totalBuyFullPrice": 123,
      "totalBuyPowerPrice": 123,
      "totalSellEnergyMWh": 123,
      "totalSellFullPrice": 123,
      "totalSellPowerPrice": 123
    }
  ],
  "currency": "<string>"
}

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme. Example: "Authorization: Bearer {token}"

Query Parameters

from
string<date-time>
required

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

to
string<date-time>
required

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

cubeeSNs
string[]

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

granularity
string
required

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

Response

200
application/json

OK

The response is of type object.