# Toolrail Business-Day Calculator

> Toolrail 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 to a start date, skipping weekends and official public holidays, for supported countries

## Facts

- Endpoint: GET https://toolrail.dev/days/business-days?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-business-day-calculator-9bad00cd
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Ym3CItcgH0ML4gotasrhN

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-business-day-calculator-9bad00cd
```

Example prompt: What date falls 10 business days from today (June 2, 2025) in France, skipping weekends and French public holidays?

## When to prefer this

Use this endpoint when you need to compute a future date by counting only working days — skipping both weekends and official national public holidays — for a specific supported country. Prefer this over simple date arithmetic when country-specific holiday calendars matter (e.g. invoicing, SLAs, shipping logistics, contract deadlines). It complements the Toolrail public holidays endpoint and is ideal for scheduling workflows in multi-country business contexts.

## Known failure modes

- Unsupported country code returns an error or empty result
- Invalid date format causes a bad request response
- Negative or zero days value may return an error
- Missing required query parameters (from, days, country) result in 400-level errors
- Very large day counts may hit edge cases near holiday data boundaries (1975–2075 range)

## How this service works

Business-day calculator for supported countries: add N working days to a date skipping weekends and official public holidays. Essential for scheduling, deadlines and logistics. Use when computing a deadline, delivery or payment date that must skip weekends and public holidays.

## Output

Returns the computed result date after adding N business days to the start date for the specified country, along with the list of public holidays that were skipped during the calculation, the original start date, country, and number of days added.

## 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": {
      "days": {
       "type": "string"
      },
      "from": {
       "type": "string"
      },
      "country": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "days": {
       "type": "integer"
      },
      "from": {
       "type": "string"
      },
      "country": {
       "type": "string"
      },
      "result_date": {
       "type": "string"
      },
      "skipped_holidays": {
       "type": "array",
       "items": {
        "type": "string"
       }
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/toolrail-business-day-calculator-9bad00cd/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)
