# Business Days Calculator

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

Calculates the number of business days between two dates, or finds a date a given number of business days from a start date, excluding weekends and holidays.

## Facts

- Endpoint: GET https://x402-toolbox.shablony-pro.workers.dev/time/business-days-calculator?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/business-days-calculator-46d66c26
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_KyykPwxxH0ZPxsy8bBkh3

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-46d66c26
```

Example prompt: How many business days are there between March 3 and April 18, 2025? I need to figure out the exact working-day count for a contract deadline.

## When to prefer this

Choose this endpoint when you need a quick, deterministic, pay-per-call business-days computation without signing up for a scheduling SaaS or setting up API keys. It is ideal for agents that occasionally need date arithmetic in workflows — invoicing, contract management, project planning — and want to pay micro-amounts per call via USDC rather than maintain a subscription.

## Known failure modes

- Invalid or unparseable date format returns an error
- Missing required date parameters returns a validation error
- Unsupported locale or country code may result in incorrect holiday exclusions
- Payment failure via x402 returns HTTP 402 before the computation runs
- Ambiguous date ranges (end before start) may return zero or negative counts

## How this service works

309 deterministic pay-per-call tools for AI agents over x402 (USDC, Base). No signup, no API key: the payment is the identity.

## Output

Returns a JSON object indicating success, the computed number of business days or resulting date, with weekends and public holidays excluded from the count.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "schema": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/business-days-calculator-46d66c26/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-toolbox.shablony-pro.workers.dev](https://www.zero.xyz/host/x402-toolbox.shablony-pro.workers.dev/llms.txt)
