# Business Day & Public Holiday Checker (247 Countries)

> Business Day & Public Holiday Checker (247 Countries) is a paid API for AI agents from handelskalender-api.pages.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-11-23).

Checks whether a given date is a business day in a specified country, identifies public holidays, and calculates next/previous business days or counts business days between dates.

## Facts

- Endpoint: GET https://handelskalender-api.pages.dev/v1/business-day?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-23
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/business-day-public-holiday-checker-247-countries-ce938a22
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_d4EzGOUDUwK4BZd12ATt2

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 business-day-public-holiday-checker-247-countries-ce938a22
```

Example prompt: Is January 6, 2027 a business day in Germany (Bavaria region), and if not, what's the next business day after it? Also tell me what date falls 10 business days later.

## When to prefer this

Choose this endpoint when you need authoritative public holiday and business day data for any of 247 countries, especially with support for regional/state-level holidays (e.g. US states, German Länder, Canadian provinces). It is ideal for scheduling, SLA calculations, payment deadlines, or any workflow that must respect local non-working days. Prefer it over generic date libraries when regional holiday granularity, estimated holidays (moon-sighting based), or multi-country coverage is required. No API key or account setup needed — pay per call with USDC via x402.

## Known failure modes

- Missing required 'country' parameter returns an error
- Invalid or unsupported country code returns an error
- Invalid date format (not YYYY-MM-DD) returns an error
- Region code not valid for the specified country may return no regional holidays
- 'add' parameter outside -260 to 260 range is rejected
- Network or payment failure via x402 results in no response

## How this service works

Use when an agent must know if a date is a business day in a country, or compute a due date: weekend or holiday (with name), previous/next business day, date plus N business days (add=), business days until a date (to=). 247 countries, 2026-2028, optional state/province (region=), local weekends (e.g. Fri-Sat). Bad input: HTTP 400, no charge.

## Output

A JSON object containing: whether the date is a business day, the weekday name, holiday details (name, local name, scope, estimated flag) if applicable, the reason it is not a business day (weekend or holiday), the next and previous business days, optionally the date N business days from now, and optionally the count of business days until a target date. Also includes country metadata (name, weekend days) and data source attribution.

## 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"
     ],
     "properties": {
      "to": {
       "type": "string",
       "description": "Optional end date YYYY-MM-DD (>= date): count business days from date to it, both included."
      },
      "add": {
       "type": "string",
       "description": "Optional: number of business days to add (negative = go back), -260 to 260."
      },
      "date": {
       "type": "string",
       "description": "Day as YYYY-MM-DD. Optional, default: today (UTC)."
      },
      "region": {
       "type": "string",
       "description": "Optional state/province for regional holidays, e.g. BY or DE-BY (Bavaria), CA (California), 9 (Vienna). Listed per country in GET /v1/holiday-countries."
      },
      "country": {
       "type": "string",
       "description": "2-letter ISO country code, e.g. AT, DE, US, GB, FR, JP, IN, BR, AE. 247 countries; free list: GET /v1/holiday-countries."
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "date": "2027-01-06",
  "note": "Statutory public holidays. Dates marked estimated depend on moon sighting or a later official decision and can shift by a day. Regional holidays only with region=.",
  "reason": "holiday",
  "region": "BY",
  "source": "Public holidays from statutory rules as encoded in python-holidays (MIT licence, github.com/vacanza/holidays), data built 2026-11-02.",
  "country": {
   "code": "DE",
   "name": "Germany",
   "weekend": [
    "Sat",
    "Sun"
   ]
  },
  "holiday": {
   "date": "2027-01-06",
   "name": "Epiphany",
   "scope": "regional",
   "weekday": "Wednesday",
   "estimated": false,
   "localName": "Heilige Drei Könige"
  },
  "weekday": "Wednesday",
  "isBusinessDay": false,
  "addBusinessDays": {
   "n": 10,
   "date": "2027-01-20"
  },
  "nextBusinessDay": "2027-01-07",
  "businessDaysUntil": null,
  "previousBusinessDay": "2027-01-05"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/business-day-public-holiday-checker-247-countries-ce938a22/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from handelskalender-api.pages.dev](https://www.zero.xyz/host/handelskalender-api.pages.dev/llms.txt)
