全部
在线测试

购物车猜你喜欢推送


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


接口介绍: 模拟官方算法提升指定淘宝号在首页推荐微详情中权重 点击查看详情


请求方式: POST


传参方式: application/json


返回格式: JSON


接口收费: 扣账户余额


频率限制: 10 次/秒


请求头参数

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

请求参数

参数 类型 必选 描述
items.url string 推送商品 id
items.account string 淘宝账号

请求示例

建议不要传 2 组以上
{
"items": [
{"account":"马云","url":"623590405303"},
{"account":"芭比博士","url":"573712069552"}
]
}

请求代码示例

cURL请求代码示例

curl --location --request POST 'http://api.vv-tool.com/tool/accounts/agouwuche' \
--header 'Cookie: Hm_lvt_eaa57ca47dacb4ad4f5a257001a3457c=1594955822,1595049020,1595211254; Hm_lvt_b2f2f0b6e89c111ec6ae8a8ffe0438b4=1595811470,1595898219,1595983911,1596070884; Hm_lpvt_b2f2f0b6e89c111ec6ae8a8ffe0438b4=1596079373; _csrf=ef485c09be934be843408cd625cc5d60ba5e265e9a0f0e707a589ec8f6862f57a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22vNSc2nlQlgzl7vZ8sXOel3RnVCYT3LhL%22%3B%7D; PHPSESSID=9clrl8itapsmakj80smt4rr0ts; _csrf=5f72449d88f0ff6404d5eb64f3722b8c7dde2fab1ec9f0f10c7a5808cb14eab0a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22a1vK_3_BGOjXX6smQ5tPL1b33FB59M5G%22%3B%7D' \
--header 'Authorization: Bearer c2c20409e5f3f34437aece02c69b9a9dxxxxxxxx' \
--form 'items=[{"account":"马云","url":"573712069552"},{"account":"芭比博士","url":"573712069552"}]'

PHP请求代码示例

<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "http://api.vv-tool.com/tool/accounts/agouwuche",
  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('items' => '[{"account":"马云","url":"573712069552"},{"account":"芭比博士","url":"573712069552"}]'),
  CURLOPT_HTTPHEADER => array(
    "Cookie: Hm_lvt_eaa57ca47dacb4ad4f5a257001a3457c=1594955822,1595049020,1595211254; Hm_lvt_b2f2f0b6e89c111ec6ae8a8ffe0438b4=1595811470,1595898219,1595983911,1596070884; Hm_lpvt_b2f2f0b6e89c111ec6ae8a8ffe0438b4=1596079373; _csrf=ef485c09be934be843408cd625cc5d60ba5e265e9a0f0e707a589ec8f6862f57a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22vNSc2nlQlgzl7vZ8sXOel3RnVCYT3LhL%22%3B%7D; PHPSESSID=9clrl8itapsmakj80smt4rr0ts; _csrf=5f72449d88f0ff6404d5eb64f3722b8c7dde2fab1ec9f0f10c7a5808cb14eab0a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22a1vK_3_BGOjXX6smQ5tPL1b33FB59M5G%22%3B%7D",
    "Authorization: Bearer c2c20409e5f3f34437aece02c69b9a9dxxxxxxxx"
  ),
));

$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("items", "[{\"account\":\"马云\",\"url\":\"573712069552\"},{\"account\":\"芭比博士\",\"url\":\"573712069552\"}]")
  .build();
Request request = new Request.Builder()
  .url("http://api.vv-tool.com/tool/accounts/agouwuche")
  .method("POST", body)
  .addHeader("Cookie", "Hm_lvt_eaa57ca47dacb4ad4f5a257001a3457c=1594955822,1595049020,1595211254; Hm_lvt_b2f2f0b6e89c111ec6ae8a8ffe0438b4=1595811470,1595898219,1595983911,1596070884; Hm_lpvt_b2f2f0b6e89c111ec6ae8a8ffe0438b4=1596079373; _csrf=ef485c09be934be843408cd625cc5d60ba5e265e9a0f0e707a589ec8f6862f57a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22vNSc2nlQlgzl7vZ8sXOel3RnVCYT3LhL%22%3B%7D; PHPSESSID=9clrl8itapsmakj80smt4rr0ts; _csrf=5f72449d88f0ff6404d5eb64f3722b8c7dde2fab1ec9f0f10c7a5808cb14eab0a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22a1vK_3_BGOjXX6smQ5tPL1b33FB59M5G%22%3B%7D")
  .addHeader("Authorization", "Bearer 4eaa83b3d669a05ca87b61fb72537839xxxxxxx")
  .build();
Response response = client.newCall(request).execute();

响应参数

参数 类型 描述
code int 返回状态码
msg string 返回码描述
msec int 接口执行时间
time int 接口返回时间
data object 返回数据信息
withholding_money int 该接口扣费金额(点券)

返回数据


    {
    "code": 0,
    "msg": "成功",
    "msec": 443,
    "time": 1602752715,
    "data": [
		"withholding_money":1
		
		]
}

响应代码

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