# Work Time Calc – Add Business Days

> Work Time Calc – Add Business Days is a paid API for AI agents from work-time-calc.x402tookit.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-21).

Add or subtract N business days from a start date, skipping configurable weekends and holidays (Excel WORKDAY-style).

## Facts

- Endpoint: GET https://work-time-calc.x402tookit.com/add-business-days?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-21
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/work-time-calc-add-business-days-8acac1d9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_JZQqhokAdkj1CA28hIyU7

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 work-time-calc-add-business-days-8acac1d9
```

Example prompt: Starting from 2025-03-01, what date is 20 business days out, skipping Saturdays and Sundays plus these holidays: 2025-03-17 and 2025-04-18?

## When to prefer this

Choose this endpoint when you need to compute a future or past date by counting only working days — equivalent to Excel's WORKDAY function — especially when you need custom holiday exclusion lists and configurable weekend definitions. Prefer it over general date-math APIs when business-day semantics (skipping non-working days) are required rather than simple calendar-day arithmetic.

## Known failure modes

- Missing required 'date' or 'days' parameters returns an error
- Invalid date format (not YYYY-MM-DD) causes a parsing error
- 'days' value outside -20000 to 20000 range is rejected
- More than 500 holidays provided exceeds the limit
- Malformed holiday date strings in the list cause validation errors
- Payment failure (x402) returns 402 Payment Required

## How this service works

Add or subtract N business days from a date, skipping weekends and your holiday list, WORKDAY style.

## Output

Returns a JSON object with the computed result date (YYYY-MM-DD), the weekday name of that date, the number of calendar days actually moved, whether the start date was itself a business day, a plain-English summary, and metadata fields like source, asOf, and any degraded-mode warnings.

## 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": [
      "date",
      "days"
     ],
     "properties": {
      "date": {
       "type": "string",
       "description": "Start date YYYY-MM-DD"
      },
      "days": {
       "type": "integer",
       "description": "Business days to add (negative goes back), -20000 to 20000"
      },
      "weekend": {
       "type": "string",
       "description": "Comma-separated weekend days, default sat,sun; none for a 7-day week"
      },
      "holidays": {
       "type": "string",
       "description": "Comma-separated holiday dates YYYY-MM-DD (up to 500)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "asOf": {
       "type": [
        "null",
        "string"
       ]
      },
      "result": {
       "type": [
        "null",
        "string"
       ]
      },
      "source": {
       "type": [
        "null",
        "string"
       ]
      },
      "reasons": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "string"
       }
      },
      "summary": {
       "type": [
        "null",
        "string"
       ]
      },
      "verdict": {
       "type": [
        "null",
        "string"
       ]
      },
      "weekday": {
       "type": [
        "null",
        "string"
       ]
      },
      "degraded": {
       "type": [
        "boolean",
        "null"
       ]
      },
      "disclaimer": {
       "type": [
        "null",
        "string"
       ]
      },
      "notChecked": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "string"
       }
      },
      "calendarDaysMoved": {
       "type": [
        "null",
        "number"
       ]
      },
      "startIsBusinessDay": {
       "type": [
        "boolean",
        "null"
       ]
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/work-time-calc-add-business-days-8acac1d9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from work-time-calc.x402tookit.com](https://www.zero.xyz/host/work-time-calc.x402tookit.com/llms.txt)
