# Toolrail Chilean Business-Day Calculator

> Toolrail Chilean Business-Day Calculator is a paid API for AI agents from toolrail.dev, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-12).

Adds N working days (días hábiles) to a start date for Chile, skipping weekends and national holidays, returning the resulting deadline date.

## Facts

- Endpoint: GET https://toolrail.dev/cl/dias-habiles?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/toolrail-chilean-business-day-calculator-612b4c0c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_HVgWK4xNEU5Xb7pxyuR3f

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 toolrail-chilean-business-day-calculator-612b4c0c
```

Example prompt: Starting from March 10 2025, what date is 15 Chilean business days (administrativo type) from now? Skip any national holidays.

## When to prefer this

Use this endpoint when you need to compute a legal or administrative deadline specifically in Chile, respecting Chilean national holidays and the distinction between días hábiles administrativos (Mon–Fri excluding holidays) and días corridos (calendar days). Prefer over generic date-math libraries that lack Chile-specific holiday data or official BCRP/SII-aligned calendar.

## Known failure modes

- Invalid date format for 'desde' parameter — expects ISO date string
- Missing required 'plazo' parameter — must be a positive integer
- Unsupported day type value — only 'administrativo' and 'corrido' accepted
- Date out of supported range — holidays database may not cover very distant future or past dates
- Payment failure (x402) if USDC balance is insufficient for the $0.003 per-call fee

## How this service works

Chilean business-day calculator: add N working days to a date respecting national holidays. Types: administrativo (Mon-Fri) or corrido. Use when computing a legal or administrative deadline in Chile in business days (días hábiles).

## Output

Returns a JSON object with the computed result date (fecha_resultado in YYYY-MM-DD format), the list of Chilean public holidays skipped (feriados_saltados), the day type used (tipo), the original start date (desde), and the plazo (number of days) applied.

## 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": {
      "desde": {
       "type": "string"
      },
      "plazo": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "tipo": {
       "type": "string"
      },
      "desde": {
       "type": "string"
      },
      "plazo": {
       "type": "integer"
      },
      "fecha_resultado": {
       "type": "string"
      },
      "feriados_saltados": {
       "type": "array",
       "items": {
        "type": "string"
       }
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/toolrail-chilean-business-day-calculator-612b4c0c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from toolrail.dev](https://www.zero.xyz/host/toolrail.dev/llms.txt)
