# bizcal-api /between — Count Business Days Between Two Dates

> bizcal-api /between — Count Business Days Between Two Dates is a paid API for AI agents from api.firstmention.uk, paid per call via x402, $0.03/call, status unknown (last checked 2026-10-31).

Counts the number of business days between two dates for a given country (US, UK, Germany, France, Netherlands), accounting for weekends and national public holidays.

## Facts

- Endpoint: GET https://api.firstmention.uk/s/bizcal-api/between?utm_source=zero.xyz
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/bizcal-api-between-count-business-days-between-two-dates-a2bfa084
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_bI-vT_114yfhzvri_3f5n

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 bizcal-api-between-count-business-days-between-two-dates-a2bfa084
```

Example prompt: How many business days are there between March 1 and June 30, 2025 in the US, accounting for federal holidays?

## When to prefer this

Use this endpoint when you need the exact count of net working days between two dates for one of the five supported countries (US, UK/England & Wales, Germany, France, Netherlands), factoring in both weekends and national public holidays. It is ideal for SLA calculations, contract deadline arithmetic, payroll planning, and any scheduling logic that must respect country-specific holidays. Prefer it over generic date-diff utilities when holiday-aware business-day counts are required.

## Known failure modes

- Missing required query parameters (country, start, end) — returns 400 Bad Request
- Invalid date format (non-YYYY-MM-DD) — returns 400 validation error
- Unsupported country code (anything other than US, GB, DE, FR, NL) — returns 400 or enum validation error
- Start date after end date — may return 0 business days or an error
- Payment not included or insufficient USDC balance — returns 402 Payment Required

## How this service works

Pay-per-call HTTP APIs, paid with x402 in USDC on Base (eip155:8453): agentkit, api-change-check, basedue, basewatch, chainread, check-sanctions, chgwatch, company-facts, composite, edgar, feednews, pageaudit, solcheck, token-dd, txpreflight, walletcheck, webmd, webread, websearch, x402index. Each operation describes its service.

## Output

Returns a JSON object with: business_days (int), calendar_days (int), weekend_days (int), weekday_holidays (int), plus a holidays array listing each public holiday (date, name, weekday) that falls in the range, along with the echoed start, end, and country parameters and an optional note.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "headers": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "date": {
       "type": "string"
      },
      "country": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "date": {
       "type": "string"
      },
      "country": {
       "type": "string"
      },
      "holiday": {
       "type": "string"
      },
      "weekday": {
       "type": "string"
      },
      "is_holiday": {
       "type": "boolean"
      },
      "is_weekend": {
       "type": "boolean"
      },
      "is_business_day": {
       "type": "boolean"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "end": "2026-12-05",
  "start": "2026-11-20",
  "country": "US",
  "holidays": [
   {
    "date": "2026-11-26",
    "name": "Thanksgiving Day"
   }
  ],
  "business_days": 10,
  "weekday_holidays": 1
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/bizcal-api-between-count-business-days-between-two-dates-a2bfa084/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.firstmention.uk](https://www.zero.xyz/host/api.firstmention.uk/llms.txt)
