Duaer

入门

在 Duaer 里查中国节假日与调休

在 Duaer 里:国务院办公厅安排:某年每个法定节假日的放假日期与调休上班日。一次成功查询用 1 额度。

能拿到什么

Duaer 数据市场里的「中国节假日与调休」:国务院办公厅安排:某年每个法定节假日的放假日期与调休上班日。查到结果时用 1 额度,结果交给数字组织的下一个节点。

从节点创建器选 Duaer 数据 → 中国节假日与调休,或打开 数据市场。相关:公共假期、高德天气。

适合做什么

  • 围绕春节、国庆安排发货与排班。
  • 确认某个周六是否要调休上班。

在画布里检索

  1. 打开节点创建器,选 Duaer 数据 → China holidays and make-up workdays。
  2. 填 Year(如 2027)。
  3. Limit 默认 10,最大 20。执行。

查到结果才扣 1 额度;没有结果、输入有误或上游失败都不扣。

用 API 调用

  • GET https://api.duaer.com/v1/data/cn-holidays?year=current
  • Authorization: Bearer <Duaer key>

下方是与数据市场「复制技能」相同的英文技能,含参数、示例与返回字段。

调用技能(英文)

与数据市场「复制技能」一致。

---
name: duaer-cn-holidays
description: >-
  Duaer China holidays and make-up workdays. State Council schedule: each Chinese public holiday of a year with its days off and make-up working days.
  One successful search uses 1 Duaer credit.
---

# Duaer China holidays and make-up workdays

Duaer China holidays and make-up workdays returns one row per Chinese public holiday of a year, with the days off, the date range, and the weekend days that become working days, linked to the State Council notice.

## When to use

- Plan shipping or staffing around Spring Festival and National Day.
- Check whether a Saturday is a make-up working day in China.

## When not to use

- Holidays in other countries. Use https://skills.duaer.com/public-holidays.md.
- Weather on a date. Use https://skills.duaer.com/weather.md.

## Call

`GET https://api.duaer.com/v1/data/cn-holidays?year=current`

Header: `Authorization: Bearer <Duaer key>`

Use an account key or a model API key.

Get a Duaer key: https://skills.duaer.com/keys.md

## Parameters

Provide `year`.

- `year` — Four-digit year from 2007, or `current`. Default `current`.
- `limit` — Optional. Rows to return, from 1 to 20. Default 10.

## Examples

- `GET https://api.duaer.com/v1/data/cn-holidays?year=current` — this year in China.
- `GET https://api.duaer.com/v1/data/cn-holidays?year=2027` — the 2027 schedule once it is published.

## Result

The response is `{ "items": [...] }`. Each item has `source`, `title`, `url`, and `summary`, plus:

- `name`, `nameZh`, `year` — English and Chinese holiday names and the year.
- `start`, `end`, `daysOff`, `offDays` — first and last day off, the count, and every day off.
- `makeupWorkdays`, `notice` — weekend days that become working days, and the State Council notice.

The schedule for next year usually appears in November or December; before that the year finds nothing.

Fields without a value are left out.

## Credits

A search that returns at least one row uses 1 credit.
An empty search, a search that finds nothing, or a failed search uses 0.
Wrong input returns 400 with a message and uses 0.
No remaining credits returns 402 and does not search.
A missing key returns 401.

## Related

- https://skills.duaer.com/public-holidays.md — Duaer Public holidays
- https://skills.duaer.com/amap-weather.md — Duaer Amap weather in China

常见问题

Duaer 的中国节假日与调休检索扣多少额度?

查到结果时扣 1 额度;没有结果或出错不扣。

Duaer 中国节假日与调休什么时候有明年的安排?

国务院办公厅通常在 11 月或 12 月发布次年安排,发布后即可查到;之前查明年会没有结果,也不扣额度。

同组