holidays
holidaysPublic holidays for 100+ countries (optional state/province), plus business-day math: count business days between two dates, add N business days to a date, or check if a date is a business day. Costs $0.002 USDC per call (x402).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"country": "<country>"
},
"name": "holidays"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | YYYY-MM-DD, counts business days from..to | |
| from | No | YYYY-MM-DD | |
| year | No | ||
| region | No | Optional state/province code, e.g. ON | |
| country | Yes | ISO 2-letter code, e.g. US, CA, GB | |
| add_business_days | No | Adds N business days to from |