Get public holidays by country and year
/install apipick-public-holidays
apipick Public Holidays
Query public holidays for 100+ countries by ISO country code and year.
Endpoint
GET https://www.apipick.com/api/holidays
Authentication: x-api-key: YOUR_API_KEY header required.
Get a free API key at https://www.apipick.com/dashboard/api-keys
Request Parameters
| Parameter | Required | Description |
|---|---|---|
country |
Yes | ISO 3166-1 alpha-2 code (e.g. US, GB, CN, DE, JP) |
year |
No | 4-digit year (defaults to current year). Range: 1900 to current year + 10 |
GET /api/holidays?country=US&year=2026
Response
{
"success": true,
"code": 200,
"message": "Holidays retrieved successfully",
"data": {
"country": "US",
"country_name": "United States",
"year": 2026,
"total": 11,
"holidays": [
{"date": "2026-01-01", "name": "New Year's Day"},
{"date": "2026-07-04", "name": "Independence Day"},
{"date": "2026-12-25", "name": "Christmas Day"}
]
},
"credits_used": 1,
"remaining_credits": 99
}
Error Codes
| Code | Meaning |
|---|---|
| 400 | Invalid country code or year |
| 401 | Missing or invalid API key |
| 402 | Insufficient credits |
Cost: 1 credit per request
Usage Pattern
- Use
$APIPICK_API_KEYenv var as thex-api-keyheader value; if not set, ask the user for their apipick API key - Convert a country name to ISO code if the user provides a full name (e.g. "China" →
CN, "United Kingdom" →GB) - Make the GET request with
countryand optionalyear - Present the holidays as a sorted list with dates and names
See references/api_reference.md for full response field descriptions.
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install apipick-public-holidays - After installation, invoke the skill by name or use
/apipick-public-holidays - Provide required inputs per the skill's parameter spec and get structured output
What is Get public holidays by country and year?
Query public holidays for any country and year using the apipick Public Holidays API. Supports 100+ countries identified by ISO 3166-1 alpha-2 country codes.... It is an AI Agent Skill for Claude Code / OpenClaw, with 553 downloads so far.
How do I install Get public holidays by country and year?
Run "/install apipick-public-holidays" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Get public holidays by country and year free?
Yes, Get public holidays by country and year is completely free (open-source). You can download, install and use it at no cost.
Which platforms does Get public holidays by country and year support?
Get public holidays by country and year is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Get public holidays by country and year?
It is built and maintained by javainthinking (@javainthinking); the current version is v1.0.0.