GET /api/v1/holidays

canada-holidays.ca

Summary: Get all holidays
Operation ID: Holidays
Auth: unknown
Description

Returns Canadian public holidays. Each holiday lists the regions that observe it.

Parameters (3)

federal (string, query, optional)

A boolean parameter. If true or 1, will return only federal holidays. If false or 0, will return no federal holidays.

Constraints: {'enum': ['1', '0', 'true', 'false']}

optional (string, query, optional, default: false)

A boolean parameter. If false or 0 (default), will return only legislated holidays. If true or 1, will return optional holidays from Alberta and BC.

Constraints: {'enum': ['1', '0', 'true', 'false']}

year (integer, query, optional, default: 2023)

A calendar year

Constraints: {'minimum': 2016, 'maximum': 2029}

No probe data for this endpoint yet.