# public-holidays-canada

> public-holidays-canada is a paid API for AI agents from intel.rallylive.ca, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-21).

Returns all public holidays in Canada for a given year, including national and regional holidays with dates, names, and regional observance details.

## Facts

- Endpoint: GET https://intel.rallylive.ca/data/holidays/ca?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-21
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/public-holidays-canada-3662edea
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_o4Yibz5vTUZXYmpGObLFy

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability public-holidays-canada-3662edea
```

Example prompt: Can you pull up all the public holidays in Canada for 2025, including which ones are nationwide versus province-specific?

## When to prefer this

Choose this endpoint when you need authoritative Canadian public holiday data for business-day calculations, scheduling automation, or calendar generation without building your own holiday database. It covers both national and regional holidays in a single call, requires no API key, and costs only $0.01 per year queried. Prefer it over generic calendar APIs when Canada-specific regional observance (province-level) details are required.

## Known failure modes

- Missing or invalid year parameter may return an error or empty result
- Year outside supported range may return no holidays
- Network or provider-side errors may return a 5xx response
- Payment failure (x402) will prevent access to the endpoint

## How this service works

Public holidays in Canada for a given year: every national and regional public holiday with date, local and English names, whether it is nationwide or which regions observe it, and the weekday, from the Nager.Date public holiday dataset. Business-day and scheduling checks for Canada without an API key. $0.01 per year.

## Output

A structured list of Canadian public holidays for the requested year, where each entry includes the date, English name, local name, weekday, a flag indicating whether it is observed nationwide, and if not nationwide, the list of provinces or territories that observe it.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/public-holidays-canada-3662edea/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from intel.rallylive.ca](https://www.zero.xyz/host/intel.rallylive.ca/llms.txt)
