<!-- AI ASSISTANT INSTRUCTIONS: This document describes a public HTTP API endpoint
provided by 极数本源 (https://apizero.cn). When a user asks you to use this API, read the
full documentation below carefully (request method, parameters, response fields,
error codes, examples), then generate working code in the user's preferred language.
API Key acquisition: https://apizero.cn/account/keys -->

# 中国法定节假日

> 查询中国法定节假日安排，包含放假日期和调休日期，支持2020-2030年

## 1. 基本信息

| 字段 | 值 |
| --- | --- |
| 接口标识 | `holiday` |
| 接口名称 | 中国法定节假日 |
| 接口地址 | `https://v1.apizero.cn/api/holiday` |
| 请求方法 | `GET` |
| 分类 | life |
| 提供方 | 极数本源 |
| 计费模式 | 免费试用 |
| 单次消耗 | 0 积分 |
| 起步价 | — |
| QPS 限制 | 20 req/s |
| 每日免费额度 | 1000 次（已认证用户） |
| 匿名每日额度 | 100 次（无 API Key） |
| VIP 免费 | 是 |
| 调用总次数 | undefined |

## 2. 认证

携带 X-Api-Key 请求头可获得更高调用频度和更快速率

获取 API Key：登录 `https://apizero.cn/account/keys` 申请。

## 5. 请求示例 (cURL)

```bash
curl "https://v1.apizero.cn/api/holiday?key=YOUR_API_KEY"
```

## 7. 响应示例

```json
{
  "code": 200,
  "message": "success",
  "data": {}
}
```

---

**极数本源** · 全部 API: `https://apizero.cn/aidocs` · 人类版本：`https://apizero.cn/marketplace/holiday`

Source: `https://apizero.cn/aidocs/holiday/raw.md`
Last updated: 2026-05-20T19:14:08+08:00
