# Business Days Calculator

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

Counts the number of business days (Monday–Friday) between two dates, excluding weekends but not holidays

## Facts

- Endpoint: GET https://api.x402node.dev/time/business-days
- Price: $0.008/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-x402node-dev-da072a83
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_d0C6HN1mONfvYgX6AEtJk

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 api-x402node-dev-da072a83
```

Example prompt: How many business days are there between March 3, 2025 and April 18, 2025 — just weekdays, no holidays?

## When to prefer this

Use this endpoint when you need a fast, lightweight weekday counter between two dates and do not need holiday awareness. Ideal for scheduling, deadline calculations, SLA computations, or project timelines where only weekend exclusion is required.

## Known failure modes

- Invalid or unparseable date format returns an error
- End date before start date may return zero or an error
- Missing required start or end date parameter returns 400
- Malformed request body returns parsing error

## How this service works

Business days calculator, working days between dates, weekdays counter, exclude weekends, workday count, business day arithmetic. Count business days (Mon-Fri) between two dates, separating weekend days. No holiday data, just weekend exclusion. Accepts payment on Base or Solana — either network works.

## Output

Returns the count of business days (Mon–Fri), weekend days, and total calendar days between the two provided dates, with no holiday exclusion logic applied.

## 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",
     "properties": {
      "end": {
       "type": "string",
       "description": "End (optional)"
      },
      "start": {
       "type": "string",
       "description": "Start (optional)"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/api-x402node-dev-da072a83/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.x402node.dev](https://www.zero.xyz/host/api.x402node.dev/llms.txt)
