CDN节点检测
CDN节点检测

接口地址: https://api.i8z8.com/api/cdn

返回格式: json

请求方式: GET/POST

请求示例: https://api.i8z8.com/api/cdn?url=www.baidu.com

请求参数说明:

名称 必填 类型 说明

返回参数说明:

名称 类型 说明

返回示例:

{
    "code": 0,
    "data": [{
        "ip": "104.193.88.123",
        "location": "美国"
    }, {
        "ip": "220.181.38.150",
        "location": "北京"
    }, {
        "ip": "220.181.38.149",
        "location": "北京"
    }, {
        "ip": "110.242.68.4",
        "location": "河北保定"
    }, {
        "ip": "110.242.68.3",
        "location": "河北保定"
    }, {
        "ip": "36.155.132.55",
        "location": "江苏"
    }, {
        "ip": "36.155.132.31",
        "location": "江苏"
    }, {
        "ip": "104.193.88.77",
        "location": "美国"
    }]
}

请求参数设置:

参数名称 参数值


{
    "code": 0,
    "data": [{
        "ip": "104.193.88.123",
        "location": "美国"
    }, {
        "ip": "220.181.38.150",
        "location": "北京"
    }, {
        "ip": "220.181.38.149",
        "location": "北京"
    }, {
        "ip": "110.242.68.4",
        "location": "河北保定"
    }, {
        "ip": "110.242.68.3",
        "location": "河北保定"
    }, {
        "ip": "36.155.132.55",
        "location": "江苏"
    }, {
        "ip": "36.155.132.31",
        "location": "江苏"
    }, {
        "ip": "104.193.88.77",
        "location": "美国"
    }]
}

错误码格式说明:

名称 类型 说明

代码示例: