首页 > 其他分享 >速卖通获得aliexpress商品详情 API 返回值说明

速卖通获得aliexpress商品详情 API 返回值说明

时间:2025-01-22 12:28:42浏览次数:3  
标签:ae01 alicdn u003E jpg aliexpress API https 速卖通 com

在速卖通 API 中,item get接口主要用于获取商品(item)的详细信息。这对于卖家管理店铺商品信息,以及第三方开发者构建与速卖通商品数据交互的应用程序非常重要。

aliexpress.item_get

1.公共参数

名称类型必须描述
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版本

2.请求参数

请求参数:num_iid=1005005586923234

参数说明:num_iid:aliexpress商品ID

3.请求示例

-- 请求示例 url 默认请求参数已经URL编码处理 curl -i "https://api-gw.onebound.cn/aliexpress/item_get/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&num_iid=1005005586923234"

4.响应示例

{
  "item": {
    "num_iid": "1005005586923234",
    "title": "40W USB C 充电器快速充电欧盟美国插头 PD USB-C 型 C 快速 USB QC 3.0 充电器适用于 iPhone 14 小米三星 Macbook",
    "desc_short": "",
    "price": "0.99",
    "total_price": 0,
    "suggestive_price": 0,
    "orginal_price": "4.29",
    "nick": "3 C Digital Store",
    "num": "99",
    "min_num": 0,
    "detail_url": "https://www.aliexpress.com/item/1005005586923234.html",
    "pic_url": "https://ae01.alicdn.com/kf/S28e76da6ce66473ea807cc07f7f0069cp.jpg_960x960.jpg",
    "brand": "",
    "brandId": "",
    "rootCatId": "509",
    "cid": "410204",
    "crumbs": [],
    "created_time": "",
    "modified_time": "",
    "delist_time": "",
    "desc": " div\u003E img src=\"https://ae01.alicdn.com/kf/S28e76da6ce66473ea807cc07f7f0069cp.jpg\"\u003E /img\u003E /div\u003E div\u003E img src=\"https://ae01.alicdn.com/kf/S23756acb1ce942c8a16db534a0515d6aE.jpg\"\u003E /img\u003E /div\u003E div\u003E img src=\"https://ae01.alicdn.com/kf/S7036bf81a1144425814ab3331d57ef635.jpg\"\u003E /img\u003E /div\u003E div\u003E img src=\"https://ae01.alicdn.com/kf/S0a9b8613dcab4ea4a191e9798040ef748.jpg\"\u003E /img\u003E /div\u003E div\u003E img src=\"https://ae01.alicdn.com/kf/S10ad15c81c674c8fa99ec4df44e80b4eS.jpg\"\u003E /img\u003E /div\u003E div\u003E img src=\"https://ae01.alicdn.com/kf/S019bd847ee214baa8a70e049b9924c01v.jpg\"\u003E /img\u003E /div\u003E div\u003E img src=\"https://ae01.alicdn.com/kf/Sda93245d51494d3a8e5700eb98514175l.jpg\"\u003E /img\u003E /div\u003E img src=\"https://www.o0b.cn/i.php?t.png&rid=gw-1.671af98e76568&p=1778786923&k=i_key&t=1729821081\" style=\"display:none\" /\u003E",
    "desc_img": [
      "https://ae01.alicdn.com/kf/S28e76da6ce66473ea807cc07f7f0069cp.jpg",
      "https://ae01.alicdn.com/kf/S23756acb1ce942c8a16db534a0515d6aE.jpg",
      "https://ae01.alicdn.com/kf/S7036bf81a1144425814ab3331d57ef635.jpg",
      "https://ae01.alicdn.com/kf/S0a9b8613dcab4ea4a191e9798040ef748.jpg",
      "https://ae01.alicdn.com/kf/S10ad15c81c674c8fa99ec4df44e80b4eS.jpg",
      "https://ae01.alicdn.com/kf/S019bd847ee214baa8a70e049b9924c01v.jpg",
      "https://ae01.alicdn.com/kf/Sda93245d51494d3a8e5700eb98514175l.jpg"
    ],
    "item_imgs": [
      {
        "url": "https://ae01.alicdn.com/kf/S28e76da6ce66473ea807cc07f7f0069cp.jpg_960x960.jpg"
      },
      {
        "url": "https://ae01.alicdn.com/kf/S23756acb1ce942c8a16db534a0515d6aE.jpg_960x960.jpg"
      },
      {
        "url": "https://ae01.alicdn.com/kf/S7036bf81a1144425814ab3331d57ef635.jpg_960x960.jpg"
      },
      {
        "url": "https://ae01.alicdn.com/kf/S0a9b8613dcab4ea4a191e9798040ef748.jpg_960x960.jpg"
      },
      {
        "url": "https://ae01.alicdn.com/kf/S2041db5ee6e54579a3f8f354c3d4483cW.jpg_960x960.jpg"
      },
      {
        "url": "https://ae01.alicdn.com/kf/S10ad15c81c674c8fa99ec4df44e80b4eS.jpg_960x960.jpg"
      }
    ],
    "item_weight": "",
    "item_size": "",
    "location": "",
    "post_fee": "",
    "express_fee": "",
    "ems_fee": "",
    "shipping_to": "",
    "has_discount": "",
    "video": [],
    "is_virtual": "",
    "sample_id": "",
    "is_promotion": "",
    "props_name": "200009208:201447567:Plug Type:EU200009208:201447568:Plug Type:US",
    "prop_imgs": {
      "prop_img": [
        {
          "properties": "200009208:201447567",
          "url": "https://ae01.alicdn.com/kf/Sda93245d51494d3a8e5700eb98514175l.jpg_640x640.jpg_.webp"
        },
        {
          "properties": "200009208:201447568",
          "url": "https://ae01.alicdn.com/kf/S019bd847ee214baa8a70e049b9924c01v.jpg_640x640.jpg_.webp"
        }
      ]
    },
    "property_alias": "200009208:201447567200009208:201447568",
    "props": [
      {
        "name": "智能充电",
        "value": "否"
      },
      {
        "name": "显示屏",
        "value": "否"
      },
      {
        "name": "适用的快速充电协议",
        "value": "USB PD"
      },
      {
        "name": "氮化镓",
        "value": "没有"
      },
      {
        "name": "Max。输出电源",
        "value": "40W"
      },
      {
        "name": "类型",
        "value": "旅行"
      },
      {
        "name": "型号",
        "value": "62-CCA"
      },
      {
        "name": "电源",
        "value": "USB"
      },
      {
        "name": "质量认证",
        "value": "铈"
      },
      {
        "name": "输出接口",
        "value": "USB,2 个 C 端口"
      },
      {
        "name": "品牌名称",
        "value": "Noenname_null"
      },
      {
        "name": "认证",
        "value": "CE"
      },
      {
        "name": "原件",
        "value": "mainland china"
      }
    ],
    "total_sold": "4,000+",
    "skus": {
      "sku": [
        {
          "properties": "200009208:201447567",
          "properties_name": "200009208:201447567:插头类型:EU",
          "orginal_price": "4.2",
          "price": "0.99",
          "quantity": "508",
          "sku_id": "12000033671463454"
        },
        {
          "properties": "200009208:201447568",
          "properties_name": "200009208:201447568:插头类型:US",
          "orginal_price": "4.29",
          "price": "0.99",
          "quantity": "412",
          "sku_id": "12000033671463455"
        }
      ]
    },
    "seller_id": "",
    "sales": 4,
    "shop_id": "1102787640",
    "props_list": {
      "200009208:201447567": "插头类型:EU",
      "200009208:201447568": "插头类型:US"
    },
    "seller_info": {
      "nick": "3 C Digital Store",
      "city": "",
      "level": "25-s",
      "rate": "89.5",
      "score": "12828",
      "delivery_score": "12828",
      "item_score": "12828",
      "shop_type": "",
      "user_num_id": "2675499104",
      "zhuy": "https://m.aliexpress.com/store/storeHome.htm?sellerAdminSeq=2675499104"
    },
    "tmall": "false",
    "error": "",
    "warning": "",
    "url_log": [],
    "stuff_status": "",
    "current_lang": "en",
    "currency_code": "USD",
    "_ddf": "alex",
    "format_check": "ok",
    "props_img": {
      "200009208:201447567": "https://ae01.alicdn.com/kf/Sda93245d51494d3a8e5700eb98514175l.jpg_640x640.jpg_.webp",
      "200009208:201447568": "https://ae01.alicdn.com/kf/S019bd847ee214baa8a70e049b9924c01v.jpg_640x640.jpg_.webp"
    },
    "shop_item": [],
    "relate_items": []
  },
  "error": "",
  "secache": "7ac1a111a388fb58f74323fd634c76fe",
  "secache_time": 1729821081,
  "secache_date": "2024-10-25 09:51:21",
  "reason": "",
  "error_code": "0000",
  "cache": 0,
  "api_info": "today:0 max:10000 all[1218=0+0+1218];expires:2030-10-30",
  "execution_time": "10.596",
  "server_time": "Beijing/2024-10-25 09:51:21",
  "client_ip": "106.6.34.107",
  "call_args": {
    "num_iid": "1005005586923234"
  },
  "api_type": "aliexpress",
  "translate_language": "zh-CN",
  "translate_engine": "",
  "server_memory": "3.52MB",
  "request_id": "gw-1.671af98e76568",
  "last_id": "3640401246"
}

5.异常示例

{
  "error": "item-not-found",
  "reason": "商品没找到",
  "error_code": "2000",
  "success": 0,
  "cache": 0,
  "api_info": "today:0 max:10000",
  "execution_time": 0.081,
  "server_time": "Beijing/2020-06-10 23:44:00",
  "call_args": [],
  "api_type": "aliexpress",
  "request_id": "1ee0ffc041242"}

6.API 工具

API测试工具

标签:ae01,alicdn,u003E,jpg,aliexpress,API,https,速卖通,com
From: https://blog.csdn.net/Peter_Zping/article/details/145177417

相关文章

  • 深度学习目标检测框架训练使用YOLOv8训练钓鱼检测数据集 使用Flask或FastAPI等框架创
    深度学习目标检测框架训练使用YOLOv8训练钓鱼检测数据集并构建一个基于YOLOv8的钓鱼检测系统使用YOLOv8训练钓鱼检测数据集,如何针对钓鱼检测进行调整和实现的详细步骤。1.安装依赖确保安装了必要的库。对于钓鱼检测,所需的库应该与之前提供的相同,但请根据实际情况检查是......
  • 当ASP.NET API接口被刷:全面应对指南
    一、引言在当今数字化的网络世界中,ASP.NETAPI作为后端服务与前端应用、第三方系统交互的桥梁,扮演着至关重要的角色。然而,令人头疼的是,API接口常常遭受恶意刷取的威胁。想象一下,大量毫无意义的恶意请求如潮水般涌来,服务器资源被无情地消耗,合法用户的请求只能在一旁苦苦等......
  • SAP MD04对应函数MD_STOCK_REQUIREMENTS_LIST_API解析
    【SAP系统PP模块研究】一、MD04-库存/需求清单简介MD04是SAP系统MRP功能中的重要程序,可以实时按物料查询当前的库存、需求及供给等各元素等信息。点击“MRP元素数据”中的单号,还可进行向上追溯、向下展开等查询,并可跳转到单据的显示、修改界面,还能跳转到后续操作。例如计划......
  • 08使用EFCore进行增删改查 - ASP.NET Core WebAPI
    文章目录一、如何在控制器中使用EFCore1.注册服务2.获取db对象3.使用db对象进行crud二、如何在筛选器中使用EFCore1.与控制器类中同样操作2.注意事项一、如何在控制器中使用EFCore1.注册服务在program.cs文件中添加以下代码。builder.Services.AddDbContext<App......
  • 【Azure APIM】APIM服务配置网络之后出现3443端口不通,Management Endpoint不健康状态
    问题描述APIM服务在配置网络之后,查看网络状态发现ManagementEndpoint是不健康状态,提示无法连接到3443端口。错误消息:Failedtoconnecttomanagementendpointatxxxxxxxx.management.azure-api.cn:3443foraservicedeployedinavirtualnetwork.Makesuretofollo......
  • 利用Python爬虫与1688 API接口:高效获取商品搜索数据
    在当今电商竞争激烈的市场中,数据的价值不言而喻。无论是商家、市场分析师还是电商运营者,都需要快速、准确地获取商品信息,以便制定策略、优化运营和洞察市场趋势。1688作为国内领先的B2B电商平台,提供了丰富的API接口,尤其是按关键字搜索商品的接口(item_search),为开发者和数据分析师提......
  • Django和FastAPI的比较
    在Python的Web开发领域,Django和FastAPI是两款备受瞩目的框架。通过对二者的实践与比较,本文总结了它们的特点与适用场景,希望能给开发者在选择时提供参考。1.设计理念的比较从框架的特性来看,Django以全栈式框架著称,内置诸多工具,涵盖ORM、数据验证、认证、会话管理、缓......
  • 如何接入《英雄联盟》电竞数据?从API到实战应用全解析
    英雄联盟》作为全球最受欢迎的电竞游戏之一,其赛事直播和数据分析已经成为电竞行业的重要组成部分。随着电竞观众的增长和分析需求的增加,实时数据的获取和处理变得尤为重要。本文将带你了解如何接入和获取《英雄联盟》的电竞数据,并在实际项目中应用这些数据。《英雄联盟》电竞数......
  • vue3新增API
    Vue3引入了许多新的API和特性,以下是一些主要的新增API列表:组合式APIsetup:组合式API的入口函数。ref:创建一个响应式的引用对象。reactive:将一个普通对象转换为响应式对象。computed:用于定义计算属性。watch和watchEffect:用于侦听响应式数据的变化。toRefs和toR......
  • 使用 Express 搭建 RESTful API:实现用户管理系统的增删改查
    在现代Web开发中,后端接口的实现通常是基于RESTfulAPI的设计。Express是一个轻量级、灵活的Node.jsWeb框架,非常适合快速搭建RESTfulAPI。本文将通过一个完整的示例,展示如何使用Express和CORS中间件搭建一个支持增删改查(CRUD)操作的用户管理系统。我们将实现以下功......