v1

latestOpenAPI 3.0.0MIT2026-07-136320.5 KB
info

root

Returns a welcome message.

get/api/v1

Response

OK

messagestring

A welcome message

Example response

{
  "message": "Hello / Bonjour!",
  "_links": {
    "self": {
      "href": "https://canada-holidays.ca/api/v1/"
    },
    "holidays": {
      "href": "https://canada-holidays.ca/api/v1/holidays"
    },
    "provinces": {
      "href": "https://canada-holidays.ca/api/v1/provinces"
    },
    "spec": {
      "href": "https://canada-holidays.ca/api/v1/spec"
    }
  }
}
All 6 operations