---
title: "节假日 API | Narwhal API"
description: "通过 REST 或 MCP 按国家和年份获取节假日。按国家和区域范围查询某个日期或查找下一个假日。"
url: "https://narwhalapi.com/zh/api/calendars/holidays"
---

所有 API

# 节假日 API

Public Holidays API 返回 91 个国家的官方公共假日，数据取自各国政府自己的法令、公报或开放数据文件。每一天都会标明适用于全国还是某个地区，银行日、政府日和集体休假日分开标注。

[获取免费 API 密钥](https://narwhalapi.com/zh/signup)
[阅读文档 →](https://narwhalapi.com/zh/docs/api/calendars.md)

## 首次请求

### 查找下一个假日

```
curl --request GET \
  --url "https://api.narwhalapi.com/v1/calendars/holidays/IDN/next?from_date=2026-11-01" \
  --header "Authorization: Bearer $NARWHAL_API_KEY"
```

### 获取印度尼西亚 2027 年的节假日

```
curl --request GET \
  --url "https://api.narwhalapi.com/v1/calendars/holidays/IDN/2027" \
  --header "Authorization: Bearer $NARWHAL_API_KEY"
```

响应示例

```
{
  "country": "IDN",
  "coverage": [
    {
      "scope": "collective_leave",
      "subdivision_codes": []
    },
    {
      "scope": "national_public",
      "subdivision_codes": []
    }
  ],
  "holidays": [
    {
      "date": "2027-01-01",
      "name": "New Year’s Day",
      "holiday_key": "new_years_day",
      "local_name": "Tahun Baru 2027 Masehi",
      "scope": "national_public",
      "subdivision_codes": []
    },
    {
      "date": "2027-01-05",
      "name": "Isra and Mi’raj",
      "holiday_key": "isra_and_miraj",
      "local_name": "Isra Mikraj Nabi Muhammad S.A.W. 1448 Hijriah",
      "scope": "national_public",
      "subdivision_codes": []
    },
    {
      "date": "2027-02-05",
      "name": "Chinese New Year collective leave",
      "holiday_key": "lunar_new_year",
      "local_name": "Cuti Bersama Tahun Baru Imlek 2578 Kongzili",
      "scope": "collective_leave",
      "subdivision_codes": []
    }
  ]
}
```

### 日历订阅

```
curl --request POST \
  --url "https://api.narwhalapi.com/v1/calendars/subscriptions" \
  --header "Authorization: Bearer $NARWHAL_API_KEY" \
  --header "Content-Type: application/json" \
  --data '{"countries":["IDN"],"start_date":"2027-01-01","end_date":"2027-12-31","include_releases":false}'
```

## 端点

GET 列出已发布年份的假日`/v1/calendars/holidays/{country}/{year}`

返回某个国家某一年的所有假日，按日期排序。可用来填充日历或规划一整年的排班。

#### 参数

- `country` 必填 三字母国家代码，如 IDN 或 JPN。
- `year` 必填 已发布的年份，如 2026。
- `scope` 可选 只取一种类型的日子：national_public、regional_public、bank、collective_leave 等。省略则返回所有类型。

#### 列表中的每个假日

- `date` 日期 假日的当地日历日期。
- `name` 字符串 假日的英文名称。
- `holiday_key` 字符串 同一个假日在每个国家都使用同一个键，如 christmas_day。
- `local_name` 字符串 政府公布时的当地语言名称。
- `scope` 字符串 日子的类型，如 national_public、bank 或 collective_leave。
- `subdivision_codes` 数组 适用的地区，如 GB-SCT。为空表示全国。

---

[完整参考文档 →](https://narwhalapi.com/zh/docs/api/calendars/holidays.md)

GET 查询某一天的假日`/v1/calendars/holidays/{country}/on/{date}`

返回某一天的所有假日。列表为空表示普通日子。在安排付款或送货之前使用。

#### 参数

- `country` 必填 三字母国家代码，如 IDN 或 JPN。
- `date` 必填 要查询的日期，格式为 YYYY-MM-DD。
- `scope` 可选 只取一种类型的日子：national_public、regional_public、bank、collective_leave 等。省略则返回所有类型。

#### 列表中的每个假日

- `date` 日期 假日的当地日历日期。
- `name` 字符串 假日的英文名称。
- `holiday_key` 字符串 同一个假日在每个国家都使用同一个键，如 christmas_day。
- `local_name` 字符串 政府公布时的当地语言名称。
- `scope` 字符串 日子的类型，如 national_public、bank 或 collective_leave。
- `subdivision_codes` 数组 适用的地区，如 GB-SCT。为空表示全国。

---

[完整参考文档 →](https://narwhalapi.com/zh/docs/api/calendars/on-date.md)

GET 查找下一个假日`/v1/calendars/holidays/{country}/next`

返回指定日期当天或之后的第一个假日。可用于倒计时或“下周休息”的提示。

#### 参数

- `country` 必填 三字母国家代码，如 IDN 或 JPN。
- `from_date` 必填 从这一天开始，格式为 YYYY-MM-DD。当天也计入。
- `scope` 可选 只取一种类型的日子：national_public、regional_public、bank、collective_leave 等。省略则返回所有类型。

#### 假日

- `date` 日期 假日的当地日历日期。
- `name` 字符串 假日的英文名称。
- `holiday_key` 字符串 同一个假日在每个国家都使用同一个键，如 christmas_day。
- `local_name` 字符串 政府公布时的当地语言名称。
- `scope` 字符串 日子的类型，如 national_public、bank 或 collective_leave。
- `subdivision_codes` 数组 适用的地区，如 GB-SCT。为空表示全国。

---

[完整参考文档 →](https://narwhalapi.com/zh/docs/api/calendars/next-holiday.md)

## 在线试用

GET https://api.narwhalapi.com/v1/calendars/holidays/IDN/next?from_date=2026-11-01

```
{
  "country": "IDN",
  "coverage": [
    {"scope": "collective_leave", "subdivision_codes": []},
    {"scope": "national_public", "subdivision_codes": []}
  ],
  "holiday": {
    "date": "2026-12-24",
    "name": "Christmas collective leave",
    "holiday_key": "christmas_day",
    "local_name": "Cuti Bersama Kelahiran Yesus Kristus",
    "scope": "collective_leave",
    "subdivision_codes": []
  }
}
```

## 使用场景

### 薪资与休假

统计一个工资周期或一次请假中的工作日。

[阅读指南 →](https://narwhalapi.com/zh/how-to/count-business-days-between-two-dates.md)

### 到期日与交付

在订单或发票日期上加上工作日，并跳过假日。

[阅读指南 →](https://narwhalapi.com/zh/how-to/add-business-days-to-a-date.md)

### 交易结算

算出跨越周末和假日的 T+1、T+2 日期。

[阅读指南 →](https://narwhalapi.com/zh/how-to/calculate-t1-t2-settlement-date.md)

### 分布在多个国家的团队

在安排发布或会议之前，先看各办公室哪几天休息。

[阅读指南 →](https://narwhalapi.com/zh/how-to/list-public-holidays-for-several-countries.md)

### 在你的应用中检查假日

缓存一整年的假日，无需每次请求都调用就能检查任何日期。

[阅读指南 →](https://narwhalapi.com/zh/how-to/add-a-holiday-check-to-your-code.md)

### 这一天是假日吗？

查询某一天是或不是，并处理地区假日和调休日。

[阅读指南 →](https://narwhalapi.com/zh/how-to/check-if-a-date-is-a-public-holiday.md)

## 覆盖范围

- 阿尔巴尼亚[2026](https://narwhalapi.com/zh/docs/api/calendars.md#coverage)
[2027](https://narwhalapi.com/zh/docs/api/calendars.md#coverage)
- Andorra[2026](https://narwhalapi.com/zh/docs/api/calendars.md#coverage)
[2027](https://narwhalapi.com/zh/docs/api/calendars.md#coverage)
- 阿根廷[2026](https://narwhalapi.com/zh/guides/calendars/argentina-public-holidays-2026.md)2027
- Aruba[2026](https://narwhalapi.com/zh/docs/api/calendars.md#coverage)2027
- 澳大利亚[2026](https://narwhalapi.com/zh/docs/api/calendars.md#coverage)
[2027](https://narwhalapi.com/zh/guides/calendars/australia-public-holidays-2027.md)
- 奥地利[2026](https://narwhalapi.com/zh/guides/calendars/austria-public-holidays-2026.md)
[2027](https://narwhalapi.com/zh/guides/calendars/austria-public-holidays-2027.md)
- Bahamas[2026](https://narwhalapi.com/zh/docs/api/calendars.md#coverage)2027
- 巴林[2026](https://narwhalapi.com/zh/docs/api/calendars.md#coverage)2027
- Barbados[2026](https://narwhalapi.com/zh/docs/api/calendars.md#coverage)2027
- 白俄罗斯[2026](https://narwhalapi.com/zh/docs/api/calendars.md#coverage)2027
- 比利时[2026](https://narwhalapi.com/zh/guides/calendars/belgium-public-holidays-2026.md)
[2027](https://narwhalapi.com/zh/guides/calendars/belgium-public-holidays-2027.md)
- Belize[2026](https://narwhalapi.com/zh/docs/api/calendars.md#coverage)
[2027](https://narwhalapi.com/zh/docs/api/calendars.md#coverage)

显示全部 91 个国家

- Bermuda[2026](https://narwhalapi.com/zh/docs/api/calendars.md#coverage)
[2027](https://narwhalapi.com/zh/docs/api/calendars.md#coverage)
- 巴西[2026](https://narwhalapi.com/zh/guides/calendars/brazil-public-holidays-2026.md)2027
- British Virgin Islands[2026](https://narwhalapi.com/zh/docs/api/calendars.md#coverage)
[2027](https://narwhalapi.com/zh/docs/api/calendars.md#coverage)
- Brunei[2026](https://narwhalapi.com/zh/docs/api/calendars.md#coverage)
[2027](https://narwhalapi.com/zh/docs/api/calendars.md#coverage)
- 保加利亚[2026](https://narwhalapi.com/zh/docs/api/calendars.md#coverage)2027
- Cambodia[2026](https://narwhalapi.com/zh/docs/api/calendars.md#coverage)2027
- 加拿大[2026](https://narwhalapi.com/zh/guides/calendars/canada-public-holidays-2026.md)
[2027](https://narwhalapi.com/zh/guides/calendars/canada-public-holidays-2027.md)
- Cayman Islands[2026](https://narwhalapi.com/zh/docs/api/calendars.md#coverage)2027
- 智利[2026](https://narwhalapi.com/zh/docs/api/calendars.md#coverage)2027
- 中国[2026](https://narwhalapi.com/zh/guides/calendars/china-public-holidays-2026.md)
[2027](https://narwhalapi.com/zh/docs/api/calendars.md#coverage)
- 哥伦比亚[2026](https://narwhalapi.com/zh/guides/calendars/colombia-public-holidays-2026.md)
[2027](https://narwhalapi.com/zh/guides/calendars/colombia-public-holidays-2027.md)
- 哥斯达黎加[2026](https://narwhalapi.com/zh/docs/api/calendars.md#coverage)2027
- 克罗地亚[2026](https://narwhalapi.com/zh/guides/calendars/croatia-public-holidays-2026.md)
[2027](https://narwhalapi.com/zh/guides/calendars/croatia-public-holidays-2027.md)
- 塞浦路斯[2026](https://narwhalapi.com/zh/docs/api/calendars.md#coverage)
[2027](https://narwhalapi.com/zh/docs/api/calendars.md#coverage)
- 捷克[2026](https://narwhalapi.com/zh/guides/calendars/czechia-public-holidays-2026.md)
[2027](https://narwhalapi.com/zh/guides/calendars/czechia-public-holidays-2027.md)
- 丹麦[2026](https://narwhalapi.com/zh/guides/calendars/denmark-bank-holidays-2026.md)
[2027](https://narwhalapi.com/zh/guides/calendars/denmark-bank-holidays-2027.md)
- 多米尼加共和国[2026](https://narwhalapi.com/zh/docs/api/calendars.md#coverage)
[2027](https://narwhalapi.com/zh/docs/api/calendars.md#coverage)
- 萨尔瓦多[2026](https://narwhalapi.com/zh/docs/api/calendars.md#coverage)
[2027](https://narwhalapi.com/zh/docs/api/calendars.md#coverage)
- 爱沙尼亚[2026](https://narwhalapi.com/zh/guides/calendars/estonia-public-holidays-2026.md)
[2027](https://narwhalapi.com/zh/guides/calendars/estonia-public-holidays-2027.md)
- 芬兰[2026](https://narwhalapi.com/zh/docs/api/calendars.md#coverage)
[2027](https://narwhalapi.com/zh/docs/api/calendars.md#coverage)
- 法国[2026](https://narwhalapi.com/zh/guides/calendars/france-public-holidays-2026.md)
[2027](https://narwhalapi.com/zh/guides/calendars/france-public-holidays-2027.md)
- 德国[2026](https://narwhalapi.com/zh/guides/calendars/germany-public-holidays-2026.md)
[2027](https://narwhalapi.com/zh/guides/calendars/germany-public-holidays-2027.md)
- Gibraltar[2026](https://narwhalapi.com/zh/docs/api/calendars.md#coverage)2027
- 希腊[2026](https://narwhalapi.com/zh/docs/api/calendars.md#coverage)2027
- Grenada[2026](https://narwhalapi.com/zh/docs/api/calendars.md#coverage)2027
- Guam[2026](https://narwhalapi.com/zh/docs/api/calendars.md#coverage)2027
- 香港[2026](https://narwhalapi.com/zh/guides/calendars/hong-kong-public-holidays-2026.md)
[2027](https://narwhalapi.com/zh/guides/calendars/hong-kong-public-holidays-2027.md)
- 匈牙利[2026](https://narwhalapi.com/zh/docs/api/calendars.md#coverage)2027
- 印度[2026](https://narwhalapi.com/zh/docs/api/calendars.md#coverage)
[2027](https://narwhalapi.com/zh/docs/api/calendars.md#coverage)
- 印度尼西亚[2026](https://narwhalapi.com/zh/guides/calendars/indonesia-public-holidays-2026.md)
[2027](https://narwhalapi.com/zh/guides/calendars/indonesia-public-holidays-2027.md)
- 爱尔兰[2026](https://narwhalapi.com/zh/guides/calendars/ireland-public-holidays-2026.md)
[2027](https://narwhalapi.com/zh/guides/calendars/ireland-public-holidays-2027.md)
- Isle of Man[2026](https://narwhalapi.com/zh/docs/api/calendars.md#coverage)2027
- 以色列[2026](https://narwhalapi.com/zh/docs/api/calendars.md#coverage)
[2027](https://narwhalapi.com/zh/docs/api/calendars.md#coverage)
- 意大利[2026](https://narwhalapi.com/zh/guides/calendars/italy-public-holidays-2026.md)
[2027](https://narwhalapi.com/zh/guides/calendars/italy-public-holidays-2027.md)
- 日本[2026](https://narwhalapi.com/zh/guides/calendars/japan-public-holidays-2026.md)
[2027](https://narwhalapi.com/zh/guides/calendars/japan-public-holidays-2027.md)
- Kiribati[2026](https://narwhalapi.com/zh/docs/api/calendars.md#coverage)2027
- 拉脱维亚[2026](https://narwhalapi.com/zh/guides/calendars/latvia-public-holidays-2026.md)
[2027](https://narwhalapi.com/zh/guides/calendars/latvia-public-holidays-2027.md)
- 立陶宛[2026](https://narwhalapi.com/zh/guides/calendars/lithuania-public-holidays-2026.md)
[2027](https://narwhalapi.com/zh/guides/calendars/lithuania-public-holidays-2027.md)
- 卢森堡[2026](https://narwhalapi.com/zh/guides/calendars/luxembourg-public-holidays-2026.md)
[2027](https://narwhalapi.com/zh/guides/calendars/luxembourg-public-holidays-2027.md)
- 澳门[2026](https://narwhalapi.com/zh/docs/api/calendars.md#coverage)
[2027](https://narwhalapi.com/zh/docs/api/calendars.md#coverage)
- 马来西亚[2026](https://narwhalapi.com/zh/docs/api/calendars.md#coverage)2027
- 马耳他[2026](https://narwhalapi.com/zh/docs/api/calendars.md#coverage)
[2027](https://narwhalapi.com/zh/docs/api/calendars.md#coverage)
- Marshall Islands[2026](https://narwhalapi.com/zh/docs/api/calendars.md#coverage)
[2027](https://narwhalapi.com/zh/docs/api/calendars.md#coverage)
- 毛里求斯[2026](https://narwhalapi.com/zh/docs/api/calendars.md#coverage)
[2027](https://narwhalapi.com/zh/docs/api/calendars.md#coverage)
- 墨西哥[2026](https://narwhalapi.com/zh/guides/calendars/mexico-public-holidays-2026.md)
[2027](https://narwhalapi.com/zh/guides/calendars/mexico-public-holidays-2027.md)
- Monaco[2026](https://narwhalapi.com/zh/docs/api/calendars.md#coverage)
[2027](https://narwhalapi.com/zh/docs/api/calendars.md#coverage)
- 黑山[2026](https://narwhalapi.com/zh/docs/api/calendars.md#coverage)2027
- 荷兰[2026](https://narwhalapi.com/zh/guides/calendars/netherlands-public-holidays-2026.md)
[2027](https://narwhalapi.com/zh/guides/calendars/netherlands-public-holidays-2027.md)
- 新西兰[2026](https://narwhalapi.com/zh/guides/calendars/new-zealand-public-holidays-2026.md)
[2027](https://narwhalapi.com/zh/guides/calendars/new-zealand-public-holidays-2027.md)
- Northern Mariana Islands[2026](https://narwhalapi.com/zh/docs/api/calendars.md#coverage)2027
- 挪威[2026](https://narwhalapi.com/zh/guides/calendars/norway-bank-holidays-2026.md)2027
- 巴基斯坦[2026](https://narwhalapi.com/zh/docs/api/calendars.md#coverage)2027
- 波兰[2026](https://narwhalapi.com/zh/guides/calendars/poland-public-holidays-2026.md)
[2027](https://narwhalapi.com/zh/guides/calendars/poland-public-holidays-2027.md)
- 葡萄牙[2026](https://narwhalapi.com/zh/guides/calendars/portugal-public-holidays-2026.md)
[2027](https://narwhalapi.com/zh/guides/calendars/portugal-public-holidays-2027.md)
- Puerto Rico[2026](https://narwhalapi.com/zh/docs/api/calendars.md#coverage)2027
- 罗马尼亚[2026](https://narwhalapi.com/zh/docs/api/calendars.md#coverage)2027
- 沙特阿拉伯[2026](https://narwhalapi.com/zh/docs/api/calendars.md#coverage)
[2027](https://narwhalapi.com/zh/docs/api/calendars.md#coverage)
- 塞尔维亚[2026](https://narwhalapi.com/zh/docs/api/calendars.md#coverage)2027
- 塞舌尔[2026](https://narwhalapi.com/zh/docs/api/calendars.md#coverage)2027
- 新加坡[2026](https://narwhalapi.com/zh/guides/calendars/singapore-public-holidays-2026.md)
[2027](https://narwhalapi.com/zh/guides/calendars/singapore-public-holidays-2027.md)
- 斯洛伐克[2026](https://narwhalapi.com/zh/guides/calendars/slovakia-public-holidays-2026.md)
[2027](https://narwhalapi.com/zh/guides/calendars/slovakia-public-holidays-2027.md)
- 斯洛文尼亚[2026](https://narwhalapi.com/zh/guides/calendars/slovenia-public-holidays-2026.md)
[2027](https://narwhalapi.com/zh/guides/calendars/slovenia-public-holidays-2027.md)
- Solomon Islands[2026](https://narwhalapi.com/zh/docs/api/calendars.md#coverage)2027
- 南非[2026](https://narwhalapi.com/zh/guides/calendars/south-africa-public-holidays-2026.md)
[2027](https://narwhalapi.com/zh/guides/calendars/south-africa-public-holidays-2027.md)
- 韩国[2026](https://narwhalapi.com/zh/docs/api/calendars.md#coverage)
[2027](https://narwhalapi.com/zh/docs/api/calendars.md#coverage)
- 西班牙[2026](https://narwhalapi.com/zh/guides/calendars/spain-public-holidays-2026.md)
[2027](https://narwhalapi.com/zh/docs/api/calendars.md#coverage)
- 斯里兰卡[2027](https://narwhalapi.com/zh/docs/api/calendars.md#coverage)
- St. Vincent & Grenadines[2026](https://narwhalapi.com/zh/docs/api/calendars.md#coverage)2027
- 瑞典[2026](https://narwhalapi.com/zh/guides/calendars/sweden-public-holidays-2026.md)
[2027](https://narwhalapi.com/zh/guides/calendars/sweden-public-holidays-2027.md)
- 瑞士[2026](https://narwhalapi.com/zh/docs/api/calendars.md#coverage)
[2027](https://narwhalapi.com/zh/docs/api/calendars.md#coverage)
- 台湾[2026](https://narwhalapi.com/zh/guides/calendars/taiwan-public-holidays-2026.md)
[2027](https://narwhalapi.com/zh/guides/calendars/taiwan-public-holidays-2027.md)
- 泰国[2026](https://narwhalapi.com/zh/docs/api/calendars.md#coverage)
[2027](https://narwhalapi.com/zh/docs/api/calendars.md#coverage)
- Tonga[2026](https://narwhalapi.com/zh/docs/api/calendars.md#coverage)2027
- 土耳其[2026](https://narwhalapi.com/zh/docs/api/calendars.md#coverage)
[2027](https://narwhalapi.com/zh/docs/api/calendars.md#coverage)
- 英国[2026](https://narwhalapi.com/zh/guides/calendars/uk-bank-holidays-2026.md)
[2027](https://narwhalapi.com/zh/guides/calendars/uk-bank-holidays-2027.md)
- 美国[2026](https://narwhalapi.com/zh/guides/calendars/us-federal-holidays-2026.md)
[2027](https://narwhalapi.com/zh/guides/calendars/us-federal-holidays-2027.md)
- 乌兹别克斯坦[2026](https://narwhalapi.com/zh/docs/api/calendars.md#coverage)2027
- Vanuatu[2026](https://narwhalapi.com/zh/docs/api/calendars.md#coverage)2027
- Venezuela[2026](https://narwhalapi.com/zh/docs/api/calendars.md#coverage)2027

## 来源

- 阿尔巴尼亚[Bank of Albania](https://www.bankofalbania.org/Shtypi/Kalendari_i_festave_zyrtare_per_vitin_2027/)
- Andorra[Andorra Govern, BOPA: Decrets 340/2025 and 414/2026 (calendari laboral 2026 and 2027)](https://documents.bopa.ad/bopa-documents/038122/html/GD_2026_10_22_10_29_53.html)
- 阿根廷[Argentina.gob.ar（阿根廷政府）](https://www.argentina.gob.ar/sites/default/files/holidays-2026-es.json)
- Aruba[Aruba Directie Arbeid en Onderzoek: Calendario 2026, official holidays and commemoration days (PDF)](https://cuatro.sim-cdn.nl/arubaoverheid2858bd/uploads/kalender-officiele-feestdagen-2026-Ned-Pap-versies.pdf?cb=8NHx1aVw)
- 澳大利亚[新南威尔士州政府](https://www.nsw.gov.au/about-nsw/public-holidays)
- 奥地利[奥地利《Feiertagsruhegesetz 1957》第 1 条](https://ogd.ris.bka.gv.at/Dokumente/Bundesnormen/NOR40213432/NOR40213432.xml)
- Bahamas[Cabinet Office, The Bahamas](https://cdn.bahamas.gov.bs/tenant/tenanttgotb/webp/Public-Holidays-2026-20260105101021.webp)
- 巴林[Central Bank of Bahrain](https://www.cbb.gov.bh/official-bank-holidays/)
- Barbados[Barbados Ministry of Labour: Public Holidays for the Year 2026](https://labour.gov.bb/wp-content/uploads/2026/04/Public-Holidays-for-the-Year-2026.pdf)
- 白俄罗斯[Press Service of the President of Belarus](https://president.gov.by/ru/gosudarstvo/prazdniki/kalendar-2026)
- 比利时[比利时 1974 年 4 月 18 日皇家法令第 1 条](https://www.ejustice.just.fgov.be/eli/arrete/1974/04/18/1974041801/justel)
- Belize[Government of Belize Press Office, Public and Bank Holidays 2026 (PR#218-25) and 2027 (PR#271-26)](https://www.pressoffice.gov.bz/wp-content/uploads/2025/11/Nov-6-PR218-25-Public-and-Bank-Holidays-2026.pdf)

显示全部 91 个来源

- Bermuda[Government of Bermuda: Public holidays 2026-2029 (Public Holidays Act 1947)](https://www.gov.bm/articles/public-holidays)
- 巴西[巴西联邦政府官方日程](https://legis.sigepe.gov.br/sigepe-bgp-ws-legis/legis-service/download/?id=0026440285-ALPDF%2F2025)
- British Virgin Islands[Government of the Virgin Islands, Office of the Deputy Governor: 2026 and 2027 public holidays press releases](https://gov.vg/sites/default/files/2025-11/press_release_cabinet_approves_2026_public_holidays.pdf)
- Brunei[Prime Minister's Office, Brunei Darussalam](https://www.pmo.gov.bn/wp-content/uploads/2025/10/jpmsk04-2025.pdf)
- 保加利亚[欧盟官方公报 C/2025/6771](https://publications.europa.eu/resource/cellar/0185073e-defe-11f0-8439-01aa75ed71a1.0006.03/DOC_1)
- Cambodia[National Bank of Cambodia](https://nbc.gov.kh/en/news/public-holiday)
- 加拿大[加拿大政府](https://laws-lois.justice.gc.ca/eng/acts/L-2/page-23.html)
- Cayman Islands[Cayman Islands Government press release: Cayman Islands 2026 Public Holidays](https://gov.ky/w/cayman-islands-2026-public-holidays)
- 智利[Gobierno de Chile (gob.cl)](https://www.gob.cl/noticias/feriados-2026-revisa-cuantos-habra-y-cuales-son-irrenunciables/)
- 中国[State Council official notices: 2026 holiday arrangements and 2027 holiday arrangements (国办发明电〔2026〕10号)](https://www.gov.cn/zhengce/zhengceku/202511/content_7047091.htm)
- 哥伦比亚[哥伦比亚 1983 年第 51 号法律第 1 条](https://www.funcionpublica.gov.co/eva/gestornormativo/norma.php?i=4954)
- 哥斯达黎加[Costa Rica Ministry of Labour and Social Security](https://www.mtss.go.cr/temas-laborales/feriados/feriados_calendario_2026.pdf)
- 克罗地亚[克罗地亚节假日法](https://www.azoo.hr/app/uploads/uvezeno/datoteke/dokumenti/Zakon_o_blagdanima%2C_spomendanima_i_neradnim_danima_u_Republici_Hrvatskoj.pdf)
- 塞浦路斯[塞浦路斯中央银行](https://www.centralbank.cy/images/media/pdf/Bank-Holidays-English-2026.pdf)
- 捷克[捷克第245/2000号法律（Coll.）](https://www.psp.cz/sqw/text/sbirka.sqw?cz=245&r=2000)
- 丹麦[Danmarks Nationalbank 停业日](https://www.nationalbanken.dk/en/what-we-do/stable-prices-monetary-policy-and-the-danish-economy/bank-holidays)
- 多米尼加共和国[Dominican Republic Ministry of Labour](https://mt.gob.do/wp-content/uploads/2026/11/dias-feriados-2027.pdf)
- 萨尔瓦多[Banco Central de Reserva de El Salvador](https://www.bcr.gob.sv/2026/03/24/calendario-de-cierre-bancario-2026/)
- 爱沙尼亚[爱沙尼亚公共假日和国家重要日法](https://www.riigiteataja.ee/public-api/api/v1/en/akt/527122022003/blob-html)
- 芬兰[来源：Bank of Finland](https://www.suomenpankki.fi/en/money-and-payments/bank-holidays/)
- 法国[Etalab / calendrier.api.gouv.fr（法国）](https://calendrier.api.gouv.fr/jours-feries/)
- 德国[德国联邦银行](https://www.bundesbank.de/resource/blob/764518/84d26dc9e3e0cc1e6e3042290df060ff/472B63F073F071307366337C94F8C870/feiertage-in-deutschland-1-data.pdf)
- Gibraltar[Gibraltar Bank and Public Holidays Order 2025 (LN.2025/247), schedule for 2026](https://www.gibraltarlaws.gov.gi/legislations/bank-and-public-holidays-order-2025-7796)
- 希腊[欧盟官方公报 C/2025/6771](https://publications.europa.eu/resource/cellar/0185073e-defe-11f0-8439-01aa75ed71a1.0006.03/DOC_1)
- Grenada[Government of Grenada, Cabinet Office: Grenada's Public Holidays - 2026](https://www.gov.gd/documents/public-holidays-2026/viewdocument/2024)
- Guam[Guam Dept of Revenue and Taxation, Government of Guam Holidays 2026](https://www.guamtax.com/help/holidays.html)
- 香港[香港政府](https://data.gov.hk/en-data/dataset/hk-dpo-statistic-cal)
- 匈牙利[欧盟官方公报 C/2025/6771](https://publications.europa.eu/resource/cellar/0185073e-defe-11f0-8439-01aa75ed71a1.0006.03/DOC_1)
- 印度[Government of India, Department of Personnel and Training](https://d1jmc0u14z2tmp.cloudfront.net/uploads/media/List-of-holidays-2026-068c3d9c81ac436-66478910.pdf)
- 印度尼西亚[印度尼西亚三部长联合决定](https://jdih.kemenkoinfra.go.id/cfind/source/files/skb-libur-nasional-dan-cuti-bersama-tahun-2026.pdf)
- 爱尔兰[爱尔兰法规数据库](https://www.irishstatutebook.ie/eli/1997/act/20/enacted/en/pdf)
- Isle of Man[Isle of Man Government: Bank holidays 2026](https://www.gov.im/categories/home-and-neighbourhood/bank-holidays)
- 以色列[以色列银行](https://www.boi.org.il/media/w1nof4vx/markets-department-business-days-for-2027.pdf)
- 意大利[意大利官方公报（Gazzetta Ufficiale）](https://www.gazzettaufficiale.it/eli/gu/1949/05/31/124/sg/pdf)
- 日本[日本政府内阁府](https://www8.cao.go.jp/chosei/shukujitsu/syukujitsu.csv)
- Kiribati[Kiribati Public Service Office, National Public Holidays for 2026 (picture PDF)](https://www.pso.gov.ki/wp-content/uploads/2025/12/Public-Holidays-for-2026.pdf)
- 拉脱维亚[拉脱维亚公共假日法](https://likumi.lv/ta/en/en/id/72608)
- 立陶宛[立陶宛共和国劳动法](https://e-seimas.lrs.lt/rs/legalact/TAD/6eea48d294ea11eea70ce7cabd08f150/)
- 卢森堡[卢森堡《劳动法》第 L.232-2 条](https://data.legilux.public.lu/filestore/eli/etat/leg/loi/2019/04/25/a271/jo/fr/html/eli-etat-leg-loi-2019-04-25-a271-jo-fr-html.html)
- 澳门[Macao SAR Government Portal](https://www.gov.mo/en/public-holidays/year-2027/)
- 马来西亚[马来西亚国家银行](https://www.bnm.gov.my/upcoming-events/-/tag/events-2026)
- 马耳他[马耳他国家假日和其他公共假日法(第 252 章)](https://legislation.mt/getpdf/6045db8471043016743df577)
- Marshall Islands[RMI Public Service Commission: Official Holiday Memos, 2026 and 2027 calendars](https://www.pscrmi.net/rmi-holiday-memos)
- 毛里求斯[Prime Minister's Office, Mauritius](https://pmo.govmu.org/Communique/GN_No._611-Amendment_to_Public_Holidays_2026.pdf)
- 墨西哥[PROFEDET](https://www.gob.mx/profedet/articulos/sabes-cuales-son-los-dias-de-descanso-obligatorio-para-este-2026?idiom=es)
- Monaco[Prince's Government of Monaco, MonServicePublic: Public Holidays 2026; Journal de Monaco No. 8822, Circulaire n° 2026-12 (2027)](https://monservicepublic.gouv.mc/en/themes/employment/employees/leave-and-leave-sharing/public-holidays)
- 黑山[Central Bank of Montenegro](https://www.cbcg.me/me/javnost-rada/informacije/radni-dani)
- 荷兰[Government.nl](https://www.government.nl/documents/question-and-answer/work/public-holidays-in-the-netherlands)
- 新西兰[新西兰政府](https://www.govt.nz/browse/work-and-tax/public-holidays-and-work/dates-for-public-holidays-and-anniversary-days/)
- Northern Mariana Islands[CNMI Office of the Governor memorandum GOV2025-302: 2026 Legal Holidays (hosted by Office of Personnel Management)](https://opm.cnmi.gov/assets/docs/legal-holidays--2026.pdf)
- 挪威[Norges Bank 结算系统关闭日](https://www.norges-bank.no/en/topics/Norges-Banks-settlement-system/Settlement-days/)
- 巴基斯坦[巴基斯坦内阁司](https://cabinet.gov.pk/SiteImage/Misc/files/Holidays/2026/Public-Holidays-2026.pdf)
- 波兰[波兰休息日法](https://eli.gov.pl/api/acts/DU/2025/296/text/O/D20250296.pdf)
- 葡萄牙[Diário da República 葡萄牙法定节假日](https://files.diariodarepublica.pt/gratuitos/1s/2016/04/06400.pdf)
- Puerto Rico[OATRH, Puerto Rico](https://docs.pr.gov/files/OATRH/ServiciosProgramas/Area_Asesoramiento_Legal/Division_Asuntos_Legales_Legislativos/Comunicacoines%20Numeradas/2025/ME%2014-2025.pdf)
- 罗马尼亚[欧盟官方公报 C/2025/6771](https://publications.europa.eu/resource/cellar/0185073e-defe-11f0-8439-01aa75ed71a1.0006.03/DOC_1)
- 沙特阿拉伯[Saudi Central Bank (SAMA)](https://sama.gov.sa/en-US/Supervision/pages/holidayschedules.aspx)
- 塞尔维亚[塞尔维亚国家银行](https://www.nbs.rs/sr/o_nbs/radno-vreme-i-neradni-dani/index.html)
- 塞舌尔[Central Bank of Seychelles, Public Holidays 2026; S.I. 2 of 2026 Public Holiday Order](https://www.cbs.sc/PublicHolidays.html)
- 新加坡[人力部（经由 data.gov.sg）](https://data.gov.sg/datasets/d_0ba69fc6d56717ff0bf8083c6af3bb84/view/)
- 斯洛伐克[斯洛伐克第241/1993号法律（Coll.）第1–2条及第4b条](https://static.slov-lex.sk/static/SK/ZZ/1993/241/20251101.html)
- 斯洛文尼亚[OPSI](https://www.podatki.gov.si/dataset/ada88e06-14a2-49c4-8748-3311822e3585/resource/eb8b25ea-5c00-4817-a670-26e1023677c6/download/seznampraznikovindelaprostihdni20002030.csv)
- Solomon Islands[Solomon Islands Ministry of Home Affairs, Public Notice 2/2026: National and Provincial Public Holidays 2026](https://solomons.gov.sb/wp-content/uploads/2026/04/National-and-Provincial-Public-Holidays-2026.pdf)
- 南非[南非政府公报 52178](https://www.gov.za/sites/default/files/gcis_document/202502/52178gon5902.pdf)
- 韩国[韩国政府公报](https://www.gwanbo.go.kr/)
- 西班牙[西班牙 BOE-A-2025-21667 2026 年劳动节假日](https://www.boe.es/boe/dias/2025/10/28/pdfs/BOE-A-2025-21667.pdf)
- 斯里兰卡[Central Bank of Sri Lanka](https://www.cbsl.gov.lk/en/about/about-the-bank/bank-holidays-2027)
- St. Vincent & Grenadines[Consulate General for St Vincent and the Grenadines: 2026 Public and Bank Holidays table](https://www.svgconsulate.vc/documents/public-holidays.pdf)
- 瑞典[瑞典《Lag (1989:253) om allmänna helgdagar》](https://data.riksdagen.se/dokument/sfs-1989-253.text)
- 瑞士[瑞士联邦宪法第 110 条第 3 款](https://fedlex.data.admin.ch/filestore/fedlex.data.admin.ch/eli/cc/1999/404/20240303/de/xml/fedlex-data-admin-ch-eli-cc-1999-404-20240303-de-xml-10.xml)
- 台湾[台湾 DGPA 115（中华民国）政府机关日历 CSV](https://www.dgpa.gov.tw/FileConversion?filename=dgpa/files/202506/a52331bd-a189-466b-b0f0-cae3062bbf74.csv&nfix=&name=115%e5%b9%b4%e4%b8%ad%e8%8f%af%e6%b0%91%e5%9c%8b%e6%94%bf%e5%ba%9c%e8%a1%8c%e6%94%bf%e6%a9%9f%e9%97%9c%e8%be%a6%e5%85%ac%e6%97%a5%e6%9b%86%e8%a1%a8.csv)
- 泰国[泰国银行](https://www.bot.or.th/en/financial-institutions-holiday.html)
- Tonga[Tonga Prime Minister's Office media release, Tonga Public Holidays for 2026](https://pmo.gov.to/wp-content/uploads/2025/11/Public-Holidays-for-2026.pdf)
- 土耳其[宗教事务局(Diyanet)](https://vakithesaplama.diyanet.gov.tr/icerik.php?icerik=158)
- 英国[GOV.UK 银行假日 API](https://www.gov.uk/bank-holidays.json)
- 美国[美国人事管理局](https://www.opm.gov/policy-data-oversight/pay-leave/federal-holidays/)
- 乌兹别克斯坦[Lex.uz](https://lex.uz/ru/docs/7938924)
- Vanuatu[Vanuatu Prime Minister's Office: Public Holidays for Year 2026 (signed PDF notice)](https://pmo.gov.vu/images/Public_Holidays/Public%20Holidays%202026.pdf)
- Venezuela[Banco Central de Venezuela](https://www.bcv.org.ve/sites/default/files/documentos_de_articulos/bcv_calendario_2026.pdf)

## 相关 API

### 经济日历 API

GDP、通胀、就业和利率决议的发布日期。

[探索 API →](https://narwhalapi.com/zh/api/economic-calendar.md)

### 汇率 API

先弄清哪几天汇率不会变动，再去获取。

[探索 API →](https://narwhalapi.com/zh/api/fx.md)

### 价格

预付额度，每1,000次调用2美元，没有套餐或档位。

[查看价格 →](https://narwhalapi.com/zh/pricing.md)

## 常见问题

可以获取哪些国家和年份？

2026 年覆盖 91 个国家，其中大多数也有 2027 年。覆盖范围列表会准确列出已发布的年份。

哪些国家提供 2027 年的节假日？

已发布 2027 年节假日列表的国家有 57 个。修改上方 2027 年请求中的国家代码，即可获取其他国家的列表。

是否包含地区假日？

政府有发布的话就包含，且每一天都会标明是全国性的还是地区性的。有些国家只涵盖全国性假日，覆盖范围表里有说明。

节假日是否意味着银行或市场关闭？

不一定。公共假日、银行假日和交易所休市可能遵循不同的日历。用 scope 获取你需要的那一种。

如果缺少国家或年份会怎样？

你会收到明确的错误，而不是空列表。空列表看起来像是一整年都没有假日。

可以把假日添加到 Google 日历吗？

是。Create a calendar subscription with one request, then paste the feed link into Google Calendar under Other calendars, From URL.

有免费额度吗？

可以。每个账户每月可获 10 美元免费额度，节假日接口每 1,000 次调用 2 美元。 [查看价格](https://narwhalapi.com/zh/pricing.md).

可以在 Claude、ChatGPT 或 Cursor 中使用吗？

可以，通过我们的 MCP 服务器。三个端点都可作为工具使用。 [设置 MCP](https://narwhalapi.com/zh/mcp.md).

## 从免费密钥开始

每月赠送 10 美元免费额度，无需绑卡。每月 10 美元免费额度，无需绑卡。

[获取免费 API 密钥](https://narwhalapi.com/zh/signup)
