全部
在线测试

流量加购收藏

接口介绍:根据自己的需求,输入对应的信息,即可发布流量任务,包括淘宝商品收藏、加购等任务类型 点击查看详情


请求字段说明:

字段 含义 允许的值 备注
browse_goods_time 浏览时间的档次 1,2,3,4 1: 浏览 0-100 秒,2:浏览 101-200 秒,3:浏览 201-300 秒,4:浏览 300 秒以上
browse_other_goods 同店相关商品浏览档次 1,2,3,4,5 1:深入浏览 1 个商品, 2:随机浏览 1-2 个商品,3:随机浏览 1-3 个商品,4:深入浏览 2 个商品,5:深入浏览 3 个商品(深入浏览停留时间更长)
man_ratio 男士比例 0-100 如果 man_ratio 和 woman_ratio 都为 0 那么表示 男女比例随机,否则,这两个值相加之和要为 100(两个值要一起传)
woman_ratio 女士比例 0-100 如果 man_ratio 和 woman_ratio 都为 0 那么表示 男女比例随机,否则,这两个值相加之和要为 100(两个值要一起传)
other_goods_ids 同店铺相关商品 id 集合 与流量商品同一个店铺的商品的 id 必须传同一个店铺的商品 id 集合,否则不会产生同店浏览的效果
network_model 网络模式 1,2,3,4 1:随机,2:WIFI,3:4G,4:2G/3G
compare_goods 货比三家的等级 1,2,3,4 1:不参与货比三家,2:货比一家,3:货比二家,4:货比三家
request_terminal 请求终端 1,2 1:PC 端,2:无线端

流量接口包含:
收藏任务—搜索收藏、收藏任务—店铺直接收藏、收藏任务—商品直接收藏;
加购任务—搜索加购、加购任务—直接加购、点赞关注-微淘点赞、点赞关注-商品评论点赞、点赞关注-淘宝商品推荐。
京东-加购任务
访客任务点击查看接口文档
点击查看详情


接口名称: 获取任务列表


接口地址: http://api.vv-tool.com/tool/traffics/task-record


请求方式: GET


返回格式: JSON


接口收费: 免费


频率限制: 10 次/秒


请求头参数

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

请求参数

参数 类型 必选 描述
page int 页码
psize int 每页显示记录数量
task_sn string 任务编号
task_status int 任务状态 1 成功,0 进行中,8 取消中,9 部分退款,10 全额退款
不传任何参数默认获取最新 10 条任务列表

请求示例

page :1
psize :2

请求代码示例

cURL请求代码示例

curl --location --request GET 'http://api.vv-tool.com/tool/traffics/task-record?page=1&psize=8' \
--header 'Authorization: Bearer c2c20409e5f3f34437aece02c69b9a9dxxxxxxxx' \
--header 'Cookie: PHPSESSID=9clrl8itapsmakj80smt4rr0ts; _csrf=a8a2cbfe89b6cacca1e1d8ed15c3c68d87b55ec7940e3b8171254f5c85f1630ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22hvm9urd7kCBAMgNcMvjqrkRk3dsRzInp%22%3B%7D'

PHP请求代码示例

<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "http://api.vv-tool.com/tool/traffics/task-record?page=1&psize=8",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 0,
  CURLOPT_FOLLOWLOCATION => true,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
  CURLOPT_HTTPHEADER => array(
    "Authorization: Bearer c2c20409e5f3f34437aece02c69b9a9dxxxxxxxx",
    "Cookie: PHPSESSID=9clrl8itapsmakj80smt4rr0ts; _csrf=a8a2cbfe89b6cacca1e1d8ed15c3c68d87b55ec7940e3b8171254f5c85f1630ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22hvm9urd7kCBAMgNcMvjqrkRk3dsRzInp%22%3B%7D"
  ),
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;

JAVA请求代码示例

OkHttpClient client = new OkHttpClient().newBuilder()
  .build();
Request request = new Request.Builder()
  .url("http://api.vv-tool.com/tool/traffics/task-record?page=1&psize=8")
  .method("GET", null)
  .addHeader("Authorization", "Bearer c2c20409e5f3f34437aece02c69b9a9dxxxxxxxx")
  .addHeader("Cookie", "PHPSESSID=9clrl8itapsmakj80smt4rr0ts; _csrf=a8a2cbfe89b6cacca1e1d8ed15c3c68d87b55ec7940e3b8171254f5c85f1630ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22hvm9urd7kCBAMgNcMvjqrkRk3dsRzInp%22%3B%7D")
  .build();
Response response = client.newCall(request).execute();

响应参数

参数 类型 描述
code int 返回状态码
msg string 返回码描述
msec int 接口执行时间
time int 接口返回时间
data object 返回数据信息
page string 页码
count string 数量
totalPage int 总量
traffic_task_id string 任务 id
task_sn string 任务编号
category string 类目
type string 类型
keyword string 关键字
最多 32 位字符串
unit_point string 每次任务消耗点券
total_count string 发布数
finish_count string 完成数
hours_json string 每个小时任务量
task_status string 任务状态
execute_time string 执行时间
cancel_time string 取消时间
publish_time string 发布时间
remark string 备注(任务异常的具体情况)

返回数据

{
    "code": 0,
    "msg": "成功",
    "msec": 280,
    "time": 1596440269,
    "data": {
        "page": "1",
        "count": "25",
        "totalPage": 13,
        "list": [
            {
                "traffic_task_id": "278025",
                "task_sn": "9539655",
                "category": "traffic",
                "type": "trafficApp",
                "keyword": "迷你湿巾",
                "unit_point": "5",
                "total_count": "1",
                "finish_count": "4",
                "hours_json": [
                    "{0",
                    "0",
                    "0",
                    "0",
                    "0",
                    "0",
                    "0",
                    "0",
                    "0",
                    "0",
                    "0",
                    "0",
                    "0",
                    "0",
                    "0",
                    "0",
                    "0",
                    "0",
                    "0",
                    "0",
                    "0",
                    "0",
                    "0",
                    "1}"
                ],
                "task_status": "1",
                "remark": "接口调用,任务编号:9539655",
                "execute_time": "1596470400",
                "cancel_time": "0",
                "publish_time": "1596416705"
            },
            {
                "traffic_task_id": "275518",
                "task_sn": "9521818",
                "category": "traffic",
                "type": "trafficApp",
                "keyword": "迷你湿巾",
                "unit_point": "5",
                "total_count": "1",
                "finish_count": "1",
                "hours_json": [
                    "{0",
                    "0",
                    "0",
                    "0",
                    "0",
                    "0",
                    "0",
                    "0",
                    "0",
                    "0",
                    "0",
                    "0",
                    "0",
                    "0",
                    "0",
                    "0",
                    "0",
                    "0",
                    "0",
                    "0",
                    "0",
                    "0",
                    "0",
                    "1}"
                ],
                "task_status": "1",
                "remark": "接口调用,任务编号:9521818",
                "execute_time": "1596124800",
                "cancel_time": "0",
                "publish_time": "1596106250"
            }
        ]
    }
}

接口名称: 取消任务


接口地址: http://api.vv-tool.com/tool/traffics/cancel


请求方式: GET


返回格式: JSON


接口收费: 免费


频率限制: 10 次/秒


请求头参数

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

请求参数

参数 类型 必选 描述
task_sn string 任务 id

请求示例

task_sn: 9543065

请求代码示例

cURL请求代码示例

curl --location --request GET 'http://api.vv-tool.com/tool/traffics/cancel?task_sn=9543065' \
--header 'Authorization: Bearer c2c20409e5f3f34437aece02c69b9a9dxxxxxxxx' \
--header 'Cookie: PHPSESSID=2eaudnifsgdo9m3k7dmn8drqtt; _csrf=d46658a5be324c32f34d12bf7c3e59428dad6af561de4a63e644d1f0c0226d75a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22tybpeIoKVI87pU1mtzrlm28TLVcyG2HP%22%3B%7D'

PHP请求代码示例
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "http://api.vv-tool.com/tool/traffics/cancel?task_sn=9543065",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 0,
  CURLOPT_FOLLOWLOCATION => true,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
  CURLOPT_HTTPHEADER => array(
    "Authorization: Bearer c2c20409e5f3f34437aece02c69b9a9dxxxxxxxx",
    "Cookie: PHPSESSID=2eaudnifsgdo9m3k7dmn8drqtt; _csrf=d46658a5be324c32f34d12bf7c3e59428dad6af561de4a63e644d1f0c0226d75a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22tybpeIoKVI87pU1mtzrlm28TLVcyG2HP%22%3B%7D"
  ),
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;

JAVA请求代码示例

OkHttpClient client = new OkHttpClient().newBuilder()
  .build();
Request request = new Request.Builder()
  .url("http://api.vv-tool.com/tool/traffics/cancel?task_sn=9543065")
  .method("GET", null)
  .addHeader("Authorization", "Bearer c2c20409e5f3f34437aece02c69b9a9dxxxxxxxx")
  .addHeader("Cookie", "PHPSESSID=2eaudnifsgdo9m3k7dmn8drqtt; _csrf=d46658a5be324c32f34d12bf7c3e59428dad6af561de4a63e644d1f0c0226d75a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22tybpeIoKVI87pU1mtzrlm28TLVcyG2HP%22%3B%7D")
  .build();
Response response = client.newCall(request).execute();

响应参数

参数 类型 描述
code int 返回状态码
msg string 返回码描述
msec int 接口执行时间
time int 接口返回时间
data object 返回数据信息

返回数据

{
    "code": 0,
    "msg": "取消中",
    "msec": 1521,
    "time": 1628588920,
    "data": []
}



接口名称: 收藏任务——搜索收藏


接口地址: http://api.vv-tool.com/tool/traffics/s-collect


请求方式: POST


传参方式: form-data


返回格式: JSON


接口收费: 扣账户余额


频率限制: 10 次/秒


请求头参数

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

请求参数

参数 类型 必选 描述
keywordInfo[0][count] string 任务总数(根据 hour 和 begin_time 和 end_time 计算出的,任务总数 = 每日的量*总天数)
最多任务量:20 组
keywordInfo[0][hour] string 任务天计划,每个小时的任务量,当前小时无任务设置为 0,将 24 小时的任务量用逗号链接
keywordInfo[0][keyword] string 搜索商品关键字 最多 20 组 32 位字符串
keywordInfo[0][show_num] string 展现 比如 1.2.3
target string 商品 url 或 商品 id
begin_time string 开始时间,格式 YYYY-mm-dd
end_time string 结束时间,格式 YYYY-mm-dd
browse_goods_time string 浏览时间的档次,具体看最上面
browse_other_goods string 同店相关商品浏览档次,具体看最上面

请求示例

target:https://item.taobao.com/item.htm?id=634916921438
keywordInfo[0][hour]:0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_2
begin_time:2021-08-09
end_time:2021-08-10
keywordInfo[0][count]:1
keywordInfo[0][keyword]:2021 春秋新款
keywordInfo[0][show_num]:0
browse_goods_time:2
browse_other_goods:2

请求代码示例

cURL请求代码示例

curl --location --request POST 'http://api.vv-tool.com/tool/traffics/s-seek-collect' \
--header 'Authorization: Bearer ed4ac42f05c1f6d662087f1d6d814f25xxxxxxx' \
--header 'Content-Type: application/json' \
--header 'Cookie: PHPSESSID=45no47hqv1ho5vai96emlii7l5; _csrf=9623a08463af60cd7fe25b00c0af8d679da1bd2d03c17e1942ef464d70906eb2a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22f3liy1div_nm2VaDDpwOtUzfIpTx20gg%22%3B%7D' \
--data-raw '{
"target": "https://item.taobao.com/item.htm?spm=a230r.1.14.16.3db67714vAiXw1&id=607245697156&ns=1&abbucket=10#detail",
"browse_time": 100,
"begin_time": "2020-12-16",
"keyword": "婴幼儿童",
"hour": "0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0",
"count": 1
}'

PHP请求代码示例

<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => 'http://api.vv-tool.com/tool/traffics/s-seek-collect',
  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 =>'{
"target": "https://item.taobao.com/item.htm?spm=a230r.1.14.16.3db67714vAiXw1&id=607245697156&ns=1&abbucket=10#detail",
"browse_time": 100,
"begin_time": "2020-12-16",
"keyword": "婴幼儿童",
"hour": "0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0",
"count": 1
}',
  CURLOPT_HTTPHEADER => array(
    'Authorization: Bearer ed4ac42f05c1f6d662087f1d6d814f25xxxxxxxx',
    'Content-Type: application/json',
    'Cookie: PHPSESSID=45no47hqv1ho5vai96emlii7l5; _csrf=ad3db288106e760679319882a26720ba044b98e279014fce0882c664c5df5780a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22M2unDBuVPWPtXOA007vw-ZR5jhM-rXU6%22%3B%7D'
  ),
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;



JAVA请求代码示例
OkHttpClient client = new OkHttpClient().newBuilder()
  .build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\r\n\"target\": \"https://item.taobao.com/item.htm?spm=a230r.1.14.16.3db67714vAiXw1&id=607245697156&ns=1&abbucket=10#detail\",\r\n\"browse_time\": 100,\r\n\"begin_time\": \"2020-12-16\",\r\n\"keyword\": \"测试产品\",\r\n\"hour\": \"0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0\",\r\n\"count\": 1\r\n}");
Request request = new Request.Builder()
  .url("http://api.vv-tool.com/tool/traffics/s-seek-collect")
  .method("POST", body)
  .addHeader("Authorization", "Bearer ed4ac42f05c1f6d662087f1d6d814fxxxxxxxx")
  .addHeader("Content-Type", "application/json")
  .addHeader("Cookie", "PHPSESSID=45no47hqv1ho5vai96emlii7l5; _csrf=ad3db288106e760679319882a26720ba044b98e279014fce0882c664c5df5780a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22M2unDBuVPWPtXOA007vw-ZR5jhM-rXU6%22%3B%7D")
  .build();
Response response = client.newCall(request).execute();

响应参数

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

返回数据

    {
        "code": 0,
        "msg": "发布成功",
        "msec": 134,
        "time": 1596441934,
        "data": {
             "task_sn": 9543137,
            "withholding_money": 50
        }
    }


接口名称: 收藏任务——店铺直接收藏


接口地址: http://api.vv-tool.com/tool/traffics/d-seek-collect


请求方式: POST


传参方式: form-data


返回格式: JSON


接口收费: 扣账户余额


频率限制: 10 次/秒


请求头参数

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

请求参数

参数 类型 必选 描述
count string 任务总数(根据 hour 和 begin_time 和 end_time 计算出的,任务总数 = 每日的量*总天数)
hour string 任务天计划,每个小时的任务量,当前小时无任务设置为 0,将 24 小时的任务量用逗号链接(该任务两个起步)
target string 店铺 url
begin_time string 开始时间,格式 YYYY-mm-dd
end_time string 结束时间,格式 YYYY-mm-dd

请求示例

count:1
hour:0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0
target:https://fashionglobal.tmall.hk/shop/view_shop.htm?spm=875.7931836/B.2016073.12.3bc14265GXRdlE&user_number_id=2200657715182&pvid=fd402cf4-330b-4b71-b332-220e19250420&pos=12&brandId=9828951&acm=09042.1003.1.1200415&scm=1007.13029.131809.100200300000000
begin_time:2020-12-16

请求代码示例

cURL请求代码示例

curl --location --request POST 'http://api.vv-tool.com/tool/traffics/d-seek-collect' \
--header 'Authorization: Bearer ed4ac42f05c1f6d662087f1d6d814f25xxxxxxx' \
--header 'Content-Type: application/json' \
--header 'Cookie: PHPSESSID=45no47hqv1ho5vai96emlii7l5; _csrf=9623a08463af60cd7fe25b00c0af8d679da1bd2d03c17e1942ef464d70906eb2a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22f3liy1div_nm2VaDDpwOtUzfIpTx20gg%22%3B%7D' \
--data-raw '{
"target": "https://fashionglobal.tmall.hk/shop/view_shop.htm?spm=875.7931836/B.2016073.12.3bc14265GXRdlE&user_number_id=2200657715182&pvid=fd402cf4-330b-4b71-b332-220e19250420&pos=12&brandId=9828951&acm=09042.1003.1.1200415&scm=1007.13029.131809.100200300000000",
"browse_time": 100,
"begin_time": "2020-12-16",
"hour": "0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0",
"count": 1
}'

PHP请求代码示例

<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => 'http://api.vv-tool.com/tool/traffics/d-seek-collect',
  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 =>'{
"target": "https://fashionglobal.tmall.hk/shop/view_shop.htm?spm=875.7931836/B.2016073.12.3bc14265GXRdlE&user_number_id=2200657715182&pvid=fd402cf4-330b-4b71-b332-220e19250420&pos=12&brandId=9828951&acm=09042.1003.1.1200415&scm=1007.13029.131809.100200300000000",
"browse_time": 100,
"begin_time": "2020-12-16",
"hour": "0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0",
"count": 1
}',
  CURLOPT_HTTPHEADER => array(
    'Authorization: Bearer ed4ac42f05c1f6d662087f1d6d814f25xxxxxxxx',
    'Content-Type: application/json',
    'Cookie: PHPSESSID=45no47hqv1ho5vai96emlii7l5; _csrf=ad3db288106e760679319882a26720ba044b98e279014fce0882c664c5df5780a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22M2unDBuVPWPtXOA007vw-ZR5jhM-rXU6%22%3B%7D'
  ),
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;



JAVA请求代码示例
OkHttpClient client = new OkHttpClient().newBuilder()
  .build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\r\n\"target\": \"https://fashionglobal.tmall.hk/shop/view_shop.htm?spm=875.7931836/B.2016073.12.3bc14265GXRdlE&user_number_id=2200657715182&pvid=fd402cf4-330b-4b71-b332-220e19250420&pos=12&brandId=9828951&acm=09042.1003.1.1200415&scm=1007.13029.131809.100200300000000\",\r\n\"browse_time\": 100,\r\n\"begin_time\": \"2020-12-16\",\r\n\"hour\": \"0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0\",\r\n\"count\": 1\r\n}");
Request request = new Request.Builder()
  .url("http://api.vv-tool.com/tool/traffics/d-seek-collect")
  .method("POST", body)
  .addHeader("Authorization", "Bearer ed4ac42f05c1f6d662087f1d6d814fxxxxxxxx")
  .addHeader("Content-Type", "application/json")
  .addHeader("Cookie", "PHPSESSID=45no47hqv1ho5vai96emlii7l5; _csrf=ad3db288106e760679319882a26720ba044b98e279014fce0882c664c5df5780a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22M2unDBuVPWPtXOA007vw-ZR5jhM-rXU6%22%3B%7D")
  .build();
Response response = client.newCall(request).execute();

响应参数

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

返回数据

    {
        "code": 0,
        "msg": "发布成功",
        "msec": 134,
        "time": 1596441934,
        "data": {
             "task_sn": 9543137,
            "withholding_money": 50
        }
    }


接口名称: 收藏任务——商品直接收藏


接口地址: http://api.vv-tool.com/tool/traffics/traffic-product-direct-collection


请求方式: POST


传参方式: form-data


返回格式: JSON


接口收费: 扣账户余额


频率限制: 10 次/秒


请求头参数

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

请求参数

参数 类型 必选 描述
count string 任务总数(根据 hour 和 begin_time 和 end_time 计算出的,任务总数 = 每日的量*总天数)
hour string 任务天计划,每个小时的任务量,当前小时无任务设置为 0,将 24 小时的任务量用逗号链接
target string 商品 url 或 商品 id
begin_time string 开始时间,格式 YYYY-mm-dd
end_time string 结束时间,格式 YYYY-mm-dd

请求示例

count:1
hour:0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0
target:https://item.taobao.com/item.htm?id=623917802188
begin_time:2020-12-16

请求代码示例

cURL请求代码示例

curl --location --request POST 'http://api.vv-tool.com/tool/traffics/traffic-product-direct-collection' \
--header 'Authorization: Bearer ed4ac42f05c1f6d662087f1d6d814f25xxxxxxx' \
--header 'Content-Type: application/json' \
--header 'Cookie: PHPSESSID=45no47hqv1ho5vai96emlii7l5; _csrf=9623a08463af60cd7fe25b00c0af8d679da1bd2d03c17e1942ef464d70906eb2a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22f3liy1div_nm2VaDDpwOtUzfIpTx20gg%22%3B%7D' \
--data-raw '{
"target": "https://item.taobao.com/item.htm?spm=a230r.1.14.16.3db67714vAiXw1&id=607245697156&ns=1&abbucket=10#detail",
"browse_time": 100,
"begin_time": "2020-12-16",
"hour": "0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0",
"count": 1
}'

PHP请求代码示例

<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => 'http://api.vv-tool.com/tool/traffics/traffic-product-direct-collection',
  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 =>'{
"target": "https://item.taobao.com/item.htm?spm=a230r.1.14.16.3db67714vAiXw1&id=607245697156&ns=1&abbucket=10#detail",
"browse_time": 100,
"begin_time": "2020-12-16",
"hour": "0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0",
"count": 1
}',
  CURLOPT_HTTPHEADER => array(
    'Authorization: Bearer ed4ac42f05c1f6d662087f1d6d814f25xxxxxxxx',
    'Content-Type: application/json',
    'Cookie: PHPSESSID=45no47hqv1ho5vai96emlii7l5; _csrf=ad3db288106e760679319882a26720ba044b98e279014fce0882c664c5df5780a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22M2unDBuVPWPtXOA007vw-ZR5jhM-rXU6%22%3B%7D'
  ),
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;



JAVA请求代码示例
OkHttpClient client = new OkHttpClient().newBuilder()
  .build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\r\n\"target\": \"https://item.taobao.com/item.htm?spm=a230r.1.14.16.3db67714vAiXw1&id=607245697156&ns=1&abbucket=10#detail\",\r\n\"browse_time\": 100,\r\n\"begin_time\": \"2020-12-16\",\r\n\,\r\n\"hour\": \"0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0\",\r\n\"count\": 1\r\n}");
Request request = new Request.Builder()
  .url("http://api.vv-tool.com/tool/traffics/traffic-product-direct-collection")
  .method("POST", body)
  .addHeader("Authorization", "Bearer ed4ac42f05c1f6d662087f1d6d814fxxxxxxxx")
  .addHeader("Content-Type", "application/json")
  .addHeader("Cookie", "PHPSESSID=45no47hqv1ho5vai96emlii7l5; _csrf=ad3db288106e760679319882a26720ba044b98e279014fce0882c664c5df5780a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22M2unDBuVPWPtXOA007vw-ZR5jhM-rXU6%22%3B%7D")
  .build();
Response response = client.newCall(request).execute();

响应参数

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

返回数据

    {
        "code": 0,
        "msg": "发布成功",
        "msec": 134,
        "time": 1596441934,
        "data": {
             "task_sn": 9543137,
            "withholding_money": 50
        }
    }


接口名称: 加购任务——搜索加购


接口地址: http://api.vv-tool.com/tool/traffics/s-cart


请求方式: POST


传参方式: form-data


返回格式: JSON


频率限制: 10 次/秒


请求头参数

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

请求参数

参数 类型 必选 描述
keywordInfo[0][count] string 任务总数(根据 hour 和 begin_time 和 end_time 计算出的,任务总数 = 每日的量*总天数)
最多任务量:20 组
keywordInfo[0][hour] string 任务天计划,每个小时的任务量,当前小时无任务设置为 0,将 24 小时的任务量用逗号链接
keywordInfo[0][keyword] string 搜索商品关键字 最多 20 组 32 位字符串
keywordInfo[0][show_num] string 展现 比如 1.2.3
target string 商品 url 或 商品 id
begin_time string 开始时间,格式 YYYY-mm-dd
end_time string 结束时间,格式 YYYY-mm-dd
browse_goods_time string 浏览时间的档次,具体看最上面
browse_other_goods string 同店相关商品浏览档次,具体看最上面

请求示例

target:https://item.taobao.com/item.htm?id=634916921438
keywordInfo[0][hour]:0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_2
begin_time:2021-08-09
end_time:2021-08-10
keywordInfo[0][count]:1
keywordInfo[0][keyword]:2021 春秋新款
keywordInfo[0][show_num]:0
browse_goods_time:2
browse_other_goods:2

请求代码示例

cURL请求代码示例

curl --location --request POST 'http://api.vv-tool.com/tool/traffics/s-cart' \
--header 'Authorization: Bearer ed4ac42f05c1f6d662087f1d6d814xxxxxxxx' \
--header 'Content-Type: application/json' \
--header 'Cookie: PHPSESSID=45no47hqv1ho5vai96emlii7l5; _csrf=ad3db288106e760679319882a26720ba044b98e279014fce0882c664c5df5780a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22M2unDBuVPWPtXOA007vw-ZR5jhM-rXU6%22%3B%7D' \
--data-raw '{
"target": "https://item.taobao.com/item.htm?spm=a230r.1.14.16.3db67714vAiXw1&id=607245697156&ns=1&abbucket=10#detail",
"browse_time": 100,
"begin_time": "2020-12-16",
"keyword": "婴儿",
"hour": "0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0",
"count": 1
}'

PHP请求代码示例

<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => 'http://api.vv-tool.com/tool/traffics/s-cart',
  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 =>'{
"target": "https://item.taobao.com/item.htm?spm=a230r.1.14.16.3db67714vAiXw1&id=607245697156&ns=1&abbucket=10#detail",
"browse_time": 100,
"begin_time": "2020-12-16",
"keyword": "婴儿",
"hour": "0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0",
"count": 1
}',
  CURLOPT_HTTPHEADER => array(
    'Authorization: Bearer ed4ac42f05c1f6d662087f1d6d814f25xxxxxxxx',
    'Content-Type: application/json',
    'Cookie: PHPSESSID=45no47hqv1ho5vai96emlii7l5; _csrf=ad3db288106e760679319882a26720ba044b98e279014fce0882c664c5df5780a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22M2unDBuVPWPtXOA007vw-ZR5jhM-rXU6%22%3B%7D'
  ),
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;


JAVA请求代码示例

OkHttpClient client = new OkHttpClient().newBuilder()
  .build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\r\n\"target\": \"https://item.taobao.com/item.htm?spm=a230r.1.14.16.3db67714vAiXw1&id=607245697156&ns=1&abbucket=10#detail\",\r\n\"browse_time\": 100,\r\n\"begin_time\": \"2020-12-16\",\r\n\"keyword\": \"婴儿\",\r\n\"hour\": \"0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0\",\r\n\"count\": 1\r\n}");
Request request = new Request.Builder()
  .url("http://api.vv-tool.com/tool/traffics/s-cart")
  .method("POST", body)
  .addHeader("Authorization", "Bearer ed4ac42f05c1f6d662087f1d6d814f2xxxxxxxx")
  .addHeader("Content-Type", "application/json")
  .addHeader("Cookie", "PHPSESSID=45no47hqv1ho5vai96emlii7l5; _csrf=ad3db288106e760679319882a26720ba044b98e279014fce0882c664c5df5780a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22M2unDBuVPWPtXOA007vw-ZR5jhM-rXU6%22%3B%7D")
  .build();
Response response = client.newCall(request).execute();

响应参数

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

返回数据


    {
        "code": 0,
        "msg": "发布成功",
        "msec": 385,
        "time": 1596442334,
        "data": {
             "task_sn": 9543137,
            "withholding_money": 50
        }
    }


接口名称: 加购任务——直接加购


接口地址: http://api.vv-tool.com/tool/traffics/traffic-direct-purchase


请求方式: POST


传参方式: form-data


返回格式: JSON


频率限制: 10 次/秒


请求头参数

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

请求参数

参数 类型 必选 描述
count string 任务总数(根据 hour 和 begin_time 和 end_time 计算出的,任务总数 = 每日的量*总天数)
hour string 任务天计划,每个小时的任务量,当前小时无任务设置为 0,将 24 小时的任务量用逗号链接
target string 商品 url 或 商品 id
begin_time string 开始时间,格式 YYYY-mm-dd
end_time string 结束时间,格式 YYYY-mm-dd

请求示例

count:1
hour:0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0
target:https://item.taobao.com/item.htm?id=623917802188
begin_time:2020-12-16

请求代码示例

cURL请求代码示例

curl --location --request POST 'http://api.vv-tool.com/tool/traffics/traffic-direct-purchase' \
--header 'Authorization: Bearer ed4ac42f05c1f6d662087f1d6d814xxxxxxxx' \
--header 'Content-Type: application/json' \
--header 'Cookie: PHPSESSID=45no47hqv1ho5vai96emlii7l5; _csrf=ad3db288106e760679319882a26720ba044b98e279014fce0882c664c5df5780a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22M2unDBuVPWPtXOA007vw-ZR5jhM-rXU6%22%3B%7D' \
--data-raw '{
"target": "https://item.taobao.com/item.htm?spm=a230r.1.14.16.3db67714vAiXw1&id=607245697156&ns=1&abbucket=10#detail",
"browse_time": 100,
"begin_time": "2020-12-16",
"hour": "0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0",
"count": 1
}'

PHP请求代码示例

<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => 'http://api.vv-tool.com/tool/traffics/traffic-direct-purchase',
  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 =>'{
"target": "https://item.taobao.com/item.htm?spm=a230r.1.14.16.3db67714vAiXw1&id=607245697156&ns=1&abbucket=10#detail",
"browse_time": 100,
"begin_time": "2020-12-16",
"hour": "0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0",
"count": 1
}',
  CURLOPT_HTTPHEADER => array(
    'Authorization: Bearer ed4ac42f05c1f6d662087f1d6d814f25xxxxxxxx',
    'Content-Type: application/json',
    'Cookie: PHPSESSID=45no47hqv1ho5vai96emlii7l5; _csrf=ad3db288106e760679319882a26720ba044b98e279014fce0882c664c5df5780a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22M2unDBuVPWPtXOA007vw-ZR5jhM-rXU6%22%3B%7D'
  ),
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;


JAVA请求代码示例

OkHttpClient client = new OkHttpClient().newBuilder()
  .build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\r\n\"target\": \"https://item.taobao.com/item.htm?spm=a230r.1.14.16.3db67714vAiXw1&id=607245697156&ns=1&abbucket=10#detail\",\r\n\"browse_time\": 100,\r\n\"begin_time\": \"2020-12-16\",\r\n\"keyword\": \"测试产品\",\r\n\"hour\": \"0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0\",\r\n\"count\": 1\r\n}");
Request request = new Request.Builder()
  .url("http://api.vv-tool.com/tool/traffics/traffic-direct-purchase")
  .method("POST", body)
  .addHeader("Authorization", "Bearer ed4ac42f05c1f6d662087f1d6d814f2xxxxxxxx")
  .addHeader("Content-Type", "application/json")
  .addHeader("Cookie", "PHPSESSID=45no47hqv1ho5vai96emlii7l5; _csrf=ad3db288106e760679319882a26720ba044b98e279014fce0882c664c5df5780a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22M2unDBuVPWPtXOA007vw-ZR5jhM-rXU6%22%3B%7D")
  .build();
Response response = client.newCall(request).execute();

响应参数

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

返回数据


    {
        "code": 0,
        "msg": "发布成功",
        "msec": 385,
        "time": 1596442334,
        "data": {
             "task_sn": 9543137,
            "withholding_money": 50
        }
    }


接口名称: 点赞关注-微淘点赞


接口介绍: 淘宝平台流量任务发布


接口地址: http://api.vv-tool.com/tool/traffics/traffic-like-it


请求方式: POST


传参方式: form-data


返回格式: JSON


接口收费: 扣账户余额


频率限制: 10 次/秒


请求头参数

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

请求参数

参数 类型 必选 描述
count int 任务总数(根据 hour 和 begin_time 和 end_time 计算出的,任务总数 = 每日的量*总天数)
hour string 任务天计划,每个小时的任务量,当前小时无任务设置为 0,将 24 小时的任务量用逗号链接
weitao_url string 微淘文章链接/淘口令(必须是微淘下的 否则无效)
begin_time string 开始时间,格式 YYYY-mm-dd
end_time string 结束时间,格式 YYYY-mm-dd

请求示例

count:10
hour:0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0
target:https://item.taobao.com/item.htm?id=623917802188
begin_time:2020-08-11

请求代码示例

cURL请求代码示例

curl --location --request POST 'http://api.vv-tool.com/tool/traffics/traffic-like-it' \
--header 'Authorization: Bearer c2c20409e5f3f34437aece02c69b9a9dxxxxxxxx' \
--header 'Cookie: PHPSESSID=9clrl8itapsmakj80smt4rr0ts; _csrf=fcbee9c3510d12ba73737b93fcfe195768e91860a5478b6507417f75d9e75c9ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22kX7fSrvkyEfk8qz3SLkPBBSTnq775YxP%22%3B%7D' \
--form 'browse_time=100' \
--form 'count=1' \
--form 'hour=0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0' \
--form 'target=https://item.taobao.com/item.htm?id=623917802188' \
--form 'begin_time=2020-08-11'

PHP请求代码示例

<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "http://api.vv-tool.com/tool/traffics/traffic-like-it",
  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('browse_time' => '100','count' => '1','hour' => '0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0','target' => 'https://item.taobao.com/item.htm?id=623917802188','begin_time' => '2020-08-11'),
  CURLOPT_HTTPHEADER => array(
    "Authorization: Bearer c2c20409e5f3f34437aece02c69b9a9dxxxxxxxx",
    "Cookie: PHPSESSID=9clrl8itapsmakj80smt4rr0ts; _csrf=fcbee9c3510d12ba73737b93fcfe195768e91860a5478b6507417f75d9e75c9ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22kX7fSrvkyEfk8qz3SLkPBBSTnq775YxP%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("browse_time", "100")
  .addFormDataPart("count", "1")
  .addFormDataPart("hour", "0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0")
  .addFormDataPart("target", "https://item.taobao.com/item.htm?id=623917802188")
  .addFormDataPart("begin_time", "2020-08-11")
  .build();
Request request = new Request.Builder()
  .url("http://api.vv-tool.com/tool/traffics/traffic-like-it")
  .method("POST", body)
  .addHeader("Authorization", "Bearer c2c20409e5f3f34437aece02c69b9a9dxxxxxxxx")
  .addHeader("Cookie", "PHPSESSID=9clrl8itapsmakj80smt4rr0ts; _csrf=fcbee9c3510d12ba73737b93fcfe195768e91860a5478b6507417f75d9e75c9ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22kX7fSrvkyEfk8qz3SLkPBBSTnq775YxP%22%3B%7D")
  .build();
Response response = client.newCall(request).execute();

响应参数

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

返回数据


    {
        "code": 0,
        "msg": "发布成功",
        "msec": 258,
        "time": 1596440914,
        "data": {
            "task_sn": 9543137,
            "withholding_money": 50
        }
    }


接口名称: 点赞关注-商品评论点赞


接口介绍: 淘宝平台流量任务发布


接口地址: http://api.vv-tool.com/tool/traffics/traffic-like-product-reviews


请求方式: POST


传参方式: form-data


返回格式: JSON


接口收费: 扣账户余额


频率限制: 10 次/秒


请求头参数

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

请求参数

参数 类型 必选 描述
count int 任务总数(根据 hour 和 begin_time 和 end_time 计算出的,任务总数 = 每日的量*总天数)
hour string 任务天计划,每个小时的任务量,当前小时无任务设置为 0,将 24 小时的任务量用逗号链接
weitao_url string 评论链接/淘口令 注意,淘口令请输入特殊符号内的字母数字,其他不要输入 如:9IoDXfotxiD
begin_time string 开始时间,格式 YYYY-mm-dd
end_time string 结束时间,格式 YYYY-mm-dd

请求示例

count:10
weitao_url:9IoDXfotxiD
hour:0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0
target:https://item.taobao.com/item.htm?id=623917802188
begin_time:2020-08-11

请求代码示例

cURL请求代码示例

curl --location --request POST 'http://api.vv-tool.com/tool/traffics/traffic-like-product-reviews' \
--header 'Authorization: Bearer c2c20409e5f3f34437aece02c69b9a9dxxxxxxxx' \
--header 'Cookie: PHPSESSID=9clrl8itapsmakj80smt4rr0ts; _csrf=fcbee9c3510d12ba73737b93fcfe195768e91860a5478b6507417f75d9e75c9ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22kX7fSrvkyEfk8qz3SLkPBBSTnq775YxP%22%3B%7D' \
--form 'browse_time=100' \
--form 'count=1' \
--form 'hour=0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0' \
--form 'target=https://item.taobao.com/item.htm?id=623917802188' \
--form 'begin_time=2020-08-11'

PHP请求代码示例

<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "http://api.vv-tool.com/tool/traffics/traffic-like-product-reviews",
  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('browse_time' => '100','count' => '1','hour' => '0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0','target' => 'https://item.taobao.com/item.htm?id=623917802188','begin_time' => '2020-08-11'),
  CURLOPT_HTTPHEADER => array(
    "Authorization: Bearer c2c20409e5f3f34437aece02c69b9a9dxxxxxxxx",
    "Cookie: PHPSESSID=9clrl8itapsmakj80smt4rr0ts; _csrf=fcbee9c3510d12ba73737b93fcfe195768e91860a5478b6507417f75d9e75c9ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22kX7fSrvkyEfk8qz3SLkPBBSTnq775YxP%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("browse_time", "100")
  .addFormDataPart("count", "1")
  .addFormDataPart("hour", "0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0")
  .addFormDataPart("target", "https://item.taobao.com/item.htm?id=623917802188")
  .addFormDataPart("begin_time", "2020-08-11")
  .build();
Request request = new Request.Builder()
  .url("http://api.vv-tool.com/tool/traffics/traffic-like-product-reviews")
  .method("POST", body)
  .addHeader("Authorization", "Bearer c2c20409e5f3f34437aece02c69b9a9dxxxxxxxx")
  .addHeader("Cookie", "PHPSESSID=9clrl8itapsmakj80smt4rr0ts; _csrf=fcbee9c3510d12ba73737b93fcfe195768e91860a5478b6507417f75d9e75c9ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22kX7fSrvkyEfk8qz3SLkPBBSTnq775YxP%22%3B%7D")
  .build();
Response response = client.newCall(request).execute();

响应参数

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

返回数据


    {
        "code": 0,
        "msg": "发布成功",
        "msec": 258,
        "time": 1596440914,
        "data": {
            "task_sn": 9543137,
            "withholding_money": 50
        }
    }


接口名称: 点赞关注-淘宝商品推荐


接口地址: http://api.vv-tool.com/tool/traffics/traffic-product-recommend


请求方式: POST


传参方式: form-data


返回格式: JSON


频率限制: 10 次/秒


请求头参数

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

请求参数

参数 类型 必选 描述
count string 任务总数(根据 hour 和 begin_time 和 end_time 计算出的,任务总数 = 每日的量*总天数)
hour string 任务天计划,每个小时的任务量,当前小时无任务设置为 0,将 24 小时的任务量用逗号链接
target string 商品 url 或 商品 id
begin_time string 开始时间,格式 YYYY-mm-dd
end_time string 结束时间,格式 YYYY-mm-dd

请求示例

count:1
hour:0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0
target:https://item.taobao.com/item.htm?id=623917802188
begin_time:2020-12-16

请求代码示例

cURL请求代码示例

curl --location --request POST 'http://api.vv-tool.com/tool/traffics/traffic-product-recommend' \
--header 'Authorization: Bearer ed4ac42f05c1f6d662087f1d6d814xxxxxxxx' \
--header 'Content-Type: application/json' \
--header 'Cookie: PHPSESSID=45no47hqv1ho5vai96emlii7l5; _csrf=ad3db288106e760679319882a26720ba044b98e279014fce0882c664c5df5780a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22M2unDBuVPWPtXOA007vw-ZR5jhM-rXU6%22%3B%7D' \
--data-raw '{
"target": "https://item.taobao.com/item.htm?spm=a230r.1.14.16.3db67714vAiXw1&id=607245697156&ns=1&abbucket=10#detail",
"browse_time": 100,
"begin_time": "2020-12-16",
"hour": "0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0",
"count": 1
}'

PHP请求代码示例

<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => 'http://api.vv-tool.com/tool/traffics/traffic-product-recommend',
  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 =>'{
"target": "https://item.taobao.com/item.htm?spm=a230r.1.14.16.3db67714vAiXw1&id=607245697156&ns=1&abbucket=10#detail",
"browse_time": 100,
"begin_time": "2020-12-16",
"hour": "0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0",
"count": 1
}',
  CURLOPT_HTTPHEADER => array(
    'Authorization: Bearer ed4ac42f05c1f6d662087f1d6d814f25xxxxxxxx',
    'Content-Type: application/json',
    'Cookie: PHPSESSID=45no47hqv1ho5vai96emlii7l5; _csrf=ad3db288106e760679319882a26720ba044b98e279014fce0882c664c5df5780a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22M2unDBuVPWPtXOA007vw-ZR5jhM-rXU6%22%3B%7D'
  ),
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;


JAVA请求代码示例

OkHttpClient client = new OkHttpClient().newBuilder()
  .build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\r\n\"target\": \"https://item.taobao.com/item.htm?spm=a230r.1.14.16.3db67714vAiXw1&id=607245697156&ns=1&abbucket=10#detail\",\r\n\"browse_time\": 100,\r\n\"begin_time\": \"2020-12-16\",\r\n\"keyword\": \"测试产品\",\r\n\"hour\": \"0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0\",\r\n\"count\": 1\r\n}");
Request request = new Request.Builder()
  .url("http://api.vv-tool.com/tool/traffics/traffic-product-recommend")
  .method("POST", body)
  .addHeader("Authorization", "Bearer ed4ac42f05c1f6d662087f1d6d814f2xxxxxxxx")
  .addHeader("Content-Type", "application/json")
  .addHeader("Cookie", "PHPSESSID=45no47hqv1ho5vai96emlii7l5; _csrf=ad3db288106e760679319882a26720ba044b98e279014fce0882c664c5df5780a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22M2unDBuVPWPtXOA007vw-ZR5jhM-rXU6%22%3B%7D")
  .build();
Response response = client.newCall(request).execute();

响应参数

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

返回数据


    {
        "code": 0,
        "msg": "发布成功",
        "msec": 385,
        "time": 1596442334,
        "data": {
             "task_sn": 9543137,
            "withholding_money": 50
        }
    }


接口名称: 京东-加购任务


接口介绍: 京东平台流量任务发布


接口地址: http://api.vv-tool.com/tool/trafficjds/d-c


请求方式: POST


传参方式: form-data


返回格式: JSON


接口收费: 扣账户余额


频率限制: 10 次/秒


请求头参数

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

请求参数

参数 类型 必选 描述
count string 任务总数(根据 hour 和 day 计算出的,任务总数 = 每日的量*总天数)
hour string 任务天计划,每个小时的任务量,当前小时无任务设置为 0,将 24 小时的任务量用逗号链接
keyword string 搜索商品关键字
最多 32 位字符串
browse_time string 自定义停留时间
target string 商品 url 或 商品 id
begin_time string 开始时间,格式 YYYY-mm-dd
day string

请求示例

target: 628374516891
begin_time: 2021-08-11
keyword: 628374516891
hour: 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1
count: 1
day: 2

请求代码示例

cURL请求代码示例

curl --location --request POST 'http://api.vv-tool.com/tool/trafficjds/d-c' \
--header 'Authorization: Bearer c2c20409e5f3f34437aece02c69b9a9dxxxxxxxx' \
--header 'Cookie: PHPSESSID=9clrl8itapsmakj80smt4rr0ts; _csrf=fcbee9c3510d12ba73737b93fcfe195768e91860a5478b6507417f75d9e75c9ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22kX7fSrvkyEfk8qz3SLkPBBSTnq775YxP%22%3B%7D' \
--form 'browse_time=100' \
--form 'count=1' \
--form 'keyword_hour=0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0' \
--form 'target=https://item.taobao.com/item.htm?id=623917802188' \
--form 'begin_time=2020-08-11'

PHP请求代码示例

<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "http://api.vv-tool.com/tool/trafficjds/d-c",
  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('browse_time' => '100','count' => '1','keyword_hour' => '0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0','target' => 'https://item.taobao.com/item.htm?id=623917802188','begin_time' => '2020-08-11'),
  CURLOPT_HTTPHEADER => array(
    "Authorization: Bearer c2c20409e5f3f34437aece02c69b9a9dxxxxxxxx",
    "Cookie: PHPSESSID=9clrl8itapsmakj80smt4rr0ts; _csrf=fcbee9c3510d12ba73737b93fcfe195768e91860a5478b6507417f75d9e75c9ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22kX7fSrvkyEfk8qz3SLkPBBSTnq775YxP%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("browse_time", "100")
  .addFormDataPart("count", "1")
  .addFormDataPart("keyword_hour", "0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0")
  .addFormDataPart("target", "https://item.taobao.com/item.htm?id=623917802188")
  .addFormDataPart("begin_time", "2020-08-11")
  .build();
Request request = new Request.Builder()
  .url("http://api.vv-tool.com/tool/trafficjds/d-c")
  .method("POST", body)
  .addHeader("Authorization", "Bearer c2c20409e5f3f34437aece02c69b9a9dxxxxxxxx")
  .addHeader("Cookie", "PHPSESSID=9clrl8itapsmakj80smt4rr0ts; _csrf=fcbee9c3510d12ba73737b93fcfe195768e91860a5478b6507417f75d9e75c9ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22kX7fSrvkyEfk8qz3SLkPBBSTnq775YxP%22%3B%7D")
  .build();
Response response = client.newCall(request).execute();

响应参数

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

返回数据


    {
        "code": 0,
        "msg": "发布成功",
        "msec": 258,
        "time": 1596440914,
        "data": {
            "task_sn": 9543137,
            "withholding_money": 50
        }
    }


接口名称: 抖音-抖音粉丝


接口介绍: 抖音平台流量任务发布


接口地址: http://api.vv-tool.com/tool/traffics/traffic-dou-yin-fans


请求方式: POST


传参方式: form-data


返回格式: JSON


接口收费: 扣账户余额


频率限制: 10 次/秒


请求头参数

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

请求参数

参数 类型 必选 描述
count string 任务总数(根据 keyword_hour 和 begin_time 和 end_time 计算出的,任务总数 = 每日的量*总天数 任务发布量最少 100 个起,且必须是 100 的倍数)
keyword_hour string 任务天计划,每个小时的任务量,当前小时无任务设置为 0,将 24 小时的任务量用逗号链接 任务发布量最少 100 个起,且必须是 100 的倍数
target string 抖音视频链接
begin_time string 开始时间,格式 YYYY-mm-dd
end_time string 开始时间,格式 YYYY-mm-dd

请求示例

target: https://v.douyin.com/eLkFFPq/
keyword_hour: 0_0_0_0_0_0_0_0_0_16_6_6_6_6_6_6_6_6_6_6_6_6_6_6
begin_time: 2021-08-12
end_time: 2021-08-12
count: 100

请求代码示例

cURL请求代码示例

curl --location --request POST 'http://api.vv-tool.com/tool/traffics/traffic-dou-yin-fans' \
--header 'Authorization: Bearer c2c20409e5f3f34437aece02c69b9a9dxxxxxxxx' \
--header 'Cookie: PHPSESSID=9clrl8itapsmakj80smt4rr0ts; _csrf=fcbee9c3510d12ba73737b93fcfe195768e91860a5478b6507417f75d9e75c9ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22kX7fSrvkyEfk8qz3SLkPBBSTnq775YxP%22%3B%7D' \
--form 'browse_time=100' \
--form 'count=1' \
--form 'keyword_hour=0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0' \
--form 'target=https://item.taobao.com/item.htm?id=623917802188' \
--form 'begin_time=2020-08-11'

PHP请求代码示例

<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "http://api.vv-tool.com/tool/traffics/traffic-dou-yin-fans",
  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('browse_time' => '100','count' => '1','hour' => '0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0','target' => 'https://item.taobao.com/item.htm?id=623917802188','begin_time' => '2020-08-11'),
  CURLOPT_HTTPHEADER => array(
    "Authorization: Bearer c2c20409e5f3f34437aece02c69b9a9dxxxxxxxx",
    "Cookie: PHPSESSID=9clrl8itapsmakj80smt4rr0ts; _csrf=fcbee9c3510d12ba73737b93fcfe195768e91860a5478b6507417f75d9e75c9ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22kX7fSrvkyEfk8qz3SLkPBBSTnq775YxP%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("browse_time", "100")
  .addFormDataPart("count", "1")
  .addFormDataPart("keyword_hour", "0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0")
  .addFormDataPart("target", "https://item.taobao.com/item.htm?id=623917802188")
  .addFormDataPart("begin_time", "2020-08-11")
  .build();
Request request = new Request.Builder()
  .url("http://api.vv-tool.com/tool/traffics/traffic-dou-yin-fans")
  .method("POST", body)
  .addHeader("Authorization", "Bearer c2c20409e5f3f34437aece02c69b9a9dxxxxxxxx")
  .addHeader("Cookie", "PHPSESSID=9clrl8itapsmakj80smt4rr0ts; _csrf=fcbee9c3510d12ba73737b93fcfe195768e91860a5478b6507417f75d9e75c9ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22kX7fSrvkyEfk8qz3SLkPBBSTnq775YxP%22%3B%7D")
  .build();
Response response = client.newCall(request).execute();

响应参数

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

返回数据


    {
        "code": 0,
        "msg": "发布成功",
        "msec": 258,
        "time": 1596440914,
        "data": {
            "task_sn": 9543137,
            "withholding_money": 50
        }
    }


接口名称: 抖音-抖音点赞


接口介绍: 抖音平台流量任务发布


接口地址: http://api.vv-tool.com/tool/traffics/traffic-dou-yin-like


请求方式: POST


传参方式: form-data


返回格式: JSON


接口收费: 扣账户余额


频率限制: 10 次/秒


请求头参数

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

请求参数

参数 类型 必选 描述
count string 任务总数(根据 keyword_hour 和 begin_time 和 end_time 计算出的,任务总数 = 每日的量*总天数 任务发布量最少 100 个起,且必须是 100 的倍数)
keyword_hour string 任务天计划,每个小时的任务量,当前小时无任务设置为 0,将 24 小时的任务量用逗号链接 任务发布量最少 100 个起,且必须是 100 的倍数
target string 抖音视频链接
begin_time string 开始时间,格式 YYYY-mm-dd
end_time string 开始时间,格式 YYYY-mm-dd

请求示例

target: https://v.douyin.com/eLkFFPq/
keyword_hour: 0_0_0_0_0_0_0_0_0_16_6_6_6_6_6_6_6_6_6_6_6_6_6_6
begin_time: 2021-08-12
end_time: 2021-08-12
count: 100

请求代码示例

cURL请求代码示例

curl --location --request POST 'http://api.vv-tool.com/tool/traffics/traffic-dou-yin-like' \
--header 'Authorization: Bearer c2c20409e5f3f34437aece02c69b9a9dxxxxxxxx' \
--header 'Cookie: PHPSESSID=9clrl8itapsmakj80smt4rr0ts; _csrf=fcbee9c3510d12ba73737b93fcfe195768e91860a5478b6507417f75d9e75c9ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22kX7fSrvkyEfk8qz3SLkPBBSTnq775YxP%22%3B%7D' \
--form 'browse_time=100' \
--form 'count=1' \
--form 'keyword_hour=0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0' \
--form 'target=https://item.taobao.com/item.htm?id=623917802188' \
--form 'begin_time=2020-08-11'

PHP请求代码示例

<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "http://api.vv-tool.com/tool/traffics/traffic-dou-yin-like",
  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('browse_time' => '100','count' => '1','hour' => '0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0','target' => 'https://item.taobao.com/item.htm?id=623917802188','begin_time' => '2020-08-11'),
  CURLOPT_HTTPHEADER => array(
    "Authorization: Bearer c2c20409e5f3f34437aece02c69b9a9dxxxxxxxx",
    "Cookie: PHPSESSID=9clrl8itapsmakj80smt4rr0ts; _csrf=fcbee9c3510d12ba73737b93fcfe195768e91860a5478b6507417f75d9e75c9ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22kX7fSrvkyEfk8qz3SLkPBBSTnq775YxP%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("browse_time", "100")
  .addFormDataPart("count", "1")
  .addFormDataPart("keyword_hour", "0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0")
  .addFormDataPart("target", "https://item.taobao.com/item.htm?id=623917802188")
  .addFormDataPart("begin_time", "2020-08-11")
  .build();
Request request = new Request.Builder()
  .url("http://api.vv-tool.com/tool/traffics/traffic-dou-yin-like")
  .method("POST", body)
  .addHeader("Authorization", "Bearer c2c20409e5f3f34437aece02c69b9a9dxxxxxxxx")
  .addHeader("Cookie", "PHPSESSID=9clrl8itapsmakj80smt4rr0ts; _csrf=fcbee9c3510d12ba73737b93fcfe195768e91860a5478b6507417f75d9e75c9ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22kX7fSrvkyEfk8qz3SLkPBBSTnq775YxP%22%3B%7D")
  .build();
Response response = client.newCall(request).execute();

响应参数

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

返回数据


    {
        "code": 0,
        "msg": "发布成功",
        "msec": 258,
        "time": 1596440914,
        "data": {
            "task_sn": 9543137,
            "withholding_money": 50
        }
    }


接口名称: 抖音-抖音播放


接口介绍: 抖音平台流量任务发布


接口地址: http://api.vv-tool.com/tool/traffics/traffic-dou-yin-play


请求方式: POST


传参方式: form-data


返回格式: JSON


接口收费: 扣账户余额


频率限制: 10 次/秒


请求头参数

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

请求参数

参数 类型 必选 描述
count string 任务总数(根据 keyword_hour 和 begin_time 和 end_time 计算出的,任务总数 = 每日的量*总天数 任务发布量最少 1000 个起,且必须是 1000 的倍数)
keyword_hour string 任务天计划,每个小时的任务量,当前小时无任务设置为 0,将 24 小时的任务量用逗号链接 任务发布量最少 1000 个起,且必须是 1000 的倍数
target string 抖音视频链接
begin_time string 开始时间,格式 YYYY-mm-dd
end_time string 开始时间,格式 YYYY-mm-dd

请求示例

target: https://v.douyin.com/eLkFFPq/
keyword_hour: 0_0_0_0_0_0_0_0_0_0_0_0_0_0_100_100_100_100_100_100_100_100_100_100
begin_time: 2021-08-12
end_time: 2021-08-12
count: 1000

请求代码示例

cURL请求代码示例

curl --location --request POST 'http://api.vv-tool.com/tool/traffics/traffic-dou-yin-play' \
--header 'Authorization: Bearer c2c20409e5f3f34437aece02c69b9a9dxxxxxxxx' \
--header 'Cookie: PHPSESSID=9clrl8itapsmakj80smt4rr0ts; _csrf=fcbee9c3510d12ba73737b93fcfe195768e91860a5478b6507417f75d9e75c9ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22kX7fSrvkyEfk8qz3SLkPBBSTnq775YxP%22%3B%7D' \
--form 'browse_time=100' \
--form 'count=1' \
--form 'keyword_hour=0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0' \
--form 'target=https://item.taobao.com/item.htm?id=623917802188' \
--form 'begin_time=2020-08-11'

PHP请求代码示例

<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "http://api.vv-tool.com/tool/traffics/traffic-dou-yin-play",
  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('browse_time' => '100','count' => '1','hour' => '0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0','target' => 'https://item.taobao.com/item.htm?id=623917802188','begin_time' => '2020-08-11'),
  CURLOPT_HTTPHEADER => array(
    "Authorization: Bearer c2c20409e5f3f34437aece02c69b9a9dxxxxxxxx",
    "Cookie: PHPSESSID=9clrl8itapsmakj80smt4rr0ts; _csrf=fcbee9c3510d12ba73737b93fcfe195768e91860a5478b6507417f75d9e75c9ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22kX7fSrvkyEfk8qz3SLkPBBSTnq775YxP%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("browse_time", "100")
  .addFormDataPart("count", "1")
  .addFormDataPart("keyword_hour", "0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0")
  .addFormDataPart("target", "https://item.taobao.com/item.htm?id=623917802188")
  .addFormDataPart("begin_time", "2020-08-11")
  .build();
Request request = new Request.Builder()
  .url("http://api.vv-tool.com/tool/traffics/traffic-dou-yin-play")
  .method("POST", body)
  .addHeader("Authorization", "Bearer c2c20409e5f3f34437aece02c69b9a9dxxxxxxxx")
  .addHeader("Cookie", "PHPSESSID=9clrl8itapsmakj80smt4rr0ts; _csrf=fcbee9c3510d12ba73737b93fcfe195768e91860a5478b6507417f75d9e75c9ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22kX7fSrvkyEfk8qz3SLkPBBSTnq775YxP%22%3B%7D")
  .build();
Response response = client.newCall(request).execute();

响应参数

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

返回数据


    {
        "code": 0,
        "msg": "发布成功",
        "msec": 258,
        "time": 1596440914,
        "data": {
            "task_sn": 9543137,
            "withholding_money": 50
        }
    }


响应代码

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