获取AST即时监测数据集

方法:GET

https://network.tingyun.com/network-report-data/instant/astdata-json-authkey

请求参数

字段名 类型 必填 描述
authkey String 授权码
group_id Int 即时监测组ID

返回参数

字段名 类型 描述
status Int 状态码
data String 返回数据
id long 任务id
instant_id long 即时监测记录ID
task_id Int 任务id
url String url
host_id long 节点id
probe_ip String 节点ip
dns_server String dns server
country_id Int 国家id
city_id Int 城市id
isp_id Int 运营商id
speed_id Int 接入方式id
dest_ip String 目标ip
dest_country_id Int 目标国家id
dest_city_id Int 目标城市id
dest_isp_id Int 目标运营商id
error_code Int 错误码
ts_total Int 总下载时间
ts_dns Int DNS时间
ts_connect Int 建立连接时间
ts_first_packet Int 首包时间
ts_contents Int 内容下载时间
ts_ssl Int SSL握手时间
http_code Int http_code
req String req
rsp String rsp
message String 错误信息
request String 请求路径
time Date 请求时间

错误说明

字段说明 错误信息
authkey PermissionDeniedError

返回示例

{
    "status": 200,
    "data": [
        {
            "id": 1025505,
            "instant_id": 481,
            "task_id": 0,
            "url": "www.baidu.com",
            "host_id": 13908,
            "probe_ip": "103.85.167.114",
            "dns_server": "114.114.114.114",
            "country_id": 48,
            "city_id": 481101,
            "isp_id": 17,
            "speed_id": 6,
            "dest_ip": "182.61.200.6",
            "dest_country_id": 48,
            "dest_city_id": 481101,
            "dest_isp_id": 17,
            "error_code": 0,
            "ts_total": 61,
            "ts_dns": 11,
            "ts_connect": 4,
            "ts_first_packet": 17,
            "ts_contents": 29,
            "ts_ssl": 0,
            "http_code": 200,
            "req": "GET / HTTP/1.1\r\nAccept: */*\r\nAccept-Encoding: identify\r\nHost: www.baidu.com\r\nUser-Agent: Lib open ssl 1.1.0f; NetworkBench-100-13908-1.0.0.67\r\nX-Tingyun: c=N|0;\r\n\r\n",
            "rsp": "HTTP/1.1 200 OK\r\nBdpagetype: 1\r\nBdqid: 0xf7e9b44800043f9c\r\nCache-Control: private\r\nConnection: keep-alive\r\nContent-Type: text/html;charset=utf-8\r\nDate: Tue, 10 Aug 2021 16:11:11 GMT\r\nExpires: Tue, 10 Aug 2021 16:11:11 GMT\r\nP3p: CP=\" OTI DSP COR IVA OUR IND COM \"\r\nP3p: CP=\" OTI DSP COR IVA OUR IND COM \"\r\nServer: BWS/1.1\r\nSet-Cookie: BAIDUID=D4569697270AB8AEDB46AA890963D8B6:FG=1; expires=Thu, 31-Dec-37 23:55:55 GMT; max-age=2147483647; path=/; domain=.baidu.com\r\nSet-Cookie: BIDUPSID=D4569697270AB8AEDB46AA890963D8B6; expires=Thu, 31-Dec-37 23:55:55 GMT; max-age=2147483647; path=/; domain=.baidu.com\r\nSet-Cookie: PSTM=1628611871; expires=Thu, 31-Dec-37 23:55:55 GMT; max-age=2147483647; path=/; domain=.baidu.com\r\nSet-Cookie: BAIDUID=D4569697270AB8AE702AF5D00EC5C45C:FG=1; max-age=31536000; expires=Wed, 10-Aug-22 16:11:11 GMT; domain=.baidu.com; path=/; version=1; comment=bd\r\nSet-Cookie: BDSVRTM=9; path=/\r\nSet-Cookie: BD_HOME=1; path=/\r\nSet-Cookie: H_PS_PSSID=34299_34334_34369_34144_34376_33848_34072_34092_26350_34289_34390; path=/; domain=.baidu.com\r\nTraceid: 1628611871050022887417864007618272706460\r\nVary: Accept-Encoding\r\nVary: Accept-Encoding\r\nX-Frame-Options: sameorigin\r\nX-Ua-Compatible: IE=Edge,chrome=1\r\nTransfer-Encoding: chunked\r\n\r\n"
        }
    ],
    "message": "",
    "error_code": 0,
    "request": "",
    "time": "2021-08-10 16:15:56"
}
© 2007-2023 北京基调网络股份有限公司 all right reserved,powered by Gitbook本文档更新于: 2023-05-05 17:33

results matching ""

    No results matching ""