全部
在线测试

授权验号


接口名称: ① 、获取授权二维码接口(请求拿到数据需要 3 个接口按照顺序请求)


接口地址: http://api.vv-tool.com/tool/accounts/scan-qr-code


接口介绍: 用户授权给商家查看该账号账号的信息,该接口默认生成二维码和 url 点击查看详情


请求方式: GET


返回格式: JSON


接口收费: 接口免费,获取到用户淘宝号信息即收费,乱请求会增加账号的请求限制。


频率限制: 10 次/秒


请求头参数

点击查看请求头详情
参数 类型 必选 示例
Authorization string 授权 access_token Bearer 1798c6aadec33d1bc2f5b707f1049aefexxxx

请求参数

参数 类型 必选 描述
client_ip int 公网 IP(授权账号所在地,其他 ip 无效)
type int 1:授权二维码或授权链接 2:授权淘口令;不传返回数据默认是 1,授权淘口令额外扣 8 点券 2 属于内测用户,请选择 1 方式。

请求示例

client_ip:99.16.92.59
type:1

请求代码示例

cURL请求代码示例
curl --location --request GET 'http://api.vv-tool.com/tool/accounts/scan-qr-code?client_ip=99.16.92.59&type=1' \
--header 'Authorization: Bearer 012c19eae2da038036f3c7e78e3c532a4cf4b770' \
--header 'Cookie: PHPSESSID=rnntqvfhvig5goubj8lfc0ahuk; _csrf=3dae77b09073c187d2b16ac40aafe740f382e1a2ac35bc48b3a8f48070bfdaa5a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%228RyzO-qfGGqdJJ1hJE-Iv1CDyN5SudfN%22%3B%7D'
PHP请求代码示例
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => 'http://api.vv-tool.com/tool/accounts/scan-qr-code?client_ip=99.16.92.59&type=1',
  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 012c19eae2da038036f3c7e78e3c532a4cf4b770',
    'Cookie: PHPSESSID=rnntqvfhvig5goubj8lfc0ahuk; _csrf=3dae77b09073c187d2b16ac40aafe740f382e1a2ac35bc48b3a8f48070bfdaa5a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%228RyzO-qfGGqdJJ1hJE-Iv1CDyN5SudfN%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/accounts/scan-qr-code?client_ip=99.16.92.59&type=1")
  .method("GET", null)
  .addHeader("Authorization", "Bearer 012c19eae2da038036f3c7e78e3c532a4cf4b770")
  .addHeader("Cookie", "PHPSESSID=rnntqvfhvig5goubj8lfc0ahuk; _csrf=3dae77b09073c187d2b16ac40aafe740f382e1a2ac35bc48b3a8f48070bfdaa5a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%228RyzO-qfGGqdJJ1hJE-Iv1CDyN5SudfN%22%3B%7D")
  .build();
Response response = client.newCall(request).execute();

响应参数

参数 类型 描述
code int 返回状态码
msg string 返回码描述
msec int 执行时间
time int 结果返回时间
data object 数据体
qrcode_img string 登录的二维码地址(需要用户手淘扫码)
province string 省份
city string 登录城市
user_agent string 授权者用户信息
session_id string 任务 id,请保存这个参数,调用下个接口的时候需要提供这个参数
step_index string 1 获取授权码 2 等待扫码授权 3 处理数据中 4 数据处理成功 如果任务状态从 2 又回到 1(说明用户未扫码授权),请重新获取二维码(请求该接口,返回值为 4 收费)
createtime int 任务创建时间
qrcodeImg_createtime string 授权码创建时间
userip string 请求 ip 地址
auth_url string 授权链接
auth_tao_token string 授权淘口令
withholding_money int 该接口扣费金额(点券)

返回数据

{
    "code": 0,
    "msg": "成功",
    "msec": 2398,
    "time": 1620984487,
    "data": {
		    "withholding_money":0
        "qrcode_img": "//img.alicdn.com/imgextra/O1CN01TsLLlO2xxxxxx_!!8978-2-xcode.png",
        "city": "杭州市",
        "user_agent": "Mozilla/5.0 (iPhone; CPU iPhone OS 11_0 like Mac OS X) Axxxxt/604.1.38 (KHTML, like Gecko) Verxxxxn/11.0 Mobxxxxe/15A888 Safari/604.1",
        "session_id": "f2fxxxxx",
        "step_index": 2,
        "province": "浙江省",
        "createtime": 1620984487212,
        "qrcodeImg_createtime": "",
        "userip": "99.16.92.59",
        "auth_url": "",
        "auth_tao_token": ""
    }
}

接口名称: ② 、获得授权账号名(需要 3 个接口按照顺序请求,该接口是第二个)


接口地址: http://api.vv-tool.com/tool/accounts/look-task-state


接口介绍: 判断用户是否授权成功,成功可以获得淘宝号名


请求方式: GET


返回格式: JSON


接口收费: 接口免费查询,乱请求会增加账号的请求限制。


频率限制: 10 次/秒


请求头参数

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

请求参数

参数 类型 必选 描述
session_id int 任务编号,上一个接口返回的任务编号

请求示例

session_id:d286e5fe4adc4e74a8729546dda

请求代码示例

cURL请求代码示例
curl --location --request GET 'http://api.vv-tool.com/tool/accounts/look-task-state?session_id=9134fe9b333842038473e894fc1e5f58' \
--header 'Authorization: Bearer 012c19eae2da038036f3c7e78e3c532a4cf4b770' \
--header 'Cookie: PHPSESSID=rnntqvfhvig5goubj8lfc0ahuk; _csrf=8361ded35436f800c0b2d8e5ff6c24aaeeec2f30ebaf8024eeba168b56833c67a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22JolzvaJApH-Z2fl7H7u50kxyPE17rlr4%22%3B%7D'
PHP请求代码示例
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => 'http://api.vv-tool.com/tool/accounts/look-task-state?session_id=9134fe9b333842038473e894fc1e5f58',
  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 012c19eae2da038036f3c7e78e3c532a4cf4b770',
    'Cookie: PHPSESSID=rnntqvfhvig5goubj8lfc0ahuk; _csrf=8361ded35436f800c0b2d8e5ff6c24aaeeec2f30ebaf8024eeba168b56833c67a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22JolzvaJApH-Z2fl7H7u50kxyPE17rlr4%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/accounts/look-task-state?session_id=9134fe9b333842038473e894fc1e5f58")
  .method("GET", null)
  .addHeader("Authorization", "Bearer 012c19eae2da038036f3c7e78e3c532a4cf4b770")
  .addHeader("Cookie", "PHPSESSID=rnntqvfhvig5goubj8lfc0ahuk; _csrf=8361ded35436f800c0b2d8e5ff6c24aaeeec2f30ebaf8024eeba168b56833c67a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22JolzvaJApH-Z2fl7H7u50kxyPE17rlr4%22%3B%7D")
  .build();
Response response = client.newCall(request).execute();

响应参数

参数 类型 描述
code int 返回状态码
msg string 返回码描述
msec int 执行时间
time int 结果返回时间
data object 返回数据信息
qrcode_img string 登录的二维码地址
auth_url string 登录链接
auth_tao_token string 登录淘口令
sid int sid
uid int uid
province string 登录省份
city string 登录城市
user_agent string 授权者用户信息
account string 淘宝号会员名
step_index string 1 获取授权码 2 等待扫码授权 3 处理数据中 4 数据处理成功 如果任务状态从 2 又回到 1(说明用户未扫码授权),请重新获取二维码(请求该接口,返回值为 4 收费)
userip string 公网 ip 地址
withholding_money int 该接口扣费金额(点券)

返回数据

{
    "code": 0,
    "msg": "成功",
    "msec": 614,
    "time": 1602924397,
    "data": {
		    "withholding_money":0
        "qrcode_img": "//img.alicdn.com/imgextra/O1CN01vcz2rk1cSO4PeWLq3_!!3599-2-xcode.png",
        "city": "杭州市",
        "user_agent": "Mozilla/5.0 (iPhone; CPU iPhone OS 11_0 like Mac OS X) AppleWebKit/604.1.38 (KHTML, like Gecko) Version/11.0 Mobile/15A372 Safari/604.1",
        "account": "马云",
        "province": "浙江省",
        "step_index": 2,
        "userip": "99.16.92.59",
        "sid": "120c2ef0ce9f1a92bcee820cfe29f6da",
        "uid": "2209255134118",
        "auth_url": "",
        "auth_tao_token": ""
    }
}

获取验号用户数据


接口地址: http://api.vv-tool.com/tool/accounts/check-get-no


接口介绍: ③ 、获取验号用户的数据(请求拿到数据需要 3 个接口按照顺序请求,该请求是第三个接口)


接口介绍: 用户授权成功后拿到的验号数据,包含降权订单, 点击查看详情


请求方式: GET


返回格式: JSON


接口收费: 查询 1 次,扣一次账户余额,找销售可低至几分钱


频率限制: 10 次/秒


请求头参数

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

请求参数

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

请求示例

session_id:d286e5fe4adc4e74a8729546dda

请求代码示例

cURL请求代码示例
curl --location --request GET 'http://api.vv-tool.com/tool/accounts/check-get-no?session_id=d286e5fe4adc4e74a8729546dda' \
--header 'Authorization: Bearer 1798c6aadec33d1bc2f5b707f1049aefexxxx'

PHP请求代码示例
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => 'http://api.vv-tool.com/tool/accounts/check-get-no?session_id=d286e5fe4adc4e74a8729546dda',
  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 1798c6aadec33d1bc2f5b707f1049aefexxxx'
  ),
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;

<?php


JAVA请求代码示例

OkHttpClient client = new OkHttpClient().newBuilder()
  .build();
Request request = new Request.Builder()
  .url("http://api.vv-tool.com/tool/accounts/check-get-no?session_id=d286e5fe4adc4e74a8729546dda")
  .method("GET", null)
  .addHeader("Authorization", "Bearer 1798c6aadec33d1bc2f5b707f1049aefexxxx")
  .build();
Response response = client.newCall(request).execute();

响应参数

参数 类型 描述
url string url
code int 错误码 0 为成功
msg string 返回码描述
msec int 接口执行时间
time int 接口返回时间
useraddresslist array 收货地址列表
location string 定位城市
account string 淘宝账号/旺旺号
sex string 性别
regdate string 注册日期
refund_list array 退款订单列表
user_type boolean 是否实名认证
regday string 账号注册天数
realname string 真实姓名
pingjia object 评价的数据
centre_all string 中评总(不一定获取到)
state_daifu number 待支付数
dfh_list number 待发货订单数
dsh_list number 待收货订单数
dzf_list number 待支付订单数
dpj_list number 待评价订单数
bjf_list number 不算销售权重的订单数
xjjy_list number 虚假交易订单数
state_daiping number 待评价数
order_list number 订单列表
order object 订单信息
illegal_state number 违规状态 0 或是正常 2 不计交易 3 虚假交易
shopimg string 店铺图片
shopname string 店铺名称
state string 状态
shopid string 店铺 ID
createtime string 创建时间
producttitle string 商品名称
quantity string 购买数量
wg_state number 违规状态 0 正常 2 不计入销售权重 3 虚假交易扣分
original string 原价
productImg string 商品图片
id string 子订单号码
skutitle string sku 名称
realtotal string 订单实付金额
skuid string skuid
item array 子订单对应商品信息
age string 年龄
check_state boolean 验号是否通过
tqzlist object 淘气值用户信息
item array 子订单对应商品信息
age string 年龄
check_state boolean 验号是否通过
interact_bonusScore string 互动奖励分
bonus_scoreLast string 总奖励分
buymoney_convertcur string 本期购物金额
trade_scorelast string 上期购物分
trade_bonusscore string 购物奖励
score string 淘气值分
basic_score string 基础分
trade_scor string 本期购物分
is_black string 是否标白名单
honest string 购物评级
explain_tips string 淘气值提示语
user_type string 用户类型
buyMoney_convertlast string 上期购物金额
province string 省份
tianmao_point number 天猫积分
good_zhou string 好评周(不一定获取到)
good_yue string 好评月(不一定获取到)
good_ban string 好评半年 (不一定获取到)
good_nian string 好评一年 (不一定获取到)
good_all string 好评总计 (不一定获取到)
xinyu string 信誉值
xinyuImg string 信誉图片地址
buytagvv-tool string 购买标签
favtag array 收藏标签
cha_zhou array 近期差评数(周)(不一定获取到)
gtr_evaluatevv-tool array 给他人评价 list 需要判断为 null 表示读取失败 size 为 0 表示没有给别人评价信息
gtr_evaluatetype string 好评中评差评
gtr_evaluatecontent string 评价内容
gtr_evaluateshopName string 卖家账号
gtr_evaluatedateTime string 评价时间
gtr_evaluateisJifenl string 是否计分如果有文字就显示没文字就不显示
gtr_evaluateproductName string 商品名称
gtr_evaluateprice string 金额
birthday string 生日
checkmsg string 未获得数据的原因是什么
userip string IP 地址
state boolean 根据这个来判断接口是否成功
withholding_money int 该接口扣费金额(点券)

返回数据

{
    "code": 0,
    "msg": "成功",
    "msec": 1075,
    "time": 1620983737,
    "data": {
		    "withholding_money":20
        "birthday": "2000-2-11",
        "location": "杭州市",
        "bindingphone": "",
        "refundlist": [
            {
                "imgURl": "//img.alicdn.com/bao/uploaded/i2/2200807254153/O1CN01aPtlPD1gY7WxSVeoU_!!2200807254153.jpg",
                "refundType": "仅退款",
                "createtime": "2021-04-22 17:49:06",
                "money": "¥590.00",
                "title": "【专属】Smeal益生菌代餐奶昔粉即食冲饮饱腹减低食品脂肥*30瓶",
                "sku": "口味:益生菌代餐奶昔30瓶装6种口味",
                "status": "退款成功"
            },
            {
                "imgURl": "//img.alicdn.com/bao/uploaded/i3/2208657956577/O1CN01MtD9Oh1ySJXNYVQ4N_!!2208657956577.png",
                "refundType": "仅退款",
                "createtime": "2021-04-01 20:57:18",
                "money": "¥108.00",
                "title": "婴幼儿童宝贝随身便携小包迷你清洁宝宝消毒湿巾生活多场景使用包",
                "sku": "",
                "status": "退款成功"
            },
            {
                "imgURl": "//img.alicdn.com/bao/uploaded/i3/2208657956577/O1CN01MtD9Oh1ySJXNYVQ4N_!!2208657956577.png",
                "refundType": "仅退款",
                "createtime": "2021-04-01 19:38:44",
                "money": "¥108.00",
                "title": "婴幼儿童宝贝随身便携小包迷你清洁宝宝消毒湿巾生活多场景使用包",
                "sku": "",
                "status": "退款关闭"
            },
            {
                "imgURl": "//img.alicdn.com/bao/uploaded/i3/2208657956577/O1CN01MtD9Oh1ySJXNYVQ4N_!!2208657956577.png",
                "refundType": "仅退款",
                "createtime": "2021-04-01 18:01:17",
                "money": "¥108.00",
                "title": "婴幼儿童宝贝随身便携小包迷你清洁宝宝消毒湿巾生活多场景使用包",
                "sku": "",
                "status": "退款成功"
            },
            {
                "imgURl": "//img.alicdn.com/bao/uploaded/i3/2208657956577/O1CN01MtD9Oh1ySJXNYVQ4N_!!2208657956577.png",
                "refundType": "仅退款",
                "createtime": "2021-04-01 15:08:55",
                "money": "¥108.00",
                "title": "婴幼儿童宝贝随身便携小包迷你清洁宝宝消毒湿巾生活多场景使用包",
                "sku": "",
                "status": "退款成功"
            },
            {
                "imgURl": "//img.alicdn.com/bao/uploaded/i3/2208657956577/O1CN01MtD9Oh1ySJXNYVQ4N_!!2208657956577.png",
                "refundType": "仅退款",
                "createtime": "2021-03-23 16:13:55",
                "money": "¥108.00",
                "title": "婴幼儿童宝贝随身便携小包迷你清洁宝宝消毒湿巾生活多场景使用包",
                "sku": "",
                "status": "退款成功"
            },
            {
                "imgURl": "//img.alicdn.com/bao/uploaded/i4/2209095627957/O1CN01TCThHM28eM9azOji2_!!2209095627957-0-tblite.jpg",
                "refundType": "仅退款",
                "createtime": "2021-02-16 08:26:38",
                "money": "¥14.90",
                "title": "4斤洗衣液植萃低泡去渍洁净衣物护理清香温和清洗剂洗涤",
                "sku": "净含量:4斤洗衣液",
                "status": "退款成功"
            },
            {
                "imgURl": "//img.alicdn.com/bao/uploaded/i2/2209573227347/O1CN01QuEiwT248yWfzTn5a_!!2209573227347-0-tblite.jpg",
                "refundType": "仅退款",
                "createtime": "2021-02-14 13:33:45",
                "money": "¥6.80",
                "title": "超大收纳编织袋搬家棉被打包袋特大容量无纺帆布行李袋加厚被子袋",
                "sku": "颜色分类:颜色随机中号50*33*20单个装",
                "status": "退款关闭"
            }
        ],
        "regdate": "2016-05-30",
        "city": "浙江省",
        "buytag": [],
        "tqzlist": {
            "interact_bonusScore": "3",
            "bonus_scorelast": "111",
            "buymoney_convertcur": "3530",
            "trade_scorelast": "73",
            "trade_bonusscore": "100",
            "score": "574",
            "basic_score": "400",
            "trade_score": "71",
            "is_black": "false",
            "honest": "3",
            "explain_tips": "奖励分少了因为亲的评价少了些,淘气值也降了,快来一波高清带图的评价吧!",
            "user_type": "normal",
            "buyMoney_convertlast": "3586"
        },
        "order": {
            "bjf_list": 0,
            "xjjy_list": 0,
            "dfh_list": 0,
            "dsh_list": 0,
            "dzf_list": 0,
            "dpj_list": 3,
            "order_list": [
                {
                    
                
                    "item": [
                        {
                            "producttitle": "12ML正品风油精小瓶提神醒脑清凉驱风止痒蚊虫叮咬大瓶晕车船包邮",
                            "skutitle": "",
                            "quantity": "1",
                            "original": "",
                            "productId": "",
                            "wg_state": 0,
                            "productImg": "//img.alicdn.com/imgextra/i2/545084595/O1CN01hBfVzF1joYSYgrBJs_!!545084595.jpg_200x200.jpg",
                            "id": "",
                            "realtotal": "7.50",
                            "skuId": ""
                        }
                    ],
                    "createtime": 0,
                    "shopname": "李79002361",
                    "shopimg": "",
                    "shopid": "545084595",
                    "id": "657277026024374451"
                },
                {
                    "item": [
                        {
                            "producttitle": "拍2发5盒共200袋送杯勺 中啡美式无糖速溶冷萃纯黑咖啡粉健身正品",
                            "skutitle": "经典黑咖2盒 共80杯(同款拍2件发5盒送咖啡杯)",
                            "quantity": "2",
                            "original": "",
                            "productId": "",
                            "wg_state": 0,
                            "productImg": "//img.alicdn.com/imgextra/i4/1045160264/O1CN01T7rR201Dox7QPPY9R_!!0-item_pic.jpg_200x200.jpg",
                            "id": "",
                            "realtotal": "29.90",
                            "skuId": ""
                        }
                    ],
                    "createtime": 0,
                    "shopname": "中啡食品旗舰店",
                    "shopimg": "",
                    "shopid": "1045160264",
                    "id": "656926816665374451"
                }
            ]
        },
        "gtr_evaluate": [
            {
                "gtr_evaluateTime": "[2021-04-26 16:03:08]",
                "gtr_evaluateJifenl": "",
                "gtr_evaluateprice": "50.0元",
                "shopName": "三粒毒药",
                "gtr_evaluatetype": "好评",
                "gtr_evaluateproductName": "冰雪复古冰雪传奇脚本打金一键挂机三端通用自动重连躲妖兽",
                "gtr_evaluatecontent": "特别好用用了多次了"
            },
            {
                "gtr_evaluateTime": "[2021-04-08 17:33:58]",
                "gtr_evaluateJifenl": "",
                "gtr_evaluateprice": "30.0元",
                "shopName": "三粒毒药",
                "gtr_evaluatetype": "好评",
                "gtr_evaluateproductName": "冰雪复古冰雪传奇脚本打金一键挂机三端通用自动重连躲妖兽",
                "gtr_evaluatecontent": "好东西"
            },
            {
                "gtr_evaluateTime": "[2021-01-02 17:21:56]",
                "gtr_evaluateJifenl": "",
                "gtr_evaluateprice": "50.8元",
                "shopName": "tb846148124",
                "gtr_evaluatetype": "好评",
                "gtr_evaluateproductName": "三只松鼠早餐小面包蛋糕零食养胃的食品充饥夜宵营养整箱混合装",
                "gtr_evaluatecontent": "评价方未及时做出评价,系统默认好评!"
            }
        ],
        "useraddresslist": [
            "杭州市西湖区--森森(17612345678)",
            "杭州市余杭区--森森(17612345678)"
        ],
        "favtag": [],
        "account": "马化腾",
        "sex": "男",
        "checkmsg": "",
        "user_type": true,
        "regday": "1810",
        "realname": "森森",
        "tianmao_point": 1056,
        "pingjia": {
            "zhong_zong": "",
            "cha_zhou": "",
            "xinyuImg": "",
            "xinyu": ""
        },
        "userip": "99.16.92.59",
        "age": "21"
    }
}

获取用户最新的订单


接口地址: http://api.vv-tool.com/tool/accounts/check-get-order


接口介绍: 获取用户最新的订单


请求方式: GET


返回格式: JSON


接口收费: 查询 1 次,扣一次账户余额,找销售可低至几分钱


频率限制: 10 次/秒


请求头参数

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

请求参数

参数 类型 必选 描述
account string 淘宝账号/旺旺号

请求示例

account:d286e5fe4adc4e74a8729546dda

请求代码示例

cURL请求代码示例
curl --location --request GET 'http://api.vv-tool.com/tool/accounts/check-get-order?account=d286e5fe4adc4e74a8729546dda' \
--header 'Authorization: Bearer 1798c6aadec33d1bc2f5b707f1049aefexxxx'

PHP请求代码示例
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => 'http://api.vv-tool.com/tool/accounts/check-get-order?account=d286e5fe4adc4e74a8729546dda',
  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 1798c6aadec33d1bc2f5b707f1049aefexxxx'
  ),
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;

<?php


JAVA请求代码示例

OkHttpClient client = new OkHttpClient().newBuilder()
  .build();
Request request = new Request.Builder()
  .url("http://api.vv-tool.com/tool/accounts/check-get-order?account=d286e5fe4adc4e74a8729546dda")
  .method("GET", null)
  .addHeader("Authorization", "Bearer 1798c6aadec33d1bc2f5b707f1049aefexxxx")
  .build();
Response response = client.newCall(request).execute();

响应参数

参数 类型 描述
code int 错误码 0 为成功
msg string 返回码描述
msec int 接口执行时间
time int 接口返回时间
dzf_list number 待支付订单数
state_daifa number 待发货数
state_daishou number 待收货数
dpj_list number 待评价数
bjf_list number 不算销售权重的订单数
xjjy_list number 虚假交易订单数
order_list number 订单列表
order object 订单信息
shopimg string 店铺图片
shopname string 店铺名称
shopId string 店铺 ID
createtime string 创建时间
producttitle string 商品名称
quantity string 购买数量
productId number 商品 id
original string 原价
productimg string 商品图片
id string 子订单号码
skutitle string sku 名称
realtotal string 实际支付金额
skuId string sku 编号
item array 子订单对应商品信息
state boolean 根据这个来判断接口是否成功
withholding_money int 该接口扣费金额(点券)

返回数据

{
    "code": 0,
    "msg": "成功",
    "msec": 3882,
    "time": 1620986986,
    "data": {
		    "withholding_money":20
        "bjf_list": 0,
        "xjjy_list": 0,
        "dfh_list": 0,
        "dsh_list": 0,
        "dzf_list": 0,
        "dpj_list": 0,
        "order_list": [
            {
                
            
                "item": [
                    {
                        "producttitle": "冰雪传奇脚本电脑打金模拟器专用工作室打金打元自动重连一键起号",
                        "skutitle": "",
                        "quantity": "1",
                        "original": "",
                        "productId": "638989988512",
                        "wg_state": 0,
                        "productImg": "//img.alicdn.com/imgextra/i3/114541925/O1CN01KM40kD1Q5h4Pn0E3d_!!114541925.jpg_80x80.jpg",
                        "id": "1749887784726374451",
                        "realtotal": "200.00",
                        "skuId": "4763529579448"
                    }
                ],
                "createtime": 0,
                "shopname": "三粒毒药的小店",
                "shopimg": "",
                "shopid": "114541925",
                "id": "1749887784726374451"
            },
            {
                "item": [
                    {
                        "producttitle": "冰雪复古冰雪传奇脚本打金一键挂机三端通用自动重连躲妖兽",
                        "skutitle": "",
                        "quantity": "1",
                        "original": "",
                        "productId": "640026619897",
                        "wg_state": 0,
                        "productImg": "//img.alicdn.com/imgextra/i3/114541925/O1CN01xG9Hro1Q5h4T18f0b_!!114541925.jpg_80x80.jpg",
                        "id": "1750887757785374451",
                        "realtotal": "50.00",
                        "skuId": "4586292720202"
                    }
                ],
                "createtime": 0,
                "shopname": "三粒毒药的小店",
                "shopimg": "",
                "shopid": "114541925",
                "id": "1750887757785374451"
            },
            
    
            {
                "item": [
                    {
                        "producttitle": "冰雪复古冰雪传奇脚本打金一键挂机三端通用自动重连躲妖兽",
                        "skutitle": "",
                        "quantity": "1",
                        "original": "",
                        "productId": "640026619897",
                        "wg_state": 0,
                        "productImg": "//img.alicdn.com/imgextra/i3/114541925/O1CN01xG9Hro1Q5h4T18f0b_!!114541925.jpg_80x80.jpg",
                        "id": "1707094152727374451",
                        "realtotal": "30.00",
                        "skuId": "4586292720201"
                    }
                ],
                "createtime": 0,
                "shopname": "三粒毒药的小店",
                "shopimg": "",
                "shopid": "114541925",
                "id": "1707094152727374451"
            },
            {
                "item": [
                    {
                        "producttitle": "冰雪复古冰雪传奇脚本打金一键挂机三端通用自动重连躲妖兽",
                        "skutitle": "",
                        "quantity": "1",
                        "original": "",
                        "productId": "640026619897",
                        "wg_state": 0,
                        "productImg": "//img.alicdn.com/imgextra/i3/114541925/O1CN01xG9Hro1Q5h4T18f0b_!!114541925.jpg_80x80.jpg",
                        "id": "1679370157442374451",
                        "realtotal": "30.00",
                        "skuId": "4586292720201"
                    }
                ],
                "createtime": 0,
                "shopname": "三粒毒药的小店",
                "shopimg": "",
                "shopid": "114541925",
                "id": "1679370157442374451"
            }
        ]
    }
}

响应代码

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