Skip to content

1、网站

2、API接口

基本都是根据 country和年份,获取节假日列表. 返回值包含日期、节假日名称(英文和当地名称)、节假日类型、备注、周几等信息 /holidays?country=CN&year=2023&month=1

{
    "name": "New Year's Day",
    "name_local": "",
    "description": "",
    "country": "SG",
    "type": "National",
    "date": "01/02/2023",
    "date_year": "2023",
    "date_month": "01",
    "date_day": "02",
    "week_day": "Monday"
}

举例: https://calendarific.com/api/v2/holidays?&api_key=PjPDg8w30ZDu9QW0pcPx1eV0ywFLasJc&country=CN&year=2023

3、开源github数据集

https://github.com/commenthol/date-holidays

4、维基百科