# Agent Kalender Hub – Werktage Zählen

> Agent Kalender Hub – Werktage Zählen is a paid API for AI agents from kalender.netzhandwerker.de, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-12).

Counts working days in a date range for Germany, Austria, and Switzerland, accounting for weekends, public holidays, and custom days off.

## Facts

- Endpoint: POST https://kalender.netzhandwerker.de/werktage?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-kalender-hub-werktage-z-hlen-2770c5c2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_uudZE4sQblZ2aMvnJhUlw

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 agent-kalender-hub-werktage-z-hlen-2770c5c2 -d '<json body>'
```

Example prompt: How many working days are there in Bavaria (BY) from January 5 to March 31, 2026? Please include only weekdays and statutory holidays — we don't count Saturdays as working days.

## When to prefer this

Use this endpoint when you need an accurate count of working days in the DACH region (Germany, Austria, Switzerland) with full public holiday awareness at the state or canton level. It is superior to generic date-math utilities because it knows region-specific holiday calendars, handles special municipal cases like Augsburg (BY-AU), and supports custom company holidays on top of statutory ones. Prefer it over a local calendar library when correctness for German-speaking jurisdictions is critical.

## Known failure modes

- Invalid date format (not YYYY-MM-DD) causes a 400 error
- Unsupported region code for the selected country returns an error or falls back to nationwide holidays only
- Date range where 'bis' is before 'von' may return zero or an error
- More than 100 custom days off (zusatzfrei) exceeds maxItems limit
- Missing required 'von' or 'bis' fields results in a validation error
- Invalid country code outside DE/AT/CH is rejected

## How this service works

Jeder übersprungene Tag kommt mit Grund zurück: Wochenende, benannter Feiertag oder ein selbst gesetzter freier Tag. Samstag und Sonntag lassen sich zu Werktagen erklären.

## Output

Returns the count of working days in the requested date range after subtracting weekends (unless overridden), named public holidays for the specified country and region, and any custom additional days off provided. Each excluded day is explained with a reason (weekend, holiday name, or custom label).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "bis": {
   "type": "string",
   "format": "date",
   "description": "Last day of the range, inclusive."
  },
  "von": {
   "type": "string",
   "format": "date",
   "description": "First day of the range, inclusive, format YYYY-MM-DD."
  },
  "land": {
   "enum": [
    "DE",
    "AT",
    "CH"
   ],
   "type": "string",
   "default": "DE",
   "description": "Country code."
  },
  "region": {
   "type": "string",
   "description": "State code for DE (BW, BY, BE, BB, HB, HH, HE, MV, NI, NW, RP, SL, SN, ST, SH, TH) and AT (B, K, N, O, S, ST, T, V, W), canton code for CH (AG, AI, AR, BE, BL, BS, FR, GE, GL, GR, JU, LU, NE, NW, OW, SG, SH, SO, SZ, TG, TI, UR, VD, VS, ZG, ZH). \"DE-BY\" works as well. Germany also knows the municipal code BY-AU for the city of Augsburg. Without a region only nationwide holidays are returned."
  },
  "zusatzfrei": {
   "type": "array",
   "items": {
    "type": [
     "string",
     "object"
    ]
   },
   "maxItems": 100,
   "description": "Own days off on top of the statutory ones, for example company holidays. Either \"2026-05-15\" or {\"datum\":\"2026-05-15\",\"grund\":\"Betriebsferien\"}."
  },
  "samstag_ist_werktag": {
   "type": "boolean",
   "default": false,
   "description": "Count Saturdays as working days."
  },
  "sonntag_ist_werktag": {
   "type": "boolean",
   "default": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-kalender-hub-werktage-z-hlen-2770c5c2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from kalender.netzhandwerker.de](https://www.zero.xyz/host/kalender.netzhandwerker.de/llms.txt)
