Nager Date
demographics__nager-dateRetrieve public holidays for any country and year using the Nager.Date API. Covers 100+ countries with holiday types and regional information.
Instructions
[Demographics & Population Agent] Get public holidays for any country and year using the Nager.Date API. Covers 100+ countries with holiday types and regional info. Source: Nager.Date (MIT License), updates annual. Returns the Katzilla envelope { data, quality, citation } — quality scores freshness/uptime/confidence; citation carries the source URL, license, and a SHA-256 data hash for audit.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | No | Year to retrieve holidays for | |
| countryCode | No | ISO 3166-1 alpha-2 country code (e.g. US, DE, JP) | US |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Structured payload from the upstream source. | |
| text | No | Pre-rendered text representation, when applicable. | |
| quality | Yes | Quality scorecard: freshness, uptime, completeness, confidence, certainty. | |
| citation | Yes | Provenance block — source, license, retrieval timestamp, SHA-256 data hash, pre-formatted citation text. |