List public holidays for a country and year
holidaysPublic holidays of a country (ISO 2 code) for a year (default: this year): date, local and English names, and whether the holiday is nationwide or regional with its counties. Source: Nager.Date. An empty list is a valid answer. Price: $0.002 per successful call, paid with x402 (USDC on Base, Solana and 10 more networks); failed calls are not charged.
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 |
|---|---|---|---|
| year | No | 1900 to 2100 (default: this year) | |
| country | Yes | ISO 3166 alpha-2 code, e.g. DE |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | No | ||
| count | No | ||
| source | No | ||
| country | No | ||
| holidays | No | ||
| checkedAt | No |