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

正常 获取商品综合信息

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

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

使用说明

获取商品信息,包含标题、主图、店铺信息、优惠券信息、详情图等,禁止批量调用此接口

重构前数据格式:

{"ItemInfo":[{"unitPrice":10499}],"descPic":["//img11.360buyimg.com/cms/jfs/t1/71363/36/5512/195605/5d3a9e7aE839c0a14/f24477a389882690.jpg"],"itemCouponInfo":{"brandCode":"14026"}}

重构后数据格式:

{"code":200,"data":{"ItemInfo":[{"unitPrice":11499}],"descPic":["//img14.360buyimg.com/cms/jfs/t1/96011/37/9851/194079/5e155110E321d43d4/77369e8b4f4c1b33.jpg"],"itemCouponInfo":{"brandCode":"14026"}},"msg":"success"}

变更说明:

将原数据放到data字段下,其他数据格式不变

请求参数

参数类型请求参数参考值是否必须说明
apkeyStringxxxxxxx用户中心 - 系统设置 - 平台设置 中查看APKEY密钥 (点击进入)*必要
skuidString100003961325商品id

返回参数

返回参数类型参数说明扩展说明
ItemInfoJson商品基础信息
descPicJson详情图
itemCouponInfoJson商品优惠券等信息

Json返回示例

{"code":200,"data":{"ItemInfo":[{"unitPrice":11499,"materialUrl":"http://item.jd.com/100003961325.html","endDate":1585584000000,"isFreeFreightRisk":0,"isFreeShipping":2,"commisionRatioWl":0.8,"commisionRatioPc":0.8,"imgUrl":"http://img14.360buyimg.com/n1/jfs/t1/77650/2/15765/58979/5dd26e36E1b34eada/d8f007dee376339a.jpg","vid":1000000127,"cidName":"电脑、办公","wlUnitPrice":11499,"cid2Name":"电脑整机","isSeckill":0,"cid2":671,"cid3Name":"笔记本","inOrderCount":20159,"cid3":672,"shopId":1000000127,"isJdSale":1,"goodsName":"Apple 2019款 MacBook Pro 13.3【带触控栏】八代i5 8G 256G RP645显卡 银色 笔记本电脑 MUHR2CH/A","skuId":100003961325,"startDate":1561910400000,"cid":670}],"descPic":["//img14.360buyimg.com/cms/jfs/t1/96011/37/9851/194079/5e155110E321d43d4/77369e8b4f4c1b33.jpg","//img13.360buyimg.com/cms/jfs/t1/9270/33/12605/63298/5c380af6E6717abf5/27c54bb0375207c4.jpg","//img10.360buyimg.com/cms/jfs/t1/77929/26/4538/253963/5d2c03d4Ee13a7467/2d555dd57237b6e2.jpg","//img11.360buyimg.com/cms/jfs/t1/78605/2/4615/297186/5d2c03d4E6f3d13e7/eacab66af656e5f5.jpg","//img14.360buyimg.com/cms/jfs/t1/67507/17/4628/312554/5d2c03d4E025cca03/5950b15dbab0dc4d.jpg","//img14.360buyimg.com/cms/jfs/t1/34642/19/15015/259111/5d2c03d3E381b5be3/618b33808cd4efe2.jpg","//img14.360buyimg.com/cms/jfs/t1/58366/11/5012/440626/5d2c03d4E16261af9/0d920991a4d8d94d.jpg","//img11.360buyimg.com/cms/jfs/t1/49002/16/5173/294540/5d2c03d4Ef8b9e089/8d0df2b67cb08192.jpg","//img11.360buyimg.com/cms/jfs/t1/35615/14/14881/333773/5d2c03d4E9867709d/6bea3f64b17446c7.jpg","//img11.360buyimg.com/cms/jfs/t1/49680/40/5025/150372/5d2c03d3E1532e756/a5d5ac9e67275278.jpg"],"itemCouponInfo":{"brandCode":"14026","brandName":"Apple","categoryInfo":{"cid1":670,"cid1Name":"电脑、办公","cid2":671,"cid2Name":"电脑整机","cid3":672,"cid3Name":"笔记本"},"comments":77679,"commissionInfo":{"commission":91.99,"commissionShare":0.8},"couponInfo":{"couponList":[]},"goodCommentsShare":93,"imageInfo":{"imageList":[{"url":"http://img14.360buyimg.com/ads/jfs/t1/77650/2/15765/58979/5dd26e36E1b34eada/d8f007dee376339a.jpg"},{"url":"http://img14.360buyimg.com/ads/jfs/t1/101864/15/2582/13314/5dd26e36Edefd1f8e/69150e99c083f4bf.jpg"}]},"inOrderComm30Days":1654390.45,"inOrderCount30Days":19862,"isHot":0,"isJdSale":1,"materialUrl":"item.jd.com/100003961325.html","owner":"g","pinGouInfo":[],"pingGouInfo":[],"priceInfo":{"lowestPrice":11499,"lowestPriceType":1,"price":11499},"shopInfo":{"shopId":1000000127,"shopName":"Apple产品京东自营旗舰店"},"skuId":100003961325,"skuName":"Apple 2019款 MacBook Pro 13.3【带触控栏】八代i5 8G 256G RP645显卡 银色 笔记本电脑 MUHR2CH/A","spuid":100005855232,"videoInfo":[]}},"msg":"success"}

code/http_status说明

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