Search by task, endpoint, field, or error.
Holiday API
Public holidays by country and year, or check one date.
Public holidays for a country, one year at a time: date, name, and whether the day off moved to a substitute date. Covers the United States, the United Kingdom, France, Japan, Singapore, Hong Kong, Taiwan, Slovenia, and Austria, each from its official national source. Years also carry cultural observances like Halloween, Mother's Day, and White Day. type tells them apart: public is an official day off, observance is not.
?year= picks the year, otherwise you get the current one. Each country carries its source's full published range. A year outside that range returns 404 with the range in the message.
Year
import { parseAPI } from '@parseapi/sdk';
const parse = parseAPI("YOUR_API_KEY");
const result = await parse.holiday("US");
console.log(result);Run on your server with a secret key. Calling from a browser or app?
{
"country": "US",
"year": 2026,
"holidays": [
{
"date": "2026-01-01",
"name": "New Year's Day",
"name_local": null,
"type": "public",
"regions": null,
"substitute": false
},
{
"date": "2026-01-19",
"name": "Birthday of Martin Luther King, Jr.",
"name_local": null,
"type": "public",
"regions": null,
"substitute": false
},
{
"date": "2026-02-14",
"name": "Valentine's Day",
"name_local": null,
"type": "observance",
"regions": null,
"substitute": false
},
{
"date": "2026-02-16",
"name": "Washington's Birthday",
"name_local": null,
"type": "public",
"regions": null,
"substitute": false
},
{
"date": "2026-03-17",
"name": "St. Patrick's Day",
"name_local": null,
"type": "observance",
"regions": null,
"substitute": false
},
{
"date": "2026-04-03",
"name": "Good Friday",
"name_local": null,
"type": "observance",
"regions": null,
"substitute": false
},
{
"date": "2026-04-05",
"name": "Easter Sunday",
"name_local": null,
"type": "observance",
"regions": null,
"substitute": false
},
{
"date": "2026-05-05",
"name": "Cinco de Mayo",
"name_local": null,
"type": "observance",
"regions": null,
"substitute": false
},
{
"date": "2026-05-10",
"name": "Mother's Day",
"name_local": null,
"type": "observance",
"regions": null,
"substitute": false
},
{
"date": "2026-05-25",
"name": "Memorial Day",
"name_local": null,
"type": "public",
"regions": null,
"substitute": false
},
{
"date": "2026-06-19",
"name": "Juneteenth National Independence Day",
"name_local": null,
"type": "public",
"regions": null,
"substitute": false
},
{
"date": "2026-06-21",
"name": "Father's Day",
"name_local": null,
"type": "observance",
"regions": null,
"substitute": false
},
{
"date": "2026-07-03",
"name": "Independence Day",
"name_local": null,
"type": "public",
"regions": null,
"substitute": true
},
{
"date": "2026-09-07",
"name": "Labor Day",
"name_local": null,
"type": "public",
"regions": null,
"substitute": false
},
{
"date": "2026-10-12",
"name": "Columbus Day",
"name_local": null,
"type": "public",
"regions": null,
"substitute": false
},
{
"date": "2026-10-31",
"name": "Halloween",
"name_local": null,
"type": "observance",
"regions": null,
"substitute": false
},
{
"date": "2026-11-11",
"name": "Veterans Day",
"name_local": null,
"type": "public",
"regions": null,
"substitute": false
},
{
"date": "2026-11-26",
"name": "Thanksgiving Day",
"name_local": null,
"type": "public",
"regions": null,
"substitute": false
},
{
"date": "2026-11-27",
"name": "Black Friday",
"name_local": null,
"type": "observance",
"regions": null,
"substitute": false
},
{
"date": "2026-12-24",
"name": "Christmas Eve",
"name_local": null,
"type": "observance",
"regions": null,
"substitute": false
},
{
"date": "2026-12-25",
"name": "Christmas Day",
"name_local": null,
"type": "public",
"regions": null,
"substitute": false
},
{
"date": "2026-12-31",
"name": "New Year's Eve",
"name_local": null,
"type": "observance",
"regions": null,
"substitute": false
}
]
}Response fields
- country
- ISO2 country code
- year
- Year returned
- holidays
- Every holiday and observance in that year
- holidays[].date
- Date, YYYY-MM-DD
- holidays[].name
- Official name, English or the official translation (France stays French)
- holidays[].name_local
- Native form when it differs (Japan kanji, Hong Kong and Taiwan Chinese), null otherwise
- holidays[].type
- public for an official day off, observance for cultural days (Halloween, Black Friday)
- holidays[].regions
- Region codes when only part of the country takes the day (GB: ENG, WLS, SCT, NIR), null when nationwide
- holidays[].substitute
- The day off moved (a holiday falling on a weekend, observed on a weekday)
Japan pairs the official English name with the kanji in name_local, back to 1955.
import { parseAPI } from '@parseapi/sdk';
const parse = parseAPI("YOUR_API_KEY");
const result = await parse.holiday("JP", { year: 1955 });
console.log(result);Run on your server with a secret key. Calling from a browser or app?
{
"country": "JP",
"year": 1955,
"holidays": [
{
"date": "1955-01-01",
"name": "New Year's Day",
"name_local": "元日",
"type": "public",
"regions": null,
"substitute": false
},
{
"date": "1955-01-15",
"name": "Coming of Age Day",
"name_local": "成人の日",
"type": "public",
"regions": null,
"substitute": false
},
{
"date": "1955-03-21",
"name": "Vernal Equinox Day",
"name_local": "春分の日",
"type": "public",
"regions": null,
"substitute": false
},
{
"date": "1955-04-29",
"name": "Emperor's Birthday",
"name_local": "天皇誕生日",
"type": "public",
"regions": null,
"substitute": false
},
{
"date": "1955-05-03",
"name": "Constitution Memorial Day",
"name_local": "憲法記念日",
"type": "public",
"regions": null,
"substitute": false
},
{
"date": "1955-05-05",
"name": "Children's Day",
"name_local": "こどもの日",
"type": "public",
"regions": null,
"substitute": false
},
{
"date": "1955-09-24",
"name": "Autumnal Equinox Day",
"name_local": "秋分の日",
"type": "public",
"regions": null,
"substitute": false
},
{
"date": "1955-11-03",
"name": "Culture Day",
"name_local": "文化の日",
"type": "public",
"regions": null,
"substitute": false
},
{
"date": "1955-11-23",
"name": "Labor Thanksgiving Day",
"name_local": "勤労感謝の日",
"type": "public",
"regions": null,
"substitute": false
}
]
}One date
Ask about a single date. holiday is the matching row, or null when the date is not a holiday.
import { parseAPI } from '@parseapi/sdk';
const parse = parseAPI("YOUR_API_KEY");
const result = await parse.holiday.date("US", "2026-10-31");
console.log(result);Run on your server with a secret key. Calling from a browser or app?
{
"country": "US",
"date": "2026-10-31",
"holiday": {
"date": "2026-10-31",
"name": "Halloween",
"name_local": null,
"type": "observance",
"regions": null,
"substitute": false
}
}import { parseAPI } from '@parseapi/sdk';
const parse = parseAPI("YOUR_API_KEY");
const result = await parse.holiday.date("US", "2026-08-09");
console.log(result);Run on your server with a secret key. Calling from a browser or app?
{
"country": "US",
"date": "2026-08-09",
"holiday": null
}Response fields
Build with Holiday
All tutorials →Questions? Email