网站Alexa排名查询

最后更新于:2022-04-02 08:19:26

## 网站Alexa查询 ![](https://docs.gechiui.com/gc-content/uploads/sites/kancloud/ac/d0/acd0c2b53c30c2753f7056ba15680ed2_169x135.png) > 根据域名返回Alexa相关信息 ## 接口费用( [点击购买](https://market.topthink.com/product/368)) > 最低 0.01元/次 ## 接口调用([调用须知](https://docs.topthink.com/think-api/1835086)) ### 请求地址 ``` GET https://api.topthink.com/website/top ``` ### 请求参数 | 名称 | 必填 | 类型 | 说明 | | --- | --- | --- | --- | | appCode| 是|string| 用户授权码,参考[API调用](https://docs.topthink.com/think-api/1835086) | | domainName | 是 | string | 获取的域名 | ### 返回`data`参数 | 名称 | 类型 | 说明 | | --- | --- | --- | | DomainName | string | 域名 | | Title | string | 站点名称 | | CreateTime | int | 创建总天数 | | TrendValue | int | 变化值 | | ShowMedianLoadTime | string | 访问速度 | | ShowPercentile | string | 测速得分 | | Locale | string | 所属国家 | | Encoding | string | 编码方式 | | LinksInCount | int | 反向链接 | | PhoneNumbers | string | 联系电话 | | Keywords | string | 网站关键字 | | OwnedDomains | string | 站长所有域名 | | OwnerName | string | 网站站长 | | Email | string | 电子信箱 | | Streets | string | 街道 | | City | string | 城市 | | PostalCode | string | 邮政编码 | | Country | string | 国家 | | CompanyStockTicker | string | 是否上市公司 | | Rank | int | 全球综合排名 | | PhysicalAddress | string | 详细地址 | | CNRank | int | 中国排名 | | NextRank | int | 下期预测排名 | | TodayRank | int | 当天排名 | | ShowDescription | string | 网站简介 | | ShowOnlineSince | string | 收录日期 | | ShowAdultContent | string | 成人内容 | | CategoryData—Title | string | 分类名 | | CategoryData—AbsolutePath | string | 分类相对目录 | | CountryList—Code | string | 国家/地区代码 | | CountryList—Rank | string | 国家/地区排名 | | CountryList— Contribution—PageViews | string | 页面浏览比例 | | CountryList— Contribution—Users | string | 网站访问比例 | | CountryList—Name | string | 国家/地区名称 | | ContributingSubdomainList —DataUrl | string | 子站点域名 | | ContributingSubdomainList —TimeRange—Days | string | 一个月排名变化情况 | | ContributingSubdomainList —Reach—Percentage | string | 近月网站访问比例 | | ContributingSubdomainList —PageViews—Percentage | string | 近月页面访问比例 | | ContributingSubdomainList —PageViews—PerUser | json | 人均访问数据 | | ContributingSubdomainList —PageViews—StrPerUser | string | 人均页面浏览量 | | LogoInfo—ImgSrc | string | log图片地址 | | LogoInfo—Domain | string | 域名 | | UsageStatistic\_Day (Week/Month/ThreeMonth) —TimeRange—Days | string | 当天流量排名情况 | | UsageStatistic\_Day (Week/Month/ThreeMonth) —Rank—Value | string | 当日(周/月/三个月)排名 | | UsageStatistic\_Day (Week/Month/ThreeMonth) —Rank—Delta | string | 变化趋势 | | UsageStatistic\_Day (Week/Month/ThreeMonth) —Reach—Rank—Value | string | 当日(周/月/三个月)排名 | | UsageStatistic\_Day (Week/Month/ThreeMonth) —Reach—Rank—Delta | string | 变化趋势 | | UsageStatistic\_Day (Week/Month/ThreeMonth) —Reach—PerMillion—Value | string | 每百万人中访问人数 | | UsageStatistic\_Day (Week/Month/ThreeMonth) —Reach—PerMillion—Delta | string | 变化趋势 | | UsageStatistic\_Day (Week/Month/ThreeMonth) —PageViews—PerMillion—Value | string | 每百万人访问页面中访问本站的页面数 | | UsageStatistic\_Day (Week/Month/ThreeMonth) —PageViews—PerMillion—Delta | string | 变化趋势 | | UsageStatistic\_Day (Week/Month/ThreeMonth) —PageViews—Rank—Value | string | 页面访问量排名 | | UsageStatistic\_Day (Week/Month/ThreeMonth) —PageViews—Rank—Delta | string | 变化趋势 | | UsageStatistic\_Day (Week/Month/ThreeMonth) —PageViews—PerUser—Value | string | 平均每个访问者浏览的页面数 | | UsageStatistic\_Day (Week/Month/ThreeMonth) —PageViews—PerUser—Delta | string | 变化趋势 | | IpNum | string | 日均 IP 访问量\[一周平均\] | | PvNum | string | 日均 PV 浏览量\[一周平均\] | ## SDK调用 ``` $client = new Client("YourAppCode"); $result = $client->websiteTop() ->withDomainName('thinkphp.cn') ->request(); ``` 返回示例: ~~~ { "code":0, "message": "成功", "data": { "DomainName": "thinkphp.cn", "Title": "ThinkPHP", "ShowMedianLoadTime": "3880", "ShowPercentile": "14", "Locale": "未知", "Encoding": "未知", "LinksInCount": 1309, "PhoneNumbers": "未知", "Keywords": null, "OwnedDomains": null, "OwnerName": "未知", "Email": "未知", "Streets": null, "City": null, "PostalCode": null, "Country": null, "CompanyStockTicker": null, "Rank": 7634, "CategoryData": { "Title": "PHP/脚本", "AbsolutePath": "Top/World/Chinese_Simplified_CN/计算机/编程/语言/PHP/脚本" }, "CountryList": [ { "Code": "CN", "Rank": "611", "Contribution": { "PageViews": "99.6%", "Users": "98.9%" }, "Name": "中国" }, { "Code": "US", "Rank": "267626", "Contribution": { "PageViews": "0.2%", "Users": "0.5%" }, "Name": "美国" }, { "Code": "O", "Rank": "", "Contribution": { "PageViews": "0.2%", "Users": "0.6%" }, "Name": "其他" } ], "ContributingSubdomainList": [ { "DataUrl": "thinkphp.cn", "TimeRange": { "Days": 30 }, "Reach": { "Percentage": "95.01%" }, "PageViews": { "Percentage": "88.90%", "PerUser": [ { "#text": "2.7" } ], "StrPerUser": "2.7" } }, { "DataUrl": "sites.thinkphp.cn", "TimeRange": { "Days": 30 }, "Reach": { "Percentage": "6.68%" }, "PageViews": { "Percentage": "8.01%", "PerUser": [ { "#text": "4" } ], "StrPerUser": "4" } }, { "DataUrl": "OTHER", "TimeRange": { "Days": 30 }, "Reach": { "Percentage": "0" }, "PageViews": { "Percentage": "3.09%", "PerUser": [ { "#text": "0" } ], "StrPerUser": "0" } } ], "CreateTime": 224930, "TrendValue": 0, "PhysicalAddress": "未知", "CNRank": 611, "NextRank": 7634, "ShowDescription": "开源PHP开发框架。", "ShowOnlineSince": "没有记录", "ShowAdultContent": "NO", "UsageStatistic_Day": { "TimeRange": { "Days": 1 }, "Rank": { "Value": "5831", "Delta": "-28704" }, "Reach": { "Rank": { "Value": "6249", "Delta": "-18908" }, "PerMillion": { "Value": "100", "Delta": "+200%" } }, "PageViews": { "PerMillion": { "Value": "8.9", "Delta": "+900%" }, "Rank": { "Value": "7681", "Delta": "-67476" }, "PerUser": { "Value": "3", "Delta": "+200%" } } }, "UsageStatistic_Week": { "TimeRange": { "Days": 7 }, "Rank": { "Value": "12474", "Delta": "+5982" }, "Reach": { "Rank": { "Value": "12414", "Delta": "+5795" }, "PerMillion": { "Value": "60", "Delta": "-42.79%" } }, "PageViews": { "PerMillion": { "Value": "4", "Delta": "-47.731%" }, "Rank": { "Value": "17315", "Delta": "9043" }, "PerUser": { "Value": "3", "Delta": "-8.682%" } } }, "UsageStatistic_Month": { "TimeRange": { "Days": 30 }, "Rank": { "Value": "7172", "Delta": "-478" }, "Reach": { "Rank": { "Value": "7142", "Delta": "-771" }, "PerMillion": { "Value": "96", "Delta": "+10%" } }, "PageViews": { "PerMillion": { "Value": "6.6", "Delta": "-1.41%" }, "Rank": { "Value": "9402", "Delta": "410" }, "PerUser": { "Value": "2.9", "Delta": "-11.78%" } } }, "UsageStatistic_ThreeMonth": { "TimeRange": { "Days": 90 }, "Rank": { "Value": "7634", "Delta": "-2346" }, "Reach": { "Rank": { "Value": "7814", "Delta": "-2193" }, "PerMillion": { "Value": "86", "Delta": "+30%" } }, "PageViews": { "PerMillion": { "Value": "6.5", "Delta": "+41%" }, "Rank": { "Value": "9251", "Delta": "-2883" }, "PerUser": { "Value": "3.2", "Delta": "+6%" } } }, "IpNum": 45000, "PvNum": 135000 } } ~~~
';