# Foundry Business Days Calculator

> Foundry Business Days Calculator is a paid API for AI agents from minty-sprout.onrender.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-11-01).

Calculates the number of business days, weekend days, and calendar days between two dates

## Facts

- Endpoint: POST https://minty-sprout.onrender.com/v1/business-days?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/foundry-business-days-calculator-1620e895
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ctd6z38n32VAOh30JujQI

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 foundry-business-days-calculator-1620e895 -d '<json body>'
```

Example prompt: How many business days are there between 2026-11-01 and 2026-11-30? I also want to know the weekend days and total calendar days.

## When to prefer this

Use this endpoint when you need a quick, structured breakdown of business days vs weekend days vs calendar days for any date range, without needing public holiday exclusions. Ideal for scheduling, project planning, contract duration calculations, and invoice windows where a simple Monday–Friday count suffices.

## Known failure modes

- Invalid date format (non-YYYY-MM-DD input) may cause an error or unexpected result
- End date before start date may return zero or negative counts
- Missing or malformed input string returns an error
- Network or server unavailability on the Render-hosted service

## How this service works

Business days between two dates: weekdays, weekend days and calendar days. Input: '2026-11-01 2026-11-30'.

## Output

Returns a JSON object with the start date (from), end date (to), count of business days (Monday–Friday, excluding no public holidays), weekend days, and total calendar days, plus a note clarifying the counting methodology.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "input": {
   "type": "string",
   "maxLength": 8000,
   "description": "Two YYYY-MM-DD dates"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "to": "2026-11-30",
  "from": "2026-11-01",
  "note": "Monday to Friday; public holidays are not excluded.",
  "weekend_days": 9,
  "business_days": 21,
  "calendar_days": 30
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/foundry-business-days-calculator-1620e895/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from minty-sprout.onrender.com](https://www.zero.xyz/host/minty-sprout.onrender.com/llms.txt)
