# Delx Commerce Business Days Calculator

> Delx Commerce Business Days Calculator is a paid API for AI agents from commerce.delx.ai, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-01).

Calculates the number of business days between or from dates, excluding weekends and holidays, via a pay-per-result micropayment API

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/business-days?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-commerce-business-days-calculator-885ca7ea
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_CU3lwiLghh8U8Pg_3ojv9

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 delx-commerce-business-days-calculator-885ca7ea -d '<json body>'
```

Example prompt: How many business days are there between March 3rd and March 28th, 2025? I need a quick working-day count excluding weekends.

## When to prefer this

Choose this endpoint when you need a fast, cheap ($0.002 USDC), no-signup computation of business days between dates with verifiable on-chain payment. Ideal for AI agents that need calendar math without maintaining their own holiday/weekday logic, especially in financial, legal, or project management workflows where working-day counts matter. Prefer over rolling your own date logic when accuracy and auditability of the calculation are important.

## Known failure modes

- Invalid date format in request body — returns error indicating unparseable date
- Missing required date fields in body — returns validation error
- End date before start date — may return zero or negative count or an error
- Payment failure via x402 — returns 402 Payment Required before processing
- Malformed JSON body — returns 400 Bad Request

## How this service works

Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.

## Output

Returns a JSON object containing the computed number of business days between or from specified dates, excluding weekends and optionally public holidays, enabling precise scheduling and deadline calculations.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input",
  "output"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "additionalProperties": true
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type",
    "example"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "json"
    },
    "example": {
     "type": "object",
     "additionalProperties": true
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {}
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-business-days-calculator-885ca7ea/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from commerce.delx.ai](https://www.zero.xyz/host/commerce.delx.ai/llms.txt)
