# Market and Holiday Calendar – Is Holiday Checker

> Market and Holiday Calendar – Is Holiday Checker is a paid API for AI agents from market-calendar.x402tookit.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-29).

Checks whether a given date is a public holiday, weekend, or business day in a specified country, and returns the next upcoming holiday after that date.

## Facts

- Endpoint: GET https://market-calendar.x402tookit.com/is-holiday?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/market-and-holiday-calendar-is-holiday-checker-6fd70c4d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_bPEWY1LCwQAShAqEtZ6x5

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 market-and-holiday-calendar-is-holiday-checker-6fd70c4d
```

Example prompt: Is July 4th 2025 a public holiday in the US, and if so, is it a business day? Also tell me what the next holiday after that date is.

## When to prefer this

Choose this endpoint when you need to check a specific date for a specific country to determine holiday and business day status in a single call, especially when you also need to know the next upcoming holiday. Prefer this over the 'public holidays for a year' endpoint when checking a single date rather than browsing a full calendar. Ideal for scheduling, logistics, payroll, and compliance workflows where a single date decision must be validated quickly.

## Known failure modes

- Missing required query parameters (country or date) returns an error
- Invalid date format (not YYYY-MM-DD) causes a parse error
- Unsupported country code returns no holiday data or an error
- Degraded mode flag set true if holiday data source is partially unavailable
- Regional holidays may not be flagged for all sub-regions of a country

## How this service works

Is a date a public holiday in a country? Also whether it is a business day and the next holiday after it.

## Output

Returns a structured response indicating whether the queried date is a public holiday, a regional holiday, a weekend, and/or a business day in the given country. Includes the holiday name(s), local name(s), affected regions, a plain-language summary and verdict, and the next upcoming holiday after the queried date. May also include a data source URL and degraded-mode flag.

## 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": "Date YYYY-MM-DD"
      },
      "country": {
       "type": "string",
       "description": "2-letter country code"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "asOf": {
       "type": [
        "null",
        "string"
       ]
      },
      "date": {
       "type": [
        "null",
        "string"
       ]
      },
      "source": {
       "type": [
        "null",
        "string"
       ]
      },
      "country": {
       "type": [
        "null",
        "string"
       ]
      },
      "reasons": {
       "type": [
        "array",
        "null"
       ]
      },
      "summary": {
       "type": [
        "null",
        "string"
       ]
      },
      "verdict": {
       "type": [
        "null",
        "string"
       ]
      },
      "degraded": {
       "type": [
        "boolean",
        "null"
       ]
      },
      "holidays": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "object",
        "properties": {
         "name": {
          "type": [
           "null",
           "string"
          ]
         },
         "regions": {},
         "localName": {
          "type": [
           "null",
           "string"
          ]
         },
         "nationwide": {
          "type": [
           "boolean",
           "null"
          ]
         }
        }
       }
      },
      "isWeekend": {
       "type": [
        "boolean",
        "null"
       ]
      },
      "sourceUrl": {
       "type": [
        "null",
        "string"
       ]
      },
      "disclaimer": {
       "type": [
        "null",
        "string"
       ]
      },
      "notChecked": {
       "type": [
        "array",
        "null"
       ],
       "item
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/market-and-holiday-calendar-is-holiday-checker-6fd70c4d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from market-calendar.x402tookit.com](https://www.zero.xyz/host/market-calendar.x402tookit.com/llms.txt)
