步驟一:批量提交查詢請求,并獲得提取任務ID
接口地址:http://apidata.chinaz.com/BatchAPI/SynthesisSEO
返回格式:JSON
請求方式:POST
請求參數:
名稱 |
類型 |
必填 |
說明 |
key |
string |
是 |
申請接口時獲取的key |
domainNames |
string |
是 |
獲取的域名,多個用“|”隔開 如:chinaz.com|www.tvboxtv.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
請求參數:
名稱 |
類型 |
必填 |
說明 |
taskid |
string |
是 |
步驟一返回的任務ID |
返回參數說明:
名稱 |
類型 |
說明 |
StateCode | int | 狀態碼 |
Reason | string | 狀態說明 |
TaskID | string | 任務ID |
SubmitTime | string | 提交時間 |
FinishedTime | string | 成功時間 |
SubmitCount | int | 成功提交條數 |
SuccessCount | int | 成功抓取條數 |
Domain | string | 抓取的域名 |
BaidupcBr | int | 百度PC權重 |
BaidupcKwcount | int | 百度PC關鍵詞數 |
BaidupcUvcount | int | 百度PC預估流量 |
BaiduMobileBr | int | 百度移動權重 |
BaiduMobileKwcount | int | 百度移動關鍵詞數 |
BaiduMobileUvcount | int | 百度移動預估流量 |
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": "www.tvboxtv.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": "www.tvboxtv.com",
"StateCode": 1,
"Reason": "成功",
"Result": {
"PagesCount": 61
}
},
"Haosou": {
"Domain": "www.tvboxtv.com",
"StateCode": 1,
"Reason": "成功",
"Result": {
"PagesCount": 0
}
},
"Sogou": {
"Domain": "www.tvboxtv.com",
"StateCode": 1,
"Reason": "成功",
"Result": {
"PagesCount": 33
}
},
"Google": {
"Domain": "www.tvboxtv.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": "www.tvboxtv.com",
"StateCode": 1,
"Reason": "成功",
"Result": {
"IsRecord": true,
"RecordTitle": "站長API數據接口 - 站長工具",
"RecordDepict": "熱門數據API 當下熱門數據API...",
"SnapTime": ""
}
},
"BaiduPc": {
"Url": "www.tvboxtv.com",
"StateCode": 1,
"Reason": "成功",
"Result": {
"IsRecord": true,
"RecordTitle": "站長API數據接口 - 站長工具",
"RecordDepict": "熱門數據API 當下熱門數據API...",
"SnapTime": "2019年01月23日 00:23:09"
}
},
"Google": {
"Url": "www.tvboxtv.com",
"StateCode": 1,
"Reason": "成功",
"Result": {
"IsRecord": false,
"RecordTitle": "",
"RecordDepict": "",
"SnapTime": ""
}
},
"HaosouMobile": {
"Url": "www.tvboxtv.com",
"StateCode": 1,
"Reason": "成功",
"Result": {
"IsRecord": true,
"RecordTitle": "站長API數據接口 站長工具",
"RecordDepict": " 站長之家免費向開發者提供seo信息查詢... ",
"SnapTime": ""
}
},
"HaosouPc": {
"Url": "www.tvboxtv.com",
"StateCode": 1,
"Reason": "成功",
"Result": {
"IsRecord": true,
"RecordTitle": "站長API數據接口- 站長工具",
"RecordDepict": "站長之家免費向開發者提供seo信息查詢...",
"SnapTime": "2019-01-11 11:40:53"
}
},
"SogouMobile": {
"Url": "www.tvboxtv.com",
"StateCode": 1,
"Reason": "成功",
"Result": {
"IsRecord": true,
"RecordTitle": "站長API數據接口 - 站長工具",
"RecordDepict": " 站長之家免費向開發者提供seo信息查詢... ",
"SnapTime": ""
}
},
"SogouPc": {
"Url": "www.tvboxtv.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": "www.tvboxtv.com",
"StateCode": 1,
"Reason": "成功",
"Result": {
"LinkCount": 217000
}
},
"Haosou": {
"Domain": "www.tvboxtv.com",
"StateCode": 1,
"Reason": "成功",
"Result": {
"LinkCount": 25
}
},
"Sogou": {
"Domain": "www.tvboxtv.com",
"StateCode": 1,
"Reason": "成功",
"Result": {
"LinkCount": 5
}
},
"Google": {
"Domain": "www.tvboxtv.com",
"StateCode": 1,
"Reason": "成功",
"Result": {
"LinkCount": 71600
}
}
}
]
}
]
}
}
接口地址:http://apidata.chinaz.com/CallAPI/SynthesisSEO
返回格式:JSON
請求方式:GET/POST
請求示例:http://apidata.chinaz.com/CallAPI/SynthesisSEO?key=申請的key
&domainName=chinaz.com
請求參數:
名稱 |
類型 |
必填 |
說明 |
key |
string |
是 |
申請接口時獲取的key |
domainName |
string |
是 |
獲取的域名,如:chinaz.com |
返回參數說明:
名稱 |
類型 |
說明 |
StateCode | int | 狀態碼 |
Reason | string | 狀態說明 |
BaidupcBr | int | 百度PC權重 |
BaidupcKwcount | int | 百度PC關鍵詞數 |
BaidupcUvcount | int | 百度PC預估流量 |
BaiduMobileBr | int | 百度移動權重 |
BaiduMobileKwcount | int | 百度移動關鍵詞數 |
BaiduMobileUvcount | int | 百度移動預估流量 |
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 | 百度收錄量 |
SoPages | int | 360收錄量 |
GooglePages | int | 谷歌收錄量 |
SogouPages | int | 搜狗收錄量 |
Url | string | url |
IsRecord | bool | Url是否收錄 |
RecordTitle | string | Url收錄標題 |
RecordDepict | string | Url收錄描述 |
SnapTime | string | Url收錄快照時間 |
BaiduLink | int | 百度反鏈數 |
SoLink | int | 360反鏈數 |
GoogleLink | int | 谷歌反鏈數 |
SogouLink | int | 搜狗反鏈數 |
CrawlTime | string | 抓取時間 |
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,
"CrawlTime": "2019-01-25 17:10:25"
}
},
"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,
"CrawlTime": "2019-01-25 17:10:26"
}
}
}
}