京东商品分类接口

基本信息

获取分类数据

在线测试

  • 接口地址:http://api.jutuike.com/jd/get_super_category
  • 请求方式:GET/POST

接口参数

参数名称 参数类型 是否必须 示例 备注
apikey string 接口秘钥,请登录个人中心获取
goods_type String 1 商品一级类目: 0全部,1居家日用,2食品,3生鲜,4图书,5美妆个护,6母婴,7数码家电,8内衣,9配饰,10女装,11男装,12鞋品,13家装家纺,14文娱车品,15箱包,16户外运动

返回参数

名称 类型 示例值 说明
J_cid int 1 一级分类ID
cname String 一级分类名称
cpic String 一级分类图标
subcid Int 二级分类ID
subcname String 二级分类名称
scpic String 二级分类图标
parent_id 1 父级分类ID

返回示例

{"code":1,"msg":"【success】","data":[{"J_cid":1,"cname":"居家日用","cpic":"http://img-jd.dtsoft.cn/b91fb20200724101953313.png","subcategories":[{"subcid":8,"subcname":"收纳整理","scpic":"http://img-jd.dtsoft.cn/10afb202007231603462985.png","parent_id":1},{"subcid":9,"subcname":"家庭清洁","scpic":"http://img-jd.dtsoft.cn/e74d120200723160352838.png","parent_id":1},{"subcid":10,"subcname":"厨具用品","scpic":"http://img-jd.dtsoft.cn/f2f66202007231603581805.png","parent_id":1},{"subcid":11,"subcname":"驱蚊除虫","scpic":"http://img-jd.dtsoft.cn/eaad9202007231604047273.png","parent_id":1},{"subcid":20,"subcname":"生活日用","scpic":"http://img-jd.dtsoft.cn/bed3f202007231604092105.png","parent_id":1},{"subcid":21,"subcname":"宠物生活","scpic":"http://img-jd.dtsoft.cn/433d0202007231604172878.png","parent_id":1},{"subcid":22,"subcname":"绿植园艺","scpic":"http://img-jd.dtsoft.cn/199de202007231604333749.png","parent_id":1},{"subcid":23,"subcname":"计生用品","scpic":"http://img-jd.dtsoft.cn/a9d78202007231604383556.png","parent_id":1},{"subcid":24,"subcname":"保健器械","scpic":"http://img-jd.dtsoft.cn/f5ad6202007231604455169.png","parent_id":1},{"subcid":25,"subcname":"纸品湿巾","scpic":"http://img-jd.dtsoft.cn/69e09202007231604516978.png","parent_id":1}]}]}