# Canada Holidays API API

> Canada Holidays API API on Apizie: 6 endpoints (root, Get all holidays, Get a holiday by id, Get all provinces, …) returned as clean JSON through one API key. 6 endpoints are live now. Call it over REST at https://zieapi.vercel.app/v1/open-data:canada-holidays-ca/{endpoint} or from Claude, ChatGPT and Cursor through the Apizie MCP server. Free plan: 1,000 requests a month.

- Project key: `open-data:canada-holidays-ca`
- Category: Open Data
- Status: live
- Source: https://canada-holidays.ca/api
- Page: https://zieapi.vercel.app/api/open-data/canada-holidays-ca
- OpenAPI: https://zieapi.vercel.app/api/open-data/canada-holidays-ca/openapi.json

This API lists all 31 public holidays for all 13 provinces and territories in Canada, including federal holidays.

## Endpoints

### root
`GET https://zieapi.vercel.app/v1/open-data:canada-holidays-ca/root`

### Get all holidays
`GET https://zieapi.vercel.app/v1/open-data:canada-holidays-ca/holidays`

| Parameter | Type | Required | Description |
|---|---|---|---|
| year | integer | no | A calendar year |
| federal | string | no | A boolean parameter. If true or 1, will return only federal holidays. If false or 0, will return no federal holidays. |
| optional | string | no | A boolean parameter. If false or 0 (default), will return only legislated holidays. If true or 1, will return optional holidays from… |

### Get a holiday by id
`GET https://zieapi.vercel.app/v1/open-data:canada-holidays-ca/holiday`

| Parameter | Type | Required | Description |
|---|---|---|---|
| holidayId | integer | yes | Primary key for a holiday |
| year | integer | no | A calendar year |
| optional | string | no | A boolean parameter. If false or 0 (default), will return provinces for which this is a legislated holiday. If true or 1, will return… |

### Get all provinces
`GET https://zieapi.vercel.app/v1/open-data:canada-holidays-ca/provinces`

| Parameter | Type | Required | Description |
|---|---|---|---|
| year | integer | no | A calendar year |
| optional | string | no | A boolean parameter. If false or 0 (default), will return only legislated holidays. If true or 1, will return optional holidays from… |

### Get a province or territory by abbreviation
`GET https://zieapi.vercel.app/v1/open-data:canada-holidays-ca/province`

| Parameter | Type | Required | Description |
|---|---|---|---|
| provinceId | string | yes | A Canadian province abbreviation |
| year | integer | no | A calendar year |
| optional | string | no | A boolean parameter (AB and BC only). If false or 0 (default), will return only legislated holidays. If true or 1, will return optional… |

### Get JSON schema
`GET https://zieapi.vercel.app/v1/open-data:canada-holidays-ca/spec`

## Example
```
curl "https://zieapi.vercel.app/v1/open-data:canada-holidays-ca/root" \
  -H "x-api-key: $APIZIE_KEY"
```

## FAQ

### How do I call the Canada Holidays API API?
Create a free Apizie key, then send GET https://zieapi.vercel.app/v1/open-data:canada-holidays-ca/root with the header x-api-key. Every endpoint returns { project, data, timestamp }.

### Is the Canada Holidays API API free on Apizie?
Yes. The Free plan includes 1,000 requests a month at 100 requests a minute, no credit card.

### Can AI agents use the Canada Holidays API API?
Yes. Add the Apizie MCP server (https://zieapi.vercel.app/mcp) to Claude, ChatGPT, Cursor or VS Code, then ask in plain language. The agent calls run_scraper with project key open-data:canada-holidays-ca.

### What is the status of the Canada Holidays API API?
Live: works with just an Apizie key
