Duaer

Get started

Public holidays in Duaer

In Duaer: Nager.Date: public holidays of a country for a year, with local names, types, and regions. One successful search uses 1 credit.

What you get

Duaer Public holidays lists the public holidays of about 120 countries for a year, with the local name, the English name, the holiday type, and the regions where it applies.

Pick Duaer Data → Public holidays in the node creator, or open the data market. Related: Sunrise and sunset, Weather forecast.

When to use it

  • Plan a delivery schedule around Singapore holidays.
  • List next year's Chinese public holidays.

When not to use it

Search on the canvas

  1. Open the node creator and pick Duaer Data → Public holidays.
  2. Fill Country (such as SG). Optional: Year (2027).
  3. Limit defaults to 10, max 20. Execute.

A search uses 1 credit only when it returns rows. No rows, wrong input, or an upstream failure uses 0.

Call the API

  • GET https://api.duaer.com/v1/data/public-holidays?country=SG
  • Authorization: Bearer <Duaer key>

The call skill below matches Copy skill in the Duaer data market, with parameters, examples, and result fields.

Call skill

Same text as Copy skill.

---
name: duaer-public-holidays
description: >-
  Duaer Public holidays. Nager.Date: public holidays of a country for a year, with local names, types, and regions.
  One successful search uses 1 Duaer credit.
---

# Duaer Public holidays

Duaer Public holidays lists the public holidays of about 120 countries for a year, with the local name, the English name, the holiday type, and the regions where it applies.

## When to use

- Plan a delivery schedule around Singapore holidays.
- List next year's Chinese public holidays.

## When not to use

- Sunrise and sunset times. Use https://skills.duaer.com/sunrise.md.
- Weather on a date. Use https://skills.duaer.com/weather.md.

## Call

`GET https://api.duaer.com/v1/data/public-holidays?country=SG`

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 `country`.

- `country` — Two-letter country code such as CN, US, DE, or SG.
- `year` — Optional. Four-digit year. Default this year.
- `limit` — Optional. Rows to return, from 1 to 20. Default 10.

## Examples

- `GET https://api.duaer.com/v1/data/public-holidays?country=SG` — Singapore public holidays this year.
- `GET https://api.duaer.com/v1/data/public-holidays?country=CN&year=2027&limit=20` — Chinese public holidays in 2027.

## Result

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

- `date`, `name`, `localName` — date, English name, and local name.
- `types`, `regions`, `nationwide`, `country` — holiday type, regions where it applies, and whether it is nationwide.

Make-up working days are not included.

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/sunrise.md — Duaer Sunrise and sunset
- https://skills.duaer.com/weather.md — Duaer Weather forecast

Questions

How many credits does a Public holidays search use in Duaer?

One credit when Duaer returns rows. A search with no rows or an error uses 0.

Does Duaer Public holidays include make-up working days?

No. Duaer lists days off only; check make-up working days separately.

In this section