# Add Business Days Calculator

> Add Business Days Calculator is a paid API for AI agents from holidays.x402utils.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-11).

Calculates the resulting date after adding (or subtracting) N business days from a start date, respecting public holidays for a given country.

## Facts

- Endpoint: GET https://holidays.x402utils.workers.dev/v1/add-business-days?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/add-business-days-calculator-5d9e6012
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_cOaNLVNCfLMskQE6fhMFc

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 add-business-days-calculator-5d9e6012
```

Example prompt: Starting from December 20, 2026, what date is 10 business days later in the US? Skip weekends and American public holidays.

## When to prefer this

Choose this endpoint when you need date arithmetic that correctly skips both weekends and country-specific public holidays. It covers ~120 countries and is ideal for scheduling, contract deadlines, invoice due dates, or any workflow requiring accurate business-day offsets. It is pay-per-call with no subscription needed, making it efficient for occasional or agent-driven lookups.

## Known failure modes

- Invalid or unsupported country code returns an error
- Malformed date string causes a parsing error
- Missing required parameters (country, date, days) returns a 400-level error
- Payment not processed (402 if x402 payment header is absent or insufficient)
- Country not covered in the ~120-country database returns an error or empty result

## How this service works

Public holidays and business-day calculator for agents, ~120 countries: holiday lists, is-this-a-business-day, and add N business days. Paid per call via x402 (USDC on Base).

## Output

A JSON object containing the original start date, the resulting date after adding the specified number of business days (skipping weekends and public holidays for the given country), and a confirmation of the number of business days added.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "country",
      "date",
      "days"
     ],
     "properties": {
      "date": {
       "type": "string",
       "description": "start date"
      },
      "days": {
       "type": "string",
       "description": "business days to add (negative to subtract)"
      },
      "country": {
       "type": "string",
       "description": "ISO 3166-1 alpha-2"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "start": "2026-12-20",
  "result": "2027-01-07",
  "business_days": 10
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/add-business-days-calculator-5d9e6012/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from holidays.x402utils.workers.dev](https://www.zero.xyz/host/holidays.x402utils.workers.dev/llms.txt)
