超级Ping
分布式监测点,支持联通、电信等八个监测点

接口地址: https://natapi.cn/api/ping

返回格式: JSON

请求方式: GET

请求示例: https://natapi.cn/api/ping?url=natapi.cn

请求参数说明:

名称 必填 类型 说明

返回参数说明:

名称 类型 说明

返回示例:

{
    "code":200,
    "msg":"success",
    "data":[
        {
            "monitor_name":"上海市电信",
            "response_ip":"58.211.137.157",
            "ping":"PING OK",
            "min":5.659,
            "avg":7.056,
            "max":14.144
        },
        {
            "monitor_name":"上海市联通",
            "response_ip":"58.211.137.157",
            "ping":"PING OK",
            "min":10.102,
            "avg":10.137,
            "max":10.178
        },
        {
            "monitor_name":"浙江温州联通",
            "response_ip":"122.190.3.157",
            "ping":"PING OK",
            "min":20.053,
            "avg":22.936,
            "max":37.917
        },
        {
            "monitor_name":"江西南昌电信",
            "response_ip":"115.231.187.157",
            "ping":"PING OK",
            "min":14.276,
            "avg":14.332,
            "max":14.431
        },
        {
            "monitor_name":"辽宁大连联通",
            "response_ip":"125.39.174.157",
            "ping":"PING OK",
            "min":17.539,
            "avg":17.825,
            "max":19.712
        },
        {
            "monitor_name":"湖南长沙电信",
            "response_ip":"58.211.137.157",
            "ping":"PING OK",
            "min":20.867,
            "avg":20.932,
            "max":21.009
        },
        {
            "monitor_name":"山东济南联通",
            "response_ip":"125.39.174.157",
            "ping":"PING OK",
            "min":9.584,
            "avg":9.687,
            "max":10.114
        },
        {
            "monitor_name":"陕西西安电信",
            "response_ip":"117.34.14.157",
            "ping":"PING OK",
            "min":6.3,
            "avg":6.706,
            "max":7.083
        }]
}

错误码格式说明:

名称 类型 说明

代码示例: