holidays
Fetch official public holiday dates for a country and year, and check whether a specific date is one.
Instructions
Official public holidays for a country and year (100+ countries, Nager.Date open data), plus whether a given date is a holiday. Costs 0.001 USDC on Base per successful call (x402). Without a payment key this tool returns the 402 challenge.
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 |
|---|---|---|---|
| date | No | optional YYYY-MM-DD to test | |
| year | No | 4-digit year | |
| country | Yes | ISO 3166-1 alpha-2 country code |