步骤一:批量提交查询请求,并获得提取任务ID
接口地址:https://apidatav2.chinaz.com/batch/newsponsorunit
返回格式:JSON
请求方式:POST(form-data类型)
请求参数:
名称 |
类型 |
必填 |
说明 |
key |
string |
是 |
申请接口时获取的key |
companyname |
string |
是 |
获取的公司名称,多个用“|”隔开 如:厦门享联科技股份有限公司 (每个域名算一次查询,最高支持50个) |
返回参数说明:
名称 |
类型 |
说明 |
StateCode |
int |
状态 |
Reason |
string |
状态说明 |
TaskID |
string |
成功返回的任务ID |
Total |
int |
成功提交总条数 |
JSON返回示例:
{
"StateCode": 1,
"Reason": "提交成功",
"TaskID": "637b2a3392124636a5315040",
"Total": 2
}
步骤二:根据提取任务ID查询数据是否采集完成,如果完成则得到Json格式结果
接口地址:https://apidatav2.chinaz.com/batch/apiresut
返回格式:JSON
请求方式:POST(form-data类型)
请求参数:
名称 |
类型 |
必填 |
说明 |
taskid |
string |
是 |
步骤一返回的任务ID |
返回参数说明:
名称 |
类型 |
说明 |
StateCode | int | 状态码 |
Reason | string | 状态说明 |
TaskID | string | 任务ID |
SubmitTime | string | 提交时间 |
FinishedTime | string | 成功时间 |
SubmitCount | int | 成功提交条数 |
SuccessCount | int | 成功抓取条数 |
SiteDomain | string | 网站域名(多个用逗号","隔开) |
SiteName | string | | 网站名称
SiteLicense | string | 许可证 |
CompanyType | string | 公司类型 |
VerifyTime | string | 验证时间 |
Domain | string | 域名 |
Owner | string | 负责人 |
LimitAccess | string | 是否限制接入 |
ServiceLicence | string | 网站备案/许可证号 |
UnitName | string | 企业名称 |
JSON返回示例:
{
"Reason": "成功",
"Result": {
"Data": [
{
"CompanyName": "厦门享联科技有限公司",
"Reason": "成功",
"Result": [
{
"CompanyType": "企业",
"MainPage": "www.chinaz.com;bbs.chinaz.com;s.chinaz.com",
"Owner": "李伟平",
"SiteLicense": "闽ICP备08105208号-1",
"SiteName": "站长之家",
"VerifyTime": "2020-12-17"
},
{
"CompanyType": "企业",
"MainPage": "www.chinaz.net",
"Owner": "",
"SiteLicense": "闽ICP备08105208号-2",
"SiteName": "厦门享联科技有限公司",
"VerifyTime": "2020-06-18"
},
{
"CompanyType": "企业",
"MainPage": "www.chinaz.cn",
"Owner": "",
"SiteLicense": "闽ICP备08105208号-3",
"SiteName": "站长之家",
"VerifyTime": "2020-06-18"
},
{
"CompanyType": "企业",
"MainPage": "www.wangmeng.com",
"Owner": "李伟平",
"SiteLicense": "闽ICP备08105208号-4",
"SiteName": "网盟广告联盟",
"VerifyTime": "2020-06-18"
},
{
"CompanyType": "企业",
"MainPage": "www.font.cn",
"Owner": "李伟平",
"SiteLicense": "闽ICP备08105208号-6",
"SiteName": "字体超市",
"VerifyTime": "2020-06-18"
},
{
"CompanyType": "企业",
"MainPage": "www.ping.cn",
"Owner": "李伟平",
"SiteLicense": "闽ICP备08105208号-7",
"SiteName": "站长工具",
"VerifyTime": "2020-06-18"
}
],
"StateCode": 1
},
{
"CompanyName": "四三九九网络股份有限公司",
"Reason": "成功",
"Result": [
{
"CompanyType": "企业",
"MainPage": "4399.com",
"Owner": "",
"SiteLicense": "闽B2-20040099-1",
"SiteName": "4399小游戏",
"VerifyTime": "2020-06-16"
},
{
"CompanyType": "企业",
"MainPage": "www.4399dmw.com",
"Owner": "姚荔",
"SiteLicense": "闽B2-20040099-21",
"SiteName": "4399漫画",
"VerifyTime": "2020-06-16"
},
{
"CompanyType": "企业",
"MainPage": "www.4399.cn",
"Owner": "陈旺科",
"SiteLicense": "闽B2-20040099-3",
"SiteName": "4399游戏",
"VerifyTime": "2020-06-16"
},
{
"CompanyType": "企业",
"MainPage": "www.4399api.com",
"Owner": "姚荔",
"SiteLicense": "闽B2-20040099-4",
"SiteName": "4399API",
"VerifyTime": "2020-06-16"
},
{
"CompanyType": "企业",
"MainPage": "www.qq163.com",
"Owner": "姚荔",
"SiteLicense": "闽B2-20040099",
"SiteName": "网页游戏平台",
"VerifyTime": "2020-06-16"
},
{
"CompanyType": "企业",
"MainPage": "www.qq163.net",
"Owner": "姚荔",
"SiteLicense": "闽B2-20040099",
"SiteName": "163",
"VerifyTime": "2020-06-16"
},
{
"CompanyType": "企业",
"MainPage": "www.4399sj.com",
"Owner": "姚荔",
"SiteLicense": "闽B2-20040099",
"SiteName": "4399手机",
"VerifyTime": "2020-06-16"
},
{
"CompanyType": "企业",
"MainPage": "www.4399.net;www.4399pk.com",
"Owner": "姚荔",
"SiteLicense": "闽B2-20040099",
"SiteName": "4399辅域名",
"VerifyTime": "2020-06-16"
},
{
"CompanyType": "企业",
"MainPage": "www.4399.net;www.4399pk.com",
"Owner": "姚荔",
"SiteLicense": "闽B2-20040099",
"SiteName": "4399辅域名",
"VerifyTime": "2020-06-16"
},
{
"CompanyType": "企业",
"MainPage": "www.edu4399.com",
"Owner": "姚荔",
"SiteLicense": "闽B2-20040099",
"SiteName": "爱教4399",
"VerifyTime": "2020-06-16"
},
{
"CompanyType": "企业",
"MainPage": "www.funnycore.com",
"Owner": "姚荔",
"SiteLicense": "闽B2-20040099",
"SiteName": "趣核",
"VerifyTime": "2020-06-16"
}
],
"StateCode": 1
}
],
"FinishedTime": "20210524194032",
"SubmitCount": 2,
"SubmitTime": "20210524143926",
"SuccessCount": 2,
"TaskID": "e97d7e0ed950ffcbf2e658a98b976eed"
},
"StateCode": 1
}
接口地址:https://apidatav2.chinaz.com/single/newsponsorunit
返回格式:JSON
请求方式:GET/POST(POST请求用form-data类型)
请求示例:https://apidatav2.chinaz.com/single/newsponsorunit?key=申请的key&companyname=公司名称
请求参数:
名称 |
类型 |
必填 |
说明 |
key |
string |
是 |
申请接口时获取的key |
companyname |
string |
是 |
获取的公司名称,如:厦门享联科技股份有限公司 |
返回参数说明:
名称 |
类型 |
说明 |
StateCode | int | 状态码 |
Reason | string | 状态说明 |
SiteDomain | string | 网站域名(多个用逗号","隔开) |
SiteName | string | | 网站名称
SiteLicense | string | 许可证 |
CompanyType | string | 公司类型 |
VerifyTime | string | 验证时间 |
Domain | string | 域名 |
Owner | string | 负责人 |
LimitAccess | string | 是否限制接入 |
ServiceLicence | string | 网站备案/许可证号 |
UnitName | string | 企业名称 |
JSON返回示例:
{
"StateCode": 1,
"Reason": "成功",
"Result": [{
"SiteDomain": "www.chinaz.net",
"SiteName": "厦门享联科技有限公司",
"SiteLicense": "闽ICP备08105208号",
"CompanyType": "企业",
"VerifyTime": "2020-06-18 15:30:22",
"Domain": "chinaz.net",
"Owner": "",
"LimitAccess": "否",
"ServiceLicence": "闽ICP备08105208号-2"
}, {
"SiteDomain": "www.wangmeng.com",
"SiteName": "网盟广告联盟",
"SiteLicense": "闽ICP备08105208号",
"CompanyType": "企业",
"VerifyTime": "2020-06-18 15:30:22",
"Domain": "wangmeng.com",
"Owner": "",
"LimitAccess": "否",
"ServiceLicence": "闽ICP备08105208号-4"
}, {
"SiteDomain": "www.ping.cn",
"SiteName": "站长工具",
"SiteLicense": "闽ICP备08105208号",
"CompanyType": "企业",
"VerifyTime": "2020-06-18 15:30:22",
"Domain": "ping.cn",
"Owner": "",
"LimitAccess": "否",
"ServiceLicence": "闽ICP备08105208号-7"
}, {
"SiteDomain": "www.font.cn",
"SiteName": "字体超市",
"SiteLicense": "闽ICP备08105208号",
"CompanyType": "企业",
"VerifyTime": "2020-06-18 15:30:22",
"Domain": "font.cn",
"Owner": "",
"LimitAccess": "否",
"ServiceLicence": "闽ICP备08105208号-6"
}, {
"SiteDomain": "www.chinaz.com;bbs.chinaz.com;s.chinaz.com",
"SiteName": "站长之家",
"SiteLicense": "闽ICP备08105208号",
"CompanyType": "企业",
"VerifyTime": "2020-06-18 15:30:22",
"Domain": "chinaz.com",
"Owner": "",
"LimitAccess": "否",
"ServiceLicence": "闽ICP备08105208号-1"
}, {
"SiteDomain": "www.chinaz.cn",
"SiteName": "站长之家",
"SiteLicense": "闽ICP备08105208号",
"CompanyType": "企业",
"VerifyTime": "2020-06-18 15:30:22",
"Domain": "chinaz.cn",
"Owner": "",
"LimitAccess": "否",
"ServiceLicence": "闽ICP备08105208号-3"
}]
}