utilpeek: list a country's public holidays for a year
get_public_holidaysRetrieve public holidays for a given country and year to plan schedules and verify non-working dates. Supports optional subdivision and language for localized holiday names.
Instructions
utilpeek: public holidays of a country for a year. To count working days use count_or_add_business_days. An unsupported country, subdivision, language or year is a 422 naming the supported values (not charged). Typically under 0.1 s. Price: USD 0.001. Free: 10 utilpeek calls per IP per UTC day. Computed from the python-holidays rules (MIT), not an official calendar: lunar, religious and one-off holidays can be estimates or missing for some years; confirm with an official source for legal or payroll use. Docs: https://tanod.dev/learn/public-holidays-api.html
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | Yes | Year (1990-2100). | |
| country | Yes | ISO 3166-1 alpha-2 country code (e.g. US, GB, PH). | |
| language | No | Optional holiday-name language (e.g. en_US). | |
| subdivision | No | Optional subdivision code or name (e.g. CA). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| year | No | ||
| count | No | ||
| error | No | Only on an error result: an object {code, message}, or the reason string of an x402 PaymentRequired object. | |
| source | No | ||
| country | No | ||
| holidays | No | ||
| language | No | ||
| subdivision | No |