JD商品详情接口调用展示

本文展示了如何调用京东的商品详情接口,并提供了返回数据的示例,包括商品ID、标题、价格、品牌、图片URL等关键信息。此外,还列出了不同属性组合的多个SKU选项及其价格和库存。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

以下以京东某关键词搜索的调用数据作为展示案例

以下是行业内了解到的一些情况,本帖只展示部分代码,需要更多API调试请移步注册API账号

{
    "item": {
        "num_iid": "100000318251",
        "title": "立白除菌除螨洗衣液12斤套装瓶装袋装补充装家庭装天然茶籽香味持久手洗机洗婴儿宝宝可用",
        "desc_short": "",
        "price": "69.90",
        "total_price": "",
        "suggestive_price": "",
        "orginal_price": "119.90",
        "nick": null,
        "num": 33,
        "min_num": 0,
        "detail_url": "https://item.jd.com/100000318251.html#crumb-wrap",
        "pic_url": "m.360buyimg.com/mobilecms/s750x750_jfs/t1/47139/40/21137/191285/630611fbEaff01e8d/4e988aebdf5ce088.jpg",
        "brand": "立白",
        "brandId": "11380",
        "rootCatId": "15904",
        "cid": "15924",
        "created_time": "",
        "modified_time": "",
        "delist_time": "",
        "desc": "<style>.ssd-module-mobile-wrap{position:relative;margin:0 auto;width:750px;text-align:left;background-color:#fff}.ssd-module-mobile-wrap .ssd-module,.ssd-module-mobile-wrap .ssd-module-heading{width:750px;position:relative;overflow:hidden}.ssd-module-mobile-wrap .ssd-floor-activity{max-height:380px;overflow:hidden}.ssd-module-mobile-wrap .ssd-floor-shopPrior{max-height:900px;overflow:hidden}.ssd-module-mobile-wrap .ssd-floor-authorize{max-height:300px;overflow:hidden}.ssd-module-mobile-wrap .ssd-floor-reminder{max-height:4000px;overflow:hidden}.ssd-module-mobile-wrap .ssd-module{background-repeat:no-repeat;background-position:left top;background-size:100% 100%}.ssd-module-mobile-wrap .ssd-module-heading{background-repeat:no-repeat;background-position:left center;background-size:100% 100%}.ssd-module-mobile-wrap .ssd-module-heading .ssd-module-heading-layout{display:inline-block}.ssd-module-mobile-wrap .ssd-module-heading .ssd-widget-heading-ch{float:left;display:inline-block;margin:0 6px 0 15px;height:100%}.ssd-module-mobile-wrap .ssd-module-heading .ssd-widget-heading-en{float:left;display:inline-block;margin:0 15px 0 6px;height:100%}.ssd-module-mobile-wrap .ssd-widget-circle,.ssd-module-mobile-wrap .ssd-widget-line,.ssd-module-mobile-wrap .ssd-widget-pic,.ssd-module-mobile-wrap .ssd-widget-rectangle,.ssd-module-mobile-wrap .ssd-widget-table,.ssd-module-mobile-wrap .ssd-widget-text,.ssd-module-mobile-wrap .ssd-widget-triangle{position:absolute;overflow:hidden}.ssd-module-mobile-wrap .ssd-widget-rectangle{box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box}.ssd-module-mobile-wrap .ssd-widget-triangle svg{width:100%;height:100%}.ssd-module-mobile-wrap .ssd-widget-table table{width:100%;height:100%}.ssd-module-mobile-wrap .ssd-widget-table td{position:relative;white-space:pre-line;word-break:break-all}.ssd-module-mobile-wrap .ssd-widget-pic img{display:block;width:100%!important;height:100%!important}.ssd-module-mobile-wrap .ssd-widget-text{line-height:1.5;word-break:break-all}.ssd-module-mobile-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-mobile-wrap .ssd-widget-link{position:absolute;left:0;top:0;width:100%;height:100%;background:0 0;z-index:100}.ssd-module-mobile-wrap .ssd-cell-text{position:absolute;top:0;left:0;right:0;width:100%;height:100%;overflow:auto}.ssd-module-mobile-wrap .ssd-show{display:block}.ssd-module-mobile-wrap .ssd-hide{display:none}.ssd-module-mobile-wrap .M15710436473501{width:100.00%; background-color:#cbcbcb; background-size:100% 100%; background-image:url(//img30.360buyimg.com/sku/jfs/t1/71340/10/13143/8446/5da43a31E6af31f6b/813de5a9342ca78a.jpg); height:28px}\n.ssd-module-mobile-wrap .M16463789646401{width:100.00%; background-color:#e9e9e9; background-size:100% 100%; background-image:url(//img30.360buyimg.com/sku/jfs/t1/214952/2/13668/186654/6221b86fEfea2a231/246cd147d60d2e70.jpg); height:381px}\n.ssd-module-mobile-wrap .M16463789646492{width:100.00%; background-color:#cbcbcb; background-size:100% 100%; background-image:url(//img30.360buyimg.com/sku/jfs/t1/97352/37/22691/164168/6221bf3bEf3e791ef/105ca10c745a6eb5.jpg); height:400px}\n.ssd-module-mobile-wrap .M16463789646573{width:100.00%; background-color:#f2f2f2; background-size:100% 100%; background-image:url(//img30.360buyimg.com/sku/jfs/t1/94092/29/20670/513190/6221bf5cEa1d2c966/ab1e5fbd9e3565c3.jpg); height:1098px}\n.ssd-module-mobile-wrap .M16463789646644{width:100.00%; background-color:#cbcbcb; background-size:100% 100%; background-image:url(//img30.360buyimg.com/sku/jfs/t1/172654/19/28116/508842/6221bfc1E42a34a35/604eda273c83d72c.jpg); height:1107px}\n.ssd-module-mobile-wrap .M16463789646745{width:100.00%; background-color:#f2f2f2; background-size:100% 100%; background-image:url(//img30.360buyimg.com/sku/jfs/t1/111544/36/21587/380481/6221bf5cE75699f8f/c044619bff8c2965.jpg); height:826px}\n.ssd-module-mobile-wrap .M16463789646836{width:100.00%; background-color:#cbcbcb; background-size:100% 100%; background-image:url(//img30.360buyimg.com/sku/jfs/t1/144977/16/23865/271531/6221bf5aEd672846b/0afe7616bb32a26d.jpg); height:581px}\n.ssd-module-mobile-wrap .M16463789646937{width:100.00%; background-color:#e9e9e9; background-size:100% 100%; background-image:url(//img30.360buyimg.com/sku/jfs/t1/118766/16/20252/163514/6221bf59E1d4d51a8/eaf44274ed9a008c.jpg); height:468px}\n.ssd-module-mobile-wrap .M16463789647168{width:100.00%; background-color:#f2f2f2; background-size:100% 100%; background-image:url(//img30.360buyimg.com/sku/jfs/t1/94199/16/22681/335695/6221bf5cE2bc3f0be/b4d1046a1f998d0d.jpg); height:705px}\n.ssd-module-mobile-wrap .M16463789647399{width:100.00%; background-color:#cbcbcb; background-size:100% 100%; background-image:url(//img30.360buyimg.com/sku/jfs/t1/220635/9/13679/462550/6221bf5cE45c3f5a9/157ccc0e0ad143e1.jpg); height:1134px}\n.ssd-module-mobile-wrap .M164637896476010{width:100.00%; background-color:#d7d7d7; background-size:100% 100%; background-image:url(//img30.360buyimg.com/sku/jfs/t1/105366/11/24997/231845/6221bf5bEaa4bc143/70ec82b96bd65c85.jpg); height:691px}\n.ssd-module-mobile-wrap .M164637896477611{width:100.00%; background-color:#d7d7d7; background-size:100% 100%; background-image:url(//img30.360buyimg.com/sku/jfs/t1/132150/39/24191/156258/6221bf5aEb35e1821/8e9cbb3460f53f3d.jpg); height:508px}\n.ssd-module-mobile-wrap .M164637896479313{width:100.00%; background-color:#cbcbcb; background-size:100% 100%; background-image:url(//img30.360buyimg.com/sku/jfs/t1/116413/40/20397/365284/6221bf5bE99a7a4c7/45d91fe9a651fe69.jpg); height:1039px}\n.ssd-module-mobile-wrap .M164637896481714{width:100.00%; background-color:#b3b3b3; background-size:100% 100%; background-image:url(//img30.360buyimg.com/sku/jfs/t1/100515/28/24931/414995/6221bf5cE7316c688/69645c2ffdb8f0d0.jpg); height:979px}\n.ssd-module-mobile-wrap .M164637896483015{width:100.00%; background-color:#e9e9e9; background-size:100% 100%; background-image:url(//img30.360buyimg.com/sku/jfs/t1/132646/35/23816/371849/6221bf5cE6fd1e244/5395b592d2986b25.jpg); height:806px}\n.ssd-module-mobile-wrap .M16478453422691{width:100.00%; background-color:#d7d7d7; background-size:100% 100%; background-image:url(//img30.360buyimg.com/sku/jfs/t1/113166/14/23612/517982/62381fd9E7552169b/ce68e46c3d796d68.jpg); height:1085px}\n.ssd-module-mobile-wrap .M164637896487118{width:100.00%; background-color:#d7d7d7; background-size:100% 100%; background-image:url(//img30.360buyimg.com/sku/jfs/t1/96690/7/24254/367446/6221bf5cE994eb964/fde4b147a090ea2a.jpg); height:850px}\n.ssd-module-mobile-wrap .M164637896488519{width:100.00%; background-color:#f2f2f2; background-size:100% 100%; background-image:url(//img30.360buyimg.com/sku/jfs/t1/107234/36/23729/247412/6221bf5bEfed28a75/160e8ad251c17f77.jpg); height:728px}\n.ssd-module-mobile-wrap .M164637896489920{width:100.00%; background-color:#d7d7d7; background-size:100% 100%; background-image:url(//img30.360buyimg.com/sku/jfs/t1/98429/21/22465/282819/6221bf5bEb10edafa/0257f4d365b76306.jpg); height:460px}\n</style><div id=\"zbViewWeChatMiniImages\"  style=\"display: none;\" value=\"/sku/jfs/t1/149528/24/24530/3759/62381ff3E5b0c21ae/5d6d419d169a3217.jpg,/sku/jfs/t1/92528/31/25449/49360/62381ff2Ecc246fbd/39d4feac57a5cb17.jpg,/sku/jfs/t1/104193/11/26056/49739/62381ff2E0a0cb850/48386319e5049114.jpg,/sku/jfs/t1/178063/37/22207/119225/62381ff2E42f6f2c7/f1e01b27f76cf946.jpg,/sku/jfs/t1/102288/13/25252/106588/62381ff2E9755ac00/e9c2b88c4c04cddb.jpg,/sku/jfs/t1/126728/23/25566/83981/62381ff2Ee85e9ea6/3fb2e04825395e7a.jpg,/sku/jfs/t1/85043/27/22915/65021/62381ff2E23ba7adb/7b8fce999f8c5974.jpg,/sku/jfs/t1/183645/27/21703/39817/62381ff2E242296be/13d0ce9d18eac757.jpg,/sku/jfs/t1/120351/38/24343/85739/62381ff2E05d82fcc/e9cb0f12011a5afd.jpg,/sku/jfs/t1/125159/9/26695/105165/62381ff2E3a46eb06/5e95a5f2240814da.jpg,/sku/jfs/t1/112845/14/23836/49079/62381ff2E4dd0e30c/57aacdac81d2f1e1.jpg,/sku/jfs/t1/118175/23/22562/28807/62381ff2Ee048fce5/d146a137ed11e685.jpg,/sku/jfs/t1/107146/35/26842/74775/62381ff2Edbeca31a/8ef968aaf84d5385.jpg,/sku/jfs/t1/124646/23/25473/92031/62381ff2Ea79b7f25/1d5322cdbcd88b86.jpg,/sku/jfs/t1/184818/34/21770/78469/62381ff2Ed6000557/f261fcf2a5a15f31.jpg,/sku/jfs/t1/221052/10/13639/68705/62381ff2E2c15cb10/dec6520b50b09b2f.jpg,/sku/jfs/t1/94545/17/26390/119140/62381ff2E

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值