# Public Holidays & Working Days API

> Public holidays of 250 countries and 651 regions, working days, due dates and long weekends.

**Never ship, bill, book or schedule on a bank holiday again.** One API answers every calendar question your app has: the **public holidays** of **250 countries** and their **651 states and regions**, for any year from **1950 to 2100**, whether a date is a **working day**, how many **working days** lie between two dates, the **due date** N working days later, the **next holidays**, and every **long weekend** with its **bridge days**. From **$1.99 a month** for 100,000 calls.

- Host: `public-holidays-working-days-200-countries.p.rapidapi.com`
- Base URL: `https://public-holidays-working-days-200-countries.p.rapidapi.com/v1/holidays`
- Auth: headers `X-RapidAPI-Key` and `X-RapidAPI-Host`
- OpenAPI: https://helenis-api.com/docs/holidays/openapi.json

## Endpoints

### Holidays

Public holidays of a year, or whether one date is a holiday.

#### List Public Holidays

`GET /v1/holidays/list`

Public holidays of a country for a year. Every public holiday of a country (and of a region when given) for one year, with its date, name and weekday. 1 credit.

| Parameter | In | Type | Required | Description | Example |
|---|---|---|---|---|---|
| `country` | query | `string` | yes | ISO 3166-1 alpha-2 country code (see Get Supported Countries). | `FR` |
| `year` | query | `integer` | yes | Year, 1950-2100. | `2026` |
| `subdivision` | query | `string` | no | State, region or province code for local holidays (e.g. BY for Bavaria, CA for California). Leave empty for national holidays. | `57` |
| `language` | query | `string` | no | Language of the holiday names (default English when available, e.g. fr, de, es). Listed per country in Get Supported Countries. | `fr` |
| `categories` | query | `string` | no | Extra holiday categories, comma-separated, on top of public holidays: bank, government, optional, school, unofficial (observances)... Listed per country in Get Supported Countries. Bank, government and religious ones also count as days off for working days. |  |

```bash
curl -G "https://public-holidays-working-days-200-countries.p.rapidapi.com/v1/holidays/list" \
  --data-urlencode "country=FR" \
  --data-urlencode "year=2026" \
  --data-urlencode "subdivision=57" \
  --data-urlencode "language=fr" \
  -H "X-RapidAPI-Key: YOUR_API_KEY" \
  -H "X-RapidAPI-Host: public-holidays-working-days-200-countries.p.rapidapi.com"
```

#### Get Next Holidays

`GET /v1/holidays/next`

The next public holidays from a date. The next holidays on or after a date, with the days left until each: "next day off" widgets, reminders, countdowns. 1 credit.

| Parameter | In | Type | Required | Description | Example |
|---|---|---|---|---|---|
| `country` | query | `string` | yes | ISO 3166-1 alpha-2 country code (see Get Supported Countries). | `US` |
| `date` | query | `string` | no | Start date, YYYY-MM-DD (included). Default: today (UTC). | `2026-11-25` |
| `count` | query | `integer` | no | How many holidays, 1-20. Default `5`. | `5` |
| `subdivision` | query | `string` | no | State, region or province code for local holidays (e.g. BY for Bavaria, CA for California). Leave empty for national holidays. | `CA` |
| `language` | query | `string` | no | Language of the holiday names (default English when available, e.g. fr, de, es). Listed per country in Get Supported Countries. | `en_US` |
| `categories` | query | `string` | no | Extra holiday categories, comma-separated, on top of public holidays: bank, government, optional, school, unofficial (observances)... Listed per country in Get Supported Countries. Bank, government and religious ones also count as days off for working days. |  |

```bash
curl -G "https://public-holidays-working-days-200-countries.p.rapidapi.com/v1/holidays/next" \
  --data-urlencode "country=US" \
  --data-urlencode "date=2026-11-25" \
  --data-urlencode "count=5" \
  --data-urlencode "subdivision=CA" \
  --data-urlencode "language=en_US" \
  -H "X-RapidAPI-Key: YOUR_API_KEY" \
  -H "X-RapidAPI-Host: public-holidays-working-days-200-countries.p.rapidapi.com"
```

#### Get Long Weekends

`GET /v1/holidays/long-weekends`

Long weekends and bridge days of a year. Every stretch of 3 or more days off around a holiday in a year, plus the longer ones a single bridge day (one working day taken off) would give, with that day in bridge_days. For travel, leave planning and staffing. 1 credit.

| Parameter | In | Type | Required | Description | Example |
|---|---|---|---|---|---|
| `country` | query | `string` | yes | ISO 3166-1 alpha-2 country code (see Get Supported Countries). | `FR` |
| `year` | query | `integer` | yes | Year, 1950-2100. | `2026` |
| `subdivision` | query | `string` | no | State, region or province code for local holidays (e.g. BY for Bavaria, CA for California). Leave empty for national holidays. | `57` |
| `language` | query | `string` | no | Language of the holiday names (default English when available, e.g. fr, de, es). Listed per country in Get Supported Countries. | `fr` |
| `categories` | query | `string` | no | Extra holiday categories, comma-separated, on top of public holidays: bank, government, optional, school, unofficial (observances)... Listed per country in Get Supported Countries. Bank, government and religious ones also count as days off for working days. |  |

```bash
curl -G "https://public-holidays-working-days-200-countries.p.rapidapi.com/v1/holidays/long-weekends" \
  --data-urlencode "country=FR" \
  --data-urlencode "year=2026" \
  --data-urlencode "subdivision=57" \
  --data-urlencode "language=fr" \
  -H "X-RapidAPI-Key: YOUR_API_KEY" \
  -H "X-RapidAPI-Host: public-holidays-working-days-200-countries.p.rapidapi.com"
```

#### Check Date

`GET /v1/holidays/check`

Is a date a public holiday or a working day?. Whether a date is a public holiday (with its names), a weekend day for that country, and a working day. 1 credit.

| Parameter | In | Type | Required | Description | Example |
|---|---|---|---|---|---|
| `country` | query | `string` | yes | ISO 3166-1 alpha-2 country code (see Get Supported Countries). | `FR` |
| `date` | query | `string` | yes | Date, YYYY-MM-DD. | `2026-07-14` |
| `subdivision` | query | `string` | no | State, region or province code for local holidays (e.g. BY for Bavaria, CA for California). Leave empty for national holidays. | `57` |
| `language` | query | `string` | no | Language of the holiday names (default English when available, e.g. fr, de, es). Listed per country in Get Supported Countries. | `fr` |
| `categories` | query | `string` | no | Extra holiday categories, comma-separated, on top of public holidays: bank, government, optional, school, unofficial (observances)... Listed per country in Get Supported Countries. Bank, government and religious ones also count as days off for working days. |  |

```bash
curl -G "https://public-holidays-working-days-200-countries.p.rapidapi.com/v1/holidays/check" \
  --data-urlencode "country=FR" \
  --data-urlencode "date=2026-07-14" \
  --data-urlencode "subdivision=57" \
  --data-urlencode "language=fr" \
  -H "X-RapidAPI-Key: YOUR_API_KEY" \
  -H "X-RapidAPI-Host: public-holidays-working-days-200-countries.p.rapidapi.com"
```

### Working Days

Count working days, or add them to a date.

#### Count Working Days

`GET /v1/holidays/working-days`

Working days between two dates. Working days, weekend days and the public holidays between two dates, both included, up to 10 years. 1 credit.

| Parameter | In | Type | Required | Description | Example |
|---|---|---|---|---|---|
| `country` | query | `string` | yes | ISO 3166-1 alpha-2 country code (see Get Supported Countries). | `DE` |
| `start` | query | `string` | yes | First day, YYYY-MM-DD (included). | `2026-12-01` |
| `end` | query | `string` | yes | Last day, YYYY-MM-DD (included). | `2026-12-31` |
| `subdivision` | query | `string` | no | State, region or province code for local holidays (e.g. BY for Bavaria, CA for California). Leave empty for national holidays. | `BY` |
| `language` | query | `string` | no | Language of the holiday names (default English when available, e.g. fr, de, es). Listed per country in Get Supported Countries. | `de` |
| `categories` | query | `string` | no | Extra holiday categories, comma-separated, on top of public holidays: bank, government, optional, school, unofficial (observances)... Listed per country in Get Supported Countries. Bank, government and religious ones also count as days off for working days. |  |

```bash
curl -G "https://public-holidays-working-days-200-countries.p.rapidapi.com/v1/holidays/working-days" \
  --data-urlencode "country=DE" \
  --data-urlencode "subdivision=BY" \
  --data-urlencode "start=2026-12-01" \
  --data-urlencode "end=2026-12-31" \
  -H "X-RapidAPI-Key: YOUR_API_KEY" \
  -H "X-RapidAPI-Host: public-holidays-working-days-200-countries.p.rapidapi.com"
```

#### Add Working Days

`GET /v1/holidays/add-working-days`

The date N working days after (or before) a date. Due dates and delivery estimates: the date that many working days later (or earlier), skipping weekends and public holidays, with the holidays skipped. 1 credit.

| Parameter | In | Type | Required | Description | Example |
|---|---|---|---|---|---|
| `country` | query | `string` | yes | ISO 3166-1 alpha-2 country code (see Get Supported Countries). | `DE` |
| `date` | query | `string` | yes | Start date, YYYY-MM-DD. | `2026-12-23` |
| `days` | query | `integer` | yes | Working days to add (negative to go back), -1000 to 1000. | `3` |
| `subdivision` | query | `string` | no | State, region or province code for local holidays (e.g. BY for Bavaria, CA for California). Leave empty for national holidays. | `BY` |
| `language` | query | `string` | no | Language of the holiday names (default English when available, e.g. fr, de, es). Listed per country in Get Supported Countries. | `de` |
| `categories` | query | `string` | no | Extra holiday categories, comma-separated, on top of public holidays: bank, government, optional, school, unofficial (observances)... Listed per country in Get Supported Countries. Bank, government and religious ones also count as days off for working days. |  |

```bash
curl -G "https://public-holidays-working-days-200-countries.p.rapidapi.com/v1/holidays/add-working-days" \
  --data-urlencode "country=DE" \
  --data-urlencode "date=2026-12-23" \
  --data-urlencode "days=3" \
  --data-urlencode "subdivision=BY" \
  --data-urlencode "language=de" \
  -H "X-RapidAPI-Key: YOUR_API_KEY" \
  -H "X-RapidAPI-Host: public-holidays-working-days-200-countries.p.rapidapi.com"
```

### Countries

Supported countries, regions, weekends and languages.

#### Get Supported Countries

`GET /v1/holidays/countries`

Countries, their regions, weekends and languages. Every supported country with its code, name, weekend days, the languages of its holiday names, its holiday categories and its subdivisions. 1 credit.

```bash
curl -G "https://public-holidays-working-days-200-countries.p.rapidapi.com/v1/holidays/countries" \
  -H "X-RapidAPI-Key: YOUR_API_KEY" \
  -H "X-RapidAPI-Host: public-holidays-working-days-200-countries.p.rapidapi.com"
```

## Sample call

Count Working Days: `GET /v1/holidays/working-days`.

```bash
curl -G "https://public-holidays-working-days-200-countries.p.rapidapi.com/v1/holidays/working-days" \
  --data-urlencode "country=DE" \
  --data-urlencode "subdivision=BY" \
  --data-urlencode "start=2026-12-01" \
  --data-urlencode "end=2026-12-31" \
  -H "X-RapidAPI-Key: YOUR_API_KEY" \
  -H "X-RapidAPI-Host: public-holidays-working-days-200-countries.p.rapidapi.com"
```

## Response

```json
{
  "country": "FR",
  "date": "2026-07-14",
  "weekday": "Tuesday",
  "is_holiday": true,
  "holiday_names": [
    "National Day"
  ],
  "holidays": [
    {
      "date": "2026-07-14",
      "name": "National Day",
      "weekday": "Tuesday",
      "category": "public"
    }
  ],
  "is_weekend": false,
  "is_working_day": false
}
```

*From a real response.*

## Why developers pick this API

- 🧠 **One API for the whole calendar:** holidays, working days, due dates, next holidays, long weekends. No second provider, no date maths in your code.
- 🎯 **Exact where it matters:** observed days (US Independence Day moved to Friday), Easter, Islamic, Hebrew, Chinese and Hindu calendars, Chinese make-up working days, Alsace-Moselle, Scotland's own bank holidays.
- ⚡ **Instant and always up:** the calendars are computed inside the API from a maintained open-source library: no third-party outage, no rate-limited upstream.
- 💸 **Priced to forget:** 100,000 calls for $1.99 a month, and failed calls (4xx, 5xx) use 0 credits.

## Working days

```bash
curl "https://public-holidays-working-days-200-countries.p.rapidapi.com/v1/holidays/working-days?country=DE&subdivision=BY&start=2026-12-01&end=2026-12-31" \
  -H "X-RapidAPI-Key: YOUR_API_KEY" -H "X-RapidAPI-Host: public-holidays-working-days-200-countries.p.rapidapi.com"
```

```json
{
  "country": "DE",
  "subdivision": "BY",
  "start": "2026-12-01",
  "end": "2026-12-31",
  "calendar_days": 31,
  "working_days": 22,
  "weekend_days": 8,
  "holidays": [
    { "date": "2026-12-25", "name": "Christmas Day", "weekday": "Friday", "category": "public" },
    { "date": "2026-12-26", "name": "Second Day of Christmas", "weekday": "Saturday", "category": "public" }
  ]
}
```

Add working days instead (`/add-working-days?country=DE&subdivision=BY&date=2026-12-23&days=3`) and you get `"result": "2026-12-29"`, with Christmas and Boxing Day in `skipped_holidays`. A negative `days` goes back in time. Add `categories=bank` to count banking days.

## Long weekends and bridge days

```bash
curl "https://public-holidays-working-days-200-countries.p.rapidapi.com/v1/holidays/long-weekends?country=FR&year=2026" \
  -H "X-RapidAPI-Key: YOUR_API_KEY" -H "X-RapidAPI-Host: public-holidays-working-days-200-countries.p.rapidapi.com"
```

```json
{
  "country": "FR",
  "year": 2026,
  "count": 8,
  "long_weekends": [
    {
      "start": "2026-05-14",
      "end": "2026-05-17",
      "days": 4,
      "bridge_days": ["2026-05-15"],
      "holidays": [{ "date": "2026-05-14", "name": "Ascension Day", "weekday": "Thursday", "category": "public" }]
    },
    { "...": "..." }
  ]
}
```

An empty `bridge_days` means the stretch is off already; otherwise take that one day off to get it. Perfect for travel apps, leave planners and staffing.

## Next holidays

`/next?country=US&count=3` lists the next holidays from today (or from `date`), each with `days_until`: `Thanksgiving Day` in 1 day, `Christmas Day` in 30, `New Year's Day` in 37 (asked on 2026-11-25).

## Holiday calendar

```bash
curl "https://public-holidays-working-days-200-countries.p.rapidapi.com/v1/holidays/list?country=BE&year=2026&categories=bank" \
  -H "X-RapidAPI-Key: YOUR_API_KEY" -H "X-RapidAPI-Host: public-holidays-working-days-200-countries.p.rapidapi.com"
```

```json
{
  "country": "BE",
  "country_name": "Belgium",
  "year": 2026,
  "language": "en_US",
  "count": 15,
  "holidays": [
    { "date": "2026-01-01", "name": "New Year's Day", "weekday": "Thursday", "category": "public" },
    { "date": "2026-04-03", "name": "Good Friday", "weekday": "Friday", "category": "bank" },
    { "...": "..." }
  ]
}
```

`/countries` lists every supported country with its code, name, weekend days, the languages of its holiday names, its categories, and its subdivision codes and names.

**Tip:** countries with regional holidays answer with national ones only unless you pass `subdivision`, and say so in `note`. For England, use `country=GB&subdivision=ENG` to get Easter Monday and the Summer Bank Holiday.

## Errors

| Status | `code` | Meaning |
|---|---|---|
| 400 | `invalid_country` | Unknown country code (see `/countries`). |
| 400 | `invalid_subdivision` | Unknown state or region for that country. |
| 400 | `invalid_language` | Holiday names are not available in that language for that country. |
| 400 | `invalid_category` | That category does not exist for that country (see `/countries`). |
| 400 | `invalid_range` | `end` before `start`, a range over 10 years, or a result outside 1950-2100. |
| 400 | `invalid_year` | A date outside 1950-2100. |
| 400 | `invalid_request` | Missing parameter, malformed date, `days` outside -1000 to 1000, `count` outside 1-20. |
| 429 | `daily_limit_reached` | Daily safety limit of your plan; resets at 00:00 UTC. |

## Pricing

1 credit per call. Failed calls are never billed.

| Plan | Price | Credits included | Above the quota |
|---|---|---|---|
| BASIC | Free | 10 / day | resets every day |
| PRO | $1.99/month | 100,000 / month | $0.0002 per credit |
| ULTRA | $4.99/month | 500,000 / month | $0.0002 per credit |
| MEGA | $9.99/month | 833,000 / month | $0.0002 per credit |

Apify actor **Public Holidays Calendar - 250 Countries, Regions & Any Year**: billed per event; free-plan users get 5 country-years per run.

| Event | Charged for | Price |
|---|---|---|
| `holiday` | each holiday returned | $0.0005 |

## Links

- API reference (HTML): https://helenis-api.com/docs/holidays
- OpenAPI: https://helenis-api.com/docs/holidays/openapi.json
- Overview and pricing: https://helenis-api.com/apis/holidays/
- RapidAPI listing: https://rapidapi.com/helenis-api-helenis-api-data/api/public-holidays-working-days-200-countries?utm_source=helenis&utm_medium=site&utm_campaign=holidays&utm_content=markdown
- Apify actor: https://apify.com/helenisapi/public-holidays-calendar?utm_source=helenis&utm_medium=site&utm_campaign=holidays&utm_content=markdown
- MCP server (Apify): https://mcp.apify.com?tools=helenisapi/public-holidays-calendar

MCP: Works in Claude, Cursor, VS Code and any MCP client; billed per event through Apify (your Apify token).

## Conventions (every Helenis API)

- Auth: two headers on every call, `X-RapidAPI-Key` (your key) and `X-RapidAPI-Host` (the API's host). One RapidAPI key works for every API you subscribe to.
- Billing in credits: one for a simple call, more for heavier work (a minute of audio, a page read by AI). Each API states its rule.
- Failed calls are never billed: a `4xx` bills zero credits and a `5xx` is never counted.
- Errors share one envelope: `{"error": {"status", "code", "message"}}` with a stable machine-readable `code`.
- `400`: fix the input (validation errors are always 400, never 422); not billed.
- `429`: rate limit; wait for `Retry-After`. `503`: temporary upstream or AI failure (`ai_error`, `upstream_timeout`); retry later, not billed.
- Values the source does not give come back as `null`, never invented.
