# is-public-holiday

> is-public-holiday 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).

Checks whether a given date is a public holiday in a specified country, returning yes/no, the holiday name, weekend status, and the next upcoming public holiday.

## Facts

- Endpoint: GET https://intel.rallylive.ca/data/is-holiday
- 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/is-public-holiday-f65afaa1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_CT5nvAsJ7Nlq2tvyCSCg3

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 is-public-holiday-f65afaa1
```

Example prompt: Is December 26th a public holiday in Canada, and if so, what's it called — and when is the next public holiday after that?

## When to prefer this

Choose this endpoint when you need lightweight, per-date holiday checking with business-day logic baked in, especially for agentic workflows that need to avoid scheduling actions on non-working days. It is ideal when you need a single-call answer with the next holiday included, rather than fetching a full calendar of holidays. At $0.01 per check it is cost-effective for on-demand validation rather than bulk holiday calendars.

## Known failure modes

- Unsupported or unrecognized country code returns an error or empty result
- Malformed date format causes a bad request response
- Date too far in the future may not have holiday data available
- Some regional/state-level holidays may not be included if only national holidays are covered
- Network timeout or service unavailability returns a 5xx error

## How this service works

Is a date a public holiday in a country? Returns yes/no with the holiday name, whether it is a weekend, and the next public holiday after that date. Business-day logic for agents. $0.01 per check.

## Output

Returns a yes/no flag indicating whether the date is a public holiday, the name of the holiday if applicable, whether the date falls on a weekend, and the date and name of the next public holiday after the queried date.

## 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/is-public-holiday-f65afaa1/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)
