数据接口API

点击获取APKEY

正常 淘宝客物料接口(猜你喜欢)


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

使用说明

暂无说明

请求参数

参数类型请求参数参考值是否必须说明
apkeyStringxxxxxxx用户中心 - 基础设置 中查看APKEY密钥(*必要
pagesizeNumber12页大小,默认20,1~100
pagenoNumber1第几页,默认:1
material_idNumber6708请求API参数中material_id设置为6708,同时传入用户设备信息,即可返回个性化的推荐结果。官方的物料Id(详细物料id见:https://tbk.bbs.taobao.com/detail.html?appId=45301&postId=8576096)
device_valueStringxxxx设备号加密后的值
device_encryptStringMD5设备号加密类型:MD5
device_typeStringIMEI设备号类型:IMEI,或者IDFA,或者UTDID
content_idNumber内容详情ID
content_sourceStringxxxx内容渠道信息
item_idNumber123456789商品ID,用于相似商品推荐

返回参数

返回参数类型参数说明扩展说明
coupon_amountNumber券面额
small_imagesJson商品小图列表
shop_titleString店铺名称
category_idString叶子类目id
coupon_start_feeNumber优惠券起用门槛,满X元可用
item_idNumber宝贝id
coupon_total_countNumber券总量
user_typeString0表示集市(淘宝店铺),1表示商城(天猫商城)
zk_final_priceNumber折扣价
coupon_remain_countNumber优惠券剩余量
commission_rateString佣金比率(%)
coupon_start_timeString优惠券开始时间
titleString商品标题
item_descriptionString宝贝描述(推荐理由,不一定有)
seller_idNumber卖家id
volumeString30天销量
coupon_end_timeString优惠券结束时间
pict_urlString商品主图
stockNumber拼团:剩余库存不一定有
sell_numNumber拼团:已售数量不一定有
total_stockNumber拼团:库存数量不一定有
oetimeString拼团:结束时间不一定有
ostimeString拼团:开始时间不一定有
jdd_numString拼团:几人团不一定有
jdd_priceString拼团:拼成价,单位元不一定有
orig_priceString拼团:一人价(原价),单位元不一定有
level_one_category_nameString一级类目名称
level_one_category_idNumber一级类目ID
category_nameString叶子类目名称
white_imageString商品白底图
short_titleString商品短标题
word_listJson商品关联词不一定有
 ├ urlString商品相关关联词落地页地址
 ├ wordString商品相关的关联词
tmall_play_activity_infoString天猫营销玩法不一定有
uv_sum_pre_saleString预售数量

Json返回示例

{"code":200,"data":[{"category_id":"50023754","category_name":"眼","commission_rate":"10.0","coupon_amount":"5","coupon_end_time":"1547740799000","coupon_remain_count":"5160","coupon_start_fee":"15.0","coupon_start_time":"1546963200000","coupon_total_count":"6000","item_description":"1瓶10ml 护眼  常备2盒","item_id":"557021140223","level_one_category_id":"50023717","level_one_category_name":"OTC药品/医疗器械/计生用品","pict_url":"//img.alicdn.com/bao/uploaded/i3/3386971070/O1CN01gpWagz1Jm6HbYxwaz_!!0-item_pic.jpg","seller_id":"3386971070","shop_title":"仁和官方旗舰店","short_title":"闪亮复方门冬维甘10ml眼疲劳滴眼液","small_images":{"string":["//img.alicdn.com/i1/3386971070/TB2yhjgolTH8KJjy0FiXXcRsXXa_!!3386971070.jpg","//img.alicdn.com/i4/2928278102/TB2ItxdcY8kpuFjy0FcXXaUhpXa_!!2928278102.jpg","//img.alicdn.com/i4/2928278102/TB2fxc8cSxjpuFjSszeXXaeMVXa_!!2928278102.jpg","//img.alicdn.com/i1/3386971070/TB2nXCNcfQs8KJjSZFEXXc9RpXa_!!3386971070.jpg"]},"title":"闪亮复方门冬维甘滴眼液10ml结膜充血眼药水缓解眼疲劳红血丝","user_type":"1","volume":"679","white_image":"https://img.alicdn.com/bao/uploaded/TB1FF2xAMaTBuNjSszfwu0gfpXa.png","zk_final_price":"39.8"},{"category_id":"50023753","category_name":"彩色隐形眼镜","commission_rate":"1.51","coupon_amount":"5","coupon_end_time":"1547308799000","coupon_remain_count":"14000","coupon_start_fee":"35.0","coupon_start_time":"1545926400000","coupon_total_count":"20000","item_description":"赠伴侣镜盒 限一份","item_id":"576313352434","level_one_category_id":"50023722","level_one_category_name":"隐形眼镜/护理液","pict_url":"//img.alicdn.com/bao/uploaded/i2/2927731773/O1CN01MJKQA61Oy4iVXzFoQ_!!0-item_pic.jpg","seller_id":"2927731773","shop_title":"视客眼镜旗舰店","short_title":"海俪恩半年抛2片自然大小直径美瞳","small_images":{"string":["//img.alicdn.com/i1/2927731773/TB24GhauRsmBKNjSZFsXXaXSVXa_!!2927731773.jpg","//img.alicdn.com/i3/2927731773/TB2XKOgutknBKNjSZKPXXX6OFXa_!!2927731773.jpg","//img.alicdn.com/i1/2927731773/TB22p4SbMHqK1RjSZFgXXa7JXXa_!!2927731773.jpg","//img.alicdn.com/i2/2927731773/TB2mqJSbMHqK1RjSZFgXXa7JXXa_!!2927731773.jpg"]},"title":"海俪恩美瞳半年抛2片自然大小直径彩色隐形近视眼镜6月抛官网正品","user_type":"1","volume":"1001","white_image":"https://img.alicdn.com/bao/uploaded/TB1A9XdzsyYBuNkSnfowu3WgVXa.png","zk_final_price":"49"}],"msg":"淘客商品获取成功"}

code/http_status说明

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