全部
在线测试
无痕做单定制版
接口地址: http://api.vv-tool.com/tool/accounts/canmouhigh
接口介绍: 用户直接下单不需浏览自己宝贝,安全性较高 点击查看详情
请求方式: POST
返回格式: JSON
接口收费: 查询 1 次,计 1 次调用,找销售可低至几分钱
频率限制: 10 次/秒
请求头参数
参数 | 类型 | 必选 | 值 | 示例 |
---|---|---|---|---|
Authorization | string | 是 | 授权 access_token | Bearer 1798c6aadec33d1bc2f5b707f1049aefexxxx |
请求参数
参数 | 类型 | 必选 | 描述 |
---|---|---|---|
param | array | 是 | 数组最多传 10 组 |
-product_id | string | 是 | 商品链接/id |
-tag | string | 是 | 关键字 |
count | int | 是 | 下单数量 |
account | string | 是 | 旺旺账号 |
请求示例
{
"param": [
{
"product_id": "https://detail.tmall.com/item.htm?id=666519199417&ali_refid=a3_430673_1006:1104713073:N:SrAc0MzxzkZm+uBoh0y3065OE9VXUSk+:d1e0b0fb7c54db74daf7a52639b03959&ali_trackid=1_d1e0b0fb7c54db74daf7a52639b03959&spm=a2e0b.20350158.31919782.13",
"tag": "衣服"
},
{
"product_id": "https://detail.tmall.com/item.htm?id=569727274743&ali_refid=a3_430673_1006:1109816771:N:emtiAWsF8+zhhxaiwzc0Aw==:b3725c45db54a8009c0df50fb5149736&ali_trackid=1_b3725c45db54a8009c0df50fb5149736&spm=a2e0b.20350158.31919782.25",
"tag": "裤子"
}
],
"account":"涛涛",
"count":3
}
请求代码示例
cURL请求代码示例
curl --location --request POST 'http://api.vv-tool.com/tool/accounts/canmouhigh' \
--header 'Authorization: Bearer XXXXXXXXXXXXXXXXXXX' \
--header 'Content-Type: application/json' \
--header 'Cookie: __yjs_duid=1_631b442499ed9f835d199def5892e4091628487614220; PHPSESSID=tvqod6dcr9e3nuib0fg8rvq2ib; _csrf=256e05edbd68100f69fadf7cc279fa5d1fae31a12c44877d707f2b2dc895342ea%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22bauhnjIuDv6zG3xPNrla6bD3i-tmUyFd%22%3B%7D' \
--data-raw '{
"param": [
{
"product_id": "682645076650",
"tag": "衣服"
},
{
"product_id": "683115425556",
"tag": "裤子"
}
],
"account": "涛涛",
"count": 3
}'
PHP请求代码示例
<?php
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'http://api.vv-tool.com/tool/accounts/canmouhigh',
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 =>'{
"param": [
{
"product_id": "682645076650",
"tag": "衣服"
},
{
"product_id": "683115425556",
"tag": "裤子"
}
],
"account": "涛涛",
"count": 3
}',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer XXXXXXXXXXXXXXXX',
'Content-Type: application/json',
'Cookie: __yjs_duid=1_631b442499ed9f835d199def5892e4091628487614220; PHPSESSID=tvqod6dcr9e3nuib0fg8rvq2ib; _csrf=256e05edbd68100f69fadf7cc279fa5d1fae31a12c44877d707f2b2dc895342ea%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22bauhnjIuDv6zG3xPNrla6bD3i-tmUyFd%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 \"param\": [\r\n {\r\n \"product_id\": \"682645076650\",\r\n \"tag\": \"衣服\"\r\n },\r\n {\r\n \"product_id\": \"683115425556\",\r\n \"tag\": \"裤子\"\r\n }\r\n ],\r\n \"account\": \"涛涛\",\r\n \"count\": 3\r\n}");
Request request = new Request.Builder()
.url("http://api.vv-tool.com/tool/accounts/canmouhigh")
.method("POST", body)
.addHeader("Authorization", "Bearer XXXXXXXXXXXXXXX")
.addHeader("Content-Type", "application/json")
.addHeader("Cookie", "__yjs_duid=1_631b442499ed9f835d199def5892e4091628487614220; PHPSESSID=tvqod6dcr9e3nuib0fg8rvq2ib; _csrf=256e05edbd68100f69fadf7cc279fa5d1fae31a12c44877d707f2b2dc895342ea%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22bauhnjIuDv6zG3xPNrla6bD3i-tmUyFd%22%3B%7D")
.build();
Response response = client.newCall(request).execute();
响应参数
参数 | 类型 | 描述 |
---|---|---|
url | string | url |
code | int | 错误码 0 为成功 |
msg | string | 返回码描述 |
msec | int | 接口执行时间 |
time | int | 接口返回时间 |
record_id | int | 记录 id |
url | int | 生成路径 |
返回数据
{
"code": 0,
"msg": "成功",
"msec": 1193,
"time": 1612416107,
"data": {
"record_id": 6817,
"url": https://main.m.taobao.com/order/index.html?buyNow=fase&buyParam=616669574052_1_4541349302657_
null_12_null_null_4541349302645_null_null_null_o_null_buyerCondition~0~dpbupgrade~nullo
}
}
响应代码
代码 | 代码描述 | 解决方案 |
---|---|---|
0 | 成功 | |
100 | 请求参数错误 | 检查您的请求参数是否正确 |
101 | 请求超时,请重试 | 检查您的网络情况或者联系客服解决 |
103 | 旺旺账号不存在 | 检查您输入的旺旺号是否正确 |
200 | 系统错误,请联系客服 | 检查您的接口地址填写是否正确,其他问题联系客服解决 |
202 | 系统错误,请稍后再试 | 稍后重试,或者联系对接群 |
203 | 暂不支持当前接口 | |
204 | 请求异常:无该接口权限,请前往官网开通正式接口。 | 前往官网开通该接口权限 |
204 | 请求异常:API 调用次数不足,请前往网站兑换次数。 | 前往官网充值该接口调用次数 |