GET
/
live
curl --request GET \
  --url https://sandbox.prezio.eu/api/live/ \
  --header 'Authorization: <api-key>'
{
  "count": 123,
  "next": "http://api.example.org/accounts/?page=4",
  "previous": "http://api.example.org/accounts/?page=2",
  "results": [
    {
      "count": 24,
      "context": {
        "currency": "DKK",
        "unit": "per_kwh",
        "time_span": "60min",
        "detail": "full",
        "location": {
          "input_address": null,
          "coordinates": {
            "latitude": 55.6761,
            "longitude": 12.5683,
            "confidence": 10
          }
        },
        "vat": "excluded"
      },
      "tariff_elements": [
        {
          "element_id": "com_123",
          "element_name": "Distribution Fee",
          "tariff_id": "tar_456",
          "tariff_name": "Residential Tariff",
          "organization_id": "org_789",
          "organization_name": "Local DSO",
          "organization_type": "DSO"
        }
      ],
      "results": [
        {
          "datetime": "2023-01-01T00:00:00Z",
          "elements": [
            {
              "id": "com_123",
              "cost": "0.123456"
            }
          ],
          "interval_cost": "0.123456"
        }
      ]
    }
  ]
}

Authorizations

Authorization
string
header
required

Token-based authentication with required prefix "Token"

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
latitude
number

Latitude coordinate (required unless address is provided)

longitude
number

Longitude coordinate (required unless address is provided)

page
integer

A page number within the paginated result set.

tariff_id
string[]
required

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

time_span
enum<string>
default:60min

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

Available options:
15min,
30min,
60min
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.