2021 年春运防疫政策查询接口以及工具源码

2023-10-21 16:08:00 浏览数 (1)

说明

2021 年春运防疫政策查询接口以及工具源码

数据来源于网络,政府发布等,数据不一定及时。请以最新政策为准。

接口域名: v2.alapi.cn

工具截图

演示地址:https://spring.alapi.cn

程序下载地址:防疫查询小工具.zip

接口说明

接口域名:v2.alapi.cn

使用接口API 需要 token 公共参数,可以通过注册获取。

token 是公共参数,每个接口都需要带上!

注册地址:https://admin.alapi.cn

城市查询接口

接口地址: https://v2.alapi.cn/api/springTravel/city

例子: https://v2.alapi.cn/api/springTravel/city?token=你的token

代码语言:javascript复制
{"province_id": 2,"province": "北京","cities": [{"province_id": 2,"city_id": 10017,"city": "北京"}]},{"province_id": 3,"province": "重庆","cities": [{"province_id": 3,"city_id": 10018,"city": "重庆"}]}

查询当前城市防疫政策信息

接口地址: https://v2.alapi.cn/api/springTravel/current

需要参数: city_id ,可从城市接口获取城市ID (city_id 不是必填,如果不填则根据请求的ip获取所在的城市)

例子: https://v2.alapi.cn/api/springTravel/current?city_id=10200&token=你的token

返回

返回参数说明

参数

说明

province_id

省份ID

city_id

城市ID

city_name

城市名称

province_name

省份名称

health_code_desc

健康码描述

health_code_gid

健康码新闻

health_code_name

健康码名称

health_code_picture

健康码二维码图片

high_in_desc

高风险地区,进入政策描述

low_in_desc

低风险地区,进入政策描述

out_desc

出行政策描述

risk_level

风险等级,0:暂无 1:低风险 2:中风险 3:高风险 4:部分地区中风险 5:部分地区高风险 6:部分地区中、高风险

代码语言:javascript复制
{
"code": 200,
"msg": "success",
"data": {
"province_id": 17,
"city_id": 10200,
"province_name": "江西",
"city_name": "南昌",
"health_code_desc": "微信扫一扫,进入小程序",
"health_code_gid": "https://www.sdk.cn/details/djgylbOGwQ7JbxAN1Z?form=alapi",
"health_code_name": "赣通码",
"health_code_picture": "https://api-img.alapi.cn//spring_travel/a4122b58b9fee5ab57af16e33afe411d.png?form=alapi",
"health_code_style": "1",
"high_in_desc": "江西省要求:n1.所有来(返)赣人员须持7日内核酸检测阴性证明,并在抵赣前24小时由本人或其亲友向所在社区(村组)或单位如实报告,各乡镇(街道)、行政村(居委会)落实责任制,对返乡人员实行网格化管理,做好登记造册、健康监测和异常状况处置等工作。返乡后实行14天居家健康监测,期间不聚集、不流动,每7天开展一次核酸检测。n2.积极劝导中高风险地区人员暂缓来(返)赣。对来自高风险地区人员,由入赣目的地疫情防控指挥部实施14天集中隔离,在集中隔离第1天、第7天、第14天各进行1次核酸检测,解除隔离后再做好14天的居家健康监测;对来自中风险地区人员,到赣后第一时间进行核酸检测,检测结果阴性的,则进行7天居家隔离,居家隔离结束时再进行核酸检测。n3.从低风险地区来(返)赣人员,入赣14天之内,若入赣前旅居地调整为高风险地区,所在县级疫情防控指挥部要立即对此类人员进行集中隔离,并进行核酸检测;若入赣前旅居地调整为中风险地区,所在县级疫情防控指挥部要立即对此类人员进行核酸检测。n4.境外国外来(返)赣人员在第一入境点解除14天集中隔离抵赣后,由入境目的地疫情防控指挥部全程闭环实施7天集中隔离,在集中隔离第1天、第7天各进行一次核酸检测,检测结果阴性的,再居家医学观察7天,在居家观察第7天进行一次核酸检测,检测结果阴性的,在做好个人防护的前提下,可有序流动,并尽量不参加群体性聚集性活动。n5.从境外国外经江西直接入境人员,在省内第一入境点实施21天集中隔离医学观察,在集中隔离第1天、第7天、第14天、第21天各进行一次核酸检测,检测结果阴性的再居家医学观察7天,在居家观察第7天进行一次核酸检测,检测结果阴性的,在做好个人防护的前提下,可有序流动,并尽量不参加群体性聚集性活动。",
"low_in_desc": "江西省要求:n1.所有来(返)赣人员须持7日内核酸检测阴性证明,并在抵赣前24小时由本人或其亲友向所在社区(村组)或单位如实报告,各乡镇(街道)、行政村(居委会)落实责任制,对返乡人员实行网格化管理,做好登记造册、健康监测和异常状况处置等工作。返乡后实行14天居家健康监测,期间不聚集、不流动,每7天开展一次核酸检测。n2.从低风险地区来(返)赣人员,入赣14天之内,若入赣前旅居地调整为高风险地区,所在县级疫情防控指挥部要立即对此类人员进行集中隔离,并进行核酸检测;若入赣前旅居地调整为中风险地区,所在县级疫情防控指挥部要立即对此类人员进行核酸检测。",
"out_desc": "1.不建议前往国内中高风险地区。n2.各级党政机关、事业单位、各类企业的工作人员要减少不必要出行,避免前往中、高风险地区,坚持外出必批准,返回必报告。",
"risk_level": 1,
"updated_at": "2021-01-25 01:59:19"
},
"time": 1611590470,
"log_id": 212359583857979400
}

查询来往城市防疫政策

接口地址: https://v2.alapi.cn/api/springTravel/query

请求参数:

代码语言:javascript复制
{
"form":"出发地城市ID",
"to":"目的地城市ID",
"token":"你的token"
}

例子: https://v2.alapi.cn/api/springTravel/query?token=你的token&from=10019&to=10200

返回数据参考:查询当前城市防疫政策信息

查询城市核酸检测机构

接口地址: https://v2.alapi.cn/api/springTravel/jg

例子:https://v2.alapi.cn/api/springTravel/jg?token=你的TOKEN&city_id=10200

返回数据:

代码语言:javascript复制
{
"code": 200,
"msg": "success",
"data": [
{
"city_id": 10200,
"city": "南昌",
"province": "江西",
"phone": "0791-8810406518170817826",
"name": "江西迪安华星医学检验实验室有限公司",
"address": "江西省南昌市南昌高新技术产业开发区艾溪湖北路269号南昌国家医药国际创新园联合研究院13号楼"
},
{
"city_id": 10200,
"city": "南昌",
"province": "江西",
"phone": "0791-88326322",
"name": "江西金域医学检验实验室",
"address": "江西省南昌市高新区艾溪湖北路688号南昌中兴软件产业园8栋3楼"
},
{
"city_id": 10200,
"city": "南昌",
"province": "江西",
"phone": "0791-88319813",
"name": "江西省疾病预防控制中心",
"address": "江西省南昌市青山湖区北京东路555号"
},
{
"city_id": 10200,
"city": "南昌",
"province": "江西",
"phone": "0791-86770951",
"name": "江西省胸科医院",
"address": "江西省南昌市东湖区"
},
{
"city_id": 10200,
"city": "南昌",
"province": "江西",
"phone": "0791-88314374",
"name": "江西省肿瘤医院",
"address": "江西省南昌市青山湖区"
},
{
"city_id": 10200,
"city": "南昌",
"province": "江西",
"phone": "0791-87766688",
"name": "江西中科健康体检中心",
"address": "江西省南昌市东湖区洪都北大道1288号"
},
{
"city_id": 10200,
"city": "南昌",
"province": "江西",
"phone": "0791-86362720",
"name": "江西中医药大学附属医院",
"address": "江西省南昌市东湖区八一大道445号"
},
{
"city_id": 10200,
"city": "南昌",
"province": "江西",
"phone": "0791-88117970",
"name": "南昌艾迪康医学检验实验室有限公司",
"address": "江西省南昌市高新开发区艾溪湖北路688号中兴南昌软件产业园9#3-4层北侧"
},
{
"city_id": 10200,
"city": "南昌",
"province": "江西",
"phone": "13970051667",
"name": "南昌大学第四附属医院",
"address": "江西省南昌市西湖区广场南路133号"
},
{
"city_id": 10200,
"city": "南昌",
"province": "江西",
"phone": "0791-88693136",
"name": "南昌大学第一附属医院",
"address": "江西省南昌市东湖区"
},
{
"city_id": 10200,
"city": "南昌",
"province": "江西",
"phone": "0791-86319107",
"name": "南昌大学第一附属医院(高新医院)",
"address": "江西省南昌市青山湖区高新开发区昌东大道7889号"
},
{
"city_id": 10200,
"city": "南昌",
"province": "江西",
"phone": "0791-86319391",
"name": "南昌大学第一附属医院(象湖院区)",
"address": "江西省南昌市南昌县东岳大道1519号"
},
{
"city_id": 10200,
"city": "南昌",
"province": "江西",
"phone": "0791-83765551",
"name": "南昌迪斯医学检验实验室",
"address": "江西省南昌市湾里区梅岭国家森林公园旁新经济产业园1#东侧1-2层、8#楼"
},
{
"city_id": 10200,
"city": "南昌",
"province": "江西",
"phone": "0791-0697792",
"name": "南昌高新达安医学检验所有限公司",
"address": "江西省南昌市昌北新达周上海南路1号"
},
{
"city_id": 10200,
"city": "南昌",
"province": "江西",
"phone": "18933073265",
"name": "南昌凯普医学检验实验室",
"address": "江西省南昌市经开区龙潭路188号"
},
{
"city_id": 10200,
"city": "南昌",
"province": "江西",
"phone": "0791-87708701",
"name": "南昌美康盛德医学检验实验室有限公司",
"address": "江西省南昌市南昌县小蓝开发区汇仁大道689号"
},
{
"city_id": 10200,
"city": "南昌",
"province": "江西",
"phone": "0791-82118118",
"name": "南昌平安好医医学检验实验室",
"address": "江西省南昌市青山湖区南京东路国信医药谷"
},
{
"city_id": 10200,
"city": "南昌",
"province": "江西",
"phone": "0791-88110782",
"name": "南昌千麦医学检验实验室",
"address": "江西省南昌市青山湖区高新大道1807号"
},
{
"city_id": 10200,
"city": "南昌",
"province": "江西",
"phone": "0791-85250512",
"name": "南昌三三四医院",
"address": "江西省南昌市青云谱区"
},
{
"city_id": 10200,
"city": "南昌",
"province": "江西",
"phone": "0791-88499542",
"name": "南昌市第九医院",
"address": "江西省南昌市青山湖区"
},
{
"city_id": 10200,
"city": "南昌",
"province": "江西",
"phone": "0791-88452958",
"name": "南昌市第五医院",
"address": "江西省南昌市青云谱区"
},
{
"city_id": 10200,
"city": "南昌",
"province": "江西",
"phone": "0791-88862324",
"name": "南昌市第一医院",
"address": "江西省南昌市东湖区象山北路128号"
},
{
"city_id": 10200,
"city": "南昌",
"province": "江西",
"phone": "0791-86363255",
"name": "南昌市疾病预防控制中心",
"address": "江西省南昌市红谷滩新区丽景路833号"
},
{
"city_id": 10200,
"city": "南昌",
"province": "江西",
"phone": "0791-88183195",
"name": "南昌市青山湖区疾病预防控制中心",
"address": "江西省南昌市青山湖区"
},
{
"city_id": 10200,
"city": "南昌",
"province": "江西",
"phone": "0791-85712234",
"name": "南昌县疾病预防控制中心",
"address": "江西省南昌市南昌县银良北路212号"
},
{
"city_id": 10200,
"city": "南昌",
"province": "江西",
"phone": "0791-87317980",
"name": "南昌县中医院",
"address": "江西省南昌市南昌县莲塘镇澄湖西路2016号"
},
{
"city_id": 10200,
"city": "南昌",
"province": "江西",
"phone": "0791-88848180",
"name": "中国人民解放军联勤保障部队第九〇八医院",
"address": "江西省南昌市青云谱区井冈山大道1028号"
}
],
"time": 1611590407,
"log_id": 212359321328103420
}

0 人点赞