接口地址: http://res.abeim.cn/api-ping-web
返回格式: JSON
请求方式: GET/POST
请求示例: http://res.abeim.cn/api-ping-web?domain=abeim.cn
请求参数说明:
名称 | 必填 | 类型 | 说明 |
---|---|---|---|
domain | 必填 | String | 域名 |
响应参数说明:
名称 | 类型 | 说明 |
---|---|---|
code | Int | 返回状态码 200:成功 |
msg | String | 返回提示信息 |
domain | String | 返回域名 |
data | Array | 返回数据 |
响应参数说明(data):
名称 | 类型 | 说明 |
---|---|---|
msg | String | 提示信息 |
node | String | 节点名称 |
ip | String | IP地址 |
ipAddress | String | 服务器所在地 |
httpCode | String | 响应状态码 |
解析时间 | String | dns解析时间 |
连接时间 | String | 连接时间 |
页面大小 | String | 页面源码大小 |
下载速度 | String | 页面下载网速 |
返回示例(json):
{ "code": 200, "msg": "ok", "domain": "abeim.cn", "data": [ { "msg": "ok", "node": "广东-东莞 (电信)", "ip": "43.248.190.175", "ipAddress": "中国江苏宿迁 pgyidc.com 联通/电信", "httpCode": "200", "解析时间": "29ms", "连接时间": "64ms", "页面大小": "62.6 KB", "下载速度": "113.0 KB/s" }, { "msg": "ok", "node": "浙江-绍兴 (电信)", "ip": "43.248.190.175", "ipAddress": "中国江苏宿迁 pgyidc.com 联通/电信", "httpCode": "200", "解析时间": "12ms", "连接时间": "30ms", "页面大小": "62.6 KB", "下载速度": "165.9 KB/s" }, { "msg": "ok", "node": "福建-厦门 (电信)", "ip": "43.248.190.175", "ipAddress": "中国江苏宿迁 pgyidc.com 联通/电信", "httpCode": "200", "解析时间": "9ms", "连接时间": "60ms", "页面大小": "62.6 KB", "下载速度": "201.9 KB/s" }, { "msg": "ok", "node": "福建-泉州 (电信)", "ip": "43.248.190.175", "ipAddress": "中国江苏宿迁 pgyidc.com 联通/电信", "httpCode": "200", "解析时间": "26ms", "连接时间": "81ms", "页面大小": "62.6 KB", "下载速度": "189.0 KB/s" }, { "msg": "ok", "node": "山东-济南 (联通)", "ip": "43.248.190.175", "ipAddress": "中国江苏宿迁 pgyidc.com 联通/电信", "httpCode": "200", "解析时间": "4ms", "连接时间": "23ms", "页面大小": "62.6 KB", "下载速度": "160.9 KB/s" }, { "msg": "ok", "node": "山东-济南 (联通)", "ip": "43.248.190.175", "ipAddress": "中国江苏宿迁 pgyidc.com 联通/电信", "httpCode": "200", "解析时间": "4ms", "连接时间": "26ms", "页面大小": "62.6 KB", "下载速度": "149.9 KB/s" }, { "msg": "ok", "node": "北京 (移动)", "ip": "43.248.190.175", "ipAddress": "中国江苏宿迁 pgyidc.com 联通/电信", "httpCode": "200", "解析时间": "4ms", "连接时间": "44ms", "页面大小": "62.6 KB", "下载速度": "149.4 KB/s" }, { "msg": "ok", "node": "北京 (多线)", "ip": "43.248.190.175", "ipAddress": "中国江苏宿迁 pgyidc.com 联通/电信", "httpCode": "200", "解析时间": "0ms", "连接时间": "60ms", "页面大小": "62.6 KB", "下载速度": "206.5 KB/s" }, { "msg": "ok", "node": "广东-深圳 (多线)", "ip": "43.248.190.175", "ipAddress": "中国江苏宿迁 pgyidc.com 联通/电信", "httpCode": "200", "解析时间": "2ms", "连接时间": "72ms", "页面大小": "62.6 KB", "下载速度": "188.5 KB/s" }, { "msg": "ok", "node": "江苏-扬州 (多线)", "ip": "43.248.190.175", "ipAddress": "中国江苏宿迁 pgyidc.com 联通/电信", "httpCode": "200", "解析时间": "31ms", "连接时间": "55ms", "页面大小": "62.6 KB", "下载速度": "239.7 KB/s" }, { "msg": "ok", "node": "浙江-宁波 (多线)", "ip": "43.248.190.175", "ipAddress": "中国江苏宿迁 pgyidc.com 联通/电信", "httpCode": "200", "解析时间": "2ms", "连接时间": "39ms", "页面大小": "62.6 KB", "下载速度": "243.5 KB/s" }, { "msg": "ok", "node": "浙江-杭州 (多线)", "ip": "43.248.190.175", "ipAddress": "中国江苏宿迁 pgyidc.com 联通/电信", "httpCode": "200", "解析时间": "1ms", "连接时间": "32ms", "页面大小": "62.6 KB", "下载速度": "273.2 KB/s" }, { "msg": "ok", "node": "贵州-贵阳 (多线)", "ip": "43.248.190.175", "ipAddress": "中国江苏宿迁 pgyidc.com 联通/电信", "httpCode": "200", "解析时间": "125ms", "连接时间": "160ms", "页面大小": "62.6 KB", "下载速度": "98.7 KB/s" }, { "msg": "ok", "node": "中国-香港 (港澳台)", "ip": "43.248.190.175", "ipAddress": "中国江苏宿迁 pgyidc.com 联通/电信", "httpCode": "200", "解析时间": "4ms", "连接时间": "43ms", "页面大小": "62.6 KB", "下载速度": "143.0 KB/s" }, { "msg": "ok", "node": "中国-香港 (港澳台)", "ip": "43.248.190.175", "ipAddress": "中国江苏宿迁 pgyidc.com 联通/电信", "httpCode": "200", "解析时间": "4ms", "连接时间": "43ms", "页面大小": "62.6 KB", "下载速度": "144.8 KB/s" }, { "msg": "ok", "node": "俄罗斯-莫斯科 (海外)", "ip": "43.248.190.175", "ipAddress": "中国江苏宿迁 pgyidc.com 联通/电信", "httpCode": "200", "解析时间": "12ms", "连接时间": "268ms", "页面大小": "62.6 KB", "下载速度": "27.5 KB/s" }, { "msg": "ok", "node": "日本 (海外)", "ip": "43.248.190.175", "ipAddress": "中国江苏宿迁 pgyidc.com 联通/电信", "httpCode": "200", "解析时间": "4ms", "连接时间": "51ms", "页面大小": "62.6 KB", "下载速度": "103.4 KB/s" }, { "msg": "ok", "node": "日本-东京 (海外)", "ip": "43.248.190.175", "ipAddress": "中国江苏宿迁 pgyidc.com 联通/电信", "httpCode": "200", "解析时间": "4ms", "连接时间": "127ms", "页面大小": "62.6 KB", "下载速度": "57.2 KB/s" }, { "msg": "ok", "node": "法国 (海外)", "ip": "43.248.190.175", "ipAddress": "中国江苏宿迁 pgyidc.com 联通/电信", "httpCode": "200", "解析时间": "10ms", "连接时间": "692ms", "页面大小": "62.6 KB", "下载速度": "25.2 KB/s" }, { "msg": "ok", "node": "泰国-曼谷 (海外)", "ip": "43.248.190.175", "ipAddress": "中国江苏宿迁 pgyidc.com 联通/电信", "httpCode": "200", "解析时间": "1ms", "连接时间": "208ms", "页面大小": "62.6 KB", "下载速度": "84.6 KB/s" }, { "msg": "ok", "node": "美国-硅谷 (海外)", "ip": "43.248.190.175", "ipAddress": "中国江苏宿迁 pgyidc.com 联通/电信", "httpCode": "200", "解析时间": "4ms", "连接时间": "236ms", "页面大小": "62.6 KB", "下载速度": "12.7 KB/s" } ] }
错误码说明:
名称 | 类型 | 说明 |
---|---|---|
code | Int | 201:域名为空 202:域名不正确 100:系统异常 |
msg | String | 提示信息 |
domain | String | 域名 |
代码示例:
暂无示例,等待添加更新日志:
暂无示例,等待添加