查询总请求数报表

更新时间:2020-10-06 15:42:04

1. 接口描述

获取域名主机记录请求数报表数据(仅限近3个月的数据)。

接口说明:

调用URL:https://open.chinanetcenter.com/clouddns/DnsDomainFlowReportWService
调用频率:240/min

2. 请求参数

参数 类型 必填 描述
domain string 查询的域名
timeType string 时间粒度:1day;7day;month;q;custom 自定义查询日期(近3个月以内)
startTime string timeType为custom时必填;格式,“2018-07-10”
endTime string timeType为custom时必填;格式,“2018-07-10”
language string 为空返回中文结果(默认)en:返回英文提示结果

3. 返回参数

参数 类型 描述
resCode Int 响应码。见附件响应状态
domain String 域名
time String 时间
hits String 请求数
success String 成功数
nxdomain String nxdomain请求数
serverError String 服务器错误请求数
invalidError String 无效请求数
lt1ms String 0-1ms请求数
ge1ms String 1-10ms请求数
ge10ms String >10ms请求数

4. 请求示例

https://open.chinanetcenter.com/clouddns/DnsDomainFlowReportWService
<公共参数>
{
"domain": "quansucloud.com",
"timeType":"custom",
"startTime":"2018-06-06",
"endTime":"2018-07-06"
}

5. 返回示例

{
    "resCode":0,
    "msg":"操作成功",
    "content":[
        {
            "ge10ms":"0",
            "hits":"63",
            "time":"2018-11-06 00:00:00",
            "serverError":"0",
            "lt1ms":"63",
            "domain":"xinclub.top",
            "invalidError":"0",
            "ge1ms":"0",
            "success":"63",
            "nxDomain":"0"
        },
        {
            "ge10ms":"0",
            "hits":"54",
            "time":"2018-11-07 00:00:00",
            "serverError":"0",
            "lt1ms":"54",
            "domain":"xinclub.top",
            "invalidError":"0",
            "ge1ms":"0",
            "success":"54",
            "nxDomain":"0"
        },
        {
            "ge10ms":"0",
            "hits":"98",
            "time":"2018-11-08 00:00:00",
            "serverError":"0",
            "lt1ms":"96",
            "domain":"xinclub.top",
            "invalidError":"0",
            "ge1ms":"0",
            "success":"96",
            "nxDomain":"2"
        },
        {
            "ge10ms":"0",
            "hits":"67",
            "time":"2018-11-09 00:00:00",
            "serverError":"0",
            "lt1ms":"59",
            "domain":"xinclub.top",
            "invalidError":"0",
            "ge1ms":"0",
            "success":"59",
            "nxDomain":"8"
        },
        {
            "ge10ms":"0",
            "hits":"96",
            "time":"2018-11-10 00:00:00",
            "serverError":"0",
            "lt1ms":"85",
            "domain":"xinclub.top",
            "invalidError":"0",
            "ge1ms":"0",
            "success":"85",
            "nxDomain":"11"
        },
        {
            "ge10ms":"0",
            "hits":"107",
            "time":"2018-11-11 00:00:00",
            "serverError":"0",
            "lt1ms":"98",
            "domain":"xinclub.top",
            "invalidError":"0",
            "ge1ms":"0",
            "success":"98",
            "nxDomain":"9"
        },
        {
            "ge10ms":"0",
            "hits":"81",
            "time":"2018-11-12 00:00:00",
            "serverError":"0",
            "lt1ms":"63",
            "domain":"xinclub.top",
            "invalidError":"0",
            "ge1ms":"0",
            "success":"63",
            "nxDomain":"18"
        },
        {
            "ge10ms":"0",
            "hits":"47",
            "time":"2018-11-13 00:00:00",
            "serverError":"0",
            "lt1ms":"37",
            "domain":"xinclub.top",
            "invalidError":"0",
            "ge1ms":"0",
            "success":"37",
            "nxDomain":"10"
        },
        {
            "ge10ms":"0",
            "hits":"49",
            "time":"2018-11-14 00:00:00",
            "serverError":"0",
            "lt1ms":"37",
            "domain":"xinclub.top",
            "invalidError":"0",
            "ge1ms":"0",
            "success":"37",
            "nxDomain":"12"
        },
        {
            "ge10ms":"0",
            "hits":"56",
            "time":"2018-11-15 00:00:00",
            "serverError":"0",
            "lt1ms":"48",
            "domain":"xinclub.top",
            "invalidError":"0",
            "ge1ms":"0",
            "success":"48",
            "nxDomain":"8"
        },
        {
            "ge10ms":"0",
            "hits":"65",
            "time":"2018-11-16 00:00:00",
            "serverError":"0",
            "lt1ms":"51",
            "domain":"xinclub.top",
            "invalidError":"0",
            "ge1ms":"0",
            "success":"51",
            "nxDomain":"14"
        },
        {
            "ge10ms":"0",
            "hits":"43",
            "time":"2018-11-17 00:00:00",
            "serverError":"0",
            "lt1ms":"38",
            "domain":"xinclub.top",
            "invalidError":"0",
            "ge1ms":"0",
            "success":"38",
            "nxDomain":"5"
        },
        {
            "ge10ms":"0",
            "hits":"36",
            "time":"2018-11-18 00:00:00",
            "serverError":"0",
            "lt1ms":"31",
            "domain":"xinclub.top",
            "invalidError":"0",
            "ge1ms":"0",
            "success":"31",
            "nxDomain":"5"
        },
        {
            "ge10ms":"0",
            "hits":"49",
            "time":"2018-11-19 00:00:00",
            "serverError":"0",
            "lt1ms":"42",
            "domain":"xinclub.top",
            "invalidError":"0",
            "ge1ms":"0",
            "success":"42",
            "nxDomain":"7"
        },
        {
            "ge10ms":"0",
            "hits":"46",
            "time":"2018-11-20 00:00:00",
            "serverError":"0",
            "lt1ms":"40",
            "domain":"xinclub.top",
            "invalidError":"0",
            "ge1ms":"0",
            "success":"40",
            "nxDomain":"6"
        },
        {
            "ge10ms":"0",
            "hits":"28",
            "time":"2018-11-21 00:00:00",
            "serverError":"0",
            "lt1ms":"23",
            "domain":"xinclub.top",
            "invalidError":"0",
            "ge1ms":"0",
            "success":"23",
            "nxDomain":"5"
        },
        {
            "ge10ms":"0",
            "hits":"31",
            "time":"2018-11-22 00:00:00",
            "serverError":"0",
            "lt1ms":"26",
            "domain":"xinclub.top",
            "invalidError":"0",
            "ge1ms":"0",
            "success":"26",
            "nxDomain":"5"
        },
        {
            "ge10ms":"0",
            "hits":"27",
            "time":"2018-11-23 00:00:00",
            "serverError":"0",
            "lt1ms":"22",
            "domain":"xinclub.top",
            "invalidError":"0",
            "ge1ms":"0",
            "success":"22",
            "nxDomain":"5"
        },
        {
            "ge10ms":"0",
            "hits":"13",
            "time":"2018-11-24 00:00:00",
            "serverError":"0",
            "lt1ms":"10",
            "domain":"xinclub.top",
            "invalidError":"0",
            "ge1ms":"0",
            "success":"10",
            "nxDomain":"3"
        },
        {
            "ge10ms":"0",
            "hits":"35",
            "time":"2018-11-25 00:00:00",
            "serverError":"0",
            "lt1ms":"33",
            "domain":"xinclub.top",
            "invalidError":"0",
            "ge1ms":"0",
            "success":"33",
            "nxDomain":"2"
        },
        {
            "ge10ms":"0",
            "hits":"24",
            "time":"2018-11-26 00:00:00",
            "serverError":"0",
            "lt1ms":"20",
            "domain":"xinclub.top",
            "invalidError":"0",
            "ge1ms":"0",
            "success":"20",
            "nxDomain":"4"
        },
        {
            "ge10ms":"0",
            "hits":"52",
            "time":"2018-11-27 00:00:00",
            "serverError":"0",
            "lt1ms":"40",
            "domain":"xinclub.top",
            "invalidError":"0",
            "ge1ms":"0",
            "success":"40",
            "nxDomain":"12"
        },
        {
            "ge10ms":"0",
            "hits":"26",
            "time":"2018-11-28 00:00:00",
            "serverError":"0",
            "lt1ms":"22",
            "domain":"xinclub.top",
            "invalidError":"0",
            "ge1ms":"0",
            "success":"22",
            "nxDomain":"4"
        },
        {
            "ge10ms":"0",
            "hits":"34",
            "time":"2018-11-29 00:00:00",
            "serverError":"0",
            "lt1ms":"31",
            "domain":"xinclub.top",
            "invalidError":"0",
            "ge1ms":"0",
            "success":"31",
            "nxDomain":"3"
        },
        {
            "ge10ms":"0",
            "hits":"18",
            "time":"2018-11-30 00:00:00",
            "serverError":"0",
            "lt1ms":"15",
            "domain":"xinclub.top",
            "invalidError":"0",
            "ge1ms":"0",
            "success":"15",
            "nxDomain":"3"
        },
        {
            "ge10ms":"0",
            "hits":"24",
            "time":"2018-12-01 00:00:00",
            "serverError":"0",
            "lt1ms":"20",
            "domain":"xinclub.top",
            "invalidError":"0",
            "ge1ms":"0",
            "success":"20",
            "nxDomain":"4"
        },
        {
            "ge10ms":"0",
            "hits":"21",
            "time":"2018-12-02 00:00:00",
            "serverError":"0",
            "lt1ms":"14",
            "domain":"xinclub.top",
            "invalidError":"0",
            "ge1ms":"0",
            "success":"14",
            "nxDomain":"7"
        },
        {
            "ge10ms":"0",
            "hits":"12",
            "time":"2018-12-03 00:00:00",
            "serverError":"0",
            "lt1ms":"10",
            "domain":"xinclub.top",
            "invalidError":"0",
            "ge1ms":"0",
            "success":"10",
            "nxDomain":"2"
        },
        {
            "ge10ms":"0",
            "hits":"27",
            "time":"2018-12-04 00:00:00",
            "serverError":"0",
            "lt1ms":"20",
            "domain":"xinclub.top",
            "invalidError":"0",
            "ge1ms":"0",
            "success":"20",
            "nxDomain":"7"
        },
        {
            "ge10ms":"0",
            "hits":"25",
            "time":"2018-12-05 00:00:00",
            "serverError":"0",
            "lt1ms":"24",
            "domain":"xinclub.top",
            "invalidError":"0",
            "ge1ms":"0",
            "success":"24",
            "nxDomain":"1"
        },
        {
            "ge10ms":"0",
            "hits":"26",
            "time":"2018-12-06 00:00:00",
            "serverError":"0",
            "lt1ms":"24",
            "domain":"xinclub.top",
            "invalidError":"0",
            "ge1ms":"0",
            "success":"24",
            "nxDomain":"2"
        },
        {
            "ge10ms":"0",
            "hits":"27",
            "time":"2018-12-07 00:00:00",
            "serverError":"0",
            "lt1ms":"22",
            "domain":"xinclub.top",
            "invalidError":"0",
            "ge1ms":"0",
            "success":"22",
            "nxDomain":"5"
        }
    ]
}
本篇文档内容对您是否有帮助?
有帮助
我要反馈
提交成功!非常感谢您的反馈,我们会继续努力做到更好!