淘宝联盟API
京东联盟API
拼多多API
开放平台API
美团联盟
电影票/肯德基
考拉海购
优惠加油
文娱直充
饿了么
滴滴
喵有券联盟
淘宝联盟API
京东联盟API
拼多多API
开放平台API
美团联盟
电影票/肯德基
考拉海购
优惠加油
文娱直充
饿了么
滴滴
喵有券联盟
常见问题
点击获取APKEY

正常 获取商品综合信息 接口在线测试

获取商品信息,包含标题、主图、店铺信息、优惠券信息、详情图等

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

使用说明

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

请求参数

参数 类型 请求参数参考值 是否必须 说明
apkey String xxxxxxx 用户中心 - 系统设置 - 平台设置 中查看APKEY密钥 (点我获取)*必要
skuid String 100003961325 商品id
sceneId String 1 新增sceneId字段(场景ID),支持入参1,2。1、skuIds字段:仅sceneId=2时支持入参

返回参数

返回参数 类型 参数说明 扩展说明
ItemInfo Json 商品基础信息
descPic Json 详情图
itemCouponInfo Json 商品优惠券等信息

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 数据获取失败
401 IP没有添加白名单
429 访问次数超限
403 关键参数丢失
405 请求方式不对