[{"date":"2026-01-01","localName":"Neujahr","name":"New Year's Day","countryCode":"AT","fixed":false,"global":true,"counties":null,"launchYear":null,"types":["Public"]},{"date":"2026-01-06","localName":"Heilige Drei Könige","name":"Epiphany","countryCode":"AT","fixed":false,"global":true,"counties":null,"launchYear":null,"types":["Public"]},{"date":"2026-03-19","localName":"Josefstag","name":"Saint Joseph's Day","countryCode":"AT","fixed":false,"global":false,"counties":["AT-2","AT-6","AT-7","AT-8"],"launchYear":null,"types":["School"]},{"date":"2026-04-05","localName":"Ostersonntag","name":"Easter Sunday","countryCode":"AT","fixed":false,"global":true,"counties":null,"launchYear":null,"types":["Public"]},{"date":"2026-04-06","localName":"Ostermontag","name":"Easter Monday","countryCode":"AT","fixed":false,"global":true,"counties":null,"launchYear":null,"types":["Public"]},{"date":"2026-05-01","localName":"Staatsfeiertag","name":"National Holiday","countryCode":"AT","fixed":false,"global":true,"counties":null,"launchYear":null,"types":["Public"]},{"date":"2026-05-04","localName":"Florianitag","name":"Saint Florian's Day","countryCode":"AT","fixed":false,"global":false,"counties":["AT-4"],"launchYear":null,"types":["School"]},{"date":"2026-05-14","localName":"Christi Himmelfahrt","name":"Ascension Day","countryCode":"AT","fixed":false,"global":true,"counties":null,"launchYear":null,"types":["Public"]},{"date":"2026-05-24","localName":"Pfingstsonntag","name":"Pentecost","countryCode":"AT","fixed":false,"global":true,"counties":null,"launchYear":null,"types":["Public"]},{"date":"2026-05-25","localName":"Pfingstmontag","name":"Whit Monday","countryCode":"AT","fixed":false,"global":true,"counties":null,"launchYear":null,"types":["Public"]},{"date":"2026-06-04","localName":"Fronleichnam","name":"Corpus Christi","countryCode":"AT","fixed":false,"global":true,"counties":null,"launchYear":null,"types":["Public"]},{"date":"2026-08-15","localName":"Maria Himmelfahrt","name":"Assumption Day","countryCode":"AT","fixed":false,"global":true,"counties":null,"launchYear":null,"types":["Public"]},{"date":"2026-09-24","localName":"Rupertitag","name":"Saint Rupert's Day","countryCode":"AT","fixed":false,"global":false,"counties":["AT-5"],"launchYear":null,"types":["School"]},{"date":"2026-10-26","localName":"Nationalfeiertag","name":"National Holiday","countryCode":"AT","fixed":false,"global":true,"counties":null,"launchYear":null,"types":["Public"]},{"date":"2026-11-01","localName":"Allerheiligen","name":"All Saints' Day","countryCode":"AT","fixed":false,"global":true,"counties":null,"launchYear":null,"types":["Public"]},{"date":"2026-11-11","localName":"Martinstag","name":"Saint Martin's Day","countryCode":"AT","fixed":false,"global":false,"counties":["AT-1"],"launchYear":null,"types":["School"]},{"date":"2026-11-15","localName":"Leopolditag","name":"Saint Leopold's Day","countryCode":"AT","fixed":false,"global":false,"counties":["AT-3","AT-9"],"launchYear":null,"types":["School"]},{"date":"2026-12-08","localName":"Mariä Empfängnis","name":"Immaculate Conception","countryCode":"AT","fixed":false,"global":true,"counties":null,"launchYear":null,"types":["Public"]},{"date":"2026-12-25","localName":"Weihnachten","name":"Christmas Day","countryCode":"AT","fixed":false,"global":true,"counties":null,"launchYear":null,"types":["Public"]},{"date":"2026-12-26","localName":"Stefanitag","name":"St. Stephen's Day","countryCode":"AT","fixed":false,"global":true,"counties":null,"launchYear":null,"types":["Public"]}]
curl --location --request GET 'https://zylalabs.com/api/12782/holiday+calendar+api/25075/holidays&year=Required&/=Required&country_code=Required' --header 'Authorization: Bearer YOUR_API_KEY'
注册后,每个开发者都会被分配一个个人 API 访问密钥,这是一个唯一的字母和数字组合,用于访问我们的 API 端点。要使用 假期日历 API 进行身份验证,只需在 Authorization 标头中包含您的 bearer token。
| 标头 | 描述 |
|---|---|
授权
|
必需
应为 Bearer access_key. 订阅后,请查看上方的"您的 API 访问密钥"。
|
无长期承诺。随时升级、降级或取消。 免费试用包括最多 50 个请求。
(年度计费可节省 2 个月 🎉)
假期日历 API 返回关于公共假期的结构化数据,包括假期日期、本地名称、英文名称、国家代码、假期类型、地区适用性和其他元数据
响应中的关键字段包括“日期”(节假日日期)“本地名称”(本地语言的节假日名称)“名称”(英文名称)“国家代码”(ISO代码)“类型”(节假日分类)和“县”(区域适用性)
GET假期端点需要两个参数:“year”(请求假期的特定年份)和“countryCode”(国家的ISO代码)
响应数据被组织为一个 JSON 数组,每个对象代表一个假期,具有结构化字段,使其易于解析和集成到应用程序中
典型的使用案例包括将假期数据集成到日历应用程序、调度系统、员工管理平台和旅行预订系统中,以确保对公共假期的认识
数据准确性通过定期从官方政府来源更新和遵循标准假日定义来保持,确保用户获得可靠的信息
该API提供假期日期、本地和英文名称、假期类型(例如,公共假期、学校假期)及区域适用性的信息,使用户能够理解假期的重要性和覆盖范围
用户可以通过将返回的数据集成到他们的应用程序中来显示假期信息 管理日程冲突或通知用户与他们的位置相关的即将到来的假期