首页 > 其他分享 >阿里巴巴中国站获得1688商品详情 API

阿里巴巴中国站获得1688商品详情 API

时间:2024-03-18 17:33:04浏览次数:39  
标签:阿里巴巴 img value API https 1688 2272041426 com name

公共参数

名称类型必须描述
keyString申请免费调用key(必须以GET方式拼接在URL中)
secretString调用密钥
api_nameStringAPI接口名称(包括在请求地址中)[item_search,item_get,item_search_shop等]
cacheString[yes,no]默认yes,将调用缓存的数据,速度比较快
result_typeString[json,jsonu,xml,serialize,var_export]返回数据格式,默认为json,jsonu输出的内容中文可以直接阅读
langString[cn,en,ru]翻译语言,默认cn简体中文
versionStringAPI版本

请求参数

请求参数:num_iid=610947572360

参数说明:num_iid:1688商品ID
sales_data:&sales_data=1 获取近30天成交数据
agent:&agent=1 获取1688分销代发价格数据

返回数据:

{
    "item":{
        "num_iid":601824709263,
        "title":"韩版仿兔毛围巾秋冬毛毛围巾学生毛毛绒围脖冬季女套头防寒户外",
        "desc_short":"",
        "price":"2.2",
        "total_price":0,
        "suggestive_price":0,
        "orginal_price":"2.2",
        "nick":"_sopid@BBBEbRNm7OS0uGCXPJucMBy2w",
        "num":3786174,
        "min_num":2,
        "detail_url":"https://detail.1688.com/offer/601824709263.html",
        "pic_url":"https://cbu01.alicdn.com/img/ibank/11921650503_1818272533.jpg",
        "brand":"",
        "brandId":"",
        "rootCatId":0,
        "cid":325,
        "crumbs":[

        ],
        "created_time":"",
        "modified_time":"",
        "delist_time":"",
        "desc":"<div id=\"offer-template-0\"></div><div > </div>\r\n<div ><span ><strong> <span >材质:双面仿兔毛毛绒面料,</span></strong></span></div>\r\n<div ><span ><strong><span >不掉毛(不是薄薄的单面哦)</span></strong></span></div>\r\n<div ><span ><strong ><span >厚款3.39元</span></strong></span></div>\r\n<div ><span ><strong><span ><span >普通款2.38元</span></span></strong></span></div>\r\n<div ><span ><strong><span ><span >每条围巾都是独立OPP袋子包装,放心选购!</span></span></strong></span></div>\r\n<div ><span ><strong><span >现货供应,厂家直销,没有中间商赚差价,有大量可以谈价,有量有价</span></strong></span></div>\r\n<div ><span ><strong><span >(抖音,快手,直播电商福利品,天猫,淘宝,PDD,跨境电商供应商)</span></strong></span></div>\r\n<div ><strong><span ><span ><span >这款围巾是不掉毛的,有些激光高温裁剪残留的浮毛,抖抖就好了哦。</span></span></span></strong></div>\r\n<div > </div>\r\n<div ><span ><img src=\"https://cbu01.alicdn.com/img/ibank/O1CN01emutXa27pyd6vYZzm_!!2206475177847-0-cib.jpg\" alt=\"undefined\"/><br/><strong>此图拉拉袋包装的为客户定做款(大货是OPP透明袋独立包装)</strong><br/><img  src=\"https://img.alicdn.com/imgextra/i3/2272041426/O1CN01kFnNOl1MP9H5642lo_!!2272041426.jpg\" align=\"absmiddle\"/></span></div>\r\n<div ><img src=\"https://img.alicdn.com/imgextra/i3/2272041426/TB2lZSUX7iHJuJjSZFjXXcGvXXa_!!2272041426.jpg\" align=\"absmiddle\"/><img src=\"https://img.alicdn.com/imgextra/i2/2272041426/TB2rvmVXYSGJuJjSZFqXXXo2pXa_!!2272041426.jpg\" align=\"absmiddle\"/></div>\r\n<div > </div>\r\n<p><img src=\"https://img.alicdn.com/imgextra/i3/2272041426/O1CN01EKuyER1MP9LVqRODf_!!2272041426.jpg\" align=\"absmiddle\"/></p>\r\n<p> </p>\r\n<p><img src=\"https://img.alicdn.com/imgextra/i3/2272041426/O1CN01fH7zeu1MP9LXYMDb9_!!2272041426.jpg\" align=\"absmiddle\"/></p>\r\n<p> </p>\r\n<p><img src=\"https://img.alicdn.com/imgextra/i3/2272041426/O1CN01o03kWB1MP9LUPh2vD_!!2272041426.jpg\" align=\"absmiddle\"/></p>\r\n<p> </p>\r\n<p><img src=\"https://img.alicdn.com/imgextra/i4/2272041426/O1CN01zAl3p11MP9LTi5nZh_!!2272041426.jpg\" align=\"absmiddle\"/></p>\r\n<p> </p>\r\n<p><img src=\"https://img.alicdn.com/imgextra/i3/2272041426/O1CN01Zv9KBT1MP9LUIKRow_!!2272041426.jpg\" align=\"absmiddle\"/></p>\r\n<p> </p>\r\n<p><img src=\"https://img.alicdn.com/imgextra/i3/2272041426/O1CN01VlbKPj1MP9LU0NVFN_!!2272041426.jpg\" align=\"absmiddle\"/></p>\r\n<p> </p>\r\n<p><img src=\"https://img.alicdn.com/imgextra/i4/2272041426/O1CN01MjaoVZ1MP9LTiFjny_!!2272041426.jpg\" align=\"absmiddle\"/></p>\r\n<p> </p>\r\n<p><img src=\"https://img.alicdn.com/imgextra/i4/2272041426/O1CN01junsnm1MP9LX5bOdM_!!2272041426.jpg\" align=\"absmiddle\"/></p>\r\n<p> </p>\r\n<p><img src=\"https://img.alicdn.com/imgextra/i2/2272041426/O1CN014Dv2oq1MP9LU0KgIb_!!2272041426.jpg\" align=\"absmiddle\"/></p>\r\n<p> </p>\r\n<p><img src=\"https://img.alicdn.com/imgextra/i4/2272041426/O1CN01jNA7KZ1MP9LUHdDBF_!!2272041426.jpg\" align=\"absmiddle\"/></p>\r\n<p> </p>\r\n<p><img src=\"https://img.alicdn.com/imgextra/i3/2272041426/O1CN01JZW4Hn1MP9LUHd91D_!!2272041426.jpg\" align=\"absmiddle\"/></p>\r\n<p> </p>\r\n<p><img src=\"https://img.alicdn.com/imgextra/i3/2272041426/O1CN01nSbj2H1MP9LVqZ2mg_!!2272041426.jpg\" align=\"absmiddle\"/></p>\r\n<p> </p>\r\n<p><img src=\"https://img.alicdn.com/imgextra/i4/2272041426/O1CN01HmPSpT1MP9LSDyrsr_!!2272041426.jpg\" align=\"absmiddle\"/></p>\r\n<p> </p>\r\n<p> </p>\r\n<div >..........</div><img src=\"https://www.o0b.cn/i.php?t.png&rid=gw-4.65990d0ea4c43&p=1778786759&k=92716&t=1704529167\" style=\"display:none\" />",
        "desc_img":[
            "https://cbu01.alicdn.com/img/ibank/O1CN01emutXa27pyd6vYZzm_!!2206475177847-0-cib.jpg",
            "https://img.alicdn.com/imgextra/i3/2272041426/O1CN01kFnNOl1MP9H5642lo_!!2272041426.jpg",
            "https://img.alicdn.com/imgextra/i3/2272041426/TB2lZSUX7iHJuJjSZFjXXcGvXXa_!!2272041426.jpg",
            "https://img.alicdn.com/imgextra/i2/2272041426/TB2rvmVXYSGJuJjSZFqXXXo2pXa_!!2272041426.jpg",
            "https://img.alicdn.com/imgextra/i3/2272041426/O1CN01EKuyER1MP9LVqRODf_!!2272041426.jpg",
            "https://img.alicdn.com/imgextra/i3/2272041426/O1CN01fH7zeu1MP9LXYMDb9_!!2272041426.jpg",
            "https://img.alicdn.com/imgextra/i3/2272041426/O1CN01o03kWB1MP9LUPh2vD_!!2272041426.jpg",
            "https://img.alicdn.com/imgextra/i4/2272041426/O1CN01zAl3p11MP9LTi5nZh_!!2272041426.jpg",
            "https://img.alicdn.com/imgextra/i3/2272041426/O1CN01Zv9KBT1MP9LUIKRow_!!2272041426.jpg",
            "https://img.alicdn.com/imgextra/i3/2272041426/O1CN01VlbKPj1MP9LU0NVFN_!!2272041426.jpg",
            "https://img.alicdn.com/imgextra/i4/2272041426/O1CN01MjaoVZ1MP9LTiFjny_!!2272041426.jpg",
            "https://img.alicdn.com/imgextra/i4/2272041426/O1CN01junsnm1MP9LX5bOdM_!!2272041426.jpg",
            "https://img.alicdn.com/imgextra/i2/2272041426/O1CN014Dv2oq1MP9LU0KgIb_!!2272041426.jpg",
            "https://img.alicdn.com/imgextra/i4/2272041426/O1CN01jNA7KZ1MP9LUHdDBF_!!2272041426.jpg",
            "https://img.alicdn.com/imgextra/i3/2272041426/O1CN01JZW4Hn1MP9LUHd91D_!!2272041426.jpg",
            "https://img.alicdn.com/imgextra/i3/2272041426/O1CN01nSbj2H1MP9LVqZ2mg_!!2272041426.jpg",
            "https://img.alicdn.com/imgextra/i4/2272041426/O1CN01HmPSpT1MP9LSDyrsr_!!2272041426.jpg"
        ],
        "item_imgs":[
            {
                "url":"https://cbu01.alicdn.com/img/ibank/11921650503_1818272533.jpg"
            },
            {
                "url":"https://cbu01.alicdn.com/img/ibank/11921665153_1818272533.jpg"
            },
            {
                "url":"https://cbu01.alicdn.com/img/ibank/11884953047_1818272533.jpg"
            },
            {
                "url":"https://cbu01.alicdn.com/img/ibank/11954549050_1818272533.jpg"
            },
            {
                "url":"https://cbu01.alicdn.com/img/ibank/12483429103_1818272533.jpg"
            }
        ],
        "item_weight":"",
        "item_size":"",
        "location":"浙江省 金华市",
        "post_fee":"",
        "express_fee":"",
        "ems_fee":"",
        "shipping_to":"",
        "has_discount":"",
        "video":"https://cloud.video.taobao.com/play/u/2206475177847/p/1/e/6/t/1/238604472723.mp4",
        "is_virtual":"",
        "sample_id":"",
        "is_promotion":"",
        "props_name":"0:0:颜色:红色;0:1:颜色:黑色;0:2:颜色:白色;0:3:颜色:灰色;0:4:颜色:杏色;0:5:颜色:粉色;0:6:颜色:咖啡色;0:7:颜色:米色;0:8:颜色:卡其色",
        "prop_imgs":{
            "prop_img":[
                {
                    "properties":"0:0",
                    "url":"https://cbu01.alicdn.com/img/ibank/11884977080_1818272533.jpg"
                },
                {
                    "properties":"0:1",
                    "url":"https://cbu01.alicdn.com/img/ibank/11954549680_1818272533.jpg"
                },
                {
                    "properties":"0:2",
                    "url":"https://cbu01.alicdn.com/img/ibank/11921650503_1818272533.jpg"
                },
                {
                    "properties":"0:3",
                    "url":"https://cbu01.alicdn.com/img/ibank/11921680795_1818272533.jpg"
                },
                {
                    "properties":"0:4",
                    "url":"https://cbu01.alicdn.com/img/ibank/11954549050_1818272533.jpg"
                },
                {
                    "properties":"0:5",
                    "url":"https://cbu01.alicdn.com/img/ibank/11921689268_1818272533.jpg"
                },
                {
                    "properties":"0:6",
                    "url":"https://cbu01.alicdn.com/img/ibank/11954552765_1818272533.jpg"
                },
                {
                    "properties":"0:7",
                    "url":"https://cbu01.alicdn.com/img/ibank/O1CN01PtW77W27pyekEhcAt_!!2206475177847-0-cib.jpg"
                },
                {
                    "properties":"0:8",
                    "url":"https://cbu01.alicdn.com/img/ibank/O1CN01t2Q1ci27pyjXB0fxo_!!2206475177847-0-cib.jpg"
                }
            ]
        },
        "property_alias":"0:0:红色;0:1:黑色;0:2:白色;0:3:灰色;0:4:杏色;0:5:粉色;0:6:咖啡色;0:7:米色;0:8:卡其色",
        "props":[
            {
                "name":"品牌",
                "value":"高着"
            },
            {
                "name":"编织方法",
                "value":"经编"
            },
            {
                "name":"功能",
                "value":"保暖"
            },
            {
                "name":"适合季节",
                "value":"冬季"
            },
            {
                "name":"货号",
                "value":"WJ618"
            },
            {
                "name":"产地",
                "value":"浙江义乌"
            },
            {
                "name":"款式",
                "value":"中长"
            },
            {
                "name":"颜色",
                "value":"红色"
            },
            {
                "name":"颜色",
                "value":"黑色"
            },
            {
                "name":"颜色",
                "value":"白色"
            },
            {
                "name":"颜色",
                "value":"灰色"
            },
            {
                "name":"颜色",
                "value":"杏色"
            },
            {
                "name":"颜色",
                "value":"粉色"
            },
            {
                "name":"颜色",
                "value":"咖啡色"
            },
            {
                "name":"颜色",
                "value":"米色"
            },
            {
                "name":"颜色",
                "value":"卡其色"
            },
            {
                "name":"主要下游平台",
                "value":"淘宝"
            },
            {
                "name":"主要下游平台",
                "value":"京东"
            },
            {
                "name":"主要下游平台",
                "value":"ebay"
            },
            {
                "name":"主要下游平台",
                "value":"亚马逊"
            },
            {
                "name":"主要下游平台",
                "value":"wish"
            },
            {
                "name":"主要下游平台",
                "value":"快手"
            },
            {
                "name":"主要下游平台",
                "value":"速卖通"
            },
            {
                "name":"主要下游平台",
                "value":"天猫"
            },
            {
                "name":"主要下游平台",
                "value":"独立站"
            },
            {
                "name":"主要下游平台",
                "value":"LAZADA"
            },
            {
                "name":"主要下游平台",
                "value":"拼多多"
            },
            {
                "name":"主要下游平台",
                "value":"抖音"
            },
            {
                "name":"有可授权的自有品牌",
                "value":"否"
            },
            {
                "name":"是否跨境出口专供货源",
                "value":"是"
            },
            {
                "name":"上市年份/季节",
                "value":"2021年秋季"
            },
            {
                "name":"宽度(CM)",
                "value":"12cm"
            },
            {
                "name":"风格",
                "value":"百搭"
            },
            {
                "name":"风格",
                "value":"优雅"
            },
            {
                "name":"风格",
                "value":"极简"
            },
            {
                "name":"风格",
                "value":"休闲风"
            },
            {
                "name":"风格",
                "value":"时尚OL"
            },
            {
                "name":"风格",
                "value":"简约"
            },
            {
                "name":"风格",
                "value":"欧美"
            },
            {
                "name":"风格",
                "value":"轻奢风"
            },
            {
                "name":"风格",
                "value":"chic风"
            },
            {
                "name":"风格",
                "value":"高级感"
            },
            {
                "name":"面料名称",
                "value":"毛绒"
            },
            {
                "name":"风格分类",
                "value":"时尚通勤"
            },
            {
                "name":"处理工艺",
                "value":"经编"
            },
            {
                "name":"流行元素分类",
                "value":"无"
            }
        ],
        "total_sold":3786174,
        "skus":{
            "sku":[
                {
                    "price":4.99,
                    "total_price":4.99,
                    "orginal price":4.99,
                    "properties":"0:0",
                    "properties_name":"0:0:颜色:红色",
                    "quantity":0,
                    "sku_id":5330445855404,
                    "spec_id":"87b07b1e746bd546e97a0f5888726ae3"
                },
                {
                    "price":4.99,
                    "total_price":4.99,
                    "orginal price":4.99,
                    "properties":"0:1",
                    "properties_name":"0:1:颜色:黑色",
                    "quantity":0,
                    "sku_id":5330445855410,
                    "spec_id":"e664b2e7c4adae52d35767f51a9219f6"
                },
                {
                    "price":4.99,
                    "total_price":4.99,
                    "orginal price":4.99,
                    "properties":"0:2",
                    "properties_name":"0:2:颜色:白色",
                    "quantity":0,
                    "sku_id":5330445855398,
                    "spec_id":"18dc5ba8c7dc3df0eb8b731977df2372"
                },
                {
                    "price":4.99,
                    "total_price":4.99,
                    "orginal price":4.99,
                    "properties":"0:3",
                    "properties_name":"0:3:颜色:灰色",
                    "quantity":8020,
                    "sku_id":5330445855408,
                    "spec_id":"05808df6001a6ffa6fa13ae7df588b36"
                },
                {
                    "price":4.99,
                    "total_price":4.99,
                    "orginal price":4.99,
                    "properties":"0:4",
                    "properties_name":"0:4:颜色:杏色",
                    "quantity":0,
                    "sku_id":5330445855412,
                    "spec_id":"1ab2b4cd3cc2b51ed4055978ca4b8579"
                },
                {
                    "price":4.99,
                    "total_price":4.99,
                    "orginal price":4.99,
                    "properties":"0:5",
                    "properties_name":"0:5:颜色:粉色",
                    "quantity":0,
                    "sku_id":5330445855402,
                    "spec_id":"7a394d5d7d8560fae263cd2ffe9ee444"
                },
                {
                    "price":4.99,
                    "total_price":4.99,
                    "orginal price":4.99,
                    "properties":"0:6",
                    "properties_name":"0:6:颜色:咖啡色",
                    "quantity":0,
                    "sku_id":5330445855396,
                    "spec_id":"423651c0792f75de75484ae9bd5fe535"
                },
                {
                    "price":4.99,
                    "total_price":4.99,
                    "orginal price":4.99,
                    "properties":"0:7",
                    "properties_name":"0:7:颜色:米色",
                    "quantity":0,
                    "sku_id":5330445855400,
                    "spec_id":"45b9c574ac45662aba79f2cb72d20112"
                },
                {
                    "price":4.99,
                    "total_price":4.99,
                    "orginal price":4.99,
                    "properties":"0:8",
                    "properties_name":"0:8:颜色:卡其色",
                    "quantity":0,
                    "sku_id":5330445855406,
                    "spec_id":"f7931f4b9892a8c41b76205cb1d50627"
                }
            ]
        },
        "seller_id":null,
        "sales":0,
        "shop_id":null,
        "props_list":{
            "0:0":"颜色:红色",
            "0:1":"颜色:黑色",
            "0:2":"颜色:白色",
            "0:3":"颜色:灰色",
            "0:4":"颜色:杏色",
            "0:5":"颜色:粉色",
            "0:6":"颜色:咖啡色",
            "0:7":"颜色:米色",
            "0:8":"颜色:卡其色"
        },

标签:阿里巴巴,img,value,API,https,1688,2272041426,com,name
From: https://blog.csdn.net/thankyou0790/article/details/136813679

相关文章

  • Fastapi中Swagger UI加载缓慢的解决方案
    在国内网络经常遇到SwaggerUI加载缓慢的问题,这是由于SwaggerUI的CSS和JS代码源在国外导致的,所以我们的解决方法是更改SwaggerUI的CSS代码和JS代码源到国内的CND实现加速。这里以Fastapi框架的SwaggerUI加载缓慢举例:一、解决方法在main.py(入口代码)代码中新增如下代码:fromfa......
  • 京东获得JD商品详情 API
    公共参数名称类型必须描述keyString是免费申请调用key(必须以GET方式拼接在URL中)secretString是调用密钥api_nameString是API接口名称(包括在请求地址中)[item_search,item_get,item_search_shop等]cacheString否[yes,no]默认yes,将调用缓存的数据,速度比较快result_typeString否[j......
  • 【前端Vue】Vue3+Pinia小兔鲜电商项目第1篇:认识Vue3,1. Vue3组合式API体验【附代码文
    全套笔记资料代码移步:前往gitee仓库查看感兴趣的小伙伴可以自取哦,欢迎大家点赞转发~全套教程部分目录:部分文件图片:认识Vue31.Vue3组合式API体验通过Counter案例体验Vue3新引入的组合式API<script>exportdefault{data(){return{count:0......
  • 安装install.package("devtools")时报错 提示systemfonts,textshaping, ragg, gert依赖
    devtools可用conda,R的install.packages()以及wget等方式安装,这里我采用install.packages()安装,碰到systemfonts,textshaping,ragg,gert几个依赖包的安装错误。install.package("devtools")错误形式与解决,参考:https://www.cnblogs.com/shuaihe/p/17823059.html1.systemfonts解......
  • harbor命令行-python脚本-调用http API
    因为生产环境没有UI界面,也没有开放端口资源出来,无法通过web界面来管理harbor,故调用harbor提供的httpAPI来获取harbor信息和使用常用的功能。importrequestsimportjsonimporturllib.parsemy_auth=('admin','Lovedan@971220')harbor_addr="https://127.0.0.1"def查询......
  • Java 8中 lambda表达式、Stream API的常见用法
    1、取出集合中的某个字段://拿到车辆idsList<Long>carIds=parkCarInDbList.stream().map(ParkCar::getId).collect(Collectors.toList());2、集合直接进行遍历然后进行相关操作:List<Car>cars=carService.getListByCarId(carIds);cars.forEach(car->......
  • Arthas - Can not read arthas version from: https://arthas.aliyun.com/api/latest_
    问题描述[ERROR]Cannotreadarthasversionfrom: https://arthas.aliyun.com/api/latest_version[ERROR]CannotfindArthasunderlocal:/root/.arthas/libandremoterepomirror:aliyun[ERROR]Unabletodownloadarthasfromremoteserver,pleasedownload......
  • 手机网络连接性能API接口:查询手机网络连接性能状态
    手机网络连接性能是我们在使用手机时非常关注的一个方面。有时我们会遇到网络不稳定、网速慢等问题,而这些问题往往会影响我们的手机使用体验。因此,了解手机网络连接性能状态对于我们来说非常重要。 在这篇博文中,我将介绍如何使用手机网络连接性能API接口来查询手机网络连接性......
  • python调用c语言API
    python调用C语言API,一般使用内置的ctypes库.但是这个库用起来不那么方便,主要是需要进行函数和数据结构的包装.如下所示:#结构定义classCOORD(Structure):"""COORDstructure"""_fields_=[("X",SHORT),("Y",SHORT)]#函数定义UpdateP......
  • .Net WebApi中实现自动依赖注入的三种方法
    前言该文仅供学习参考,如有问题请指正。依赖关系注入(DI),是一种软件设计模式,这是一种在类及其依赖项之间实现控制反转(IoC)的技术。.NET中的依赖关系注入是框架的内置部分,与配置、日志记录和选项模式一样。生命周期依赖注入有以下三种生命周期瞬时(Transient):每次......