步骤一:批量提交查询请求,并获得提取任务ID
接口地址:http://apidata.chinaz.com/BatchAPI/SynthesisSEO
返回格式:JSON
请求方式:POST(form-data类型)
请求参数:
名称 |
类型 |
必填 |
说明 |
key |
string |
是 |
申请接口时获取的key |
domainNames |
string |
是 |
获取的域名,多个用“|”隔开 如:chinaz.com|api.chinaz.com (每个域名算一次查询,最高支持50个) |
返回参数说明:
名称 |
类型 |
说明 |
StateCode |
int |
状态 |
Reason |
string |
状态说明 |
TaskID |
string |
成功返回的任务ID |
Total |
int |
成功提交总条数 |
JSON返回示例:
{
"StateCode": 1,
"Reason": "提交成功",
"TaskID": "a4c2928aa1be449b99488536",
"Total": 2
}
步骤二:根据提取任务ID查询数据是否采集完成,如果完成则得到Json格式结果
接口地址:http://apidata.chinaz.com/batchapi/GetApiData
返回格式:JSON
请求方式:POST(form-data类型)
请求参数:
名称 |
类型 |
必填 |
说明 |
taskid |
string |
是 |
步骤一返回的任务ID |
返回参数说明:
名称 |
类型 |
说明 |
StateCode | int | 状态码 |
Reason | string | 状态说明 |
TaskID | string | 任务ID |
SubmitTime | string | 提交时间 |
FinishedTime | string | 成功时间 |
SubmitCount | int | 成功提交条数 |
SuccessCount | int | 成功抓取条数 |
Domain | string | 抓取的域名 |
BaidupcBr | int | BDPC权重 |
BaidupcKwcount | int | BDPC关键词数 |
BaidupcUvcount | int | BDPC预估流量 |
BaiduMobileBr | int | BD移动权重 |
BaiduMobileKwcount | int | BD移动关键词数 |
BaiduMobileUvcount | int | BD移动预估流量 |
SopcBr | int | 360PC权重 |
SopcKwcount | int | 360PC关键词数 |
SopcUvcount | int | 360PC预估流量 |
SoMobileBr | int | 360移动权重 |
SoMobileKwcount | int | 360移动关键词数 |
SoMobileUvcount | int | 360移动预估流量 |
SmBr | int | 神马权重 |
SmKwcount | int | 神马关键词数 |
SmUvcount | int | 神马预估流量 |
PagesCount | int | 收录量 |
Url | string | url |
IsRecord | bool | Url是否收录 |
RecordTitle | string | Url收录标题 |
RecordDepict | string | Url收录描述 |
SnapTime | string | Url收录快照时间 |
LinkCount | int | 反链数 |
JSON返回示例:
{
"StateCode": 1,
"Reason": "成功",
"Result": {
"TaskID": "a4c2928aa1be449b99488536",
"SubmitTime": "20190125164400",
"FinishedTime": "20190125164411",
"SubmitCount": 2,
"SuccessCount": 2,
"Data": [
{
"AllWeight": [
{
"Domain": "chinaz.com",
"StateCode": 1,
"Reason": "成功",
"Result": {
"BaidupcBr": 8,
"BaidupcKwcount": 172450,
"BaidupcUvcount": 523398,
"BaiduMobileBr": 7,
"BaiduMobileKwcount": 77846,
"BaiduMobileUvcount": 175404,
"SopcBr": 8,
"SopcKwcount": 158361,
"SopcUvcount": 521771,
"SoMobileBr": 8,
"SoMobileKwcount": 146560,
"SoMobileUvcount": 215937,
"SmBr": 6,
"SmKwcount": 62770,
"SmUvcount": 39012
}
},
{
"Domain": "api.chinaz.com",
"StateCode": 1,
"Reason": "成功",
"Result": {
"BaidupcBr": 1,
"BaidupcKwcount": 10,
"BaidupcUvcount": 3,
"BaiduMobileBr": 0,
"BaiduMobileKwcount": 3,
"BaiduMobileUvcount": 0,
"SopcBr": 0,
"SopcKwcount": 7,
"SopcUvcount": 0,
"SoMobileBr": 0,
"SoMobileKwcount": 3,
"SoMobileUvcount": 0,
"SmBr": 0,
"SmKwcount": 0,
"SmUvcount": 0
}
}
],
"AllPages": [
{
"Baidu": {
"Domain": "chinaz.com",
"StateCode": 1,
"Reason": "成功",
"Result": {
"PagesCount": 1430000
}
},
"Haosou": {
"Domain": "chinaz.com",
"StateCode": 1,
"Reason": "成功",
"Result": {
"PagesCount": 15200000
}
},
"Sogou": {
"Domain": "chinaz.com",
"StateCode": 1,
"Reason": "成功",
"Result": {
"PagesCount": 183632827
}
},
"Google": {
"Domain": "chinaz.com",
"StateCode": 1,
"Reason": "成功",
"Result": {
"PagesCount": 1320000
}
}
},
{
"Baidu": {
"Domain": "api.chinaz.com",
"StateCode": 1,
"Reason": "成功",
"Result": {
"PagesCount": 61
}
},
"Haosou": {
"Domain": "api.chinaz.com",
"StateCode": 1,
"Reason": "成功",
"Result": {
"PagesCount": 0
}
},
"Sogou": {
"Domain": "api.chinaz.com",
"StateCode": 1,
"Reason": "成功",
"Result": {
"PagesCount": 33
}
},
"Google": {
"Domain": "api.chinaz.com",
"StateCode": 1,
"Reason": "成功",
"Result": {
"PagesCount": 101
}
}
}
],
"AllUrlPages": [
{
"BaiduMobile": {
"Url": "chinaz.com",
"StateCode": 1,
"Reason": "成功",
"Result": {
"IsRecord": true,
"RecordTitle": "站长之家 - 站长资讯-我们致力于为中文网站...",
"RecordDepict": "站长之家(中国站长站)为个人站长...",
"SnapTime": ""
}
},
"BaiduPc": {
"Url": "chinaz.com",
"StateCode": 1,
"Reason": "成功",
"Result": {
"IsRecord": true,
"RecordTitle": "站长之家 - 站长资讯-我们致力于为中文网站...",
"RecordDepict": "站长之家(中国站长站)为个人站长...",
"SnapTime": "2019年01月21日 15:43:06"
}
},
"Google": {
"Url": "chinaz.com",
"StateCode": 1,
"Reason": "成功",
"Result": {
"IsRecord": true,
"RecordTitle": "站长之家- 站长资讯-我们致力于为中文网站...",
"RecordDepict": "站长之家(中国站长站)为个人站长...",
"SnapTime": "2019年1月24日 06:39:02"
}
},
"HaosouMobile": {
"Url": "chinaz.com",
"StateCode": 1,
"Reason": "成功",
"Result": {
"IsRecord": true,
"RecordTitle": "站长之家- 站长资讯-我们致力于为中文网站...",
"RecordDepict": " ©CopyRight 2002-2019 CHINAZ.COM...",
"SnapTime": ""
}
},
"HaosouPc": {
"Url": "chinaz.com",
"StateCode": 1,
"Reason": "成功",
"Result": {
"IsRecord": true,
"RecordTitle": "站长之家- 站长资讯-我们致力于为中文网站...",
"RecordDepict": "©CopyRight 2002-2019 CHINAZ.COM ...",
"SnapTime": "2018-12-31 14:12:22"
}
},
"SogouMobile": {
"Url": "chinaz.com",
"StateCode": 1,
"Reason": "成功",
"Result": {
"IsRecord": true,
"RecordTitle": "站长之家 - 站长资讯-我们致力于为中文网站...",
"RecordDepict": " 站长之家(中国站长站)为个人站长... ",
"SnapTime": ""
}
},
"SogouPc": {
"Url": "chinaz.com",
"StateCode": 1,
"Reason": "成功",
"Result": {
"IsRecord": true,
"RecordTitle": "站长之家 - 站长资讯-我们致力于为中文网站...",
"RecordDepict": "站长之家(中国站长站)为个人站长...",
"SnapTime": "2019年01月25日 12:18:29"
}
}
},
{
"BaiduMobile": {
"Url": "api.chinaz.com",
"StateCode": 1,
"Reason": "成功",
"Result": {
"IsRecord": true,
"RecordTitle": "站长API数据接口 - 站长工具",
"RecordDepict": "热门数据API 当下热门数据API...",
"SnapTime": ""
}
},
"BaiduPc": {
"Url": "api.chinaz.com",
"StateCode": 1,
"Reason": "成功",
"Result": {
"IsRecord": true,
"RecordTitle": "站长API数据接口 - 站长工具",
"RecordDepict": "热门数据API 当下热门数据API...",
"SnapTime": "2019年01月23日 00:23:09"
}
},
"Google": {
"Url": "api.chinaz.com",
"StateCode": 1,
"Reason": "成功",
"Result": {
"IsRecord": false,
"RecordTitle": "",
"RecordDepict": "",
"SnapTime": ""
}
},
"HaosouMobile": {
"Url": "api.chinaz.com",
"StateCode": 1,
"Reason": "成功",
"Result": {
"IsRecord": true,
"RecordTitle": "站长API数据接口 站长工具",
"RecordDepict": " 站长之家免费向开发者提供seo信息查询... ",
"SnapTime": ""
}
},
"HaosouPc": {
"Url": "api.chinaz.com",
"StateCode": 1,
"Reason": "成功",
"Result": {
"IsRecord": true,
"RecordTitle": "站长API数据接口- 站长工具",
"RecordDepict": "站长之家免费向开发者提供seo信息查询...",
"SnapTime": "2019-01-11 11:40:53"
}
},
"SogouMobile": {
"Url": "api.chinaz.com",
"StateCode": 1,
"Reason": "成功",
"Result": {
"IsRecord": true,
"RecordTitle": "站长API数据接口 - 站长工具",
"RecordDepict": " 站长之家免费向开发者提供seo信息查询... ",
"SnapTime": ""
}
},
"SogouPc": {
"Url": "api.chinaz.com",
"StateCode": 1,
"Reason": "成功",
"Result": {
"IsRecord": true,
"RecordTitle": " 站长API数据接口 - 站长工具 ",
"RecordDepict": " 站长之家免费向开发者提供seo信息查询...",
"SnapTime": "2019年01月25日 11:07:07"
}
}
}
],
"AllLink": [
{
"Baidu": {
"Domain": "chinaz.com",
"StateCode": 1,
"Reason": "成功",
"Result": {
"LinkCount": 6260000
}
},
"Haosou": {
"Domain": "chinaz.com",
"StateCode": 1,
"Reason": "成功",
"Result": {
"LinkCount": 15000000
}
},
"Sogou": {
"Domain": "chinaz.com",
"StateCode": 1,
"Reason": "成功",
"Result": {
"LinkCount": 43058
}
},
"Google": {
"Domain": "chinaz.com",
"StateCode": 1,
"Reason": "成功",
"Result": {
"LinkCount": 180000
}
}
},
{
"Baidu": {
"Domain": "api.chinaz.com",
"StateCode": 1,
"Reason": "成功",
"Result": {
"LinkCount": 217000
}
},
"Haosou": {
"Domain": "api.chinaz.com",
"StateCode": 1,
"Reason": "成功",
"Result": {
"LinkCount": 25
}
},
"Sogou": {
"Domain": "api.chinaz.com",
"StateCode": 1,
"Reason": "成功",
"Result": {
"LinkCount": 5
}
},
"Google": {
"Domain": "api.chinaz.com",
"StateCode": 1,
"Reason": "成功",
"Result": {
"LinkCount": 71600
}
}
}
]
}
]
}
}
接口地址:http://apidata.chinaz.com/CallAPI/SynthesisSEO
返回格式:JSON
请求方式:GET/POST(POST请求用form-data类型)
请求示例:http://apidata.chinaz.com/CallAPI/SynthesisSEO?key=申请的key
&domainName=chinaz.com
请求参数:
名称 |
类型 |
必填 |
说明 |
key |
string |
是 |
申请接口时获取的key |
domainName |
string |
是 |
获取的域名,如:chinaz.com |
返回参数说明:
名称 |
类型 |
说明 |
StateCode | int | 状态码 |
Reason | string | 状态说明 |
BaidupcBr | int | BDPC权重 |
BaidupcKwcount | int | BDPC关键词数 |
BaidupcUvcount | int | BDPC预估流量 |
BaiduMobileBr | int | BD移动权重 |
BaiduMobileKwcount | int | BD移动关键词数 |
BaiduMobileUvcount | int | BD移动预估流量 |
SopcBr | int | 360PC权重 |
SopcKwcount | int | 360PC关键词数 |
SopcUvcount | int | 360PC预估流量 |
SoMobileBr | int | 360移动权重 |
SoMobileKwcount | int | 360移动关键词数 |
SoMobileUvcount | int | 360移动预估流量 |
SmBr | int | 神马权重 |
SmKwcount | int | 神马关键词数 |
SmUvcount | int | 神马预估流量 |
BaiduPages | int | BD收录量 |
SoPages | int | 360收录量 |
GooglePages | int | 谷歌收录量 |
SogouPages | int | 搜狗收录量 |
Url | string | url |
IsRecord | bool | Url是否收录 |
RecordTitle | string | Url收录标题 |
RecordDepict | string | Url收录描述 |
SnapTime | string | Url收录快照时间 |
BaiduLink | int | BD反链数 |
SoLink | int | 360反链数 |
GoogleLink | int | 谷歌反链数 |
SogouLink | int | 搜狗反链数 |
JSON返回示例:
{
"StateCode": 1,
"Reason": "成功",
"Result": {
"AllWeight": {
"StateCode": 1,
"Reason": "成功",
"Result": {
"BaidupcBr": 8,
"BaidupcKwcount": 172450,
"BaidupcUvcount": 523398,
"BaiduMobileBr": 7,
"BaiduMobileKwcount": 77846,
"BaiduMobileUvcount": 175404,
"SopcBr": 8,
"SopcKwcount": 158361,
"SopcUvcount": 521771,
"SoMobileBr": 8,
"SoMobileKwcount": 146560,
"SoMobileUvcount": 215937,
"SmBr": 6,
"SmKwcount": 62770,
"SmUvcount": 39012
}
},
"AllPages": {
"StateCode": 1,
"Reason": "成功",
"Result": {
"BaiduPages": 4430000,
"SoPages": 15000000,
"GooglePages": 1200000,
"SogouPages": 0
}
},
"AllUrlPages": {
"StateCode": 1,
"Reason": "成功",
"Result": {
"BaiduMobile": {
"IsRecord": true,
"RecordTitle": "站长之家 - 站长资讯-我们致力于...",
"RecordDepict": "站长之家(中国站长站)为个人站长...",
"SnapTime": ""
},
"BaiduPc": {
"IsRecord": true,
"RecordTitle": "站长之家 - 站长资讯-我们致力于...",
"RecordDepict": "站长之家(中国站长站)为个人站长...",
"SnapTime": "2019年01月21日 15:43:06"
},
"Google": {
"IsRecord": true,
"RecordTitle": "站长之家- 站长资讯-我们致力于...",
"RecordDepict": "站长之家(中国站长站)为个人站长...",
"SnapTime": "2019年1月24日 06:39:02"
},
"HaosouMobile": {
"IsRecord": true,
"RecordTitle": "站长之家- 站长资讯-我们致力于...",
"RecordDepict": " ©CopyRight 2002-2019 CHINAZ.COM... ",
"SnapTime": ""
},
"HaosouPc": {
"IsRecord": true,
"RecordTitle": "站长之家- 站长资讯-我们致力于...",
"RecordDepict": "©CopyRight 2002-2019 CHINAZ.COM...",
"SnapTime": "2018-12-31 14:12:22"
},
"SogouMobile": {
"IsRecord": true,
"RecordTitle": "站长之家 - 站长资讯-我们致力于...",
"RecordDepict": " 站长之家(中国站长站)为个人站长... ",
"SnapTime": ""
},
"SogouPc": {
"IsRecord": true,
"RecordTitle": "站长之家 - 站长资讯-我们致力于...",
"RecordDepict": "站长之家(中国站长站)为个人站长....",
"SnapTime": "2019年01月25日 12:18:29"
}
}
},
"AllLink": {
"StateCode": 1,
"Reason": "成功",
"Result": {
"BaiduLink": 154000,
"SoLink": 14800000,
"GoogleLink": 205000,
"SogouLink": 25720
}
}
}
}