Skip to main content
GET
/
power-tariffs
/
{country_code}
/
holidays
Get Holidays
curl --request GET \
  --url https://api.engrate.io/v1/power-tariffs/{country_code}/holidays \
  --header 'Authorization: <api-key>'
{
  "holidays": [
    {
      "date": "2023-12-25",
      "name": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Path Parameters

country_code
string
required

ISO 3166-1 alpha-2 country code (e.g., SE)

Example:

"SE"

Query Parameters

years
string
required

Years to get holidays for, comma separated (e.g., 2023,2024).

Examples:

"2026"

"2026,2027"

Response

Successful Response

holidays
Holiday · object[]
required

List of public holidays for the specified date range.