网址是否被小米拦截
接口地址:https://apis.kit9.cn/api/xiaomi_security/api.php
请求方式:GET/POST
返回格式:JSON
HTTP/HTTPS:支持
请求示例:https://apis.kit9.cn/api/xiaomi_security/api.php?url=https://api.kit9.cn
参数说明:
参数 | 必填 | 类型 | 说明 |
---|---|---|---|
url | 是 | String | 网址 |
返回参数:
名称 | 类型 | 说明 | ||
---|---|---|---|---|
code | number | 状态码 200为正常,其它为异常 | ||
msg | string | 状态说明 | ||
data | array | 数组 | ||
state | string | 安全类型 0为正常 1为安全 2为拦截 | ||
result | string | 安全结果 |
返回示例:
{
"code": 200,
"msg": "success",
"data": {
"state": 0,
"result": "域名正常"
}
}