全部
在线测试

20w 词库查询


接口地址: http://api.vv-tool.com/tool/accounts/tao-top20w


接口介绍: 查询淘宝搜到词(该接口获取分类,免费使用) 点击查看详情


请求方式: POST


传参方式: form-data


返回格式: JSON


接口收费: 免费查询


频率限制: 10 次/秒


请求头参数

参数 类型 必选 示例
Authorization string 授权 access_token Bearer 1798c6aadec33d1bc2f5b707f1049aefexxxx

请求参数

参数 类型 必选 描述
parent_id int 淘宝的分类 id
pubdate string 淘宝发布该分类日期

请求示例

parent_id: 6
pubdate: 2020-08-05

请求代码示例

cURL请求代码示例

curl --location --request POST 'http://api.vv-tool.com/tool/accounts/tao-top20w' \
--header 'Authorization: Bearer 4eaa83b3d669a05ca87b61fb72537839xxxxxxxx' \
--header 'Cookie: PHPSESSID=nkpascnenpbibvevutrskdof0n; _csrf=ff39c339ca1c7e257a6f5a8dddaf2ebc2e62f065be5bded62db1ac44ee85e1f4a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22ZJxMlZX0OWm9VpJqcaWHICiqN71agl21%22%3B%7D' \
--form 'parent_id=6' \
--form 'pubdate=2020-08-05'

PHP请求代码示例

<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "http://api.vv-tool.com/tool/accounts/tao-top20w",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 0,
  CURLOPT_FOLLOWLOCATION => true,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "POST",
  CURLOPT_POSTFIELDS => array('parent_id' => '6','pubdate' => '2020-08-05'),
  CURLOPT_HTTPHEADER => array(
    "Authorization: Bearer 4eaa83b3d669a05ca87b61fb72537839xxxxxxxx",
    "Cookie: PHPSESSID=nkpascnenpbibvevutrskdof0n; _csrf=ff39c339ca1c7e257a6f5a8dddaf2ebc2e62f065be5bded62db1ac44ee85e1f4a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22ZJxMlZX0OWm9VpJqcaWHICiqN71agl21%22%3B%7D"
  ),
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;

JAVA请求代码示例

OkHttpClient client = new OkHttpClient().newBuilder()
  .build();
MediaType mediaType = MediaType.parse("text/plain");
RequestBody body = new MultipartBody.Builder().setType(MultipartBody.FORM)
  .addFormDataPart("parent_id", "6")
  .addFormDataPart("pubdate", "2020-08-05")
  .build();
Request request = new Request.Builder()
  .url("http://api.vv-tool.com/tool/accounts/tao-top20w")
  .method("POST", body)
  .addHeader("Authorization", "Bearer 4eaa83b3d669a05ca87b61fb72537839xxxxxxxx")
  .addHeader("Cookie", "PHPSESSID=nkpascnenpbibvevutrskdof0n; _csrf=ff39c339ca1c7e257a6f5a8dddaf2ebc2e62f065be5bded62db1ac44ee85e1f4a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22ZJxMlZX0OWm9VpJqcaWHICiqN71agl21%22%3B%7D")
  .build();
Response response = client.newCall(request).execute();

响应参数

参数 类型 描述
data object 返回数据信息
list array 返回数据集合
id int 编号
name string 分类名称
parent_id int 父类 id
level int 层级 第 n 级分类
childs int 子类总数
pubdate date 淘宝发布该分类日期
type int 类型 1:PC ; 2: APP
add_time timestamp 添加时间
keyword num int 关键词数量
code int 返回状态码
msg string 返回码描述
msec int 接口执行时间
time int 接口返回时间

返回数据

{
    "code": 0,
    "msg": "成功",
    "msec": 316,
    "time": 1596765419,
    "data": {
        "list": [
            {
                "id": 7,
                "name": "手机配件",
                "parent_id": 6,
                "level": 2,
                "childs": 11,
                "pubdate": "2020-08-05",
                "type": 2,
                "add_time": "2020-08-06 16:42:36",
                "keyword_num": 66
            },
            {
                "id": 23,
                "name": "移动电源",
                "parent_id": 6,
                "level": 2,
                "childs": 0,
                "pubdate": "2020-08-05",
                "type": 2,
                "add_time": "2020-08-06 16:42:37",
                "keyword_num": 77
            },
            {
                "id": 168,
                "name": "MP3/MP4配件",
                "parent_id": 6,
                "level": 2,
                "childs": 2,
                "pubdate": "2020-08-05",
                "type": 2,
                "add_time": "2020-08-06 16:42:45",
                "keyword_num": 56
            },
            {
                "id": 257,
                "name": "USB电脑周边",
                "parent_id": 6,
                "level": 2,
                "childs": 8,
                "pubdate": "2020-08-05",
                "type": 2,
                "add_time": "2020-08-06 16:42:51",
                "keyword_num": 185
            },
            {
                "id": 423,
                "name": "平板电脑配件",
                "parent_id": 6,
                "level": 2,
                "childs": 3,
                "pubdate": "2020-08-05",
                "type": 2,
                "add_time": "2020-08-06 16:43:07",
                "keyword_num": 94
            },
            {
                "id": 647,
                "name": "笔记本电脑配件",
                "parent_id": 6,
                "level": 2,
                "childs": 11,
                "pubdate": "2020-08-05",
                "type": 2,
                "add_time": "2020-08-06 16:43:37",
                "keyword_num": 97
            },
            {
                "id": 833,
                "name": "数码周边",
                "parent_id": 6,
                "level": 2,
                "childs": 5,
                "pubdate": "2020-08-05",
                "type": 2,
                "add_time": "2020-08-06 16:44:11",
                "keyword_num": 75
            },
            {
                "id": 1118,
                "name": "胶片相机配件",
                "parent_id": 6,
                "level": 2,
                "childs": 2,
                "pubdate": "2020-08-05",
                "type": 2,
                "add_time": "2020-08-06 16:45:19",
                "keyword_num": 8
            },
            {
                "id": 1348,
                "name": "家电影音周边配件",
                "parent_id": 6,
                "level": 2,
                "childs": 3,
                "pubdate": "2020-08-05",
                "type": 2,
                "add_time": "2020-08-06 16:46:43",
                "keyword_num": 39
            },
            {
                "id": 1351,
                "name": "单反/单电相机配件",
                "parent_id": 6,
                "level": 2,
                "childs": 3,
                "pubdate": "2020-08-05",
                "type": 2,
                "add_time": "2020-08-06 16:46:43",
                "keyword_num": 33
            },
            {
                "id": 1524,
                "name": "数码包/收纳/整理",
                "parent_id": 6,
                "level": 2,
                "childs": 2,
                "pubdate": "2020-08-05",
                "type": 2,
                "add_time": "2020-08-06 16:48:08",
                "keyword_num": 24
            },
            {
                "id": 1585,
                "name": "干电池/充电电池/套装",
                "parent_id": 6,
                "level": 2,
                "childs": 3,
                "pubdate": "2020-08-05",
                "type": 2,
                "add_time": "2020-08-06 16:48:41",
                "keyword_num": 31
            },
            {
                "id": 2545,
                "name": "其它配件",
                "parent_id": 6,
                "level": 2,
                "childs": 0,
                "pubdate": "2020-08-05",
                "type": 2,
                "add_time": "2020-08-06 17:07:51",
                "keyword_num": 7
            },
            {
                "id": 2994,
                "name": "数码相机配件",
                "parent_id": 6,
                "level": 2,
                "childs": 1,
                "pubdate": "2020-08-05",
                "type": 2,
                "add_time": "2020-08-06 17:32:59",
                "keyword_num": 2
            },
            {
                "id": 3148,
                "name": "车载手机配件",
                "parent_id": 6,
                "level": 2,
                "childs": 1,
                "pubdate": "2020-08-05",
                "type": 2,
                "add_time": "2020-08-06 17:44:40",
                "keyword_num": 2
            }
        ]
    }
}

接口地址: http://api.vv-tool.com/tool/accounts/tao-top20w-keyword


接口介绍: 该接口可以获取到关键词(该接口需要收费)


请求方式: POST


传参方式: form-data


返回格式: JSON


接口收费: 包年包月


频率限制: 10 次/秒


请求头参数

参数 类型 必选 示例
Authorization string 授权 access_token Bearer 1798c6aadec33d1bc2f5b707f1049aefexxxx

请求参数

参数 类型 必选 描述
cat_id int 分类编号

请求示例

cat_id: 7

请求代码示例

cURL请求代码示例
curl --location --request POST 'http://test.api.vv-tool.com/tool/accounts/tao-top20w-keyword' \
--header 'Authorization: Bearer 9e9cfbce77aa841e7adc40ec73223ae4xxxxxxxx' \
--header 'Cookie: PHPSESSID=38e60op1caonkimadf11g1fl6d; _csrf=3c3bcf6aa55a259c430ce996254f0a6c840ee0934363eefde6e3b0cae408348ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22iTvZZ4pBhZU2buepEFzaLv1Ruq5d9vQA%22%3B%7D' \
--form 'cat_id=7'

PHP请求代码示例

<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "http://api.vv-tool.com/tool/accounts/tao-top20w-keyword",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 0,
  CURLOPT_FOLLOWLOCATION => true,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "POST",
  CURLOPT_POSTFIELDS => array('cat_id' => '7'),
  CURLOPT_HTTPHEADER => array(
    "Authorization: Bearer 9e9cfbce77aa841e7adc40ec73223ae4cxxxxxxxx",
    "Cookie: PHPSESSID=38e60op1caonkimadf11g1fl6d; _csrf=3c3bcf6aa55a259c430ce996254f0a6c840ee0934363eefde6e3b0cae408348ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22iTvZZ4pBhZU2buepEFzaLv1Ruq5d9vQA%22%3B%7D"
  ),
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;

JAVA请求代码示例

OkHttpClient client = new OkHttpClient().newBuilder()
  .build();
MediaType mediaType = MediaType.parse("text/plain");
RequestBody body = new MultipartBody.Builder().setType(MultipartBody.FORM)
  .addFormDataPart("cat_id", "7")
  .build();
Request request = new Request.Builder()
  .url("http://api.vv-tool.com/tool/accounts/tao-top20w-keyword")
  .method("POST", body)
  .addHeader("Authorization", "Bearer 9e9cfbce77aa841e7adc40ec73223ae4xxxxxxxx")
  .addHeader("Cookie", "PHPSESSID=38e60op1caonkimadf11g1fl6d; _csrf=3c3bcf6aa55a259c430ce996254f0a6c840ee0934363eefde6e3b0cae408348ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22iTvZZ4pBhZU2buepEFzaLv1Ruq5d9vQA%22%3B%7D")
  .build();
Response response = client.newCall(request).execute();

响应参数

参数 类型 描述
data object 返回数据信息
list array 返回数据集合
id int 编号
cat_id int 分类编号
keyword string 关键字
type int 类型
code int 返回状态码
msg string 返回码描述
msec int 接口执行时间
time int 接口返回时间

返回数据


{
    "code": 0,
    "msg": "成功",
    "msec": 196,
    "time": 1596769942,
    "data": {
        "list": [
            {
                "id": 7,
                "cat_id": 7,
                "keyword": "手机壳",
                "type": 2
            },
            {
                "id": 41,
                "cat_id": 7,
                "keyword": "苹果x手机壳",
                "type": 2
            },
            {
                "id": 350,
                "cat_id": 7,
                "keyword": "苹果xr手机壳",
                "type": 2
            },
            {
                "id": 432,
                "cat_id": 7,
                "keyword": "华为nova5pro手机壳",
                "type": 2
            },
            {
                "id": 546,
                "cat_id": 7,
                "keyword": "iphonex手机壳",
                "type": 2
            },
            {
                "id": 563,
                "cat_id": 7,
                "keyword": "苹果数据线",
                "type": 2
            },
            {
                "id": 581,
                "cat_id": 7,
                "keyword": "苹果7plus手机壳",
                "type": 2
            },
            {
                "id": 603,
                "cat_id": 7,
                "keyword": "oppor15手机壳",
                "type": 2
            },
            {
                "id": 637,
                "cat_id": 7,
                "keyword": "苹果手机壳",
                "type": 2
            },
            {
                "id": 713,
                "cat_id": 7,
                "keyword": "xr手机壳",
                "type": 2
            },
            {
                "id": 767,
                "cat_id": 7,
                "keyword": "vivox21手机壳",
                "type": 2
            },
            {
                "id": 893,
                "cat_id": 7,
                "keyword": "oppor17手机壳",
                "type": 2
            },
            {
                "id": 999,
                "cat_id": 7,
                "keyword": "苹果8plus手机壳",
                "type": 2
            },
            {
                "id": 1048,
                "cat_id": 7,
                "keyword": "苹果6splus手机壳",
                "type": 2
            },
            {
                "id": 1175,
                "cat_id": 7,
                "keyword": "华为nova4手机壳",
                "type": 2
            },
            {
                "id": 1222,
                "cat_id": 7,
                "keyword": "苹果8手机壳",
                "type": 2
            },
            {
                "id": 1255,
                "cat_id": 7,
                "keyword": "vivox27手机壳",
                "type": 2
            },
            {
                "id": 1258,
                "cat_id": 7,
                "keyword": "iphonexr手机壳",
                "type": 2
            },
            {
                "id": 1335,
                "cat_id": 7,
                "keyword": "情侣手机壳",
                "type": 2
            },
            {
                "id": 1361,
                "cat_id": 7,
                "keyword": "小米9手机壳",
                "type": 2
            },
            {
                "id": 1395,
                "cat_id": 7,
                "keyword": "8plus手机壳",
                "type": 2
            },
            {
                "id": 1403,
                "cat_id": 7,
                "keyword": "opporeno手机壳",
                "type": 2
            },
            {
                "id": 1408,
                "cat_id": 7,
                "keyword": "自拍杆",
                "type": 2
            },
            {
                "id": 1541,
                "cat_id": 7,
                "keyword": "小米8手机壳",
                "type": 2
            },
            {
                "id": 1645,
                "cat_id": 7,
                "keyword": "手机挂绳",
                "type": 2
            },
            {
                "id": 1761,
                "cat_id": 7,
                "keyword": "vivox23手机壳",
                "type": 2
            },
            {
                "id": 1781,
                "cat_id": 7,
                "keyword": "华为nova3手机壳",
                "type": 2
            },
            {
                "id": 1805,
                "cat_id": 7,
                "keyword": "苹果6手机壳",
                "type": 2
            },
            {
                "id": 1901,
                "cat_id": 7,
                "keyword": "8plus手机壳苹果",
                "type": 2
            },
            {
                "id": 2016,
                "cat_id": 7,
                "keyword": "手机支架",
                "type": 2
            },
            {
                "id": 2207,
                "cat_id": 7,
                "keyword": "荣耀9x手机壳",
                "type": 2
            },
            {
                "id": 2336,
                "cat_id": 7,
                "keyword": "nova5pro手机壳",
                "type": 2
            },
            {
                "id": 2384,
                "cat_id": 7,
                "keyword": "vivox9手机壳",
                "type": 2
            },
            {
                "id": 2408,
                "cat_id": 7,
                "keyword": "荣耀8x手机壳",
                "type": 2
            },
            {
                "id": 2417,
                "cat_id": 7,
                "keyword": "oppor9s手机壳",
                "type": 2
            },
            {
                "id": 2705,
                "cat_id": 7,
                "keyword": "oppoa5手机壳",
                "type": 2
            },
            {
                "id": 2816,
                "cat_id": 7,
                "keyword": "苹果6s手机壳",
                "type": 2
            },
            {
                "id": 2988,
                "cat_id": 7,
                "keyword": "oppor11s手机壳",
                "type": 2
            },
            {
                "id": 3120,
                "cat_id": 7,
                "keyword": "oppor11手机壳",
                "type": 2
            },
            {
                "id": 3219,
                "cat_id": 7,
                "keyword": "游戏机手机壳",
                "type": 2
            },
            {
                "id": 3320,
                "cat_id": 7,
                "keyword": "iphonexs max手机壳",
                "type": 2
            },
            {
                "id": 3334,
                "cat_id": 7,
                "keyword": "苹果充电线",
                "type": 2
            },
            {
                "id": 3367,
                "cat_id": 7,
                "keyword": "手机挂绳",
                "type": 2
            },
            {
                "id": 3379,
                "cat_id": 7,
                "keyword": "vivos1手机壳",
                "type": 2
            },
            {
                "id": 3509,
                "cat_id": 7,
                "keyword": "手机壳oppo",
                "type": 2
            },
            {
                "id": 3548,
                "cat_id": 7,
                "keyword": "oppoa9手机壳",
                "type": 2
            },
            {
                "id": 3688,
                "cat_id": 7,
                "keyword": "苹果xs手机壳",
                "type": 2
            },
            {
                "id": 3767,
                "cat_id": 7,
                "keyword": "手机散热器",
                "type": 2
            },
            {
                "id": 3818,
                "cat_id": 7,
                "keyword": "苹果x钢化膜",
                "type": 2
            },
            {
                "id": 3939,
                "cat_id": 7,
                "keyword": "硅胶手机壳",
                "type": 2
            },
            {
                "id": 3959,
                "cat_id": 7,
                "keyword": "李现同款手机壳",
                "type": 2
            },
            {
                "id": 3979,
                "cat_id": 7,
                "keyword": "iphone7手机壳",
                "type": 2
            },
            {
                "id": 4145,
                "cat_id": 7,
                "keyword": "磁吸数据线",
                "type": 2
            },
            {
                "id": 4148,
                "cat_id": 7,
                "keyword": "华为nova5手机壳",
                "type": 2
            },
            {
                "id": 4209,
                "cat_id": 7,
                "keyword": "苹果xsmax壳",
                "type": 2
            },
            {
                "id": 4227,
                "cat_id": 7,
                "keyword": "手机壳苹果x",
                "type": 2
            },
            {
                "id": 4232,
                "cat_id": 7,
                "keyword": "苹果 7 手机壳",
                "type": 2
            },
            {
                "id": 4311,
                "cat_id": 7,
                "keyword": "手机壳vivo",
                "type": 2
            },
            {
                "id": 4451,
                "cat_id": 7,
                "keyword": "华为手机壳",
                "type": 2
            },
            {
                "id": 4459,
                "cat_id": 7,
                "keyword": "iphone8手机壳",
                "type": 2
            },
            {
                "id": 4477,
                "cat_id": 7,
                "keyword": "苹果7手机壳",
                "type": 2
            },
            {
                "id": 4613,
                "cat_id": 7,
                "keyword": "vivoy7s手机壳",
                "type": 2
            },
            {
                "id": 4705,
                "cat_id": 7,
                "keyword": "手机架",
                "type": 2
            },
            {
                "id": 4755,
                "cat_id": 7,
                "keyword": "iphone7plus手机壳",
                "type": 2
            },
            {
                "id": 4757,
                "cat_id": 7,
                "keyword": "手机壳定制",
                "type": 2
            },
            {
                "id": 4775,
                "cat_id": 7,
                "keyword": "充电线",
                "type": 2
            }
        ]
    }
}

响应代码

代码 代码描述 解决方案
0 成功
100 请求参数错误 检查您的请求参数是否正确
101 请求超时,请重试 检查您的网络情况或者联系客服解决
200 系统错误,请联系客服 检查您的接口地址填写是否正确,其他问题联系客服解决
202 系统错误,请稍后再试 稍后重试,或者联系对接群
203 暂不支持当前接口
204 请求异常:无该接口权限,请前往官网开通正式接口。 前往官网开通该接口权限
204 请求异常:API 调用次数不足,请前往网站兑换次数。 前往官网充值该接口调用次数
401 身份凭证无效 在请求头中添加 access_token,重新更新 token
404 请求路径或请求方式错误 请更换请求方式或者检查路径是否正确