数据接口API

点击获取APKEY

正常 [新优化版]淘宝客高佣转链接口(商品ID)


请求链接: http://api.gw.21ds.cn/api/taoke/doItemHighCommissionPromotionLink
请求实例: http://api.gw.21ds.cn/api/taoke/doItemHighCommissionPromotionLink?apkey=登录后即可显示 (注:此实例中的密钥为登录用户的真实密钥,不登录不显示,请妥善保管,切勿泄露!)
注意事项:如调用接口时数据返回异常,则需对接口中的【中文】进行Urlencode编码,然后再试。
今日调用统计: 暂无统计
会员限制: 全部会员 (新用户注册立刻送7天V1付费会员)
频率说明: 不同会员级别调用频率不同,具体可见会员升级页面介绍。会员升级传送门
使用说明: 采用全新独立框架,性能较原接口提升30%+,传入参数与原接口一致,输出数据在原接口基础上进行了优化,略有不同,具体可实际测试下
必看注意:为保障接口安全及使用效率,调用本站接口前需先 添加IP白名单 (IP地址测试),若IP不固定且无服务器,可通过“优惠推荐”中的链接购买阿里云服务器来调用接口。禁止以插件(包括但不仅限于浏览器插件及手机插件)形式使用接口,禁止将接口重新打包销售或转卖,一经发现,将做帐号封禁处理。
优惠推荐:高性能云服务器2折起,普惠上云,仅需234元/年 >立即抢购<<-

使用说明

传入参数及返回参数字段说明可参见:https://open.21ds.cn/index/index/openapi/id/1.shtml?ptype=1

返回参数数据格式见下方json

请求参数

参数类型请求参数参考值是否必须说明
apkeyStringxxxxxxx用户中心 - 基础设置 中查看APKEY密钥(*必要

返回参数

返回参数类型参数说明扩展说明

Json返回示例

{"code":200,"data":{"category_id":21,"coupon_click_url":"https://uland.taobao.com/coupon/edetail?e=0+A8JiXeqIg8Clx5mXPEKpjggBW84/sCXKlYlCPeDFxafOnRJHvnA235RLwVbs6GQ2lxi6G7l+psz8svUcR+OJQ5wfGz/u+NyeOl/g5viFKeaD2hx1IMByZ6Y/pkHtT5QS0Flu/fbSovkBQlP112cACbVeUhNk1a1bsZQOQ6EH4KPgOmUKpN4QsmEyrTkiGBBIymH4dfP1E=&traceId=0b511bde15720278982886033ea42b&union_lens=lensId:0b015dd6_0bde_16e042a19c7_4c49&xId=hQzzxBWLFi4bJeG4mZSmoHX1gUKE1MoBWxeDFyqnpGxn5xy3MjY0RE0z9LPoVuyIaFl19omU6aI9SmgkGIv4jA","coupon_end_time":"2019-10-27","coupon_info":"满2元减1元","coupon_remain_count":80000,"coupon_start_time":"2019-10-25","coupon_total_count":100000,"coupon_type":3,"item_id":40222919414,"item_url":"https://s.click.taobao.com/t?e=m=2&s=pFp7a73xWxtw4vFB6t2Z2ueEDrYVVa64K7Vc7tFgwiHLWlSKdGSYDhaySZ65VT0wMMgx22UI05aHB9kPp4/cAbmGBOkf51Nx5xEP1MwJsH9KNyCG9cn2RyhH9L32/54Cs7b0UBW7G8s56ZoUzm0cdjFnKNBxtUOFAut8Po7Mlg8nSmNYosmWDs7AMx9cWAx+EiM/lSG/bZTa/3NFmOGAyvMRF0g/7xm86HRY3wtubcVxKmPmpIKZsA==&union_lens=lensId:0b015dd6_0bde_16e042a19c7_4c49&xId=hQzzxBWLFi4bJeG4mZSmoHX1gUKE1MoBWxeDFyqnpGxn5xy3MjY0RE0z9LPoVuyIaFl19omU6aI9SmgkGIv4jA","max_commission_rate":"12.00","item_info":{"cat_leaf_name":"保暖贴","cat_name":"居家日用","item_url":"https://detail.tmall.com/item.htm?id=40222919414","material_lib_type":"1,2","nick":"丽悦家居旗舰店","num_iid":40222919414,"pict_url":"https://img.alicdn.com/bao/uploaded/i1/2107752594/O1CN01cRRVkS1V25xeTPbFW_!!0-item_pic.jpg","presale_deposit":"0","presale_end_time":0,"presale_start_time":0,"presale_tail_end_time":0,"presale_tail_start_time":0,"provcity":"山东 青岛","reserve_price":"15.8","seller_id":2107752594,"small_images":{"string":["https://img.alicdn.com/i4/2107752594/O1CN011V25rEUEeYN8A9C_!!2107752594.jpg","https://img.alicdn.com/i4/2107752594/O1CN017f2B0S1V25xC1uD28_!!2107752594.jpg","https://img.alicdn.com/i1/2107752594/O1CN01d2SMva1V25xBHZOH9_!!2107752594.jpg","https://img.alicdn.com/i2/2107752594/O1CN01WegtKZ1V25xDUxota_!!2107752594.jpg"]},"title":"丽悦暖贴宝宝贴自发热艾草宫寒女防寒保暖身调理宫暖宝冬季暧热帖","user_type":1,"volume":430201,"zk_final_price":"12.8"},"has_coupon":true,"youhuiquan":"1","quanlimit":"2","short_url":"https://s.click.taobao.com/VhhEcxv","tpwd":"¥liVBYr9574Z¥"},"msg":"success"}

code/http_status说明

code/http_status说明
200数据获取成功
-1数据获取失败
401IP没有添加白名单
429访问次数超限
403关键参数丢失
405请求方式不对