Business Days and Holidays
business_daysBusiness 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). The response includes a provenance block (sg-provenance/1): each fact carries its source, source URL, retrieval time and limits; evidence only, no score, rating or verdict. Example arguments: {"calendar":"US-NY","op":"add","date":"2026-12-23","days":"3"}.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "business_days"
}
}Input 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
| 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. New receipts carry a signed `evidence` object: service_version, data_timestamp, validation, terms_version, terms_hash, provenance_hash. |