# bizcal-api Business Day Calculator

> bizcal-api Business Day Calculator 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).

Calculates the number of business days, calendar days, weekend days, and public holidays between two dates for a given country (US, GB, DE, FR, NL).

## Facts

- Endpoint: GET https://api.firstmention.uk/s/bizcal-api/day?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-business-day-calculator-6c0e70f8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_zcbkLe4AIOb1fHxfxAltq

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-business-day-calculator-6c0e70f8
```

Example prompt: How many business days are there between November 20 and December 5, 2026 in the US, and which public holidays fall on weekdays during that period?

## When to prefer this

Choose this endpoint when you need an accurate count of business days (weekdays minus public holidays) for a specific country between two known dates, especially for SLA tracking, contract deadlines, payment terms, or project planning. It covers US federal, UK England & Wales, Germany, France, and Netherlands national holidays. Prefer this over manual calculation or generic calendar libraries when accuracy of official public holidays per jurisdiction matters.

## Known failure modes

- Missing required query parameters (country, start, end) returns a 400 or validation error
- Unsupported country code (anything outside US, GB, DE, FR, NL) returns a validation error
- Invalid date format (not YYYY-MM-DD) causes a schema validation failure
- Start date after end date may return zero or error
- Payment failure via x402 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 the count of calendar days, business days, weekend days, and weekday-falling public holidays for the specified date range and country, plus a list of each public holiday with its date, name, and weekday name.

## 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",
  "note": "business_days = weekdays that are not public holidays; holidays lists only those falling on weekdays",
  "start": "2026-11-20",
  "country": "US",
  "holidays": [
   {
    "date": "2026-11-26",
    "name": "Thanksgiving Day",
    "weekday": "Thursday"
   },
   {
    "date": "2026-12-25",
    "name": "Christmas Day",
    "weekday": "Friday"
   }
  ],
  "weekend_days": 4,
  "business_days": 10,
  "calendar_days": 16,
  "weekday_holidays": 2
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/bizcal-api-business-day-calculator-6c0e70f8/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)
