京东商品详情接口:深度技术解析与全量JSON返回参考
# 前言 ## 一、 接口概述与核心价值 京东商品详情接口。该接口旨在为电商ERP系统、智能选品工具、CPS导购平台及跨平台铺货软件提供合规、稳定且实时的商品结构化数据。 通过传入唯一的商品SKU ID,开发者可一次性获取包含基础信息、价格体系、多规格SKU、高清素材及口碑评价在内的全维度数据。相比传统网页爬虫,该接口具备极高的稳定性与合规性,能有效解决反爬拦截、数据字段缺失及更新滞后等痛点,是构建京东生态数字化业务的核心底层能力。 ## 二、 核心调用规范 - **接口名称**:`jd.item get` - **请求**:`o0b.cn/anzexi` (注:实际开发中请以京东联盟最新官方文档为准,部分第三方聚合服务可能使用不同网关) - **请求方式**:HTTPS POST - **返回格式**:JSON - **鉴权机制**:AppKey + AppSecret + HMAC-SHA256 签名(需传入 `timestamp` 和 `nonce` 防重放) - **核心入参**:`skuId` (Long类型,京东商品唯一标识) ## 三、 全量标准JSON返回示例 以下示例展示了一个包含所有核心业务字段的完整返回结构。该数据结构经过标准化处理,可直接用于前端渲染、数据库入库或业务逻辑计算。 ``` json{ "jd_union_open_goods_detail_query_response": { "code": "0", "msg": "success", "requestId": "req_20261010163055889", "result": { "goodsInfo": { "skuId": "100065474274", "spuId": "100065474200", "title": "夏季纯棉宽松短袖女 纯色百搭基础T恤多色可选 透气吸汗", "subTitle": "官方旗舰 正品保证 极速发货", "brandName": "简禾", "brandId": "123456", "categoryName": "女装 > T恤 > 短袖T恤", "categoryId": "1315,1316,1317", "shopName": "简禾官方旗舰店", "shopId": "1000001234", "shopType": "pop", "isJdSelf": false, "itemUrl": "https://item.jd.com/100065474274.html", "videoUrl": "https://vod.jd.com/video/123456.mp4", "priceInfo": { "originalPrice": "79.90", "discountPrice": "59.00", "lowestPrice30Days": "55.00", "priceStatus": "normal" }, "couponInfo": { "hasCoupon": true, "couponList": [ { "couponId": "cp12345678", "couponDiscount": "10.00", "couponDesc": "满59减10元店铺优惠券", "startTime": "2026-10-01 00:00:00", "endTime": "2026-10-31 23:59:59", "quotaLimit": 1 } ], "finalPrice": "49.00" }, "commissionInfo": { "commissionRate": "12.50", "commissionMoney": "6.13", "commissionType": "general", "plusCommissionRate": "15.00", "plusCommissionMoney": "7.35" }, "salesInfo": { "totalSales": 9650, "monthSales": 2360, "dailySales": 120, "salesTrend": "rising" }, "stockInfo": { "totalStock": 460, "isSale": true, "stockStatus": "in_stock", "deliveryType": "express", "freightFee": "0.00" }, "imageInfo": { "mainImg": "https://img.jd.com/imgextra/i1/main.jpg", "whiteBgImg": "https://img.jd.com/imgextra/i1/white_bg.jpg", "detailImgList": [ "https://img.jd.com/imgextra/i1/detail_01.jpg", "https://img.jd.com/imgextra/i1/detail_02.jpg", "https://img.jd.com/imgextra/i1/detail_03.jpg", "https://img.jd.com/imgextra/i1/detail_04.jpg" ], "colorImageList": [ { "color": "白色", "imageUrl": "https://img.jd.com/imgextra/i1/color_white.jpg" }, { "color": "黑色", "imageUrl": "https://img.jd.com/imgextra/i1/color_black.jpg" } ] }, "skuList": [ { "skuId": "10006547427401", "specText": "白色 M", "specs": [ {"name": "颜色", "value": "白色"}, {"name": "尺码", "value": "M"} ], "skuPrice": "59.00", "skuStock": 180, "skuImage": "https://img.jd.com/imgextra/i1/sku_white_m.jpg", "isAvailable": true }, { "skuId": "10006547427402", "specText": "黑色 XL", "specs": [ {"name": "颜色", "value": "黑色"}, {"name": "尺码", "value": "XL"} ], "skuPrice": "59.00", "skuStock": 125, "skuImage": "https://img.jd.com/imgextra/i1/sku_black_xl.jpg", "isAvailable": true }, { "skuId": "10006547427403", "specText": "红色 S", "specs": [ {"name": "颜色", "value": "红色"}, {"name": "尺码", "value": "S"} ], "skuPrice": "59.00", "skuStock": 0, "skuImage": "https://img.jd.com/imgextra/i1/sku_red_s.jpg", "isAvailable": false } ], "productParams": [ {"name": "面料", "value": "100%纯棉"}, {"name": "版型", "value": "宽松常规"}, {"name": "适用季节", "value": "夏季"}, {"name": "袖长", "value": "短袖"}, {"name": "领型", "value": "圆领"}, {"name": "风格", "value": "休闲风"} ], "commentSummary": { "goodRateShow": "96.5", "commentCount": 1420, "goodCount": 1370, "generalCount": 35, "poorCount": 15, "defaultGoodComment": "质量很好,穿着舒适,物流很快!", "tags": [ {"tagName": "面料舒适", "tagCount": 520}, {"tagName": "版型好看", "tagCount": 310}, {"tagName": "物流快", "tagCount": 200} ] }, "serviceTags": [ "七天无理由退货", "运费险", "极速退款", "官方质保" ] } } } } ```