utilpeek: list a country's public holidays for a year
get_public_holidaysRead-onlyIdempotent
utilpeek: public holidays of a country for a year. Input: country, year, optional subdivision and language. Returns holidays rows with count, source and note. 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.
Input Schema
TableJSON 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
TableJSON 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 |