接口地址: http://res.abeim.cn/api-ping
返回格式: JSON
请求方式: GET/POST
请求示例: http://res.abeim.cn/api-ping?domain=abeim.cn
请求参数说明:
| 名称 | 必填 | 类型 | 说明 |
|---|---|---|---|
| domain | 必填 | String | 域名 |
响应参数说明:
| 名称 | 类型 | 说明 |
|---|---|---|
| code | Int | 返回状态码 200:成功 |
| msg | String | 返回提示信息 |
| domain | String | 返回域名 |
| data | Array | 返回数据 |
响应参数说明(data):
| 名称 | 类型 | 说明 |
|---|---|---|
| node | String | 节点名称 |
| ISP | String | 服务商 |
| ip | String | IP地址 |
| ttl | String | ttl |
| time | String | 响应速度 |
| address | String | 服务器所在地 |
返回示例(json):
{
"code": 200,
"msg": "ok",
"domain": "abeim.cn",
"data": [
{
"node": "浙江绍兴",
"ISP": "电信",
"ip": "43.248.190.175",
"ttl": "49",
"time": "12.7 ms",
"address": "中国江苏宿迁 pgyidc.com 联通/电信"
},
{
"node": "福建泉州",
"ISP": "电信",
"ip": "43.248.190.175",
"ttl": "49",
"time": "25.6 ms",
"address": "中国江苏宿迁 pgyidc.com 联通/电信"
},
{
"node": "山东济南",
"ISP": "联通",
"ip": "43.248.190.175",
"ttl": "49",
"time": "20.1 ms",
"address": "中国江苏宿迁 pgyidc.com 联通/电信"
},
{
"node": "北京",
"ISP": "移动",
"ip": "43.248.190.175",
"ttl": "49",
"time": "40.8 ms",
"address": "中国江苏宿迁 pgyidc.com 联通/电信"
},
{
"node": "四川成都",
"ISP": "BGP",
"ip": "43.248.190.175",
"ttl": "47",
"time": "47.3 ms",
"address": "中国江苏宿迁 pgyidc.com 联通/电信"
},
{
"node": "浙江宁波",
"ISP": "BGP",
"ip": "43.248.190.175",
"ttl": "47",
"time": "14.2 ms",
"address": "中国江苏宿迁 pgyidc.com 联通/电信"
},
{
"node": "贵州贵阳",
"ISP": "BGP",
"ip": "43.248.190.175",
"ttl": "43",
"time": "36.8 ms",
"address": "中国江苏宿迁 pgyidc.com 联通/电信"
},
{
"node": "香港",
"ISP": "港澳台",
"ip": "43.248.190.175",
"ttl": "43",
"time": "36.6 ms",
"address": "中国江苏宿迁 pgyidc.com 联通/电信"
},
{
"node": "日本",
"ISP": "海外",
"ip": "43.248.190.175",
"ttl": "48",
"time": "41.4 ms",
"address": "中国江苏宿迁 pgyidc.com 联通/电信"
},
{
"node": "法国",
"ISP": "海外",
"ip": "43.248.190.175",
"ttl": "47",
"time": "324 ms",
"address": "中国江苏宿迁 pgyidc.com 联通/电信"
},
{
"node": "泰国曼谷",
"ISP": "海外",
"ip": "43.248.190.175",
"ttl": "38",
"time": "112 ms",
"address": "中国江苏宿迁 pgyidc.com 联通/电信"
},
{
"node": "美国达拉斯",
"ISP": "海外",
"ip": "43.248.190.175",
"ttl": "48",
"time": "171 ms",
"address": "中国江苏宿迁 pgyidc.com 联通/电信"
}
]
}错误码说明:
| 名称 | 类型 | 说明 |
|---|---|---|
| code | Int | 201:域名为空 202:域名不正确 100:系统异常 |
| msg | String | 提示信息 |
| domain | String | 域名 |
代码示例:
暂无示例,等待添加更新日志:
暂无示例,等待添加