What it does
Public Holidays returns the holidays of any supported country or exchange calendar. Get every holiday of a year, find the next holidays after a date, or check whether a single date is a holiday, a weekend day or a business day.
Each holiday has its date, weekday, name in English (or the language you ask for), the local name, its categories and whether an observance rule moved it. Add subdivision for state, province or region holidays, and categories for bank, government, optional or religious days. Official weekend workdays, such as China's swapped working days, count as business days.
GET /v1/holidays/:year/:country lists a year, GET /v1/holidays/upcoming returns the next 1 to 50 holidays within three years, and GET /v1/holidays/check answers for one date. Dates use YYYY-MM-DD and default to today in UTC.
Use it for calendar and scheduling apps, HR and payroll tools, delivery estimates, and any feature that needs to know when people are off work.