services / holidays
dataoperational · 30 ms
Public Holidays
Public and bank holidays for 200+ countries and their regions (states, cantons) for any year, with local names. Optionally check whether a given date is a holiday. Params: country (ISO 3166-1 alpha-2, required, e.g. DE, US, CH, JP), region (e.g. BY, CA, ZH), year (default current), date (YYYY-MM-DD to check), language (e.g. en), include_observances (default false).
Run free trial ↗3 free calls per day with the example input. Paid: $0.002 USDC, no limit.
Call it
Input
| Field | Type | Description |
|---|---|---|
| country * | string | ISO 3166-1 alpha-2 country code |
| region | string | State/region code, e.g. BY, CA, ZH |
| year | integer | |
| date | string | YYYY-MM-DD to check |
| language | string | Language for holiday names, e.g. en |
| include_observances | boolean = false |
Output
| Field | Type | Description |
|---|---|---|
| country | string | |
| region | string | |
| year | integer | |
| count | integer | |
| holidays | array | |
| date_check | object |
Example response (data)
{
"country": "DE",
"region": "BY",
"year": 2026,
"count": 14,
"holidays": [
{
"date": "2026-01-01",
"name": "Neujahr",
"type": "public",
"substitute": false
},
{
"date": "2026-01-06",
"name": "Heilige Drei Könige",
"type": "public",
"substitute": false
}
],
"date_check": {
"date": "2026-10-03",
"is_holiday": true,
"name": "Tag der Deutschen Einheit",
"weekday": "Saturday"
}
}