# agenttoll.dev Business Days Calculator

> agenttoll.dev Business Days Calculator is a paid API for AI agents from agenttoll.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

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

## Facts

- Endpoint: POST https://agenttoll.dev/paid/utility/business-days
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agenttoll-dev-business-days-calculator-e2d9ef6b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_nvO6KRBe7S0rqejqp0IAi

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 agenttoll-dev-business-days-calculator-e2d9ef6b -d '<json body>'
```

Example prompt: How many business days are there between March 3, 2025 and April 15, 2025? Also tell me what date falls exactly 20 business days from March 3.

## When to prefer this

Choose this endpoint when you need reliable business-day arithmetic that properly excludes weekends and holidays, especially for financial, legal, or scheduling contexts where working-day accuracy matters. It is well-suited for AI agent workflows that must calculate deadlines, SLA windows, payment clearing times, or contract milestones without building custom calendar logic.

## Known failure modes

- Invalid date format (not YYYY-MM-DD) returns an error
- end_date before start_date may return zero or negative count
- Missing both end_date and days_ahead with no clear mode may return an error or ambiguous result
- Payment failure via x402 protocol blocks the call
- Network timeout on the $0.01 USDC micropayment settlement

## How this service works

108+ receipt-backed x402 work products for AI agents. Clear prices, spend caps, buyer metadata, and structured results over Base USDC.

## Output

Returns a result object containing the computed number of business days between the provided start and end dates, or the target date reached after counting N business days forward from the start date, excluding weekends and public holidays.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "end_date": {
   "type": "string",
   "description": "optional YYYY-MM-DD"
  },
  "days_ahead": {
   "type": "integer",
   "description": "optional int — count N business days from start"
  },
  "start_date": {
   "type": "string",
   "description": "optional YYYY-MM-DD"
  }
 }
}
```

## Response schema (JSON Schema)

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

## More

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