GET
/
live
/
curl --request GET \
  --url https://sandbox.prezio.eu/api/live/
[
{
"count": 72,
"context": {
"currency": "DKK",
"unit": "per_kwh",
"interval": "60min",
"location": {
"input_address": "Copenhagen, Denmark",
"coordinates": {
"latitude": 55.6867,
"longitude": 12.5701,
"confidence": 1
}
}
},
"tariff_elements": [
{
"element_id": "com_101",
"element_name": "Grid Distribution Fee",
"tariff_id": "tar_201",
"tariff_name": "Residential Grid Tariff",
"organization_id": "org_301",
"organization_name": "Metropolitan DSO",
"organization_type": "DSO"
},
{
"element_id": "com_102",
"element_name": "Spot Price",
"tariff_id": "tar_202",
"tariff_name": "Variable Energy Contract",
"organization_id": "org_302",
"organization_name": "Green Energy Retailer",
"organization_type": "RET"
},
{
"element_id": "com_103",
"element_name": "Retailer Margin",
"tariff_id": "tar_202",
"tariff_name": "Variable Energy Contract",
"organization_id": "org_302",
"organization_name": "Green Energy Retailer",
"organization_type": "RET"
},
{
"element_id": "com_104",
"element_name": "VAT 25%",
"tariff_id": "tar_203",
"tariff_name": "Standard VAT",
"organization_id": "org_303",
"organization_name": "Tax Authority",
"organization_type": "TAX"
}
],
"results": [
{
"interval_start": "2024-01-15T00:00:00+01:00",
"elements": [
{
"id": "com_101",
"price": "0.085000"
},
{
"id": "com_102",
"price": "0.420000"
},
{
"id": "com_103",
"price": "0.045000"
},
{
"id": "com_104",
"price": "0.137500"
}
],
"interval_price": "0.687500"
},
{
"interval_start": "2024-01-15T01:00:00+01:00",
"elements": [
{
"id": "com_101",
"price": "0.085000"
},
{
"id": "com_102",
"price": "0.380000"
},
{
"id": "com_103",
"price": "0.045000"
},
{
"id": "com_104",
"price": "0.127500"
}
],
"interval_price": "0.637500"
}
]
}
]

Query Parameters

address
string

Full address (required unless latitude/longitude are provided)

country
enum<string>
required

Country code of the requested location. Used to ensure geographic correctness.

  • DK: Denmark
  • SE: Sweden
  • NO: Norway
Available options:
DK,
NO,
SE
detail
enum<string>
default:full

Level of detail in response:

  • full: Returns all price elements (default)
  • semi: Returns prices per organization type (DSO, Retailer, etc.)
  • summarized: Returns only total prices
Available options:
full,
semi,
summarized
interval
enum<string>
default:60min

Duration of each time intervals returned, usually corresponding to the bid zone resolution (mostly hourly).

Available options:
15min,
30min,
60min
latitude
number

Latitude coordinate (required unless address is provided)

longitude
number

Longitude coordinate (required unless address is provided)

tariff_id
string[]
required

Tariff ID with tar_ prefix (e.g., tar_123). Can be repeated for multiple tariffs.

vat
enum<string>
default:excluded

How to handle VAT:

  • excluded: VAT Excluded (default)
  • included: VAT included in each component
  • separated: VAT returned as a separate component
Available options:
excluded,
included,
separated

Response

200
application/json

Success - Response format depends on 'detail' parameter

The response is of type object[].