Skip to main content
GET
/
calendars
/
List Calendars
curl --request GET \
  --url https://sandbox.prezio.eu/api/calendars/ \
  --header 'Authorization: <api-key>'
{
  "count": 8,
  "next": "https://api.prezio.com/api/calendars/?page=2",
  "previous": "https://api.prezio.com/api/calendars/?page=1",
  "results": [
    {
      "count": 5,
      "next": null,
      "previous": null,
      "results": [
        {
          "id": "cal_1",
          "key": "SE-public_holidays",
          "name": "Swedish Public Holidays",
          "type": "holiday",
          "country": "SE"
        },
        {
          "id": "cal_2",
          "key": "SE-peak_pricing_days",
          "name": "Peak Pricing Days",
          "type": "peak_pricing",
          "country": "SE"
        }
      ]
    }
  ]
}

Authorizations

Authorization
string
header
required

Token-based authentication with required prefix "Token"

Query Parameters

country
enum<string>

Filter by country code (e.g., 'SE', 'NO', 'DK')

Available options:
AT,
DE,
DK,
ES,
FI,
GB,
NO,
RO,
SE
organization
string

Filter by organization using prezio_code or org_ prefixed ID (e.g., 'SE_DSO_001' or 'org_42')

page
integer

A page number within the paginated result set.

page_size
integer

Number of results to return per page.

Response

200 - application/json

Paginated list of calendars

count
integer

Total number of items across all pages

Example:

8

next
string | null

URL for the next page of results, null if no next page

Example:

"https://api.prezio.com/api/calendars/?page=2"

previous
string | null

URL for the previous page of results, null if no previous page

Example:

"https://api.prezio.com/api/calendars/?page=1"

results
object[]