淘宝客API
京东API
拼多多API
唯品会API
苏宁API
开放平台API
美团平台
企业微信

数据接口API

点击获取APKEY

正常 (重构版)抖货商品API

更新时间:2020-09-03 12:39:51

请求链接: http://api.web.21ds.cn/platform/getTrillItemList
请求实例: http://api.web.21ds.cn/platform/getTrillItemList?apkey=登录后即可显示&page=1 (注:此实例中的密钥为登录用户的真实密钥,不登录不显示,请妥善保管,切勿泄露!)
注意事项:如调用接口时数据返回异常,则需对接口中的【中文】及含有【空格】的数据进行Urlencode编码,然后再试。
今日调用统计: 暂无统计
会员限制: 付费会员 (新用户注册立刻送7天V1付费会员【注:赠送会员可使用全部接口,但调用频率与免费会员一致,免费会员调用频率可参考会员等级说明】)
频率说明: 不同会员级别调用频率不同,具体可见会员升级页面介绍。会员升级传送门
使用说明: 抖货商品API商品库,每页默认20条
必看注意:为保障接口安全及使用效率,调用本站接口前需先 添加IP白名单 (IP地址测试),若IP不固定且无服务器,可通过“优惠推荐”中的链接购买阿里云服务器来调用接口。禁止以插件(包括但不仅限于浏览器插件及手机插件)形式使用接口,禁止将接口重新打包销售或转卖,一经发现,将做帐号封禁处理。
优惠推荐:高性能云服务器2折起,普惠上云,仅需234元/年 ->>立即抢购<<-
限时推广:送你100元借款优惠券!借款时可用。(数量有限,先到先得) ->>立即领取<<-

使用说明

该接口支持最大并发量为1000次/分钟

请求参数

参数类型请求参数参考值是否必须说明
apkeyStringxxxxxxx用户中心 - 系统设置 - 平台设置 中查看APKEY密钥 (点击进入)*必要
pageNumber1第几页,默认:1
keywordStringxxxx搜索词
sortStringxxxx排序方式,desc=倒序,asc=正序
fieldStringxxxx排序字段。today.今日销量;2hours.两小时销量
catString商品类目:0全部,1女装,2男装,3内衣,4美妆,5配饰,6鞋品,7箱包,8儿童,9母婴,10居家,11美食,12数码,13家电,14其他,15车品,16文体,17宠物
itemidStringxxxx商品id
pagesizeNumber20每页数量

返回参数

返回参数类型参数说明扩展说明
totalCountNumber总数量
listJson返回数据列表
 ├ coupon_urlString优惠券链接
 ├ quanhoujiaNumber券后价
 ├ coupon_moneyNumber优惠券金额
 ├ shop_idString商家ID
 ├ coupon_numString优惠券总数量
 ├ dy_video_titleString抖音视频标题
 ├ guide_articleString推广导购文案
 ├ item_saleNumber宝贝月销量
 ├ dy_video_share_countNumber抖音视频分享量
 ├ coupon_surplusNumber优惠券剩余量
 ├ titleString宝贝标题
 ├ dy_trill_idString抖音商品ID
 ├ shop_nameString店铺名称
 ├ coupon_receiveString优惠券领取量
 ├ dynamic_imageString视频缩略图(动态)
 ├ coupon_starttimeNumber优惠券开始时间
 ├ coupon_endtimeNumber优惠券结束时间
 ├ my_catString分类id
 ├ stockNumber库存量
 ├ activity_idString优惠券id
 ├ picString宝贝主图原始图像
 ├ priceNumber在售价
 ├ discountString折扣力度
 ├ shop_typeString店铺类型天猫(B) 淘宝店(C)
 ├ dy_video_urlString抖音视频地址
 ├ itempic_copyString推广长图带http://img.api.web.cdn.21ds.cn/0_553757100845_1509175123.jpg-600进行访问
 ├ tk_ratesString佣金比例
 ├ descString宝贝推荐语
 ├ tk_moneyString预计可得(宝贝价格 * 佣金比例 / 100)
 ├ general_indexString平台指数
 ├ item_sale_2_hoursNumber宝贝近2小时跑单
 ├ num_iidString商品id
 ├ short_titleString宝贝短标题
 ├ first_frameString视频第一帧图片地址
 ├ today_saleNumber当天销量
 ├ dy_video_like_countNumber抖音视频点赞数
 ├ activity_typeString活动类型:普通活动 聚划算 淘抢购

Json返回示例

{"code":200,"data":[{"_id":{"$oid":"5bf3c3b3b0850109a977f09e"},"small_images":{"string":["http://img.alicdn.com/imgextra/i1/320865316/O1CN011p8lxL8G3GkCWOg_!!0-item_pic.jpg"]},"user_type":"0","item_description":"冬季羊羔绒加厚保暖裤,棉绒绒的,很厚实,穿上很暖和,保暖效果超级好,黑色比较百搭很好搭配衣服【赠运费险】","coupon_info":"\u6ee1118.00\u5143\u51cf15.00\u5143","item_url":"https://detail.tmall.com/item.htm?id=579078970674","commission_rate":20,"coupon_total_count":5000,"nick":"nodata","zk_final_price":118,"quanhoujia":103,"shop_title":"nodata","volume":103,"coupon_remain_count":5000,"coupon_start_time":"2018-11-20 16:18:52","coupon_end_time":"2018-11-26 23:59:59","seller_id":743996069,"title":"孕妇裤子秋冬外穿加绒加厚大码宽松托腹保暖棉裤冬季休闲运动裤女","num_iid":"579078970674","yilingqu":0,"activeid":"baf65d11b45143d98d1121b13d3f4bad","youhuiquan":15,"pict_url":"http://img.alicdn.com/imgextra/i1/320865316/O1CN011p8lxL8G3GkCWOg_!!0-item_pic.jpg"},{"_id":{"$oid":"5bf3c39bb0850109a977eb96"},"small_images":{"string":["http://img.alicdn.com/imgextra/i4/1704296584/O1CN011yVWAHZzzoT0boC_!!1704296584.jpg"]},"user_type":"0","item_description":"灯芯绒韩版休闲哈伦裤,超廊形藏肉,精美裁剪,优质面料,收腹提臀,宽松版型,隐藏多余赘肉,显瘦裤腿,任意百搭,自由舒展,轻松自在。","coupon_info":"\u6ee1126.00\u5143\u51cf20.00\u5143","item_url":"https://detail.tmall.com/item.htm?id=580019350336","commission_rate":30,"coupon_total_count":3000,"nick":"nodata","zk_final_price":126,"quanhoujia":106,"shop_title":"nodata","volume":297,"coupon_remain_count":3000,"coupon_start_time":"2018-11-20 16:18:52","coupon_end_time":"2018-11-24 23:59:59","seller_id":1704296584,"title":"灯芯绒裤子女宽松韩版2018新款条绒哈伦裤学生冬季显瘦长裤休闲裤","num_iid":"580019350336","yilingqu":0,"activeid":"e9f90bc2d8e14528aca02afd5ab9e44e","youhuiquan":20,"pict_url":"http://img.alicdn.com/imgextra/i4/1704296584/O1CN011yVWAHZzzoT0boC_!!1704296584.jpg"},{"_id":{"$oid":"5bf3e81fb0850135821e08b9"},"small_images":{"string":["http://gd1.alicdn.com/imgextra/i1/3705803789/O1CN011drP9XC5mmU5NA0_!!3705803789.jpg"]},"user_type":"0","item_description":"【2018新款】牛仔小脚九分裤,率性自然,能修饰腿型,显高显腿直长,侧缝加上条纹,让时髦翻倍,裤脚卷边流行设计,穿上时尚,你就是焦点。","coupon_info":"\u6ee1306.00\u5143\u51cf200.00\u5143","item_url":"https://detail.tmall.com/item.htm?id=575081616884","commission_rate":20.1,"coupon_total_count":10001,"nick":"nodata","zk_final_price":306,"quanhoujia":106,"shop_title":"nodata","volume":22,"coupon_remain_count":10000,"coupon_start_time":"2018-11-20 18:30:2","coupon_end_time":"2018-11-25 23:59:59","seller_id":3705803789,"title":"2018秋冬女装显瘦毛呢哈伦裤外穿休闲明星同款气质裤子91","num_iid":"575081616884","yilingqu":0,"activeid":"9f7cd63e36ab4f809917d343d0598d07","youhuiquan":200,"pict_url":"http://gd1.alicdn.com/imgextra/i1/3705803789/O1CN011drP9XC5mmU5NA0_!!3705803789.jpg"}],"msg":"数据获取成功"}

code/http_status说明

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