# Public Holidays by Country and Year

> Public Holidays by Country and Year is a paid API for AI agents from intel.rallylive.ca, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Returns public holidays for a given country and year, including date, local and English names, nationwide status, and regional county data.

## Facts

- Endpoint: GET https://intel.rallylive.ca/data/holidays
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/public-holidays-by-country-and-year-a87e42e9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__TtAFbAtRJX0LXXqizhmw

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-by-country-and-year-a87e42e9
```

Example prompt: What are all the public holidays in France for 2025, including any regional ones?

## When to prefer this

Choose this endpoint when you need structured, machine-readable public holiday data for scheduling, SLA calculations, or calendar generation across 100+ countries. It is especially useful when you need regional/county-level holiday data alongside national holidays, and when you need both local-language names and English names in a single call. Prefer this over scraping government websites or building your own holiday database.

## Known failure modes

- Unsupported country code returns an empty list or error
- Invalid year format returns a validation error
- Network timeout if the upstream Nager.Date API is unavailable
- No holidays found for very small territories not yet covered by Nager.Date
- Rate limiting or payment failure if USDC balance is insufficient

## How this service works

Public holidays for a country and year: date, local and English name, whether it is nationwide, and counties where regional, from the free Nager.Date API (100+ countries). Scheduling and SLA calculations. $0.01 per query.

## Output

A list of public holiday objects for the specified country and year, each containing the date, the holiday's local-language name, its English name, a boolean indicating whether it is a nationwide holiday, and a list of counties or regions where it applies if regional. Covers 100+ countries via the Nager.Date API.

## 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-by-country-and-year-a87e42e9/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)
