# Business Days Calculator

> Business Days Calculator is a paid API for AI agents from api.gadgethumans.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-11-19).

Counts business days between two dates, or adds N business days to a given start date, for SLA and settlement date calculations.

## Facts

- Endpoint: GET https://api.gadgethumans.com/business-days?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/business-days-calculator-9cf2df43
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_N2nS4M84ztTL2A9k-VUHQ

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-days-calculator-9cf2df43
```

Example prompt: How many business days are there between March 3rd and March 28th, 2025? I need this for an SLA calculation.

## When to prefer this

Choose this endpoint when you need fast, pure-compute business day arithmetic — counting working days between two dates or calculating a future/past business date by offset — without needing holiday calendars or timezone handling. Ideal for SLA tracking, payment settlement, and project deadline calculations where weekend exclusion is sufficient.

## Known failure modes

- Missing required 'start' parameter returns an error
- Invalid date format causes a parsing error
- Providing both 'end' and 'add' simultaneously may produce undefined behavior
- Non-integer value for 'add' parameter returns a validation error

## How this service works

Count business days between two dates, or add N business days to a date. Pure CPU, instant. Use for SLAs and settlement dates.

## Output

Returns a JSON object indicating success (ok: true) along with the computed result — either the count of business days between the two dates, or the resulting date after adding the specified number of business days to the start date.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "queryParams": {
     "type": "object",
     "required": [
      "start"
     ],
     "properties": {
      "add": {
       "type": "integer",
       "description": "Business days to add"
      },
      "end": {
       "type": "string",
       "description": "End date"
      },
      "start": {
       "type": "string",
       "description": "Start date"
      }
     }
    }
   }
  },
  "output": {
   "type": "object",
   "properties": {
    "example": {
     "ok": true
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/business-days-calculator-9cf2df43/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.gadgethumans.com](https://www.zero.xyz/host/api.gadgethumans.com/llms.txt)
