数据接口API

点击获取APKEY

正常 (新优化版)高佣转链接API(淘口令)


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

使用说明

传入及输出参数可参考:https://open.21ds.cn/index/index/openapi/id/6.shtml?ptype=1

输出参数格式可参考下面的json

请求参数

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

返回参数

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

Json返回示例

{"code":200,"data":{"category_id":50016422,"coupon_click_url":"https://uland.taobao.com/coupon/edetail?e=xbZ7IycEkUcGQASttHIRqZnLBK1aZhUKM4vO629MCH/oEnMr9v+wapYf2fzHeQvKPnSJhnMjqoV+U/1S4xSkMr9fwBwwUiql8U9VEjaDeLVHYZXEYbNztsHVq/dxq/DATJnbK5InWznd4dRbTb5WN9VqM6BWlz38EGtnKYSIlzhRvyb4maCY8264zALlG37VKZxm4sPQMNc=&traceId=0b521f4015720295065923128ee568&union_lens=lensId:0b82dabf_0c4b_16e0442a439_b1af&xId=MPrVqEQUD4Nvv9Av7rXfzG7PhtEypxf7f6ADG5RtOIVGCBAy5zOKeriZHyoVBzW71NYmrMm9It8IIoIYyF68hM","coupon_end_time":"2019-10-29","coupon_info":"满15元减5元","coupon_remain_count":72000,"coupon_start_time":"2019-10-22","coupon_total_count":100000,"coupon_type":3,"item_id":583585178479,"item_url":"https://s.click.taobao.com/t?e=m=2&s=kik4Yirf9MJw4vFB6t2Z2ueEDrYVVa64K7Vc7tFgwiHLWlSKdGSYDtfglIr5uHhb1aH1Hk3GeOiHB9kPp4/cAbmGBOkf51Nx5xEP1MwJsH9KNyCG9cn2R8U6Y9vvgu2r7DzDUgJx+2o56ZoUzm0cdjFnKNBxtUOFAut8Po7Mlg8nSmNYosmWDs7AMx9cWAx+EiM/lSG/bZQaUtwftAGFDKidGRDCo/Vy71WnAm/zQ9LGDF1NzTQoPw==&union_lens=lensId:0b82dabf_0c4b_16e0442a439_b1af&xId=MPrVqEQUD4Nvv9Av7rXfzG7PhtEypxf7f6ADG5RtOIVGCBAy5zOKeriZHyoVBzW71NYmrMm9It8IIoIYyF68hM","max_commission_rate":"21.00","item_info":{"cat_leaf_name":"烧烤调料","cat_name":"粮油米面/南北干货/调味品","item_url":"https://detail.tmall.com/item.htm?id=583585178479","material_lib_type":"1,2","nick":"小熊驾到旗舰店","num_iid":583585178479,"pict_url":"https://img.alicdn.com/bao/uploaded/i1/4254205908/O1CN01EaiXMF1tVuUiRTpqd_!!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":"18","seller_id":4254205908,"small_images":{"string":["https://img.alicdn.com/i1/4254205908/O1CN01JNBYia1tVuUY8SCrZ_!!4254205908.jpg","https://img.alicdn.com/i4/4254205908/O1CN01ONirrl1tVuTvSi4gy_!!4254205908.jpg"]},"title":"2罐新奥尔良烤翅腌料蜜汁微辣家用烤鸡翅粉炸鸡烤肉烧烤料调料","user_type":1,"volume":257127,"zk_final_price":"15.8"},"has_coupon":true,"youhuiquan":"5","quanlimit":"15","short_url":"https://s.click.taobao.com/Id9Dcxv","tpwd":"¥d9MbYr97onZ¥"},"msg":"success"}

code/http_status说明

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