Public Holidays
All public holidays for a country and year.
GET
/api/v1/time/holidaysData source
- Nager.Date public holidaysNager ·
unknown· updates Yearly
Query parameters
| Parameter | Description | Try value |
|---|---|---|
countrystring required | ISO code | |
yearnumber | Year (default current) | |
apikeystring required | Your API key. Can also be sent as the X-API-Key header. | demo key used here |
Response envelope
Success: { data, meta: { sources, fetchedAt, cached } }. Errors: { error: { code, message } } with HTTP 400, 401, 404, 502, 503 or 504.