Public holidays for a country and year via Nager.Date
world_holidaysPublic holidays for a country and year via Nager.Date. Returns the list of public holidays with dates, names, regions and types, plus the next upcoming holiday. Use for planning around non-working days. Price $0.005 per call (x402: USDC on Base or Solana).
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": "world_holidays"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tx | No | Alternative to the X-Payment-Tx header | |
| year | No | Year (defaults to current year) | |
| country | Yes | ISO 3166-1 alpha-2 country code |