v1

latestOpenAPI 3.0.0MIT2026-07-146320.8 KB
holidays

Get a holiday by id

Returns one Canadian statutory holiday by integer id. Returns a 404 response for invalid ids.

get/api/v1/holidays/{holidayId}

Query parameters

yearinteger

A calendar year

optional'1' | '0' | 'true' | 'false'

A boolean parameter. If false or 0 (default), will return provinces for which this is a legislated holiday. If true or 1, will return provinces which optionally celebrate this holiday.

Response

OK