接口地址: https://登录后显示/api/94/346(支持:http/https)
返回格式:json,xml,jsonp调用
请求方式:GET,POST
POST 请求需要设置Header头:Content-Type: application/x-www-form-urlencoded;charset=utf-8
Api测试工具请求说明:
名称 | 必填 | 类型 | 说明 | 示例 参数另存 |
---|---|---|---|---|
appid | 是 | String | 应用ID,在后台我的应用查看或者添加 | 1 |
date | 否 | String | 日期 | 2022-07-16 |
format | 否 | String | 返回数据格式类型,每个接口已经说明支持返回格式:json,xml, jsonp调用方法说明 | json |
sign | 是 | String | 1.使用Md5方式验证,参数按一定规则md5后返回的字符串,详情点击这里阅读 2.使用Hash验证方式,直接跟上密钥即可。如何设置hash验证 通过我的应用里面修改验证方式 |
52a9dbe274a5c537bbf7a53e2d66c09f |
time | 否 | String | 请求时传递的当前服务器时间戳 | 1545829466 |
Md5验证方式-加密顺序
返回参数说明:
名称 | 必填 | 类型 | 说明 | 示例 参数另存 |
---|---|---|---|---|
codeid | 否 | Integer | 状态码,返回10000状态都会进行计费。具体说明可查看状态码说明 | 10000 |
confirm | 否 | Integer | 累计确诊 | 534067081 |
cur_asymptomatic | 否 | String | 现有无症状 | 3505 |
cur_confirm | 否 | String | 当前确诊 | 2865667 |
cur_input | 否 | String | 现有境外 | 191 |
cur_local | 否 | String | 现有本土 | 715 |
cured | 否 | String | 治愈 | 510055415 |
curtime | 否 | String | 当前服务器时间戳 | 1654765352 |
died | 否 | String | 累计死亡 | 6308588 |
message | 否 | String | 请求状态说明 | 操作成功! |
new_add_asymptomatic | 否 | String | 新增无症状 | 170 |
new_add_asymptomatic_in | 否 | Integer | 境外新增无症状 | 59 |
new_add_asymptomatic_out | 否 | Integer | 本土新增无症状 | 111 |
new_add_confirm | 否 | String | 新增确诊 | 80224 |
new_add_input | 否 | String | 新增境外 | 17 |
new_add_local | 否 | String | 本土新增 | 53 |
per_cured | 否 | String | 治愈率 | 95.5% |
per_died | 否 | String | 死亡率 | 1.2% |
retdata | 否 | Array | 回数据集合,可能是数据、对象或者字符串 | |
summary_in_data | 否 | Array | 国内数据汇总 | |
summary_out_data | 否 | Array | 国外数据汇总 | |
total_confirm | 否 | String | 累计确诊 | 3178526 |
total_cured | 否 | String | 累计治愈 | 294871 |
total_died | 否 | String | 累计死亡 | 17988 |
total_input | 否 | String | 累计境外 | 18834 |
JSON返回示例: