网站资源排行

请求URL

  • {{url}}/api/monitor/top

请求方式

  • get

Header

字段名
示例值
必选
类型
说明

x-api-key

{{x-api-key}}

string

x-api-secret

{{x-api-secret}}

string

请求Query参数

参数名
示例值
必选
类型
说明

type

top-ip

string

统计类型,可选值top-ip、top-url、top-domain、top-referer、top-country、top-province。

domain

string

域名,多个域名空格分隔

server_port

string

访问端口

cc

string

可选值为1或0,为1时,统计攻击数据。

recent_time

60m

string

最近时间数据,可选为10m、30m、60m。

请求参数示例


成功返回示例

{
  "code": 0,
  "data": [
    {
      "count": 10,
      "res": "1.1.1.1",
      "traffic": 2360
    },
    {
      "count": 1,
      "res": "2.2.2.2",
      "traffic": 1360
    }
  ],
  "msg": ""
}

成功返回示例的参数说明

参数名
类型
说明

code

string

data

array

count

string

res

string

traffic

string

msg

string

Last updated