全部
在线测试
千人千面标签
接口地址: http://api.vv-tool.com/tool/accounts/tao-guess
接口介绍: 千人千面标签 点击查看详情
请求方式: POST
传参方式: form-data
返回格式: JSON
接口收费: 内测用户,查询 1 次,计 1 次调用
频率限制: 10 次/秒
请求头参数
参数 | 类型 | 必选 | 值 | 示例 |
---|---|---|---|---|
Authorization | string | 是 | 授权 access_token | Bearer 1798c6aadec33d1bc2f5b707f1049aefexxxx |
请求参数
参数 | 类型 | 必选 | 描述 |
---|---|---|---|
account | string | 是 | 淘宝账号 |
请求示例
account: 马云
请求代码示例
cURL请求代码示例
curl --location --request POST 'http://api.vv-tool.com/tool/accounts/tao-guess' \
--header 'Authorization: Bearer c2c20409e5f3f34437aece02c69b9a9dxxxxxxxx' \
--header 'Cookie: PHPSESSID=9clrl8itapsmakj80smt4rr0ts; _csrf=0c6b29e5beabe9ccf9cb0379127a47b1de8c9ba43601e6414c2ce495757e671aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%223lkgGJ8IB0O1ywsnaB_TJ8KgMgNJ8pP7%22%3B%7D' \
--form 'account=马云'
PHP请求代码示例
<?php
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => "http://api.vv-tool.com/tool/accounts/tao-guess",
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('account' => '马云'),
CURLOPT_HTTPHEADER => array(
"Authorization: Bearer c2c20409e5f3f34437aece02c69b9a9dxxxxxxxx",
"Cookie: PHPSESSID=9clrl8itapsmakj80smt4rr0ts; _csrf=0c6b29e5beabe9ccf9cb0379127a47b1de8c9ba43601e6414c2ce495757e671aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%223lkgGJ8IB0O1ywsnaB_TJ8KgMgNJ8pP7%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("account", "马云")
.build();
Request request = new Request.Builder()
.url("http://api.vv-tool.com/tool/accounts/tao-guess")
.method("POST", body)
.addHeader("Authorization", "Bearer c2c20409e5f3f34437aece02c69b9a9dxxxxxxxx")
.addHeader("Cookie", "PHPSESSID=9clrl8itapsmakj80smt4rr0ts; _csrf=0c6b29e5beabe9ccf9cb0379127a47b1de8c9ba43601e6414c2ce495757e671aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%223lkgGJ8IB0O1ywsnaB_TJ8KgMgNJ8pP7%22%3B%7D")
.build();
Response response = client.newCall(request).execute();
响应参数
参数 | 类型 | 描述 |
---|---|---|
data | object | 返回数据信息 |
recent_tag | object | 近期浏览搜索标签库 |
tag | string | 近期浏览搜索标签 |
price | string | 消费潜力值 |
brand_name | string | 近期浏览搜索标签品牌词 |
category_name | string | 近期浏览搜索标签类目 |
tags | object | 潜在购买词库 |
tag | string | 潜在购买词 |
category_name | string | 潜在购买类目 |
price | string | 消费潜力值 |
brand_name | string | 近期浏览搜索标签品牌词 |
msg | string | 返回码描述 |
msec | int | 接口执行时间 |
time | int | 接口返回时间 |
返回数据示例
{
"code": 0,
"msg": "成功",
"msec": 4219,
"time": 1663306979,
"data": {
"tags": [
{
"tag": "内裤",
"price": "24.8~59.0",
"brand_name": null,
"category_name": "童装/婴儿装/亲子装 >> 儿童内衣裤 >> 内裤"
},
{
"tag": "男童袜子纯棉春秋",
"price": "15.9~35.9",
"brand_name": null,
"category_name": "童装/婴儿装/亲子装 >> 儿童袜子(0-16岁)"
},
{
"tag": "阔腿牛仔裤女",
"price": "69~98.0",
"brand_name": null,
"category_name": "女装/女士精品 >> 牛仔裤"
},
{
"tag": "儿童拼图,宝宝玩具",
"price": "19.9~69.0",
"brand_name": "moondog",
"category_name": "玩具/童车/益智/积木/模型 >> 串珠/拼图/配对/拆装/敲打玩具 >> 拼图/拼板"
},
{
"tag": "玩具",
"price": "9.9~29.8",
"brand_name": "魔法学院",
"category_name": "玩具/童车/益智/积木/模型 >> 解锁/迷宫/魔方/智力玩具 >> 迷宫类"
},
{
"tag": "儿童益智玩具",
"price": "29.8~89.8",
"brand_name": null,
"category_name": "玩具/童车/益智/积木/模型 >> 儿童棋类/桌面游戏 >> 儿童桌面游戏类"
},
{
"tag": "床垫椰棕垫,儿童床垫",
"price": "99~198.0",
"brand_name": null,
"category_name": "住宅家具>>床垫类>>椰棕床垫"
},
{
"tag": "抄网",
"price": "4.2~7.0",
"brand_name": null,
"category_name": "户外/登山/野营/旅行用品>>垂钓装备>>抄网头"
},
{
"tag": "厨房秤,克称,食物秤",
"price": "14.9~15.0",
"brand_name": null,
"category_name": "厨房/烹饪用具>>厨用小工具/厨房储物>>其它"
},
{
"tag": "绕珠,串珠",
"price": "15.9~78.0",
"brand_name": null,
"category_name": "玩具/童车/益智/积木/模型>>串珠/拼图/配对/拆装/敲打玩具>>婴幼儿串珠/绕珠"
},
{
"tag": "婴儿辅食碗",
"price": "29~68.0",
"brand_name": "KIDSNEED/柯斯德尼",
"category_name": "婴童用品 >> 水杯/餐具/研磨/辅食用具 >> 儿童餐具"
},
{
"tag": "烤箱家用小型,电烤箱",
"price": "309~599.0",
"brand_name": "Midea/美的",
"category_name": "厨房电器 >> 电烤箱"
},
{
"tag": "拖把,拖地神器,拖布",
"price": "14.8~55.0",
"brand_name": "好巧",
"category_name": "家庭/个人清洁工具 >> 家务/地板清洁用具 >> 拖把 >> 平板拖把"
},
{
"tag": "儿童玩具车,小汽车",
"price": "49~176.0",
"brand_name": null,
"category_name": "玩具/童车/益智/积木/模型>>电动/遥控/惯性/发条玩具>>惯性/回力/滑行玩具"
}
],
"recent_tag": [
{
"brand_name": null,
"tag": "内裤",
"price": "24.8~59.0",
"category_name": "童装/婴儿装/亲子装 >> 儿童内衣裤 >> 内裤"
},
{
"brand_name": null,
"tag": "男童袜子纯棉春秋",
"price": "15.9~35.9",
"category_name": "童装/婴儿装/亲子装 >> 儿童袜子(0-16岁)"
},
{
"brand_name": null,
"tag": "阔腿牛仔裤女",
"price": "69~98.0",
"category_name": "女装/女士精品 >> 牛仔裤"
},
{
"brand_name": "moondog",
"tag": "moondog",
"price": "19.9~69.0",
"category_name": "玩具/童车/益智/积木/模型 >> 串珠/拼图/配对/拆装/敲打玩具 >> 拼图/拼板"
},
{
"brand_name": "魔法学院",
"tag": "魔法学院",
"price": "9.9~29.8",
"category_name": "玩具/童车/益智/积木/模型 >> 解锁/迷宫/魔方/智力玩具 >> 迷宫类"
},
{
"brand_name": null,
"tag": "儿童益智玩具",
"price": "29.8~89.8",
"category_name": "玩具/童车/益智/积木/模型 >> 儿童棋类/桌面游戏 >> 儿童桌面游戏类"
},
{
"brand_name": null,
"tag": "床垫椰棕垫",
"price": "99~198.0",
"category_name": "住宅家具>>床垫类>>椰棕床垫"
},
{
"brand_name": null,
"tag": "抄网",
"price": "4.2~7.0",
"category_name": "户外/登山/野营/旅行用品>>垂钓装备>>抄网头"
},
{
"brand_name": null,
"tag": "厨房秤",
"price": "14.9~15.0",
"category_name": "厨房/烹饪用具>>厨用小工具/厨房储物>>其它"
},
{
"brand_name": null,
"tag": "串珠",
"price": "15.9~78.0",
"category_name": "玩具/童车/益智/积木/模型>>串珠/拼图/配对/拆装/敲打玩具>>婴幼儿串珠/绕珠"
},
{
"brand_name": "KIDSNEED/柯斯德尼",
"tag": "KIDSNEED/柯斯德尼",
"price": "29~68.0",
"category_name": "婴童用品 >> 水杯/餐具/研磨/辅食用具 >> 儿童餐具"
},
{
"brand_name": "Midea/美的",
"tag": "Midea/美的",
"price": "309~599.0",
"category_name": "厨房电器 >> 电烤箱"
},
{
"brand_name": "好巧",
"tag": "好巧",
"price": "14.8~55.0",
"category_name": "家庭/个人清洁工具 >> 家务/地板清洁用具 >> 拖把 >> 平板拖把"
},
{
"brand_name": null,
"tag": "儿童玩具车",
"price": "49~176.0",
"category_name": "玩具/童车/益智/积木/模型>>电动/遥控/惯性/发条玩具>>惯性/回力/滑行玩具"
}
]
}
}
响应代码
代码 | 代码描述 | 解决方案 |
---|---|---|
0 | 成功 | |
100 | 请求参数错误 | 检查您的请求参数是否正确 |
101 | 请求超时,请重试 | 检查您的网络情况或者联系客服解决 |
200 | 系统错误,请联系客服 | 检查您的接口地址填写是否正确,其他问题联系客服解决 |
202 | 系统错误,请稍后再试 | 稍后重试,或者联系对接群 |
203 | 暂不支持当前接口 | |
204 | 请求异常:无该接口权限,请前往官网开通正式接口。 | 前往官网开通该接口权限 |
204 | 请求异常:API 调用次数不足,请前往网站兑换次数。 | 前往官网充值该接口调用次数 |
401 | 身份凭证无效 | 在请求头中添加 access_token,重新更新 token |
404 | 请求路径或请求方式错误 | 请更换请求方式或者检查路径是否正确 |