# 24K Labs Business Days Calculator

> 24K Labs Business Days Calculator is a paid API for AI agents from api.24klabs.ai, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-13).

Add or subtract business days to/from a date, or count working days between two dates, with weekend and custom holiday awareness.

## Facts

- Endpoint: POST https://api.24klabs.ai/api/v1/business-days-calc
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/24k-labs-business-days-calculator-7665a3e7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_TFG0mptpiT1T54Xc7gRA4

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 24k-labs-business-days-calculator-7665a3e7 -d '<json body>'
```

Example prompt: What date falls exactly 10 business days after June 15, 2025? Skip weekends and also treat July 4 as a holiday.

## When to prefer this

Use this endpoint when you need calendar-aware date arithmetic that skips weekends and optional custom holidays — ideal for financial due dates, project scheduling, SLA calculations, or any workflow where 'days' means 'working days' rather than calendar days.

## Known failure modes

- Invalid date format returns a 400 error
- Negative day count without explicit subtract operation may be ambiguous
- Custom holidays in unsupported format cause parsing errors
- Missing required fields (start date or operation) return validation errors

## How this service works

Add/subtract business days to a date, or count working days between two dates. Weekend- and custom-holiday-aware (0=Mon..6=Sun).

## Output

Returns the resulting date after adding or subtracting the specified number of business days, or returns the count of working days between two dates. The result accounts for weekends (configurable day offsets 0=Mon through 6=Sun) and any custom holidays provided.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "op": {
   "type": "string"
  },
  "days": {
   "type": "number"
  },
  "start": {
   "type": "string"
  },
  "holidays": {
   "type": "array"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": "2026-01-08"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/24k-labs-business-days-calculator-7665a3e7/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.24klabs.ai](https://www.zero.xyz/host/api.24klabs.ai/llms.txt)
