全国高校查询
接口描述
截至2023年6月15日,全国高等学校共计3072所,其中:普通高等学校2820所,含本科院校1275所、高职(专科)院校1545所;成人高等学校252所。本名单未包含港澳台地区高等学校。
GET https://www.idcd.com/api/school
输入参数
以下请求参数列表仅列出了接口请求参数,不包含公共参数,完整公共参数列表见 公共请求参数。
参数名称 | 类型 | 必选 | 描述 |
---|---|---|---|
page | Int | 否 | 页码,例如:2024 |
page_size | Int | 否 | 每页数,例如:25 |
is_985 | Bool | 否 | 是否985工程院校,A 0-否, 1-是 |
is_211 | Bool | 否 | 是否211工程,A 0-否, 1-是 |
is_world_a | Bool | 否 | 是否世界一流院校A类, 0-否, 1-是 |
is_world_b | Bool | 否 | 世界一流院校B类, 0-否, 1-是 |
is_world_class | Bool | 否 | 世界一流学科, 0-否, 1-是 |
输出参数
参数名称 | 类型 | 必选 | 描述 |
---|---|---|---|
year | Int | 是 | 年份 |
festival | String | 是 | 节日名称 |
start_time | String | 是 | 假期开始日期 |
end_time | String | 是 | 假期结束日期 |
days | Int | 是 | 假期天数 |
weekday | String | 是 | 调休日期,多个逗号分隔,无内容说明不调休。 |
示例
- 输入示例
curl --location --request GET 'https://www.idcd.com/api/school?page=2&page_size=20' \
--header 'ClientID: df77f2de-2924-4499-adda-1c4cc243625a' \
--header 'Nonce: v0j38hHHUEqFwoh0Gc8Rbfi737xtIpLL' \
--header 'Timestamp: 1716085926' \
--header 'Signature: 5b1230f42bad2ffd5ad09890a8ebb47c02d74668be0cf7bb54a0f6a14996117b' \
--header 'SignatureMethod: HmacSHA256'
- 输出示例
{
"status": true,
"code": 200,
"message": "Success",
"request_id": "05006624-0361-4f86-9736-95801568d19e",
"data": {
"total": 2820,
"page": 1,
"page_size": 20,
"items": [
{
"name": "北京大学",
"code": "4111010001",
"department": "教育部",
"level": "本科",
"property": "公立",
"province": null,
"is_985": 1,
"is_211": 1,
"is_world_a": 1,
"is_world_b": 0,
"is_world_class": 0
},
{
"name": "中国人民大学",
"code": "4111010002",
"department": "教育部",
"level": "本科",
"property": "公立",
"province": null,
"is_985": 1,
"is_211": 1,
"is_world_a": 1,
"is_world_b": 0,
"is_world_class": 0
},
{
"name": "清华大学",
"code": "4111010003",
"department": "教育部",
"level": "本科",
"property": "公立",
"province": null,
"is_985": 1,
"is_211": 1,
"is_world_a": 1,
"is_world_b": 0,
"is_world_class": 0
},
{
"name": "北京交通大学",
"code": "4111010004",
"department": "教育部",
"level": "本科",
"property": "公立",
"province": null,
"is_985": 0,
"is_211": 1,
"is_world_a": 0,
"is_world_b": 0,
"is_world_class": 1
},
{
"name": "北京工业大学",
"code": "4111010005",
"department": "北京市",
"level": "本科",
"property": "公立",
"province": null,
"is_985": 0,
"is_211": 1,
"is_world_a": 0,
"is_world_b": 0,
"is_world_class": 1
},
{
"name": "北京航空航天大学",
"code": "4111010006",
"department": "工业和信息化部",
"level": "本科",
"property": "公立",
"province": null,
"is_985": 1,
"is_211": 1,
"is_world_a": 1,
"is_world_b": 0,
"is_world_class": 0
},
{
"name": "北京理工大学",
"code": "4111010007",
"department": "工业和信息化部",
"level": "本科",
"property": "公立",
"province": null,
"is_985": 1,
"is_211": 1,
"is_world_a": 1,
"is_world_b": 0,
"is_world_class": 0
},
{
"name": "北京科技大学",
"code": "4111010008",
"department": "教育部",
"level": "本科",
"property": "公立",
"province": null,
"is_985": 0,
"is_211": 1,
"is_world_a": 0,
"is_world_b": 0,
"is_world_class": 1
},
{
"name": "北方工业大学",
"code": "4111010009",
"department": "北京市",
"level": "本科",
"property": "公立",
"province": null,
"is_985": 0,
"is_211": 0,
"is_world_a": 0,
"is_world_b": 0,
"is_world_class": 0
},
{
"name": "北京化工大学",
"code": "4111010010",
"department": "教育部",
"level": "本科",
"property": "公立",
"province": null,
"is_985": 0,
"is_211": 1,
"is_world_a": 0,
"is_world_b": 0,
"is_world_class": 1
},
{
"name": "北京工商大学",
"code": "4111010011",
"department": "北京市",
"level": "本科",
"property": "公立",
"province": null,
"is_985": 0,
"is_211": 0,
"is_world_a": 0,
"is_world_b": 0,
"is_world_class": 0
},
{
"name": "北京服装学院",
"code": "4111010012",
"department": "北京市",
"level": "本科",
"property": "公立",
"province": null,
"is_985": 0,
"is_211": 0,
"is_world_a": 0,
"is_world_b": 0,
"is_world_class": 0
},
{
"name": "北京邮电大学",
"code": "4111010013",
"department": "教育部",
"level": "本科",
"property": "公立",
"province": null,
"is_985": 0,
"is_211": 1,
"is_world_a": 0,
"is_world_b": 0,
"is_world_class": 1
},
{
"name": "北京印刷学院",
"code": "4111010015",
"department": "北京市",
"level": "本科",
"property": "公立",
"province": null,
"is_985": 0,
"is_211": 0,
"is_world_a": 0,
"is_world_b": 0,
"is_world_class": 0
},
{
"name": "北京建筑大学",
"code": "4111010016",
"department": "北京市",
"level": "本科",
"property": "公立",
"province": null,
"is_985": 0,
"is_211": 0,
"is_world_a": 0,
"is_world_b": 0,
"is_world_class": 0
},
{
"name": "北京石油化工学院",
"code": "4111010017",
"department": "北京市",
"level": "本科",
"property": "公立",
"province": null,
"is_985": 0,
"is_211": 0,
"is_world_a": 0,
"is_world_b": 0,
"is_world_class": 0
},
{
"name": "北京电子科技学院",
"code": "4111010018",
"department": "中央办公厅",
"level": "本科",
"property": "公立",
"province": null,
"is_985": 0,
"is_211": 0,
"is_world_a": 0,
"is_world_b": 0,
"is_world_class": 0
},
{
"name": "中国农业大学",
"code": "4111010019",
"department": "教育部",
"level": "本科",
"property": "公立",
"province": null,
"is_985": 1,
"is_211": 1,
"is_world_a": 1,
"is_world_b": 0,
"is_world_class": 0
},
{
"name": "北京农学院",
"code": "4111010020",
"department": "北京市",
"level": "本科",
"property": "公立",
"province": null,
"is_985": 0,
"is_211": 0,
"is_world_a": 0,
"is_world_b": 0,
"is_world_class": 0
},
{
"name": "北京林业大学",
"code": "4111010022",
"department": "教育部",
"level": "本科",
"property": "公立",
"province": null,
"is_985": 0,
"is_211": 1,
"is_world_a": 0,
"is_world_b": 0,
"is_world_class": 1
}
]
}
}