接口地址: https://openapi.chinaz.net/v1/1001/bingranking
返回格式:JSON
请求方式:GET
请求示例:https://openapi.chinaz.net/v1/1001/bingranking?domain=域名&keyword=关键词
&APIKey=申请接口时获取的APIKey值&ChinazVer=接口版本号
请求参数:
| 名称 | 类型 | 必填 | 说明 |
|---|---|---|---|
| domain | string | 是 | 域名 |
| keyword | string | 是 | 关键词 |
| APIKey | string | 是 | 申请接口时获取的APIKey值 |
| ChinazVer | string | 是 | 接口版本号,取值1.0 |
返回参数说明:
| 名称 | 类型 | 说明 |
|---|---|---|
| StateCode | int | 状态码 |
| Reason | string | 状态码说明 |
| Result | object | 具体返回内容 |
| Result.SiteCount | int | 收录量 |
| Result.Ranks.RankStr | string | 排名 |
| Result.Ranks.Title | string | 标题 |
| Result.Ranks.Url | string | 对应连接 |
JSON返回示例:
{
"StateCode":1,
"Reason":"成功",
"Result":{
"SiteCount":336000,
"Ranks":[
{
"RankStr":"1-1",
"Title":"站长之家-站长资讯-我们致力于为中文网站提供动力!",
"Url":"https://www.chinaz.com/"
},
{
"RankStr":"2-1",
"Title":"素材_素材最新资讯-站长之家",
"Url":"https://www.chinaz.com/design/kit/"
},
{
"RankStr":"3-2",
"Title":"站长资讯_站长资讯最新资讯_站长之家",
"Url":"https://www.chinaz.com/startup/"
},
{
"RankStr":"3-7",
"Title":"短视频_短视频最新资讯_站长之家",
"Url":"https://www.chinaz.com/vlog/"
},
{
"RankStr":"3-10",
"Title":"自媒体_自媒体最新资讯_站长之家",
"Url":"https://www.chinaz.com/zmt/"
},
{
"RankStr":"4-1",
"Title":"全新ping测试工具",
"Url":"https://www.chinaz.com/2020/0928/1190872.shtml"
},
{
"RankStr":"5-1",
"Title":"小程序_小程序最新资讯_站长之家",
"Url":"https://www.chinaz.com/minapp/"
}
]
}
}
| 错误代码 | 说明 |
|---|---|
| 1 | 成功 |
| -1 | 系统异常 |
| 10006 | 暂无数据 |
| 431 | http响应状态码:APIKey缺失,请附带APIKey参数 |
| 432 | http响应状态码:错误的APIkey长度 |
| 433 | http响应状态码:错误的请求key(或者返回状态码10001) |
| 434 | http响应状态码:错误的APIkey类型 |
| 436 | http响应状态码:额度不足,或者APIKey不存在 |
| 437 | http响应状态码:该IP未在白名单内 |
| 531 | http响应状态码:请求过于频繁 |
| 532 | http响应状态码:未知错误,请联系管理员(或者返回533) |
| 内容 | 说明 |
|---|---|
| 客服微信 | ![]() |
描述:查询IP高精准...
描述:查询IP高精准...
描述:查询IP区县级...
描述:查询IP城市级...
描述:分析公共通信和...