# FastX402 Lab Holiday Date Check

> FastX402 Lab Holiday Date Check is a paid API for AI agents from lab.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://lab.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-lab-holiday-date-check-97974b53
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_2mHrvNVYq2whVEYBxeT6W

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-lab-holiday-date-check-97974b53
```

Example prompt: Is December 25, 2026 a public holiday in the US? I want to know the official holiday name and whether it's a bank holiday.

## When to prefer this

Choose this endpoint when you need a lightweight, no-signup, pay-per-call check for whether a specific calendar date is a public holiday in a given country. It is ideal for AI agents that need occasional, on-demand holiday verification without managing API keys or subscriptions. Prefer this over larger calendar APIs when cost-per-call economics matter and you only need single-date lookups rather than bulk calendar data.

## Known failure modes

- Invalid country code returns an error or empty holiday response
- Malformed date format (not YYYY-MM-DD) causes a validation error
- Date outside supported range may return is_holiday: false with no holiday data
- Network or payment failure (x402 USDC payment not processed) results in HTTP 402
- Non-existent or unsupported region returns no holiday data

## How this service works

FastX402 Lab: small pay-per-call tools for AI agents, paid per request in USDC on Base over x402. No signup, no API key.

## Output

A JSON object containing the queried date and country code, a boolean 'is_holiday' flag, and if it is a holiday, a nested 'holiday' object with the official name, local name, types (e.g. Public, Bank), and boolean flags for whether it is globally recognized and publicly observed.

## 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-lab-holiday-date-check-97974b53/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from lab.fastx402.tools](https://www.zero.xyz/host/lab.fastx402.tools/llms.txt)
