# French Business Day Calculator

> French Business Day Calculator is a paid API for AI agents from x402-datashop-production.up.railway.app, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-14).

Adds N French business days to a date or counts business days over a date range, skipping weekends and all 11 French legal public holidays

## Facts

- Endpoint: GET https://x402-datashop-production.up.railway.app/v1/fr/business-days
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/french-business-day-calculator-0c01471f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_u7wusHn4c6TWvs8hwwpLk

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 french-business-day-calculator-0c01471f
```

Example prompt: How many French jours ouvrés are there between July 1 and September 30, 2026? Also, what date lands exactly 30 French business days after July 13, 2026?

## When to prefer this

Use this endpoint when you need precise French business day calculations that correctly handle all 11 French public holidays including movable feasts (Easter-dependent). Prefer it over generic business day calculators that don't account for French legal holidays. Ideal for French payroll, contract deadlines, banking, legal notice periods, or any scheduling requiring jours ouvrés or jours ouvrables compliance.

## Known failure modes

- Missing both start+add and from+to parameters returns an error
- Invalid ISO date format causes a 400 error
- add value outside 1-366 range rejected
- Conflicting parameters (start with to, or from with add) may return error
- Network or service availability issues on Railway host

## How this service works

Adds N French business days to a date (?start=2026-07-13&add=30) or counts them over a range (?from=2026-07-01&to=2026-09-30). Skips weekends and the 11 French legal public holidays (movable feasts computed via Butcher-Meeus). mode=ouvres (Mon-Fri, default) or ouvrables (Mon-Sat). Deterministic local computation, JSON.

## Output

A JSON object containing the computed result — either a destination date after adding N business days (mode: add) or a count of business days within a date range (mode: count). Includes details on skipped weekends and French public holidays computed via the Butcher-Meeus algorithm for movable feasts. Works in both jours ouvrés (Mon–Fri) and jours ouvrables (Mon–Sat) modes.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "to": {
       "type": "string",
       "description": "ISO range end (inclusive)"
      },
      "add": {
       "type": "integer",
       "description": "Business days to add, 1-366 (default 1)"
      },
      "from": {
       "type": "string",
       "description": "ISO range start (use with to, counting mode)"
      },
      "mode": {
       "enum": [
        "ouvres",
        "ouvrables"
       ],
       "type": "string",
       "default": "ouvres"
      },
      "start": {
       "type": "string",
       "description": "ISO date to add business days to (use with add)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/french-business-day-calculator-0c01471f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-datashop-production.up.railway.app](https://www.zero.xyz/host/x402-datashop-production.up.railway.app/llms.txt)
