# Polyform Business Days Calculator

> Polyform Business Days Calculator is a paid API for AI agents from polyform.polyform-org.workers.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-09).

Calculates the number of business days between two dates, excluding weekends and US federal holidays, and returns the list of holidays in the date range.

## Facts

- Endpoint: GET https://polyform.polyform-org.workers.dev/v1/time/business-days?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-09
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/polyform-business-days-calculator-2e26307c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_C71M1DbS2ABPjFBVWkNng

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 polyform-business-days-calculator-2e26307c
```

Example prompt: How many business days are there between March 1, 2025 and June 30, 2025, not counting weekends or US federal holidays? Also tell me which holidays fall in that range.

## When to prefer this

Use this endpoint when you need a quick, pure-computation answer for the number of business days between two dates under the US federal holiday calendar. Ideal for SLA calculations, contract timelines, payroll scheduling, and any use case where weekends and US federal public holidays must be excluded. Prefer this over general-purpose date libraries when you also need the holiday list returned alongside the count.

## Known failure modes

- Missing or malformed start/end date parameters returns an error
- End date before start date may return zero or an error
- Dates outside supported range may fail
- Non-US holiday calendars are not supported — only US federal holidays are excluded

## How this service works

Business days between two dates (exclusive of end), skipping weekends and US federal holidays; also returns the holiday list in range. Pure computation. JSON.

## Output

Returns the count of business days between the two dates (exclusive of the end date), skipping weekends and US federal holidays, along with an enumerated list of the federal holidays that fall within the specified date range.

## 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": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

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