淘宝客API
京东API
拼多多API
唯品会API
苏宁API
开放平台API
美团平台
文娱餐饮
考拉海购
点击获取APKEY

正常 获取拼多多opt商品标签列表

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

接口地址: http://api.web.ecapi.cn/pinduoduo/getPddOpts
接口实例: http://api.web.ecapi.cn/pinduoduo/getPddOpts?apkey=登录会员中心查看&parent_opt_id=0
注意事项:如调用接口时数据返回异常,则需对接口中的【中文】及含有【空格】的数据进行Urlencode编码,然后再试。
请求方式:GET
会员范围: 全部会员 (新用户注册立刻送7天V1付费会员【注:赠送会员可使用全部接口,但调用频率与免费会员一致,免费会员调用频率可参考会员等级说明】)
使用说明: 获得拼多多opt商品标签列表
必看注意:为保障接口安全及使用效率,调用本站接口前需先 添加IP白名单 (IP地址测试),若IP不固定且无服务器,可通过“优惠推荐”中的链接购买阿里云服务器来调用接口。禁止以插件(包括但不仅限于浏览器插件及手机插件)形式使用接口,禁止将接口重新打包销售或转卖,一经发现,将做帐号封禁处理。
优惠推荐:高性能云服务器2折起,普惠上云,仅需234元/年 ->>立即抢购<<-

使用说明

暂无说明

请求参数

参数类型请求参数参考值是否必须说明
apkeyStringxxxxxxx用户中心 - 系统设置 - 平台设置 中查看APKEY密钥 (点我获取)*必要
parent_opt_idNumber0值=0时为顶点opt_id,通过树顶级节点获取opt树

返回参数

返回参数类型参数说明扩展说明
levelNumber层级1-一级,2-二级,3-三级,4-四级
parent_opt_idNumberid所属父IDparent_id=0时为顶级节点
opt_nameString商品标签名
opt_idNumber商品标签ID

Json返回示例

{"code":200,"data":[{"parent_opt_id":0,"level":1,"opt_name":"食品","opt_id":1},{"parent_opt_id":0,"level":1,"opt_name":"母婴","opt_id":4},{"parent_opt_id":0,"level":1,"opt_name":"海淘","opt_id":12},{"parent_opt_id":0,"level":1,"opt_name":"水果","opt_id":13},{"parent_opt_id":0,"level":1,"opt_name":"女装","opt_id":14},{"parent_opt_id":0,"level":1,"opt_name":"百货","opt_id":15},{"parent_opt_id":0,"level":1,"opt_name":"美妆","opt_id":16},{"parent_opt_id":0,"level":1,"opt_name":"电器","opt_id":18},{"parent_opt_id":0,"level":1,"opt_name":"充值","opt_id":590},{"parent_opt_id":0,"level":1,"opt_name":"男装","opt_id":743},{"parent_opt_id":0,"level":1,"opt_name":"家纺","opt_id":818},{"parent_opt_id":0,"level":1,"opt_name":"鞋包","opt_id":1281},{"parent_opt_id":0,"level":1,"opt_name":"内衣","opt_id":1282},{"parent_opt_id":0,"level":1,"opt_name":"运动","opt_id":1451},{"parent_opt_id":0,"level":1,"opt_name":"手机","opt_id":1543},{"parent_opt_id":0,"level":1,"opt_name":"家装","opt_id":1917},{"parent_opt_id":0,"level":1,"opt_name":"汽车","opt_id":2048},{"parent_opt_id":0,"level":1,"opt_name":"电脑","opt_id":2478},{"parent_opt_id":0,"level":1,"opt_name":"生活家电","opt_id":2946},{"parent_opt_id":0,"level":1,"opt_name":"大家电","opt_id":2964},{"parent_opt_id":0,"level":1,"opt_name":"家具","opt_id":2974},{"parent_opt_id":0,"level":1,"opt_name":"手机","opt_id":3132},{"parent_opt_id":0,"level":1,"opt_name":"电脑","opt_id":3149},{"parent_opt_id":0,"level":1,"opt_name":"数码","opt_id":3162},{"parent_opt_id":0,"level":1,"opt_name":"文化","opt_id":3175},{"parent_opt_id":0,"level":1,"opt_name":"健康","opt_id":3279},{"parent_opt_id":0,"level":1,"opt_name":"办公","opt_id":3526},{"parent_opt_id":0,"level":1,"opt_name":"厨房电器","opt_id":5127}],"msg":"分类获取成功"}

code/http_status说明

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