查询Top Referer

简要描述:

请求URL:

请求方式:

请求参数:

参数名 必选 类型 说明
access_token string 密钥
starttime string 开始日期,unixtime
endtime string 结束日期,unixtime
domain string 域名,如www.test.com

请求示例

curl -i -X POST 'https://api.chuangcache.com/stat/topreferer' -H "Accept: application/json" -H "Content-Type: application/json; charset=utf-8" -d '{"access_token": "ACCESS_TOKEN",  "starttime":"starttime", "endtime":"endtime"}'

响应示例

{
  "status": 1,
  "info": "success",
  "data": [
    {
      "timestamp": 1497974400,
      "details": [
        {
          "name": "-",
          "value": 102884
        },
        {
          "name": "",
          "value": 100370
        }
      ]
    }
  ]
}

返回参数说明

参数名 类型 说明
status int 接口返回码 [ 0(操作失败)、1(操作成功)]
info string 接口返回信息 [ 操作失败 / 操作成功 ]
data array 数据列表