Business Days and Holidays
business_daysRead-onlyIdempotent
Business days and public holidays: check if a date is a business day, add or subtract N business days, count business days between dates, or list holidays, for 250 countries, 630 subdivisions (e.g. US-NY, GB-ENG) and 31 stock exchanges, 2025-2030. Use for payment due dates, T+N settlement, delivery estimates and SLAs. Data: python-holidays (MIT). Signed receipt. Price: $0.001 per call via x402 (USDC on Base or XRP on XRPL). Example arguments: {"calendar":"US-NY","op":"add","date":"2026-12-23","days":"3"}.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| op | No | Operation; default check | |
| end | No | End date for op=between | |
| date | No | YYYY-MM-DD; default today | |
| days | No | Business days to add (op=add), integer, |days|<=1000 | |
| year | No | Year for op=list, 2025-2030 | |
| calendar | No | ISO country (US), country-subdivision (US-NY) or exchange (FIN-XNYS); default US |
Output Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | Business-day answer for the calendar: is_business_day / result date / count / holiday list, with coverage years | |
| receipt | No | Ed25519-signed, hash-chained receipt; verify free with the verify_receipt tool or POST /v1/verify-receipt |