# MoneyTools Business-Day Calculator

> MoneyTools Business-Day Calculator is a paid API for AI agents from tools.moneytools.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-11-05).

Count business days between two dates or add N business days to a start date, using Taiwan, US federal, or plain-weekday calendars

## Facts

- Endpoint: GET https://tools.moneytools.dev/v1/business-days?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-05
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/moneytools-business-day-calculator-d44b4e8a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_aK-4ZP40JhnTHck0YG3W9

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 moneytools-business-day-calculator-d44b4e8a
```

Example prompt: How many US business days are there between November 4, 2026 and December 31, 2026?

## When to prefer this

Choose this endpoint when you need accurate business-day arithmetic that respects official public holiday calendars for Taiwan or the United States, or when you need plain weekday counting. It is especially useful for SLA tracking, financial settlement windows, payroll scheduling, and contract deadline calculations. The x402 micropayment model makes it accessible without subscription commitments for low-volume use cases.

## Known failure modes

- Missing required 'start' query parameter returns an error
- Invalid date format (not YYYY-MM-DD) causes a parse error
- Providing neither 'end' nor 'add' parameter results in ambiguous or error response
- Unsupported country code returns a validation error
- Free tier exhausted (10/day) triggers HTTP 402 PAYMENT-REQUIRED if no API key or x402 payment provided
- Network issues on Base blockchain may delay x402 payment confirmation

## How this service works

Business-day calculator: Count business days between dates or add N business days, using the official Taiwan calendar, US federal holidays or plain weekdays. Free tier 10/day; then $0.001 via x402 (HTTP 402 + PAYMENT-REQUIRED) or X-API-Key credits. Not charged on failure. $0.001 USDC per call via x402 on Base. Run by MoneyTools.

## Output

A JSON object containing the computed business-day count or the resulting date after adding N business days, along with payment metadata (whether the call was charged, network, amount in USD, transaction hash) and free-tier usage information.

## 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": {
     "const": "http"
    },
    "method": {
     "const": "GET"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "start"
     ],
     "properties": {
      "add": {
       "type": "string",
       "description": "or add N business days"
      },
      "end": {
       "type": "string",
       "examples": [
        "2026-12-31"
       ],
       "description": "YYYY-MM-DD to count to"
      },
      "start": {
       "type": "string",
       "examples": [
        "2026-11-04"
       ],
       "description": "YYYY-MM-DD"
      },
      "country": {
       "type": "string",
       "examples": [
        "TW"
       ],
       "description": "TW | US | none"
      }
     }
    }
   }
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "json"
    },
    "example": {
     "type": "object",
     "properties": {
      "payment": {
       "type": "object",
       "properties": {
        "charged": {
         "type": "boolean"
        },
        "network": {
         "type": "string"
        },
        "amountUsd": {
         "type": "string"
        },
        "transaction": {
         "type": [
          "string",
          "null"
         ]
        }
       }
      },
      "freeTier": {
       "type": "object"
      },
      "_moneytools": {
       "type": "object",
       "description": "optional plan / partner hints"
      }
     },
     "description": "Tool-specific JSON result (see llms.txt / openapi.json). Always includes payment info.",
     "additionalProperties": true
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/moneytools-business-day-calculator-d44b4e8a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from tools.moneytools.dev](https://www.zero.xyz/host/tools.moneytools.dev/llms.txt)
