Endpoints
/hk-holidays/hong-kong-public-holidays.json: all years, one array of holiday objects./hk-holidays/hong-kong-public-holidays.csv: the same rows for spreadsheets./hk-holidays/hong-kong-public-holidays.ics: iCalendar for subscriptions; see adding holidays to your calendar.- Per-year files:
hong-kong-public-holidays-2026.csvand.ics, and the same for 2025, 2027 and 2028.
One holiday object
{
"date": "2027-02-09",
"weekday": "Tuesday",
"name_en": "The fourth day of Lunar New Year",
"name_zh": "農曆年初四",
"statutory": true,
"provisional": false,
"year": 2027
}
date is ISO 8601 in Hong Kong time. statutory is true when the day counts toward the Employment Ordinance's statutory holidays (see statutory vs general). provisional is true for dates not yet gazetted, which today means every 2028 entry. The top level of the file also has a checked date and a source list.
Using it
fetch("https://hkholidays.hk/hk-holidays/hong-kong-public-holidays.json")
.then(r => r.json())
.then(data => {
const next = data.holidays.find(h => h.date >= new Date().toISOString().slice(0, 10));
console.log(next.name_en, next.date);
});
The feed allows cross-origin requests, so you can call it from a browser. Please cache responses for at least a few hours and do not poll it repeatedly. It is provided as-is, without warranty; check the government's own pages before you rely on a date for anything that costs money. You are welcome to use the data in payroll, scheduling and calendar tools, and a link back to this site is appreciated.
How fresh is it?
The feed is regenerated whenever this site is updated, and the checked field shows the last date it was compared with the official lists. Our process is on the methodology page. If you only need the next date, the upcoming holidays page is simpler.
Questions people ask
Is there a free Hong Kong public holidays API?
Yes. This site publishes a static JSON feed with no key and no rate-limit sign-up.
Does the API include Chinese holiday names?
Yes, each holiday has name_en and name_zh (Traditional Chinese).
Does it include 2028?
Yes, flagged provisional until the government gazettes the list.
Can I use it in a commercial product?
Yes, as is. Check dates against the government list before relying on them for money, and consider linking to the source.
Can I call it from JavaScript in a browser?
Yes, the feed is served with cross-origin access enabled.
Last updated: