Web data & tools
Public Holidays & Working Days API
Public holidays of 250 countries and 651 regions, working days, due dates and long weekends.
Base URLhttps://public-holidays-working-days-200-countries.p.rapidapi.com/v1/holidaysopenapi.json
- Free plan
- 10 credits a day
- Paid plans
- from $1.99 a month
- One credit
- 1 credit per call.
- Endpoints
- 7, on
/v1/holidays
Example call
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"
import requests
url = "https://public-holidays-working-days-200-countries.p.rapidapi.com/v1/holidays/working-days"
params = {
"country": "DE",
"subdivision": "BY",
"start": "2026-12-01",
"end": "2026-12-31"
}
headers = {
"X-RapidAPI-Key": "YOUR_API_KEY",
"X-RapidAPI-Host": "public-holidays-working-days-200-countries.p.rapidapi.com",
}
r = requests.get(url, params=params, headers=headers)
print(r.json())
const res = await fetch("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", {
headers: {
"X-RapidAPI-Key": "YOUR_API_KEY",
"X-RapidAPI-Host": "public-holidays-working-days-200-countries.p.rapidapi.com",
},
});
console.log(await res.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
}
Count Working Days: GET /v1/holidays/working-days. A real call and its real response.
What the Public Holidays & Working Days API returns
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.
- Holiday calendars
- Every holiday of a year, with date, name, weekday and category
- Regional holidays
- US states, German Länder, Spanish communities, Swiss cantons, Canadian provinces, UK nations...
- Categories
- Bank holidays, government, optional, school holidays and observances on top of public holidays, in 79 countries
- Next holidays
- The next N holidays with the days left until each
- Long weekends
- Every 3+ day stretch off, and the bridge day that would turn a holiday into 4 days off
- Date check
- Holiday, weekend day, working day, in one answer
- Working days
- Count business days between two dates (up to 10 years)
- Due dates
- Add or subtract up to 1,000 working days, holidays skipped
- Local weekends
- Friday-Saturday in Saudi Arabia and others, working Saturdays where they exist
- 164 languages
- Names in English by default, or the local language (
fr,de,es,ja...)
Endpoints
Host public-holidays-working-days-200-countries.p.rapidapi.com, header X-RapidAPI-Key. Parameters and examples for each one are in the API reference.
Holidays
Public holidays of a year, or whether one date is a holiday.
-
GET
/v1/holidays/listPublic holidays of a country for a year -
GET
/v1/holidays/nextThe next public holidays from a date -
GET
/v1/holidays/long-weekendsLong weekends and bridge days of a year -
GET
/v1/holidays/checkIs a date a public holiday or a working day?
Working Days
Count working days, or add them to a date.
-
GET
/v1/holidays/working-daysWorking days between two dates -
GET
/v1/holidays/add-working-daysThe date N working days after (or before) a date
Countries
Supported countries, regions, weekends and languages.
Use cases
- Payroll and HR. Working days in a month, leave balances, public-holiday pay
- Logistics and e-commerce. Delivery estimates that skip holidays
- SLAs and legal deadlines. Due dates in business days
- Banking and fintech. Settlement dates on banking days
- Travel and booking. Long weekends, bridge days, holiday pricing
- Global teams. Know who is off today, office by office
Tutorial
Web data & tools
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/mo | 100,000 / month | $0.0002 per credit |
| ULTRA | $4.99/mo | 500,000 / month | $0.0002 per credit |
| MEGA | $9.99/mo | 833,000 / month | $0.0002 per credit |
Subscribe on RapidAPI (opens in a new tab)
No code: the Apify actor
The Public Holidays Calendar - 250 Countries, Regions & Any Year actor runs the same engine on a list of inputs and exports a table (JSON, CSV, Excel, Google Sheets). It is billed per result; free-plan users get 5 country-years per run.
| Event | Charged for | Price |
|---|---|---|
holiday | Each holiday returned | $0.0005 |
Questions about the Public Holidays & Working Days API
Where does the data come from?
holidays calendar, maintained by a large community and updated for moving holidays (Easter, Islamic and lunar calendars) and new laws. Holidays decided at the last minute by a government may appear after a library update.Are bank or school holidays included?
categories to add bank holidays, government holidays, optional holidays, school holidays or observances where a country has them: /countries lists them. Bank, government and religious ones count as days off in the working-day maths; observances and school holidays are listed only.Does it handle holidays that move to a Monday?
Independence Day (observed), and count as days off.











