# Agent402 International Business Days Calculator

> Agent402 International Business Days Calculator is a paid API for AI agents from agent402.co.uk, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Calculates the number of business days between two dates for any ISO country, excluding weekends and public holidays via Nager.Date data.

## Facts

- Endpoint: GET https://agent402.co.uk/v1/time/business-days-intl
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent402-international-business-days-calculator-be43ef3c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_nw673duqgpjYgibwTy9bh

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 agent402-international-business-days-calculator-be43ef3c
```

Example prompt: How many business days are there between March 3 2025 and April 30 2025 in Germany, excluding public holidays?

## When to prefer this

Use this endpoint when you need accurate business day counts for any country globally, especially for SLA calculations, contract deadlines, or cross-border scheduling that must account for country-specific public holidays. Prefer this over manual calendar math or single-country solutions. For UK-specific bank holidays with official government accuracy, pair with /v1/uk/bank-holidays.

## Known failure modes

- Invalid or unsupported ISO country code returns an error
- Malformed date format (non-YYYY-MM-DD) causes a 400 bad request
- End date before start date may return zero or an error
- Nager.Date may lack data for very small or unrecognized territories
- Network timeout on the underlying public holiday data source

## How this service works

Don't burn tokens on deterministic work. Go/no-go jobs first: payout preflight, text firewall (PII/secrets), budget check — then rails, calendars, finmath. x402 USDC on Base. UK + global. agent402.co.uk — not agent402.tools. $0.001–$0.002 USDC on Base. No API keys.

## Output

Returns a JSON object with the ISO country code, the count of holiday days within the range, and the total number of business days (excluding weekends and public holidays).

## 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",
     "required": [
      "start",
      "end",
      "country"
     ],
     "properties": {
      "end": {
       "type": "string",
       "description": "YYYY-MM-DD"
      },
      "start": {
       "type": "string",
       "description": "YYYY-MM-DD"
      },
      "country": {
       "type": "string",
       "description": "ISO alpha-2"
      },
      "exclude_holidays": {
       "type": "string",
       "description": "default true"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "country": "DE",
  "holiday_days": 1,
  "business_days": 21
 }
}
```

## More

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