---
title: "淘宝和天猫商品详情 API (V8)"
description: "通过 V8 接口按 item ID 检索淘宝或天猫商品详情，该接口提供准确的 SKU 数量信息。可用于执行直接商品查询，以进行目录研究、商品监控或电商分析。"
aiUsagePrompt: true
---

# 淘宝和天猫商品详情 API \(V8\)

<ApiTester
  method="GET"
  :path='JSON.parse("\"/api/taobao/get-item-detail/v8\"")'
  :summary='JSON.parse("\"商品详情 (V8)\"")'
  openapiDefinitionUrl="https://docs.justoneapi.com/openapi/taobao-and-tmall/product-details-v8-zh.json"
  openapiVersion="3.1.0"
  :parameters='JSON.parse("[{\"name\":\"token\",\"in\":\"query\",\"description\":\"此 API 服务的访问令牌。\",\"required\":true,\"schema\":{\"type\":\"string\"}},{\"name\":\"itemId\",\"in\":\"query\",\"description\":\"淘宝/天猫上的唯一商品标识符（商品ID）。\",\"required\":true,\"schema\":{\"type\":\"string\"}}]")'
  :requestBody='JSON.parse("null")'
  :responses='JSON.parse("{\"200\":{\"description\":\"好的\",\"content\":{\"application/json\":{\"schema\":{\"if\":{\"properties\":{\"code\":{\"const\":0}},\"required\":[\"code\"]},\"then\":{\"properties\":{\"data\":{\"description\":\"淘宝或天猫商品详情 V8 返回的商品信息。\",\"properties\":{\"item\":{\"type\":\"object\",\"description\":\"商品标识、媒体和类目信息。\",\"properties\":{\"itemId\":{\"type\":\"string\",\"description\":\"淘宝或天猫商品 ID，以字符串返回。\"},\"title\":{\"type\":\"string\",\"description\":\"商品标题。\"},\"subtitle\":{\"type\":\"string\",\"description\":\"商品副标题，如有提供。\"},\"images\":{\"type\":\"array\",\"description\":\"商品图 URL 列表，按展示顺序返回。URL 可能省略协议。\",\"items\":{\"type\":\"string\"}},\"videos\":{\"type\":\"array\",\"description\":\"商品媒体区域展示的视频列表。\",\"items\":{\"type\":\"object\",\"description\":\"单个商品展示视频。\",\"properties\":{\"url\":{\"type\":\"string\",\"description\":\"视频 URL。\"},\"type\":{\"type\":\"string\",\"description\":\"视频类型值。\"},\"videoThumbnailUrl\":{\"type\":\"string\",\"description\":\"视频缩略图地址。\"}}}},\"categoryId\":{\"type\":\"string\",\"description\":\"商品类目 ID，以字符串返回。\"},\"rootCategoryId\":{\"type\":\"string\",\"description\":\"商品一级类目 ID，以字符串返回。\"},\"brandValueId\":{\"type\":\"string\",\"description\":\"商品品牌选项 ID，以字符串返回。\"},\"skuText\":{\"type\":\"string\",\"description\":\"商品页展示的 SKU 规格摘要。\"},\"favcount\":{\"type\":\"string\",\"description\":\"收藏量文本。\"},\"vagueSellCount\":{\"type\":\"string\",\"description\":\"商品销量展示文本，可能包含近似或缩写。\"},\"tmallDescUrl\":{\"type\":\"string\",\"description\":\"商品详情描述的获取链接，可能省略协议。\"},\"taobaoPcDescUrl\":{\"type\":\"string\",\"description\":\"桌面版商品详情描述的获取链接。\"}}},\"seller\":{\"type\":\"object\",\"description\":\"商品附带的卖家及店铺资料。\",\"properties\":{\"userId\":{\"type\":\"string\",\"description\":\"卖家账号 ID，以字符串返回。\"},\"shopId\":{\"type\":\"string\",\"description\":\"店铺 ID，以字符串返回。\"},\"shopName\":{\"type\":\"string\",\"description\":\"店铺展示名称。\"},\"shopUrl\":{\"type\":\"string\",\"description\":\"店铺链接，可能为相对地址或应用专用链接。\"},\"taoShopUrl\":{\"type\":\"string\",\"description\":\"平台返回的另一种店铺链接。\"},\"shopIcon\":{\"type\":\"string\",\"description\":\"店铺图标 URL。\"},\"fans\":{\"type\":\"string\",\"description\":\"店铺粉丝数展示文本。\"},\"allItemCount\":{\"type\":\"string\",\"description\":\"店铺商品数量，以文本返回。\"},\"sellerType\":{\"type\":\"string\",\"description\":\"平台返回的卖家类型值。\"},\"shopType\":{\"type\":\"string\",\"description\":\"平台返回的店铺类型值。\"},\"sellerNick\":{\"type\":\"string\",\"description\":\"卖家昵称。\"},\"creditLevel\":{\"type\":\"string\",\"description\":\"卖家信用等级，以文本返回。\"},\"creditLevelIcon\":{\"type\":\"string\",\"description\":\"卖家信用等级图标 URL。\"},\"tagIcon\":{\"type\":\"string\",\"description\":\"卖家标签图标 URL。\"},\"goodRatePercentage\":{\"type\":\"string\",\"description\":\"卖家好评率展示文本。\"},\"certIcon\":{\"type\":\"string\",\"description\":\"认证图标 URL，如有提供。\"},\"certText\":{\"type\":\"string\",\"description\":\"卖家或店铺的认证展示文本。\"}}},\"skuBase\":{\"type\":\"object\",\"description\":\"SKU 标识及商品规格定义。\",\"properties\":{\"skus\":{\"type\":\"array\",\"description\":\"SKU 列表，包含变体标识和选中的规格。\",\"items\":{\"type\":\"object\",\"description\":\"一个 SKU 及其所选规格组合。\",\"properties\":{\"skuId\":{\"type\":\"string\",\"description\":\"SKU ID，以文本返回。可用它在 `skuCore.sku2info` 中查询对应的价格和数量。\"},\"propPath\":{\"type\":\"string\",\"description\":\"每项选中的规格使用冒号连接 `pid` 和 `vid`，多项规格用分号分隔。可到 `skuBase.props` 查找 ID 对应的名称。\"}}}},\"props\":{\"type\":\"array\",\"description\":\"商品规格定义及各规格的可选值。\",\"items\":{\"type\":\"object\",\"description\":\"一项商品规格定义。\",\"properties\":{\"pid\":{\"type\":\"string\",\"description\":\"商品规格定义 ID，以字符串返回。\"},\"name\":{\"type\":\"string\",\"description\":\"商品页展示的规格名称。\"},\"values\":{\"type\":\"array\",\"description\":\"该规格的可选值列表。\",\"items\":{\"type\":\"object\",\"description\":\"单个规格选项。\",\"properties\":{\"vid\":{\"type\":\"string\",\"description\":\"规格选项值 ID，以字符串返回。\"},\"name\":{\"type\":\"string\",\"description\":\"该规格选项值的展示名称。\"},\"image\":{\"type\":\"string\",\"description\":\"该规格值对应的图片 URL，如有提供。\"}}}}}}}}},\"skuCore\":{\"type\":\"object\",\"description\":\"SKU 价格、数量及履约展示信息。\",\"properties\":{\"sku2info\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\",\"description\":\"由动态键选中的一项价格及数量信息。\",\"properties\":{\"price\":{\"type\":\"object\",\"description\":\"该映射条目的价格信息。\",\"properties\":{\"priceText\":{\"type\":\"string\",\"description\":\"价格展示文本。商品汇总项可能展示价格区间。\"},\"priceMoney\":{\"type\":\"string\",\"description\":\"原始金额文本。已验证的单值 SKU 条目以展示金额的百分之一为单位编码。\"},\"type\":{\"type\":\"string\",\"description\":\"该价格对应的类型值。\"}}},\"quantity\":{\"type\":\"string\",\"description\":\"该条目报告的数量，以文本返回。汇总项和单个 SKU 条目各自提供数量。\"},\"logisticsTime\":{\"type\":\"string\",\"description\":\"该条目的履约时间文本，如有提供。\"}}},\"description\":\"以 `skuBase.skus[].skuId` 为键的对象，可能另有键 `0` 的商品汇总项。每项可能包含 `price`（`priceText`、`priceMoney`、`type`）、文本形式的 `quantity` 及 `logisticsTime`。已验证的单值 SKU 价格中，`priceMoney` 是 `priceText` 的 100 倍。价格区间与汇总项可能采用不同表示。\"},\"skuItem\":{\"type\":\"object\",\"description\":\"SKU 区块附带的商品层级信息。\",\"properties\":{\"location\":{\"type\":\"string\",\"description\":\"SKU 详情附带的地点显示文本。\"}}}}},\"props\":{\"type\":\"object\",\"description\":\"按展示分组返回的商品属性。\",\"properties\":{\"groupProps\":{\"type\":\"array\",\"description\":\"以分组名称为键的对象数组。每个分组下又有一个数组，其中的对象以属性展示名称为键、属性文本为值。\",\"items\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"array\",\"description\":\"一个组名下的属性条目列表。\",\"items\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"string\",\"description\":\"属性展示值，以文本返回。\"},\"description\":\"单个商品属性对象，包含属性名称到文本值的映射。\"}},\"description\":\"属性分组，分组名称随商品变化。\"}}}},\"delivery\":{\"type\":\"object\",\"description\":\"商品页的配送信息。\",\"properties\":{\"from\":{\"type\":\"string\",\"description\":\"展示的发货地。\"},\"to\":{\"type\":\"string\",\"description\":\"展示的收货地。\"},\"completedTo\":{\"type\":\"string\",\"description\":\"更完整的收货地文本，如有提供。\"},\"areaId\":{\"type\":\"string\",\"description\":\"收货地区 ID，以字符串返回。\"},\"postage\":{\"type\":\"string\",\"description\":\"商品页展示的运费或邮费说明。\"},\"addressWeexUrl\":{\"type\":\"string\",\"description\":\"商品页使用的地址选择链接。\"}}},\"priceSection\":{\"type\":\"object\",\"description\":\"商品页展示的价格区块。\",\"properties\":{\"price\":{\"type\":\"object\",\"description\":\"价格区块的主要价格展示。\",\"properties\":{\"priceText\":{\"type\":\"string\",\"description\":\"价格展示文本，可能包含区间。\"},\"priceMoney\":{\"type\":\"string\",\"description\":\"该价格展示条目的原始金额，以文本返回。\"},\"priceTitle\":{\"type\":\"string\",\"description\":\"该价格旁的展示标题。\"},\"priceType\":{\"type\":\"string\",\"description\":\"平台返回的价格展示类型值。\"},\"newLine\":{\"type\":\"string\",\"description\":\"价格条目的换行展示标志，以文本返回。\"},\"priceSize\":{\"type\":\"string\",\"description\":\"价格展示文字的大小值。\"}}},\"extraPrice\":{\"type\":\"object\",\"description\":\"补充价格展示，如有提供。\",\"properties\":{\"priceText\":{\"type\":\"string\",\"description\":\"价格展示文本，可能包含区间。\"},\"priceMoney\":{\"type\":\"string\",\"description\":\"该价格展示条目的原始金额，以文本返回。\"},\"priceTitle\":{\"type\":\"string\",\"description\":\"该价格旁的展示标题。\"},\"priceType\":{\"type\":\"string\",\"description\":\"平台返回的价格展示类型值。\"},\"priceColor\":{\"type\":\"string\",\"description\":\"价格展示文字的颜色值。\"},\"lineThrough\":{\"type\":\"string\",\"description\":\"价格条目的删除线展示标志，以文本返回。\"},\"newLine\":{\"type\":\"string\",\"description\":\"价格条目的换行展示标志，以文本返回。\"},\"priceTail\":{\"type\":\"string\",\"description\":\"该价格后展示的文本。\"}}},\"promotion\":{\"type\":\"object\",\"description\":\"价格区块的促销展示。\",\"properties\":{\"entranceTip\":{\"type\":\"string\",\"description\":\"促销入口展示文案。\"},\"entranceUrl\":{\"type\":\"string\",\"description\":\"促销入口链接。\"},\"items\":{\"type\":\"array\",\"description\":\"商品价格旁展示的促销条目列表，可能为空。\",\"items\":{\"type\":\"object\",\"description\":\"单个促销展示条目。\",\"properties\":{\"content\":{\"type\":\"string\",\"description\":\"促销展示文案。\"},\"type\":{\"type\":\"string\",\"description\":\"平台返回的促销类型值。\"},\"textColor\":{\"type\":\"string\",\"description\":\"促销文案的颜色值。\"},\"bgImage\":{\"type\":\"string\",\"description\":\"促销展示背景图。\"},\"startTime\":{\"type\":\"string\",\"description\":\"报告的促销开始时间，以文本返回。\"},\"endTime\":{\"type\":\"string\",\"description\":\"报告的促销结束时间，以文本返回。\"}}}}}}}},\"itemPrice\":{\"type\":\"object\",\"description\":\"商品层级的价格展示信息。\",\"properties\":{\"price\":{\"type\":\"object\",\"description\":\"商品价格信息中的主要价格条目。\",\"properties\":{\"priceText\":{\"type\":\"string\",\"description\":\"价格展示文本，可能包含区间。\"},\"priceMoney\":{\"type\":\"string\",\"description\":\"该价格展示条目的原始金额，以文本返回。\"},\"type\":{\"type\":\"string\",\"description\":\"平台返回的价格类型值。\"}}},\"subPrice\":{\"type\":\"object\",\"description\":\"辅助价格条目，如有提供。\",\"properties\":{\"priceText\":{\"type\":\"string\",\"description\":\"价格展示文本，可能包含区间。\"},\"priceMoney\":{\"type\":\"string\",\"description\":\"该价格展示条目的原始金额，以文本返回。\"},\"type\":{\"type\":\"string\",\"description\":\"平台返回的价格类型值。\"}}},\"extraPrices\":{\"type\":\"array\",\"description\":\"补充的商品价格展示条目。\",\"items\":{\"type\":\"object\",\"description\":\"单个补充价格条目。\",\"properties\":{\"priceText\":{\"type\":\"string\",\"description\":\"价格展示文本，可能包含区间。\"},\"priceMoney\":{\"type\":\"string\",\"description\":\"该价格展示条目的原始金额，以文本返回。\"},\"priceTitle\":{\"type\":\"string\",\"description\":\"该价格旁的展示标题。\"},\"type\":{\"type\":\"string\",\"description\":\"平台返回的价格类型值。\"},\"lineThrough\":{\"type\":\"string\",\"description\":\"价格条目的删除线展示标志，以文本返回。\"}}}},\"newExtraPrices\":{\"type\":\"array\",\"description\":\"另一组补充价格展示条目，如有返回。\",\"items\":{\"type\":\"object\",\"description\":\"该分组的单个补充价格条目。\",\"properties\":{\"priceText\":{\"type\":\"string\",\"description\":\"价格展示文本，可能包含区间。\"},\"priceMoney\":{\"type\":\"string\",\"description\":\"该价格展示条目的原始金额，以文本返回。\"},\"priceTitle\":{\"type\":\"string\",\"description\":\"该价格旁的展示标题。\"},\"type\":{\"type\":\"string\",\"description\":\"平台返回的价格类型值。\"},\"lineThrough\":{\"type\":\"string\",\"description\":\"价格条目的删除线展示标志，以文本返回。\"}}}},\"transmitPrice\":{\"type\":\"object\",\"description\":\"传递价格字段中的价格文本。\",\"properties\":{\"priceText\":{\"type\":\"string\",\"description\":\"价格展示文本，可能包含区间。\"}}},\"priceTag\":{\"type\":\"array\",\"description\":\"商品价格旁展示的标签。\",\"items\":{\"type\":\"object\",\"description\":\"单个商品价格标签。\",\"properties\":{\"text\":{\"type\":\"string\",\"description\":\"价格标签的展示文案。\"}}}}}},\"trade\":{\"type\":\"object\",\"description\":\"商品响应中的购买和购物车状态。\",\"properties\":{\"buyEnable\":{\"type\":\"string\",\"description\":\"购买入口的启用状态，以文本返回。\"},\"cartEnable\":{\"type\":\"string\",\"description\":\"加入购物车入口的启用状态，以文本返回。\"},\"buyUrl\":{\"type\":\"string\",\"description\":\"购买入口的链接值。\"},\"hintBanner\":{\"type\":\"object\",\"description\":\"购买区域的提示条，如有提供。\",\"properties\":{\"text\":{\"type\":\"string\",\"description\":\"提示条文案。\"},\"bgColor\":{\"type\":\"string\",\"description\":\"提示条背景颜色。\"}}}}},\"rate\":{\"type\":[\"null\",\"object\"],\"description\":\"商品评价预览及评价关键词。该字段可能为 null。\",\"properties\":{\"totalCount\":{\"type\":\"string\",\"description\":\"评价预览中报告的评价总数，以文本返回。\"},\"vagueCount\":{\"type\":\"string\",\"description\":\"商品页展示的评价数简写。\"},\"keywords\":{\"type\":\"array\",\"description\":\"商品页展示的评价关键词。\",\"items\":{\"type\":\"object\",\"description\":\"单个评价关键词条目。\",\"properties\":{\"word\":{\"type\":\"string\",\"description\":\"评价关键词的展示文本。\"},\"count\":{\"type\":\"string\",\"description\":\"关键词对应的数量文本。\"}}}},\"rateList\":{\"type\":\"array\",\"description\":\"评价预览中的评价列表。\",\"items\":{\"type\":\"object\",\"description\":\"商品页中的单条评价预览。\",\"properties\":{\"content\":{\"type\":\"string\",\"description\":\"评价内容。\"},\"userName\":{\"type\":\"string\",\"description\":\"评价者展示名称。\"},\"headPic\":{\"type\":\"string\",\"description\":\"评价者头像地址。\"},\"dateTime\":{\"type\":\"string\",\"description\":\"平台展示的评价日期或时间文本。\"},\"createTimeInterval\":{\"type\":\"string\",\"description\":\"评价对应的相对时间文本。\"},\"skuInfo\":{\"type\":\"string\",\"description\":\"评价展示的 SKU 规格文本。\"},\"images\":{\"type\":\"array\",\"description\":\"评价附带的图片 URL 列表。\",\"items\":{\"type\":\"string\"}},\"feedId\":{\"type\":\"string\",\"description\":\"评价内容标识，以字符串返回。\"}}}}}},\"consumerProtection\":{\"type\":\"object\",\"description\":\"商品展示的消费者保障信息。\",\"properties\":{\"url\":{\"type\":\"string\",\"description\":\"消费者保障说明链接。\"},\"tradeConsumerService\":{\"type\":\"object\",\"description\":\"购买保障服务展示详情。\",\"properties\":{\"service\":{\"type\":\"object\",\"description\":\"展示的消费者保障服务。\",\"properties\":{\"title\":{\"type\":\"string\",\"description\":\"保障服务区块标题。\"},\"icon\":{\"type\":\"string\",\"description\":\"保障服务区块图标 URL，如有提供。\"},\"items\":{\"type\":\"array\",\"description\":\"消费者保障服务条目列表。\",\"items\":{\"type\":\"object\",\"description\":\"单个消费者保障服务条目。\",\"properties\":{\"title\":{\"type\":\"string\",\"description\":\"服务展示标题。\"},\"icon\":{\"type\":\"string\",\"description\":\"服务图标 URL。\"},\"desc\":{\"type\":\"string\",\"description\":\"服务展示说明。\"}}}}}},\"nonService\":{\"type\":\"object\",\"description\":\"展示的商品不适用服务信息。\",\"properties\":{\"title\":{\"type\":\"string\",\"description\":\"不适用服务区块标题。\"},\"items\":{\"type\":\"array\",\"description\":\"商品展示的不适用服务条目列表。\",\"items\":{\"type\":\"object\",\"description\":\"单个不适用服务条目。\",\"properties\":{\"icon\":{\"type\":\"string\",\"description\":\"该服务条目的展示图标 URL。\"},\"title\":{\"type\":\"string\",\"description\":\"该服务条目的展示标题。\"}}}}}}}}}},\"vertical\":{\"type\":\"object\",\"description\":\"商品页附带的可选模块。\",\"properties\":{\"verticals\":{\"type\":\"object\",\"description\":\"该商品返回的可选展示模块。\",\"properties\":{\"askAll\":{\"type\":\"object\",\"description\":\"商品问答预览。\",\"properties\":{\"title\":{\"type\":\"string\",\"description\":\"问答区块标题。\"},\"askText\":{\"type\":\"string\",\"description\":\"问答入口展示文案。\"},\"askIcon\":{\"type\":\"string\",\"description\":\"问答入口图标 URL。\"},\"linkUrl\":{\"type\":\"string\",\"description\":\"商品问答入口链接。\"},\"questNum\":{\"type\":\"string\",\"description\":\"问答数量展示文本。\"}}},\"groupChat\":{\"type\":\"object\",\"description\":\"商品页展示的店铺群聊入口。\",\"properties\":{\"title\":{\"type\":\"string\",\"description\":\"群聊展示标题。\"},\"image\":{\"type\":\"string\",\"description\":\"群聊展示图片 URL。\"},\"fansCount\":{\"type\":\"string\",\"description\":\"群聊入口展示的粉丝数文本。\"},\"url\":{\"type\":\"string\",\"description\":\"群聊入口链接。\"},\"desc\":{\"type\":\"string\",\"description\":\"群聊展示说明。\"}}},\"transparentBroadcast\":{\"type\":\"object\",\"description\":\"商品页展示的直播入口，如有提供。\",\"properties\":{\"liveId\":{\"type\":\"string\",\"description\":\"直播 ID，以字符串返回。\"},\"jumpUrl\":{\"type\":\"string\",\"description\":\"直播跳转链接。\"},\"playUrl\":{\"type\":\"string\",\"description\":\"直播播放地址。\"}}},\"inter\":{\"type\":\"object\",\"description\":\"跨境商品的价格或税费展示信息。\",\"properties\":{\"taxDescTittle\":{\"type\":\"string\",\"description\":\"进口税展示信息的标题。\"},\"taxDesc\":{\"type\":\"array\",\"description\":\"进口税说明条目，标题随商品变化。\",\"items\":{\"type\":\"object\",\"description\":\"单个进口税说明条目。\"}},\"tariff\":{\"type\":\"object\",\"description\":\"税费标签及其展示值。\",\"properties\":{\"name\":{\"type\":\"string\",\"description\":\"税费展示名称。\"},\"value\":{\"type\":\"string\",\"description\":\"税费展示值，以文本返回。\"}}}}}}}}}}}}},\"allOf\":[{\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"integer\",\"format\":\"int32\",\"enum\":[0,100,101,202,300,301,302,303,400,404,500,503,600,601,602]},\"message\":{\"type\":[\"string\",\"null\"]},\"data\":{},\"recordTime\":{\"type\":[\"string\",\"null\"]},\"requestId\":{\"type\":\"string\"},\"reason\":{\"type\":\"string\"},\"requestParams\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\"}},\"body\":{\"type\":\"object\",\"properties\":{\"empty\":{\"type\":\"boolean\"},\"array\":{\"type\":\"boolean\"},\"null\":{\"type\":\"boolean\"},\"object\":{\"type\":\"boolean\"},\"float\":{\"type\":\"boolean\"},\"integralNumber\":{\"type\":\"boolean\"},\"pojo\":{\"type\":\"boolean\"},\"short\":{\"type\":\"boolean\"},\"valueNode\":{\"type\":\"boolean\"},\"container\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"int\":{\"type\":\"boolean\"},\"long\":{\"type\":\"boolean\"},\"double\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"string\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"bigDecimal\":{\"type\":\"boolean\"},\"bigInteger\":{\"type\":\"boolean\"},\"textual\":{\"type\":\"boolean\",\"deprecated\":true},\"boolean\":{\"type\":\"boolean\"},\"binary\":{\"type\":\"boolean\"},\"number\":{\"type\":\"boolean\"},\"embeddedValue\":{\"type\":\"boolean\"}}}}}},\"required\":[\"code\",\"data\",\"message\",\"recordTime\"]}]}}}},\"400\":{\"description\":\"请求参数或请求体无效\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"integer\",\"format\":\"int32\",\"enum\":[0,100,101,202,300,301,302,303,400,404,500,503,600,601,602]},\"message\":{\"type\":[\"string\",\"null\"]},\"data\":{},\"recordTime\":{\"type\":[\"string\",\"null\"]},\"requestId\":{\"type\":\"string\"},\"reason\":{\"type\":\"string\"},\"requestParams\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\"}},\"body\":{\"type\":\"object\",\"properties\":{\"empty\":{\"type\":\"boolean\"},\"array\":{\"type\":\"boolean\"},\"null\":{\"type\":\"boolean\"},\"object\":{\"type\":\"boolean\"},\"float\":{\"type\":\"boolean\"},\"integralNumber\":{\"type\":\"boolean\"},\"pojo\":{\"type\":\"boolean\"},\"short\":{\"type\":\"boolean\"},\"valueNode\":{\"type\":\"boolean\"},\"container\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"int\":{\"type\":\"boolean\"},\"long\":{\"type\":\"boolean\"},\"double\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"string\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"bigDecimal\":{\"type\":\"boolean\"},\"bigInteger\":{\"type\":\"boolean\"},\"textual\":{\"type\":\"boolean\",\"deprecated\":true},\"boolean\":{\"type\":\"boolean\"},\"binary\":{\"type\":\"boolean\"},\"number\":{\"type\":\"boolean\"},\"embeddedValue\":{\"type\":\"boolean\"}}}}}},\"required\":[\"code\",\"data\",\"message\",\"recordTime\"]}}}},\"401\":{\"description\":\"访问令牌无效或未激活\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"integer\",\"format\":\"int32\",\"enum\":[0,100,101,202,300,301,302,303,400,404,500,503,600,601,602]},\"message\":{\"type\":[\"string\",\"null\"]},\"data\":{},\"recordTime\":{\"type\":[\"string\",\"null\"]},\"requestId\":{\"type\":\"string\"},\"reason\":{\"type\":\"string\"},\"requestParams\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\"}},\"body\":{\"type\":\"object\",\"properties\":{\"empty\":{\"type\":\"boolean\"},\"array\":{\"type\":\"boolean\"},\"null\":{\"type\":\"boolean\"},\"object\":{\"type\":\"boolean\"},\"float\":{\"type\":\"boolean\"},\"integralNumber\":{\"type\":\"boolean\"},\"pojo\":{\"type\":\"boolean\"},\"short\":{\"type\":\"boolean\"},\"valueNode\":{\"type\":\"boolean\"},\"container\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"int\":{\"type\":\"boolean\"},\"long\":{\"type\":\"boolean\"},\"double\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"string\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"bigDecimal\":{\"type\":\"boolean\"},\"bigInteger\":{\"type\":\"boolean\"},\"textual\":{\"type\":\"boolean\",\"deprecated\":true},\"boolean\":{\"type\":\"boolean\"},\"binary\":{\"type\":\"boolean\"},\"number\":{\"type\":\"boolean\"},\"embeddedValue\":{\"type\":\"boolean\"}}}}}},\"required\":[\"code\",\"data\",\"message\",\"recordTime\"]}}}},\"403\":{\"description\":\"权限不足\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"integer\",\"format\":\"int32\",\"enum\":[0,100,101,202,300,301,302,303,400,404,500,503,600,601,602]},\"message\":{\"type\":[\"string\",\"null\"]},\"data\":{},\"recordTime\":{\"type\":[\"string\",\"null\"]},\"requestId\":{\"type\":\"string\"},\"reason\":{\"type\":\"string\"},\"requestParams\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\"}},\"body\":{\"type\":\"object\",\"properties\":{\"empty\":{\"type\":\"boolean\"},\"array\":{\"type\":\"boolean\"},\"null\":{\"type\":\"boolean\"},\"object\":{\"type\":\"boolean\"},\"float\":{\"type\":\"boolean\"},\"integralNumber\":{\"type\":\"boolean\"},\"pojo\":{\"type\":\"boolean\"},\"short\":{\"type\":\"boolean\"},\"valueNode\":{\"type\":\"boolean\"},\"container\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"int\":{\"type\":\"boolean\"},\"long\":{\"type\":\"boolean\"},\"double\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"string\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"bigDecimal\":{\"type\":\"boolean\"},\"bigInteger\":{\"type\":\"boolean\"},\"textual\":{\"type\":\"boolean\",\"deprecated\":true},\"boolean\":{\"type\":\"boolean\"},\"binary\":{\"type\":\"boolean\"},\"number\":{\"type\":\"boolean\"},\"embeddedValue\":{\"type\":\"boolean\"}}}}}},\"required\":[\"code\",\"data\",\"message\",\"recordTime\"]}}}},\"429\":{\"description\":\"请求速率或每日配额已超限\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"integer\",\"format\":\"int32\",\"enum\":[0,100,101,202,300,301,302,303,400,404,500,503,600,601,602]},\"message\":{\"type\":[\"string\",\"null\"]},\"data\":{},\"recordTime\":{\"type\":[\"string\",\"null\"]},\"requestId\":{\"type\":\"string\"},\"reason\":{\"type\":\"string\"},\"requestParams\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\"}},\"body\":{\"type\":\"object\",\"properties\":{\"empty\":{\"type\":\"boolean\"},\"array\":{\"type\":\"boolean\"},\"null\":{\"type\":\"boolean\"},\"object\":{\"type\":\"boolean\"},\"float\":{\"type\":\"boolean\"},\"integralNumber\":{\"type\":\"boolean\"},\"pojo\":{\"type\":\"boolean\"},\"short\":{\"type\":\"boolean\"},\"valueNode\":{\"type\":\"boolean\"},\"container\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"int\":{\"type\":\"boolean\"},\"long\":{\"type\":\"boolean\"},\"double\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"string\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"bigDecimal\":{\"type\":\"boolean\"},\"bigInteger\":{\"type\":\"boolean\"},\"textual\":{\"type\":\"boolean\",\"deprecated\":true},\"boolean\":{\"type\":\"boolean\"},\"binary\":{\"type\":\"boolean\"},\"number\":{\"type\":\"boolean\"},\"embeddedValue\":{\"type\":\"boolean\"}}}}}},\"required\":[\"code\",\"data\",\"message\",\"recordTime\"]}}}},\"500\":{\"description\":\"服务器内部错误\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"integer\",\"format\":\"int32\",\"enum\":[0,100,101,202,300,301,302,303,400,404,500,503,600,601,602]},\"message\":{\"type\":[\"string\",\"null\"]},\"data\":{},\"recordTime\":{\"type\":[\"string\",\"null\"]},\"requestId\":{\"type\":\"string\"},\"reason\":{\"type\":\"string\"},\"requestParams\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\"}},\"body\":{\"type\":\"object\",\"properties\":{\"empty\":{\"type\":\"boolean\"},\"array\":{\"type\":\"boolean\"},\"null\":{\"type\":\"boolean\"},\"object\":{\"type\":\"boolean\"},\"float\":{\"type\":\"boolean\"},\"integralNumber\":{\"type\":\"boolean\"},\"pojo\":{\"type\":\"boolean\"},\"short\":{\"type\":\"boolean\"},\"valueNode\":{\"type\":\"boolean\"},\"container\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"int\":{\"type\":\"boolean\"},\"long\":{\"type\":\"boolean\"},\"double\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"string\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"bigDecimal\":{\"type\":\"boolean\"},\"bigInteger\":{\"type\":\"boolean\"},\"textual\":{\"type\":\"boolean\",\"deprecated\":true},\"boolean\":{\"type\":\"boolean\"},\"binary\":{\"type\":\"boolean\"},\"number\":{\"type\":\"boolean\"},\"embeddedValue\":{\"type\":\"boolean\"}}}}}},\"required\":[\"code\",\"data\",\"message\",\"recordTime\"]}}}},\"503\":{\"description\":\"服务暂时不可用\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"integer\",\"format\":\"int32\",\"enum\":[0,100,101,202,300,301,302,303,400,404,500,503,600,601,602]},\"message\":{\"type\":[\"string\",\"null\"]},\"data\":{},\"recordTime\":{\"type\":[\"string\",\"null\"]},\"requestId\":{\"type\":\"string\"},\"reason\":{\"type\":\"string\"},\"requestParams\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\"}},\"body\":{\"type\":\"object\",\"properties\":{\"empty\":{\"type\":\"boolean\"},\"array\":{\"type\":\"boolean\"},\"null\":{\"type\":\"boolean\"},\"object\":{\"type\":\"boolean\"},\"float\":{\"type\":\"boolean\"},\"integralNumber\":{\"type\":\"boolean\"},\"pojo\":{\"type\":\"boolean\"},\"short\":{\"type\":\"boolean\"},\"valueNode\":{\"type\":\"boolean\"},\"container\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"int\":{\"type\":\"boolean\"},\"long\":{\"type\":\"boolean\"},\"double\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"string\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"bigDecimal\":{\"type\":\"boolean\"},\"bigInteger\":{\"type\":\"boolean\"},\"textual\":{\"type\":\"boolean\",\"deprecated\":true},\"boolean\":{\"type\":\"boolean\"},\"binary\":{\"type\":\"boolean\"},\"number\":{\"type\":\"boolean\"},\"embeddedValue\":{\"type\":\"boolean\"}}}}}},\"required\":[\"code\",\"data\",\"message\",\"recordTime\"]}}}}}")'
  :servers='JSON.parse("[{\"url\":\"https://api.justoneapi.com\",\"description\":\"全球生产 API（默认）\"}]")'
  :security='JSON.parse("[]")'
  :securitySchemes='JSON.parse("{}")'
  :schemas='JSON.parse("{}")'
/>

<ApiHealthSection :api='JSON.parse("\"/api/taobao/get-item-detail/v8\"")' />

<p>通过 V8 接口按 item ID 检索淘宝或天猫商品详情，该接口提供准确的 SKU 数量信息。可用于执行直接商品查询，以进行目录研究、商品监控或电商分析。</p>

## 使用提示

::: warning 适用条件 · 价格
<p>返回商品原价和SKU价格。对于预售商品，请区分定金和总价。</p>
:::

::: info 支持能力 · 属性
<p>以名称和值的形式提供商品属性。</p>
:::

::: info 支持能力 · SKU 选项
<p>提供SKU标识符、规格选项和数量信息。</p>
:::

::: info 支持能力 · 主图和轮播图
<p>提供商品主图和轮播图。</p>
:::

::: warning 适用条件 · 描述图片
<p>验证样本返回空的描述图片列表和描述获取URL。需要进一步获取才能获得图片。</p>
:::

::: tip 支持能力
<p>该接口返回准确的 SKU 数量信息。</p>
:::

::: warning 适用条件
<p>该接口可能因限流偶尔失败；失败时请重试请求。</p>
:::

## 请求参数

<div class="api-doc-table api-doc-table--params">

| 参数名 | 位置 | 类型 | 必填 | 默认值 | 说明 |
| --- | --- | --- | --- | --- | --- |
| <code>token</code> | query | <code>string</code> | 是 | - | 此 API 服务的访问令牌。 |
| <code>itemId</code> | query | <code>string</code> | 是 | - | 淘宝/天猫上的唯一商品标识符（商品ID）。 |

</div>

## 代码示例

::: code-group

```bash [🐚 cURL]
curl --max-time 120 -X GET 'https://api.justoneapi.com/api/taobao/get-item-detail/v8?token=YOUR_API_KEY&itemId=VALUE'
```

```text [🤖 AI 提示词]
我想使用 JustOneAPI 提供的“商品详情 (V8)”接口。
接入地址: https://api.justoneapi.com。
接口路径: /api/taobao/get-item-detail/v8?token=YOUR_API_KEY&itemId=VALUE
接口地址: BASE_URL + /api/taobao/get-item-detail/v8?token=YOUR_API_KEY&itemId=VALUE
HTTP 方法: GET
身份验证: 在 URL 中传入 token 查询参数。
OpenAPI 定义: https://docs.justoneapi.com/openapi/taobao-and-tmall/product-details-v8-zh.json

请求参数说明:
- token (query): 此 API 服务的访问令牌。 (必填)
- itemId (query): 淘宝/天猫上的唯一商品标识符（商品ID）。 (必填)

返回格式: 请根据实际 Content-Type 安全处理 JSON 或文本响应。

响应处理与错误码：
1. 需通过返回体中的 "code" 字段判断业务结果（code 为 0 表示成功）。
2. 超时建议：建议将请求超时时间设置为 120 秒；如果 120 秒偏长，请至少设置为 60 秒，但可能会有少量请求因超时而未接收到结果。
3. 业务码说明：
   - 0: 成功
   - 100: Token 无效或已失效
   - 301: 采集失败，请重试
   - 302: 超出速率限制
   - 303: 超出每日配额
   - 400: 参数错误
   - 500: 内部服务器错误
   - 600: 权限不足
   - 601: 账户余额不足
   - 602: TOKEN 限额超限
4. code 601 表示账户共享余额不足。code 602 表示当前 API TOKEN 自身的累计消费上限已达到。TOKEN 限额不是资金划拨，多个 TOKEN 仍共享同一个账户余额。

请帮我用我擅长的编程语言写一个脚本来调用这个接口，并处理返回结果。
```

```python [🐍 Python]
import requests

BASE_URL = "https://api.justoneapi.com"  # 由 OpenAPI servers 提供

url = BASE_URL + "/api/taobao/get-item-detail/v8?token=YOUR_API_KEY&itemId=VALUE"
response = requests.get(url, timeout=120)
print(response.status_code)
if response.content:
    content_type = response.headers.get("content-type", "").lower()
    if "json" in content_type:
        try:
            print(response.json())
        except ValueError:
            print(response.text)
    elif content_type.startswith("text/") or "xml" in content_type or content_type.split(";", 1)[0].strip() in {"application/javascript", "application/x-www-form-urlencoded", "application/graphql"}:
        print(response.text)
    else:
        with open("response.bin", "wb") as output:
            output.write(response.content)
        print(f"Saved {len(response.content)} bytes to response.bin")
```

```js [🌐 JavaScript]
const BASE_URL = "https://api.justoneapi.com"; // 由 OpenAPI servers 提供
const url = BASE_URL + "/api/taobao/get-item-detail/v8?token=YOUR_API_KEY&itemId=VALUE";

const response = await fetch(url, {
  method: "GET",
  signal: AbortSignal.timeout(120000)
});
console.log(response.status);
const responseBytes = await response.arrayBuffer();
if (responseBytes.byteLength) {
  const contentType = (response.headers.get("content-type") || "").toLowerCase();
  const mediaType = contentType.split(";", 1)[0].trim();
  const textual = contentType.startsWith("text/") || contentType.includes("json") || contentType.includes("xml") || ["application/javascript", "application/x-www-form-urlencoded", "application/graphql"].includes(mediaType);
  if (textual) {
    const responseText = new TextDecoder().decode(responseBytes);
    let data = responseText;
    if (contentType.includes("json")) {
      try { data = JSON.parse(responseText); } catch { /* Keep the raw body. */ }
    }
    console.log(data);
  } else {
    console.log(`Received ${responseBytes.byteLength} binary bytes`);
  }
}
```

```java [☕ Java]
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.time.Duration;
import java.nio.charset.StandardCharsets;
import java.nio.file.Files;
import java.nio.file.Path;

public class Main {
    public static void main(String[] args) throws Exception {
        final String BASE_URL = "https://api.justoneapi.com"; // 由 OpenAPI servers 提供
        final String url = BASE_URL + "/api/taobao/get-item-detail/v8?token=YOUR_API_KEY&itemId=VALUE";

        HttpClient client = HttpClient.newBuilder().connectTimeout(Duration.ofSeconds(120)).build();
        HttpRequest.Builder builder = HttpRequest.newBuilder()
            .uri(URI.create(url))
            .timeout(Duration.ofSeconds(120))
            .method("GET", HttpRequest.BodyPublishers.noBody());

        HttpRequest request = builder.build();

        HttpResponse<byte[]> response = client.send(request, HttpResponse.BodyHandlers.ofByteArray());
        System.out.println(response.statusCode());
        String contentType = response.headers().firstValue("content-type").orElse("").toLowerCase();
        String mediaType = contentType.split(";", 2)[0].trim();
        if (contentType.startsWith("text/") || contentType.contains("json") || contentType.contains("xml") || mediaType.equals("application/javascript") || mediaType.equals("application/x-www-form-urlencoded") || mediaType.equals("application/graphql")) {
            System.out.println(new String(response.body(), StandardCharsets.UTF_8));
        } else {
            Files.write(Path.of("response.bin"), response.body());
            System.out.println("Saved " + response.body().length + " bytes to response.bin");
        }
    }
}
```

```go [🐹 Go]
package main

import (
	"fmt"
	"io"
	"os"
	"strings"
	"net/http"
	"time"
)

const BASE_URL = "https://api.justoneapi.com" // 由 OpenAPI servers 提供

func main() {
	client := &http.Client{Timeout: 120 * time.Second}
	url := BASE_URL + "/api/taobao/get-item-detail/v8?token=YOUR_API_KEY&itemId=VALUE"
	req, _ := http.NewRequest("GET", url, nil)
	resp, _ := client.Do(req)
	defer resp.Body.Close()
	fmt.Println(resp.StatusCode)
	bodyBytes, _ := io.ReadAll(resp.Body)
	contentType := strings.ToLower(resp.Header.Get("Content-Type"))
	mediaType := strings.TrimSpace(strings.SplitN(contentType, ";", 2)[0])
	if strings.HasPrefix(contentType, "text/") || strings.Contains(contentType, "json") || strings.Contains(contentType, "xml") || mediaType == "application/javascript" || mediaType == "application/x-www-form-urlencoded" || mediaType == "application/graphql" {
		fmt.Println(string(bodyBytes))
	} else {
		os.WriteFile("response.bin", bodyBytes, 0600)
		fmt.Printf("Saved %d bytes to response.bin\n", len(bodyBytes))
	}
}
```

```php [🐘 PHP]
<?php
$BASE_URL = 'https://api.justoneapi.com'; // 由 OpenAPI servers 提供
$url = $BASE_URL . '/api/taobao/get-item-detail/v8?token=YOUR_API_KEY&itemId=VALUE';

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_TIMEOUT, 120);
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "GET");
$response = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
$contentType = strtolower((string) curl_getinfo($ch, CURLINFO_CONTENT_TYPE));
curl_close($ch);
echo $status . PHP_EOL;
$mediaType = trim(explode(';', $contentType, 2)[0]);
if (str_starts_with($contentType, 'text/') || str_contains($contentType, 'json') || str_contains($contentType, 'xml') || in_array($mediaType, ['application/javascript', 'application/x-www-form-urlencoded', 'application/graphql'], true)) {
    echo $response;
} else {
    file_put_contents('response.bin', $response);
    echo 'Saved ' . strlen($response) . ' bytes to response.bin' . PHP_EOL;
}
```

:::

<div style="text-align: right; margin-top: -20px; margin-bottom: 20px;">
<a href="/openapi/taobao-and-tmall/product-details-v8-zh.json" target="_blank" style="font-size: 12px; color: var(--vp-c-text-3); text-decoration: none; opacity: 0.8;">[OpenAPI 定义 (JSON)]</a>
</div>

## 返回字段

业务成功时（`code = 0`）的主要返回字段。

<div class="api-doc-table api-doc-table--response">

| 字段路径 | 类型 | 说明 |
| --- | --- | --- |
| <code>data</code> | - | 淘宝或天猫商品详情 V8 返回的商品信息。 |
| <code>data.item</code> | <code>object</code> | 商品标识、媒体和类目信息。 |
| <code>data.item.itemId</code> | <code>string</code> | 淘宝或天猫商品 ID，以字符串返回。 |
| <code>data.item.title</code> | <code>string</code> | 商品标题。 |
| <code>data.item.subtitle</code> | <code>string</code> | 商品副标题，如有提供。 |
| <code>data.item.images</code> | <code>array</code> | 商品图 URL 列表，按展示顺序返回。URL 可能省略协议。 |
| <code>data.item.images[]</code> | <code>string</code> | - |
| <code>data.item.videos</code> | <code>array</code> | 商品媒体区域展示的视频列表。 |
| <code>data.item.videos[]</code> | <code>object</code> | 单个商品展示视频。 |
| <code>data.item.videos[].url</code> | <code>string</code> | 视频 URL。 |
| <code>data.item.videos[].type</code> | <code>string</code> | 视频类型值。 |
| <code>data.item.videos[].videoThumbnailUrl</code> | <code>string</code> | 视频缩略图地址。 |
| <code>data.item.categoryId</code> | <code>string</code> | 商品类目 ID，以字符串返回。 |
| <code>data.item.rootCategoryId</code> | <code>string</code> | 商品一级类目 ID，以字符串返回。 |
| <code>data.item.brandValueId</code> | <code>string</code> | 商品品牌选项 ID，以字符串返回。 |
| <code>data.item.skuText</code> | <code>string</code> | 商品页展示的 SKU 规格摘要。 |
| <code>data.item.favcount</code> | <code>string</code> | 收藏量文本。 |
| <code>data.item.vagueSellCount</code> | <code>string</code> | 商品销量展示文本，可能包含近似或缩写。 |
| <code>data.item.tmallDescUrl</code> | <code>string</code> | 商品详情描述的获取链接，可能省略协议。 |
| <code>data.item.taobaoPcDescUrl</code> | <code>string</code> | 桌面版商品详情描述的获取链接。 |
| <code>data.seller</code> | <code>object</code> | 商品附带的卖家及店铺资料。 |
| <code>data.seller.userId</code> | <code>string</code> | 卖家账号 ID，以字符串返回。 |
| <code>data.seller.shopId</code> | <code>string</code> | 店铺 ID，以字符串返回。 |
| <code>data.seller.shopName</code> | <code>string</code> | 店铺展示名称。 |
| <code>data.seller.shopUrl</code> | <code>string</code> | 店铺链接，可能为相对地址或应用专用链接。 |
| <code>data.seller.taoShopUrl</code> | <code>string</code> | 平台返回的另一种店铺链接。 |
| <code>data.seller.shopIcon</code> | <code>string</code> | 店铺图标 URL。 |
| <code>data.seller.fans</code> | <code>string</code> | 店铺粉丝数展示文本。 |
| <code>data.seller.allItemCount</code> | <code>string</code> | 店铺商品数量，以文本返回。 |
| <code>data.seller.sellerType</code> | <code>string</code> | 平台返回的卖家类型值。 |
| <code>data.seller.shopType</code> | <code>string</code> | 平台返回的店铺类型值。 |
| <code>data.seller.sellerNick</code> | <code>string</code> | 卖家昵称。 |
| <code>data.seller.creditLevel</code> | <code>string</code> | 卖家信用等级，以文本返回。 |
| <code>data.seller.creditLevelIcon</code> | <code>string</code> | 卖家信用等级图标 URL。 |
| <code>data.seller.tagIcon</code> | <code>string</code> | 卖家标签图标 URL。 |
| <code>data.seller.goodRatePercentage</code> | <code>string</code> | 卖家好评率展示文本。 |
| <code>data.seller.certIcon</code> | <code>string</code> | 认证图标 URL，如有提供。 |
| <code>data.seller.certText</code> | <code>string</code> | 卖家或店铺的认证展示文本。 |
| <code>data.skuBase</code> | <code>object</code> | SKU 标识及商品规格定义。 |
| <code>data.skuBase.skus</code> | <code>array</code> | SKU 列表，包含变体标识和选中的规格。 |
| <code>data.skuBase.skus[]</code> | <code>object</code> | 一个 SKU 及其所选规格组合。 |
| <code>data.skuBase.skus[].skuId</code> | <code>string</code> | SKU ID，以文本返回。可用它在 <code>skuCore.sku2info</code> 中查询对应的价格和数量。 |
| <code>data.skuBase.skus[].propPath</code> | <code>string</code> | 每项选中的规格使用冒号连接 <code>pid</code> 和 <code>vid</code>，多项规格用分号分隔。可到 <code>skuBase.props</code> 查找 ID 对应的名称。 |
| <code>data.skuBase.props</code> | <code>array</code> | 商品规格定义及各规格的可选值。 |
| <code>data.skuBase.props[]</code> | <code>object</code> | 一项商品规格定义。 |
| <code>data.skuBase.props[].pid</code> | <code>string</code> | 商品规格定义 ID，以字符串返回。 |
| <code>data.skuBase.props[].name</code> | <code>string</code> | 商品页展示的规格名称。 |
| <code>data.skuBase.props[].values</code> | <code>array</code> | 该规格的可选值列表。 |
| <code>data.skuBase.props[].values[]</code> | <code>object</code> | 单个规格选项。 |
| <code>data.skuBase.props[].values[].vid</code> | <code>string</code> | 规格选项值 ID，以字符串返回。 |
| <code>data.skuBase.props[].values[].name</code> | <code>string</code> | 该规格选项值的展示名称。 |
| <code>data.skuBase.props[].values[].image</code> | <code>string</code> | 该规格值对应的图片 URL，如有提供。 |
| <code>data.skuCore</code> | <code>object</code> | SKU 价格、数量及履约展示信息。 |
| <code>data.skuCore.sku2info</code> | <code>object</code> | 以 <code>skuBase.skus[].skuId</code> 为键的对象，可能另有键 <code>0</code> 的商品汇总项。每项可能包含 <code>price</code>（<code>priceText</code>、<code>priceMoney</code>、<code>type</code>）、文本形式的 <code>quantity</code> 及 <code>logisticsTime</code>。已验证的单值 SKU 价格中，<code>priceMoney</code> 是 <code>priceText</code> 的 100 倍。价格区间与汇总项可能采用不同表示。 |
| <code>data.skuCore.sku2info.{key}</code> | <code>object</code> | 由动态键选中的一项价格及数量信息。 |
| <code>data.skuCore.sku2info.{key}.price</code> | <code>object</code> | 该映射条目的价格信息。 |
| <code>data.skuCore.sku2info.{key}.price.priceText</code> | <code>string</code> | 价格展示文本。商品汇总项可能展示价格区间。 |
| <code>data.skuCore.sku2info.{key}.price.priceMoney</code> | <code>string</code> | 原始金额文本。已验证的单值 SKU 条目以展示金额的百分之一为单位编码。 |
| <code>data.skuCore.sku2info.{key}.price.type</code> | <code>string</code> | 该价格对应的类型值。 |
| <code>data.skuCore.sku2info.{key}.quantity</code> | <code>string</code> | 该条目报告的数量，以文本返回。汇总项和单个 SKU 条目各自提供数量。 |
| <code>data.skuCore.sku2info.{key}.logisticsTime</code> | <code>string</code> | 该条目的履约时间文本，如有提供。 |
| <code>data.skuCore.skuItem</code> | <code>object</code> | SKU 区块附带的商品层级信息。 |
| <code>data.skuCore.skuItem.location</code> | <code>string</code> | SKU 详情附带的地点显示文本。 |
| <code>data.props</code> | <code>object</code> | 按展示分组返回的商品属性。 |
| <code>data.props.groupProps</code> | <code>array</code> | 以分组名称为键的对象数组。每个分组下又有一个数组，其中的对象以属性展示名称为键、属性文本为值。 |
| <code>data.props.groupProps[]</code> | <code>object</code> | 属性分组，分组名称随商品变化。 |
| <code>data.props.groupProps[].{key}</code> | <code>array</code> | 一个组名下的属性条目列表。 |
| <code>data.props.groupProps[].{key}[]</code> | <code>object</code> | 单个商品属性对象，包含属性名称到文本值的映射。 |
| <code>data.props.groupProps[].{key}[].{key}</code> | <code>string</code> | 属性展示值，以文本返回。 |
| <code>data.delivery</code> | <code>object</code> | 商品页的配送信息。 |
| <code>data.delivery.from</code> | <code>string</code> | 展示的发货地。 |
| <code>data.delivery.to</code> | <code>string</code> | 展示的收货地。 |
| <code>data.delivery.completedTo</code> | <code>string</code> | 更完整的收货地文本，如有提供。 |
| <code>data.delivery.areaId</code> | <code>string</code> | 收货地区 ID，以字符串返回。 |
| <code>data.delivery.postage</code> | <code>string</code> | 商品页展示的运费或邮费说明。 |
| <code>data.delivery.addressWeexUrl</code> | <code>string</code> | 商品页使用的地址选择链接。 |
| <code>data.priceSection</code> | <code>object</code> | 商品页展示的价格区块。 |
| <code>data.priceSection.price</code> | <code>object</code> | 价格区块的主要价格展示。 |
| <code>data.priceSection.price.priceText</code> | <code>string</code> | 价格展示文本，可能包含区间。 |
| <code>data.priceSection.price.priceMoney</code> | <code>string</code> | 该价格展示条目的原始金额，以文本返回。 |
| <code>data.priceSection.price.priceTitle</code> | <code>string</code> | 该价格旁的展示标题。 |
| <code>data.priceSection.price.priceType</code> | <code>string</code> | 平台返回的价格展示类型值。 |
| <code>data.priceSection.price.newLine</code> | <code>string</code> | 价格条目的换行展示标志，以文本返回。 |
| <code>data.priceSection.price.priceSize</code> | <code>string</code> | 价格展示文字的大小值。 |
| <code>data.priceSection.extraPrice</code> | <code>object</code> | 补充价格展示，如有提供。 |
| <code>data.priceSection.extraPrice.priceText</code> | <code>string</code> | 价格展示文本，可能包含区间。 |
| <code>data.priceSection.extraPrice.priceMoney</code> | <code>string</code> | 该价格展示条目的原始金额，以文本返回。 |
| <code>data.priceSection.extraPrice.priceTitle</code> | <code>string</code> | 该价格旁的展示标题。 |
| <code>data.priceSection.extraPrice.priceType</code> | <code>string</code> | 平台返回的价格展示类型值。 |
| <code>data.priceSection.extraPrice.priceColor</code> | <code>string</code> | 价格展示文字的颜色值。 |
| <code>data.priceSection.extraPrice.lineThrough</code> | <code>string</code> | 价格条目的删除线展示标志，以文本返回。 |
| <code>data.priceSection.extraPrice.newLine</code> | <code>string</code> | 价格条目的换行展示标志，以文本返回。 |
| <code>data.priceSection.extraPrice.priceTail</code> | <code>string</code> | 该价格后展示的文本。 |
| <code>data.priceSection.promotion</code> | <code>object</code> | 价格区块的促销展示。 |
| <code>data.priceSection.promotion.entranceTip</code> | <code>string</code> | 促销入口展示文案。 |
| <code>data.priceSection.promotion.entranceUrl</code> | <code>string</code> | 促销入口链接。 |
| <code>data.priceSection.promotion.items</code> | <code>array</code> | 商品价格旁展示的促销条目列表，可能为空。 |
| <code>data.priceSection.promotion.items[]</code> | <code>object</code> | 单个促销展示条目。 |
| <code>data.priceSection.promotion.items[].content</code> | <code>string</code> | 促销展示文案。 |
| <code>data.priceSection.promotion.items[].type</code> | <code>string</code> | 平台返回的促销类型值。 |
| <code>data.priceSection.promotion.items[].textColor</code> | <code>string</code> | 促销文案的颜色值。 |
| <code>data.priceSection.promotion.items[].bgImage</code> | <code>string</code> | 促销展示背景图。 |
| <code>data.priceSection.promotion.items[].startTime</code> | <code>string</code> | 报告的促销开始时间，以文本返回。 |
| <code>data.priceSection.promotion.items[].endTime</code> | <code>string</code> | 报告的促销结束时间，以文本返回。 |
| <code>data.itemPrice</code> | <code>object</code> | 商品层级的价格展示信息。 |
| <code>data.itemPrice.price</code> | <code>object</code> | 商品价格信息中的主要价格条目。 |
| <code>data.itemPrice.price.priceText</code> | <code>string</code> | 价格展示文本，可能包含区间。 |
| <code>data.itemPrice.price.priceMoney</code> | <code>string</code> | 该价格展示条目的原始金额，以文本返回。 |
| <code>data.itemPrice.price.type</code> | <code>string</code> | 平台返回的价格类型值。 |
| <code>data.itemPrice.subPrice</code> | <code>object</code> | 辅助价格条目，如有提供。 |
| <code>data.itemPrice.subPrice.priceText</code> | <code>string</code> | 价格展示文本，可能包含区间。 |
| <code>data.itemPrice.subPrice.priceMoney</code> | <code>string</code> | 该价格展示条目的原始金额，以文本返回。 |
| <code>data.itemPrice.subPrice.type</code> | <code>string</code> | 平台返回的价格类型值。 |
| <code>data.itemPrice.extraPrices</code> | <code>array</code> | 补充的商品价格展示条目。 |
| <code>data.itemPrice.extraPrices[]</code> | <code>object</code> | 单个补充价格条目。 |
| <code>data.itemPrice.extraPrices[].priceText</code> | <code>string</code> | 价格展示文本，可能包含区间。 |
| <code>data.itemPrice.extraPrices[].priceMoney</code> | <code>string</code> | 该价格展示条目的原始金额，以文本返回。 |
| <code>data.itemPrice.extraPrices[].priceTitle</code> | <code>string</code> | 该价格旁的展示标题。 |
| <code>data.itemPrice.extraPrices[].type</code> | <code>string</code> | 平台返回的价格类型值。 |
| <code>data.itemPrice.extraPrices[].lineThrough</code> | <code>string</code> | 价格条目的删除线展示标志，以文本返回。 |
| <code>data.itemPrice.newExtraPrices</code> | <code>array</code> | 另一组补充价格展示条目，如有返回。 |
| <code>data.itemPrice.newExtraPrices[]</code> | <code>object</code> | 该分组的单个补充价格条目。 |
| <code>data.itemPrice.newExtraPrices[].priceText</code> | <code>string</code> | 价格展示文本，可能包含区间。 |
| <code>data.itemPrice.newExtraPrices[].priceMoney</code> | <code>string</code> | 该价格展示条目的原始金额，以文本返回。 |
| <code>data.itemPrice.newExtraPrices[].priceTitle</code> | <code>string</code> | 该价格旁的展示标题。 |
| <code>data.itemPrice.newExtraPrices[].type</code> | <code>string</code> | 平台返回的价格类型值。 |
| <code>data.itemPrice.newExtraPrices[].lineThrough</code> | <code>string</code> | 价格条目的删除线展示标志，以文本返回。 |
| <code>data.itemPrice.transmitPrice</code> | <code>object</code> | 传递价格字段中的价格文本。 |
| <code>data.itemPrice.transmitPrice.priceText</code> | <code>string</code> | 价格展示文本，可能包含区间。 |
| <code>data.itemPrice.priceTag</code> | <code>array</code> | 商品价格旁展示的标签。 |
| <code>data.itemPrice.priceTag[]</code> | <code>object</code> | 单个商品价格标签。 |
| <code>data.itemPrice.priceTag[].text</code> | <code>string</code> | 价格标签的展示文案。 |
| <code>data.trade</code> | <code>object</code> | 商品响应中的购买和购物车状态。 |
| <code>data.trade.buyEnable</code> | <code>string</code> | 购买入口的启用状态，以文本返回。 |
| <code>data.trade.cartEnable</code> | <code>string</code> | 加入购物车入口的启用状态，以文本返回。 |
| <code>data.trade.buyUrl</code> | <code>string</code> | 购买入口的链接值。 |
| <code>data.trade.hintBanner</code> | <code>object</code> | 购买区域的提示条，如有提供。 |
| <code>data.trade.hintBanner.text</code> | <code>string</code> | 提示条文案。 |
| <code>data.trade.hintBanner.bgColor</code> | <code>string</code> | 提示条背景颜色。 |
| <code>data.rate</code> | <code>null &#124; object</code> | 商品评价预览及评价关键词。该字段可能为 null。 |
| <code>data.rate.totalCount</code> | <code>string</code> | 评价预览中报告的评价总数，以文本返回。 |
| <code>data.rate.vagueCount</code> | <code>string</code> | 商品页展示的评价数简写。 |
| <code>data.rate.keywords</code> | <code>array</code> | 商品页展示的评价关键词。 |
| <code>data.rate.keywords[]</code> | <code>object</code> | 单个评价关键词条目。 |
| <code>data.rate.keywords[].word</code> | <code>string</code> | 评价关键词的展示文本。 |
| <code>data.rate.keywords[].count</code> | <code>string</code> | 关键词对应的数量文本。 |
| <code>data.rate.rateList</code> | <code>array</code> | 评价预览中的评价列表。 |
| <code>data.rate.rateList[]</code> | <code>object</code> | 商品页中的单条评价预览。 |
| <code>data.rate.rateList[].content</code> | <code>string</code> | 评价内容。 |
| <code>data.rate.rateList[].userName</code> | <code>string</code> | 评价者展示名称。 |
| <code>data.rate.rateList[].headPic</code> | <code>string</code> | 评价者头像地址。 |
| <code>data.rate.rateList[].dateTime</code> | <code>string</code> | 平台展示的评价日期或时间文本。 |
| <code>data.rate.rateList[].createTimeInterval</code> | <code>string</code> | 评价对应的相对时间文本。 |
| <code>data.rate.rateList[].skuInfo</code> | <code>string</code> | 评价展示的 SKU 规格文本。 |
| <code>data.rate.rateList[].images</code> | <code>array</code> | 评价附带的图片 URL 列表。 |
| <code>data.rate.rateList[].images[]</code> | <code>string</code> | - |
| <code>data.rate.rateList[].feedId</code> | <code>string</code> | 评价内容标识，以字符串返回。 |
| <code>data.consumerProtection</code> | <code>object</code> | 商品展示的消费者保障信息。 |
| <code>data.consumerProtection.url</code> | <code>string</code> | 消费者保障说明链接。 |
| <code>data.consumerProtection.tradeConsumerService</code> | <code>object</code> | 购买保障服务展示详情。 |
| <code>data.consumerProtection.tradeConsumerService.service</code> | <code>object</code> | 展示的消费者保障服务。 |
| <code>data.consumerProtection.tradeConsumerService.service.title</code> | <code>string</code> | 保障服务区块标题。 |
| <code>data.consumerProtection.tradeConsumerService.service.icon</code> | <code>string</code> | 保障服务区块图标 URL，如有提供。 |
| <code>data.consumerProtection.tradeConsumerService.service.items</code> | <code>array</code> | 消费者保障服务条目列表。 |
| <code>data.consumerProtection.tradeConsumerService.service.items[]</code> | <code>object</code> | 单个消费者保障服务条目。 |
| <code>data.consumerProtection.tradeConsumerService.service.items[].title</code> | <code>string</code> | 服务展示标题。 |
| <code>data.consumerProtection.tradeConsumerService.service.items[].icon</code> | <code>string</code> | 服务图标 URL。 |
| <code>data.consumerProtection.tradeConsumerService.service.items[].desc</code> | <code>string</code> | 服务展示说明。 |
| <code>data.consumerProtection.tradeConsumerService.nonService</code> | <code>object</code> | 展示的商品不适用服务信息。 |
| <code>data.consumerProtection.tradeConsumerService.nonService.title</code> | <code>string</code> | 不适用服务区块标题。 |
| <code>data.consumerProtection.tradeConsumerService.nonService.items</code> | <code>array</code> | 商品展示的不适用服务条目列表。 |
| <code>data.consumerProtection.tradeConsumerService.nonService.items[]</code> | <code>object</code> | 单个不适用服务条目。 |
| <code>data.consumerProtection.tradeConsumerService.nonService.items[].icon</code> | <code>string</code> | 该服务条目的展示图标 URL。 |
| <code>data.consumerProtection.tradeConsumerService.nonService.items[].title</code> | <code>string</code> | 该服务条目的展示标题。 |
| <code>data.vertical</code> | <code>object</code> | 商品页附带的可选模块。 |
| <code>data.vertical.verticals</code> | <code>object</code> | 该商品返回的可选展示模块。 |
| <code>data.vertical.verticals.askAll</code> | <code>object</code> | 商品问答预览。 |
| <code>data.vertical.verticals.askAll.title</code> | <code>string</code> | 问答区块标题。 |
| <code>data.vertical.verticals.askAll.askText</code> | <code>string</code> | 问答入口展示文案。 |
| <code>data.vertical.verticals.askAll.askIcon</code> | <code>string</code> | 问答入口图标 URL。 |
| <code>data.vertical.verticals.askAll.linkUrl</code> | <code>string</code> | 商品问答入口链接。 |
| <code>data.vertical.verticals.askAll.questNum</code> | <code>string</code> | 问答数量展示文本。 |
| <code>data.vertical.verticals.groupChat</code> | <code>object</code> | 商品页展示的店铺群聊入口。 |
| <code>data.vertical.verticals.groupChat.title</code> | <code>string</code> | 群聊展示标题。 |
| <code>data.vertical.verticals.groupChat.image</code> | <code>string</code> | 群聊展示图片 URL。 |
| <code>data.vertical.verticals.groupChat.fansCount</code> | <code>string</code> | 群聊入口展示的粉丝数文本。 |
| <code>data.vertical.verticals.groupChat.url</code> | <code>string</code> | 群聊入口链接。 |
| <code>data.vertical.verticals.groupChat.desc</code> | <code>string</code> | 群聊展示说明。 |
| <code>data.vertical.verticals.transparentBroadcast</code> | <code>object</code> | 商品页展示的直播入口，如有提供。 |
| <code>data.vertical.verticals.transparentBroadcast.liveId</code> | <code>string</code> | 直播 ID，以字符串返回。 |
| <code>data.vertical.verticals.transparentBroadcast.jumpUrl</code> | <code>string</code> | 直播跳转链接。 |
| <code>data.vertical.verticals.transparentBroadcast.playUrl</code> | <code>string</code> | 直播播放地址。 |
| <code>data.vertical.verticals.inter</code> | <code>object</code> | 跨境商品的价格或税费展示信息。 |
| <code>data.vertical.verticals.inter.taxDescTittle</code> | <code>string</code> | 进口税展示信息的标题。 |
| <code>data.vertical.verticals.inter.taxDesc</code> | <code>array</code> | 进口税说明条目，标题随商品变化。 |
| <code>data.vertical.verticals.inter.taxDesc[]</code> | <code>object</code> | 单个进口税说明条目。 |
| <code>data.vertical.verticals.inter.tariff</code> | <code>object</code> | 税费标签及其展示值。 |
| <code>data.vertical.verticals.inter.tariff.name</code> | <code>string</code> | 税费展示名称。 |
| <code>data.vertical.verticals.inter.tariff.value</code> | <code>string</code> | 税费展示值，以文本返回。 |

</div>

## 响应示例

<ApiExampleSection :api='JSON.parse("\"/api/taobao/get-item-detail/v8\"")' />

