电商卖货,所有产品信息都是通过商品的主图、详情图、商品描述展示出来的。做一个简洁大方又能把产品特点介绍清楚的商品详情信息非常重要。在现有的淘宝京东拼多多等平台,有大量的商品数据,基本你做什么产品都能找到同类的产品信息。如果能够一键获取到这些商品数据,电商工作将节省大量人力物力的同时还能避免很多错误。
item_get_desc-获得京东商品描述
以上接口就是通过输入商品ID抓取到商品的详情描述数据的API接口,调用简单,采集高效。
公共参数
名称 | 类型 | 必须 | 描述 |
---|---|---|---|
key | String | 是 | 调用key(点此进入测试) |
secret | String | 是 | 调用密钥 |
api_name | String | 是 | API接口名称(包括在请求地址中)[item_search,item_get,item_search_shop等] |
cache | String | 否 | [yes,no]默认yes,将调用缓存的数据,速度比较快 |
result_type | String | 否 | [json,jsonu,xml,serialize,var_export]返回数据格式,默认为json,jsonu输出的内容中文可以直接阅读 |
lang | String | 否 | [cn,en,ru]翻译语言,默认cn简体中文 |
version | String | 否 | API版本 |
请求参数
请求参数:num_iid=100049835231&main_sku_id=100049835231
参数说明:num_iid:京东商品ID
main_sku_id:京东商品主ID(item_get接口可获取)
响应参数
Version: Date:
名称 | 类型 | 必须 | 示例值 | 描述 |
---|---|---|---|---|
desc | String | 0 | [] | 商品描述 |
响应示例
"item": {
"desc": "<style>.ssd-module-wrap{position:relative;margin:0 auto;width:750px;text-align:left;background-color:#fff}.ssd-module-wrap .ssd-module,.ssd-module-wrap .ssd-module-heading{width:750px;position:relative;overflow:hidden}.ssd-module-wrap .ssd-floor-activity{max-height:380px;overflow:hidden}.ssd-module-wrap .ssd-floor-shopPrior{max-height:900px;overflow:hidden}.ssd-module-wrap .ssd-floor-authorize{max-height:300px;overflow:hidden}.ssd-module-wrap .ssd-floor-reminder{max-height:4000px;overflow:hidden}.ssd-module-wrap .ssd-module{background-repeat:no-repeat;background-position:left top;background-size:100% 100%}.ssd-module-wrap .ssd-module-heading{background-repeat:no-repeat;background-position:left center;background-size:100% 100%}.ssd-module-wrap .ssd-module-heading .ssd-module-heading-layout{display:inline-block}.ssd-module-wrap .ssd-module-heading .ssd-widget-heading-ch{float:left;display:inline-block;margin:0 6px 0 15px;height:100%}.ssd-module-wrap .ssd-module-heading .ssd-widget-heading-en{float:left;display:inline-block;margin:0 15px 0 6px;height:100%}.ssd-module-wrap .ssd-widget-circle,.ssd-module-wrap .ssd-widget-line,.ssd-module-wrap .ssd-widget-pic,.ssd-module-wrap .ssd-widget-rectangle,.ssd-module-wrap .ssd-widget-table,.ssd-module-wrap .ssd-widget-text,.ssd-module-wrap .ssd-widget-triangle{position:absolute;overflow:hidden}.ssd-module-wrap .ssd-widget-rectangle{box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box}.ssd-module-wrap .ssd-widget-triangle svg{width:100%;height:100%}.ssd-module-wrap .ssd-widget-table table{width:100%;height:100%}.ssd-module-wrap .ssd-widget-table td{position:relative;white-space:pre-line;word-break:break-all}.ssd-module-wrap .ssd-widget-pic img{display:block;width:100%;height:100%}.ssd-module-wrap .ssd-widget-text{line-height:1.5;word-break:break-all}.ssd-module-wrap .ssd-widget-text span{display:block;overflow:hidden;width:100%;height:100%;padding:0;margin:0;word-break:break-all;word-wrap:break-word;white-space:normal}.ssd-module-wrap .ssd-widget-link{position:absolute;left:0;top:0;width:100%;height:100%;background:0 0;z-index:100}.ssd-module-wrap .ssd-cell-text{position:absolute;top:0;left:0;right:0;width:100%;height:100%;overflow:auto}.ssd-module-wrap .ssd-show{display:block}.ssd-module-wrap .ssd-hide{display:none}.ssd-module-wrap .M169277020627228{width:750px; background-color:#f2f2f2; background-size:100% 100%; background-image:url(//img30.360buyimg.com/sku/jfs/t1/196254/36/36458/71210/64e59f9aF704754a1/51ef5fe1dcbfebd1.jpg); height:1175px}\n.ssd-module-wrap .M169277020679929{width:750px; background-color:#b3b3b3; background-size:100% 100%; background-image:url(//img30.360buyimg.com/sku/jfs/t1/119482/1/38996/21684/64e59f94F3f17b6bb/ca335d1aad593a5c.jpg); height:319px}\n.ssd-module-wrap .M169277020705230{width:750px; background-color:#b3b3b3; background-size:100% 100%; background-image:url(//img30.360buyimg.com/sku/jfs/t1/113858/23/40297/43574/64e59f99F2bc92c90/6c0a82dd01cc7454.jpg); height:1014px}\n.ssd-module-wrap .M169277020744332{width:750px; background-color:#d7d7d7; background-size:100% 100%; background-image:url(//img30.360buyimg.com/sku/jfs/t1/107483/22/44615/23394/64e59f94Fbec94cd3/bc81a8eb529fbc1d.jpg); height:349px}\n.ssd-module-wrap .M169277020766633{width:750px; background-color:#f2f2f2; background-size:100% 100%; background-image:url(//img30.360buyimg.com/sku/jfs/t1/214452/37/35333/148179/64e59f9aF92f144a3/ed6d231dfb9b46ec.jpg); height:1329px}\n.ssd-module-wrap .M169277020834734{width:750px; background-color:#f2f2f2; background-size:100% 100%; background-image:url(//img30.360buyimg.com/sku/jfs/t1/94546/23/39184/4949/64e59f94F6bcff3a9/1bf2be6795c48c84.jpg); height:272px}\n.ssd-module-wrap .M169277020856736{width:750px; background-color:#e9e9e9; background-size:100% 100%; background-image:url(//img30.360buyimg.com/sku/jfs/t1/184158/30/36358/23906/64e59f97F29b3482b/b324ebce7b5aec8f.jpg); height:892px}\n.ssd-module-wrap .M169277020889337{width:750px; background-color:#b3b3b3; background-size:100% 100%; background-image:url(//img30.360buyimg.com/sku/jfs/t1/150424/14/36468/71398/64e59f9aF135ebc43/f454b601ab6bd9db.jpg); height:1302px}\n.ssd-module-wrap .M169277020979238{width:750px; background-color:#cbcbcb; background-size:100% 100%; background-image:url(//img30.360buyimg.com/sku/jfs/t1/169117/1/40296/78910/64e59f9bF37031425/663ebd1573a117ad.jpg); height:1179px}\n.ssd-module-wrap .M169277021044139{width:750px; background-color:#d7d7d7; background-size:100% 100%; background-image:url(//img30.360buyimg.com/sku/jfs/t1/177681/17/36882/70300/64e59f9aFab5f41b3/0071cb44b43f77fb.jpg); height:1179px}\n.ssd-module-wrap .M169277021085040{width:750px; background-color:#e9e9e9; background-size:100% 100%; background-image:url(//img30.360buyimg.com/sku/jfs/t1/190159/14/36884/57116/64e59f98Fc74542f5/49eeb66e08507d47.jpg); height:1117px}\n.ssd-module-wrap .M169277021126841{width:750px; background-color:#cbcbcb; background-size:100% 100%; background-image:url(//img30.360buyimg.com/sku/jfs/t1/139203/23/38793/16681/64e59f95F354f0581/9c4da8599e491b99.png); height:400px}\n.ssd-module-wrap .M169277021165442{width:750px; background-color:#d7d7d7; background-size:100% 100%; background-image:url(//img30.360buyimg.com/sku/jfs/t1/180464/26/36125/47421/64e59f95F87eacbfc/4ebbf268ef704292.png); height:612px}\n.ssd-module-wrap .M169277021206343{width:750px; background-color:#f2f2f2; background-size:100% 100%; background-image:url(//img30.360buyimg.com/sku/jfs/t1/95333/2/36540/25746/64e59f96F9e7f065a/dee72debefb8bccb.png); height:500px}\n.ssd-module-wrap .M169277021236544{width:750px; background-color:#f2f2f2; background-size:100% 100%; background-image:url(//img30.360buyimg.com/sku/jfs/t1/117640/20/41240/4750/64e59f94Fbf20ed68/82ceed9005038930.jpg); height:192px}\n.ssd-module-wrap .M169277021257846{width:750px; background-color:#e9e9e9; background-size:100% 100%; background-image:url(//img30.360buyimg.com/sku/jfs/t1/192311/10/36235/41954/64e59f9aFebd48d86/804f549cdf241f62.jpg); height:1169px}\n.ssd-module-wrap .M169277021291947{width:750px; background-color:#f2f2f2; background-size:100% 100%; background-image:url(//img30.360buyimg.com/sku/jfs/t1/138926/29/39486/4596/64e59f94F2b76d234/60d5ea056f64e176.jpg); height:275px}\n.ssd-module-wrap .M169277021312148{width:750px; background-color:#cbcbcb; background-size:100% 100%; background-image:url(//img30.360buyimg.com/sku/jfs/t1/196652/9/36865/8481/64e59f96Fbbdc8bb3/151b1c29ae30a02c.jpg); height:1309px}\n.ssd-module-wrap .M169277021341249{width:750px; background-color:#b3b3b3; background-size:100% 100%; background-image:url(//img30.360buyimg.com/sku/jfs/t1/221952/1/35328/28007/64e59f99Fd97f2003/93431e735717a6f1.jpg); height:1535px}\n.ssd-module-wrap .M169277021373150{width:750px; background-color:#f2f2f2; background-size:100% 100%; background-image:url(//img30.360buyimg.com/sku/jfs/t1/116837/26/40879/57963/64e59f99Ff9977a8e/8e81eb57d4bab704.jpg); height:1272px}\n.ssd-module-wrap .M169277021426851{width:750px; background-color:#d7d7d7; background-size:100% 100%; background-image:url(//img30.360buyimg.com/sku/jfs/t1/202763/21/32974/106754/64e59f9aFc485164e/8dc4a75bcda1e176.jpg); height:1056px}\n.ssd-module-wrap .M169277021492952{width:750px; background-color:#e9e9e9; background-size:100% 100%; background-image:url(//img30.360buyimg.com/sku/jfs/t1/92421/6/41625/63985/64e59f98F4b97c960/c50480a029335316.jpg); height:574px}\n.ssd-module-wrap .M169277021535253{width:750px; background-color:#cbcbcb; background-size:100% 100%; background-image:url(//img30.360buyimg.com/sku/jfs/t1/87900/28/32553/24113/64e59f96Fa011e1c9/bedcc21e79cb0a1b.jpg); height:783px}\n.ssd-module-wrap .M169277021570254{width:750px; background-color:#e9e9e9; background-size:100% 100%; background-image:url(//img30.360buyimg.com/sku/jfs/t1/222900/35/31934/19529/64e59f96F8acaa0c3/d1792cfb2961535f.jpg); height:832px}\n.ssd-module-wrap .M169277021603755{width:750px; background-color:#cbcbcb; background-size:100% 100%; background-image:url(//img30.360buyimg.com/sku/jfs/t1/96330/37/42728/26625/64e59f96F28064ae5/eafca74f9c444aa4.jpg); height:833px}\n.ssd-module-wrap .M169277021651356{width:750px; background-color:#e9e9e9; background-size:100% 100%; background-image:url(//img30.360buyimg.com/sku/jfs/t1/90385/14/32645/6943/64e59f95F58c304d8/8b9941f1b4c2c4b0.jpg); height:450px}\n.ssd-module-wrap .M169277021679657{width:750px; background-color:#f2f2f2; background-size:100% 100%; background-image:url(//img30.360buyimg.com/sku/jfs/t1/197277/4/32418/65986/64e59f97Ff43c8987/cbfdea33fc1519aa.jpg); height:630px}\n.ssd-module-wrap .M169277021725358{width:750px; background-color:#e9e9e9; background-size:100% 100%; background-image:url(//img30.360buyimg.com/sku/jfs/t1/187172/18/37040/151703/64e59f9aF838b3380/f9dff49aea7d50b9.jpg); height:1015px}\n.ssd-module-wrap .M169277021796559{width:750px; background-color:#d7d7d7; background-size:100% 100%; background-image:url(//img30.360buyimg.com/sku/jfs/t1/163432/33/40439/95454/64e59f98F6a12e2f5/aa931b7bb3cfb2dd.jpg); height:609px}\n.ssd-module-wrap .M169277021864160{width:750px; background-color:#b3b3b3; background-size:100% 100%; background-image:url(//img30.360buyimg.com/sku/jfs/t1/110923/2/41336/47927/64e59f97Fc51b22f1/5ad07cf7e8306087.jpg); height:576px}\n.ssd-module-wrap .M169277021898861{width:750px; background-color:#f2f2f2; background-size:100% 100%; background-image:url(//img30.360buyimg.com/sku/jfs/t1/159103/5/40410/12732/64e59f95F8b9c2d55/2f6fac117124621a.jpg); height:624px}\n</style><br/><div cssurl='//sku-market-gw.jd.com/css/pc/100049835231.css?t=1692770784840'></div><div id='zbViewModulesH' value='25373'></div><input id='zbViewModulesHeight' type='hidden' value='25373'/><div skudesign=\"100010\"></div><div class=\"ssd-module-wrap\" >\n <div class=\"ssd-module M169277020627228 animate-M169277020627228\" data-id=\"M169277020627228\">\n \n</div>\n<div class=\"ssd-module M169277020679929 animate-M169277020679929\" data-id=\"M169277020679929\">\n \n</div>\n<div class=\"ssd-module M169277020705230 animate-M169277020705230\" data-id=\"M169277020705230\">\n \n</div>\n<div class=\"ssd-module M169277020744332 animate-M169277020744332\" data-id=\"M169277020744332\">\n \n</div>\n<div class=\"ssd-module M169277020766633 animate-M169277020766633\" data-id=\"M169277020766633\">\n \n</div>\n<div class=\"ssd-module M169277020834734 animate-M169277020834734\" data-id=\"M169277020834734\">\n \n</div>\n<div class=\"ssd-module M169277020856736 animate-M169277020856736\" data-id=\"M169277020856736\">\n \n</div>\n<div class=\"ssd-module M169277020889337 animate-M169277020889337\" data-id=\"M169277020889337\">\n \n</div>\n<div class=\"ssd-module M169277020979238 animate-M169277020979238\" data-id=\"M169277020979238\">\n \n</div>\n<div class=\"ssd-module M169277021044139 animate-M169277021044139\" data-id=\"M169277021044139\">\n \n</div>\n<div class=\"ssd-module M169277021085040 animate-M169277021085040\" data-id=\"M169277021085040\">\n \n</div>\n<div class=\"ssd-module M169277021126841 animate-M169277021126841\" data-id=\"M169277021126841\">\n \n</div>\n<div class=\"ssd-module M169277021165442 animate-M169277021165442\" data-id=\"M169277021165442\">\n \n</div>\n<div class=\"ssd-module M169277021206343 animate-M169277021206343\" data-id=\"M169277021206343\">\n \n</div>\n<div class=\"ssd-module M169277021236544 animate-M169277021236544\" data-id=\"M169277021236544\">\n \n</div>\n<div class=\"ssd-module M169277021257846 animate-M169277021257846\" data-id=\"M169277021257846\">\n \n</div>\n<div class=\"ssd-module M169277021291947 animate-M169277021291947\" data-id=\"M169277021291947\">\n \n</div>\n<div class=\"ssd-module M169277021312148 animate-M169277021312148\" data-id=\"M169277021312148\">\n \n</div>\n<div class=\"ssd-module M169277021341249 animate-M169277021341249\" data-id=\"M169277021341249\">\n \n</div>\n<div class=\"ssd-module M169277021373150 animate-M169277021373150\" data-id=\"M169277021373150\">\n \n</div>\n<div class=\"ssd-module M169277021426851 animate-M169277021426851\" data-id=\"M169277021426851\">\n \n</div>\n<div class=\"ssd-module M169277021492952 animate-M169277021492952\" data-id=\"M169277021492952\">\n \n</div>\n<div class=\"ssd-module M169277021535253 animate-M169277021535253\" data-id=\"M169277021535253\">\n \n</div>\n<div class=\"ssd-module M169277021570254 animate-M169277021570254\" data-id=\"M169277021570254\">\n \n</div>\n<div class=\"ssd-module M169277021603755 animate-M169277021603755\" data-id=\"M169277021603755\">\n \n</div>\n<div class=\"ssd-module M169277021651356 animate-M169277021651356\" data-id=\"M169277021651356\">\n \n</div>\n<div class=\"ssd-module M169277021679657 animate-M169277021679657\" data-id=\"M169277021679657\">\n \n</div>\n<div class=\"ssd-module M169277021725358 animate-M169277021725358\" data-id=\"M169277021725358\">\n \n</div>\n<div class=\"ssd-module M169277021796559 animate-M169277021796559\" data-id=\"M169277021796559\">\n \n</div>\n<div class=\"ssd-module M169277021864160 animate-M169277021864160\" data-id=\"M169277021864160\">\n \n</div>\n<div class=\"ssd-module M169277021898861 animate-M169277021898861\" data-id=\"M169277021898861\">\n \n</div>\n\n </div>\n<!-- 2023-08-23 01:57:04 --> <br/><script></script><br/>",
"data_from": "app"
},
"error": "",
"reason": "",
"error_code": "0000",