# FastX402 Holiday Date Check

> FastX402 Holiday Date Check is a paid API for AI agents from fastx402.tools, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-17).

Checks whether a specific date is a public holiday in a given country, returning holiday name, type, and metadata.

## Facts

- Endpoint: GET https://fastx402.tools/holiday-date-check?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-17
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/fastx402-holiday-date-check-5b9f9f15
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_eGAWz1BgQ30KNOlDgv8xr

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 fastx402-holiday-date-check-5b9f9f15
```

Example prompt: Is December 25, 2026 a public holiday in the US, and if so what holiday is it?

## When to prefer this

Choose this endpoint when you need a lightweight, no-account, pay-per-call lookup to determine if a specific date is a public or bank holiday in a specific country. Ideal for agents automating scheduling, payroll, customer support staffing, or financial workflows that must avoid holidays. Prefer over calendar APIs that require API keys or subscriptions when occasional holiday checks are needed without onboarding overhead.

## Known failure modes

- Invalid or unsupported country code returns an error or empty holiday data
- Malformed date format (not YYYY-MM-DD) causes a validation error
- Date out of supported range may return no holiday data
- Non-holiday date returns is_holiday: false with no holiday object
- Missing required query parameters (country or date) result in a 400-level error

## How this service works

146 pay-per-call tools for AI agents, from $0.001 per request in USDC on Base or Solana with x402. No account, no API key.

## Output

A JSON object containing the queried date and country, a boolean 'is_holiday' flag, and if applicable a 'holiday' object with the holiday name, local name, date, types (e.g. Public, Bank), and flags for whether it is global and/or public.

## 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",
     "required": [
      "country",
      "date"
     ],
     "properties": {
      "date": {
       "type": "string",
       "description": "Day to check, YYYY-MM-DD"
      },
      "country": {
       "type": "string",
       "description": "ISO 3166-1 alpha-2 country code, e.g. US, GB, DE"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "date": {
       "type": "string"
      },
      "country": {
       "type": "string"
      },
      "holiday": {
       "type": "object",
       "properties": {
        "date": {
         "type": "string"
        },
        "name": {
         "type": "string"
        },
        "types": {
         "type": "array",
         "items": {
          "type": "string"
         }
        },
        "global": {
         "type": "boolean"
        },
        "public": {
         "type": "boolean"
        },
        "local_name": {
         "type": "string"
        }
       }
      },
      "is_holiday": {
       "type": "boolean"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "date": "2026-12-25",
  "country": "US",
  "holiday": {
   "date": "2026-12-25",
   "name": "Christmas Day",
   "types": [
    "Public",
    "Bank"
   ],
   "global": true,
   "public": true,
   "local_name": "Christmas Day"
  },
  "is_holiday": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/fastx402-holiday-date-check-5b9f9f15/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from fastx402.tools](https://www.zero.xyz/host/fastx402.tools/llms.txt)
