---
title: "閒魚商品詳情 API (V1)"
description: "通過商品ID獲取閒魚二手商品的公開詳情。用於在搜索或連結發現後檢查已知轉售商品。"
aiUsagePrompt: true
---

# 閒魚商品詳情 API \(V1\)

<ApiTester
  method="GET"
  :path='JSON.parse("\"/api/xianyu/get-item-detail/v1\"")'
  :summary='JSON.parse("\"商品詳情 (V1)\"")'
  openapiDefinitionUrl="https://docs.justoneapi.com/openapi/xianyu-goofish/product-details-v1-zh-hant.json"
  openapiVersion="3.1.0"
  :parameters='JSON.parse("[{\"name\":\"token\",\"in\":\"query\",\"description\":\"此 API 服務的訪問令牌。\",\"required\":true,\"schema\":{\"type\":\"string\"}},{\"name\":\"itemId\",\"in\":\"query\",\"description\":\"閒魚上的唯一商品標識符。\",\"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\":{\"type\":[\"object\",\"string\",\"null\"],\"description\":\"對象中包含商品詳情，也可能帶有下架等狀態。業務成功時還可能返回商品不可用的提示文本或 null。\",\"properties\":{\"itemDO\":{\"type\":\"object\",\"description\":\"查詢商品的詳情。\",\"properties\":{\"itemId\":{\"type\":\"string\",\"description\":\"閒魚商品 ID。\"},\"title\":{\"type\":\"string\",\"description\":\"商品標題。\"},\"desc\":{\"type\":\"string\",\"description\":\"商品的純文本描述。\"},\"richTextDesc\":{\"type\":\"string\",\"description\":\"商品的富文本描述。\"},\"itemType\":{\"type\":\"string\",\"description\":\"平台返回的商品類型。\"},\"itemStatus\":{\"type\":\"string\",\"description\":\"以字符串返回的商品狀態代碼。\"},\"itemStatusStr\":{\"type\":\"string\",\"description\":\"商品狀態文案，可能提示商品已下架。\"},\"gmtCreate\":{\"type\":\"string\",\"description\":\"商品創建時間，以 Unix 毫秒時間戳字符串返回。\"},\"GMT_CREATE_DATE_KEY\":{\"type\":\"string\",\"description\":\"商品創建日期文案。\"},\"quantity\":{\"type\":\"string\",\"description\":\"以字符串返回的商品數量。\"},\"categoryId\":{\"type\":\"string\",\"description\":\"商品所屬的類目 ID。\"},\"itemCatDTO\":{\"type\":\"object\",\"description\":\"商品關聯的類目標識。\",\"properties\":{\"catId\":{\"type\":\"string\",\"description\":\"類目對象中的類目 ID。\"},\"leafId\":{\"type\":\"string\",\"description\":\"末級類目 ID。\"},\"channelCatId\":{\"type\":\"string\",\"description\":\"閒魚頻道類目 ID。\"},\"rootChannelCatId\":{\"type\":\"string\",\"description\":\"閒魚頻道頂級類目 ID。\"},\"level2ChannelCatId\":{\"type\":\"string\",\"description\":\"閒魚頻道二級類目 ID。\"},\"level3ChannelCatId\":{\"type\":\"string\",\"description\":\"閒魚頻道三級類目 ID。\"},\"tbCatId\":{\"type\":\"string\",\"description\":\"關聯的淘寶類目 ID。\"}}},\"soldPrice\":{\"type\":\"string\",\"description\":\"以十進制字符串返回的商品價格。商品已下架時也可能返回此欄位。\"},\"originalPrice\":{\"type\":\"string\",\"description\":\"以字符串返回的商品原價。\"},\"defaultPrice\":{\"type\":\"string\",\"description\":\"預設價格欄位以字符串返回，可能為空或包含非數字內容。\"},\"priceUnit\":{\"type\":\"string\",\"description\":\"價格單位的展示文案，可能為空。\"},\"transportFee\":{\"type\":\"string\",\"description\":\"以字符串返回的商品運費。\"},\"promotionPriceDO\":{\"type\":\"object\",\"description\":\"商品的促銷價格信息，可能省略。\",\"properties\":{\"promotionName\":{\"type\":\"string\",\"description\":\"促銷價格的名稱。\"},\"promotionPriceMin\":{\"type\":\"string\",\"description\":\"以字符串返回的最低促銷價。\"},\"minDiscountFeeStr\":{\"type\":\"string\",\"description\":\"最低優惠金額的展示文案。\"}}},\"priceRelativeTags\":{\"type\":\"array\",\"description\":\"商品價格旁的展示標籤。\",\"items\":{\"type\":\"object\",\"description\":\"一項價格展示標籤。\",\"properties\":{\"text\":{\"type\":\"string\",\"description\":\"價格標籤的展示文案。\"}}}},\"browseCnt\":{\"type\":\"string\",\"description\":\"以字符串返回的商品瀏覽數。\"},\"wantCnt\":{\"type\":\"string\",\"description\":\"以字符串返回的商品想要人數。\"},\"wantCntUnit\":{\"type\":\"string\",\"description\":\"想要人數的展示單位。\"},\"soldCnt\":{\"type\":\"string\",\"description\":\"以字符串返回的商品銷量。\"},\"collectCnt\":{\"type\":\"string\",\"description\":\"以字符串返回的商品收藏數。\"},\"favorCnt\":{\"type\":\"string\",\"description\":\"以字符串返回的商品收藏相關計數。\"},\"interactFavorCnt\":{\"type\":\"string\",\"description\":\"商品互動中的收藏相關計數，以字符串返回。\"},\"defaultPicture\":{\"type\":\"string\",\"description\":\"商品的預設圖片地址。\"},\"noPicItem\":{\"type\":\"string\",\"description\":\"商品是否帶有無圖標記，以字符串返回。\"},\"imageInfos\":{\"type\":\"array\",\"description\":\"商品相冊圖片列表，可能為空。\",\"items\":{\"type\":\"object\",\"description\":\"商品相冊中的一張圖片。\",\"properties\":{\"major\":{\"type\":\"string\",\"description\":\"是否標記為主圖，以字符串返回。\"},\"widthSize\":{\"type\":\"string\",\"description\":\"以字符串返回的圖片寬度，單位為像素。\"},\"heightSize\":{\"type\":\"string\",\"description\":\"以字符串返回的圖片高度，單位為像素。\"},\"type\":{\"type\":\"string\",\"description\":\"以字符串返回的圖片類型代碼。\"},\"url\":{\"type\":\"string\",\"description\":\"相冊圖片地址。\"}}}},\"videoPlayInfo\":{\"type\":\"object\",\"description\":\"商品視頻信息，可能省略。\",\"properties\":{\"videoId\":{\"type\":\"string\",\"description\":\"商品視頻的標識。\"},\"major\":{\"type\":\"string\",\"description\":\"是否標記為主視頻，以字符串返回。\"},\"type\":{\"type\":\"string\",\"description\":\"以字符串返回的視頻類型代碼。\"},\"widthSize\":{\"type\":\"string\",\"description\":\"以字符串返回的視頻寬度，單位為像素。\"},\"heightSize\":{\"type\":\"string\",\"description\":\"以字符串返回的視頻高度，單位為像素。\"},\"url\":{\"type\":\"string\",\"description\":\"視頻條目關聯的圖片地址。\"},\"playUrl\":{\"type\":\"string\",\"description\":\"商品視頻播放地址。\"},\"ld320pUrl\":{\"type\":\"string\",\"description\":\"320p 版本的視頻播放地址。\"},\"sd480pUrl\":{\"type\":\"string\",\"description\":\"480p 版本的視頻播放地址。\"}}},\"commonTags\":{\"type\":\"array\",\"description\":\"商品的通用展示標籤。\",\"items\":{\"type\":\"object\",\"description\":\"一項通用展示標籤。\",\"properties\":{\"text\":{\"type\":\"string\",\"description\":\"通用標籤的展示文案。\"}}}},\"itemLabelExtList\":{\"type\":\"array\",\"description\":\"商品的擴展標籤列表。\",\"items\":{\"type\":\"object\",\"description\":\"一項商品擴展標籤。\",\"properties\":{\"labelId\":{\"type\":\"string\",\"description\":\"此標籤的標識。\"},\"labelType\":{\"type\":\"string\",\"description\":\"此標籤的類型代碼。\"},\"propertyId\":{\"type\":\"string\",\"description\":\"標籤關聯的屬性 ID。\"},\"propertyText\":{\"type\":\"string\",\"description\":\"標籤關聯屬性的展示名稱。\"},\"valueId\":{\"type\":\"string\",\"description\":\"標籤值的標識。\"},\"valueText\":{\"type\":\"string\",\"description\":\"標籤值的展示文案。\"},\"text\":{\"type\":\"string\",\"description\":\"標籤的展示文案。\"}}}},\"cpvLabels\":{\"type\":\"array\",\"description\":\"商品關聯的類目屬性標籤列表。\",\"items\":{\"type\":\"object\",\"description\":\"一項類目屬性標籤。\",\"properties\":{\"propertyId\":{\"type\":\"string\",\"description\":\"類目屬性 ID。\"},\"propertyName\":{\"type\":\"string\",\"description\":\"類目屬性名稱。\"},\"valueId\":{\"type\":\"string\",\"description\":\"類目屬性值 ID。\"},\"valueName\":{\"type\":\"string\",\"description\":\"類目屬性值的展示名稱。\"}}}},\"cpvTopics\":{\"type\":\"array\",\"description\":\"與商品類目屬性關聯的話題列表。\",\"items\":{\"type\":\"object\",\"description\":\"一個類目屬性關聯話題。\",\"properties\":{\"id\":{\"type\":\"string\",\"description\":\"話題 ID。\"},\"name\":{\"type\":\"string\",\"description\":\"話題展示名稱。\"},\"pvList\":{\"type\":\"array\",\"description\":\"話題關聯的屬性與屬性值 ID 列表。\",\"items\":{\"type\":\"object\",\"description\":\"話題關聯的一對屬性與屬性值。\",\"properties\":{\"propertyId\":{\"type\":\"string\",\"description\":\"類目屬性 ID。\"},\"valueId\":{\"type\":\"string\",\"description\":\"類目屬性值 ID。\"}}}}}}},\"uiItemServiceDOList\":{\"type\":\"array\",\"description\":\"商品附帶的服務保障條目。\",\"items\":{\"type\":\"object\",\"description\":\"一項服務保障。\"}},\"charitableItem\":{\"type\":\"string\",\"description\":\"商品是否帶有公益標記，以字符串返回。\"},\"charitableTag\":{\"type\":\"object\",\"description\":\"公益商品的展示標籤。\",\"properties\":{\"iconHeight\":{\"type\":\"string\",\"description\":\"以字符串返回的標籤圖標高度，單位為像素。\"},\"iconWidth\":{\"type\":\"string\",\"description\":\"以字符串返回的標籤圖標寬度，單位為像素。\"},\"iconUrl\":{\"type\":\"string\",\"description\":\"標籤圖標的圖片地址。\"}}}}},\"sellerDO\":{\"type\":\"object\",\"description\":\"與商品關聯的賣家資料和服務信息。\",\"properties\":{\"sellerId\":{\"type\":\"string\",\"description\":\"閒魚賣家 ID。\"},\"nick\":{\"type\":\"string\",\"description\":\"賣家展示暱稱。\"},\"desensitizationNick\":{\"type\":\"string\",\"description\":\"脫敏後的賣家暱稱。\"},\"uniqueName\":{\"type\":\"string\",\"description\":\"平台返回的賣家唯一名稱。\"},\"portraitUrl\":{\"type\":\"string\",\"description\":\"賣家頭像地址。\"},\"city\":{\"type\":\"string\",\"description\":\"賣家資料中返回的城市。\"},\"publishCity\":{\"type\":\"string\",\"description\":\"商品發佈城市。\"},\"businessType\":{\"type\":\"string\",\"description\":\"平台返回的賣家經營類型。\"},\"userRegDay\":{\"type\":\"string\",\"description\":\"以字符串返回的賣家註冊天數。\"},\"registerTime\":{\"type\":\"string\",\"description\":\"以時間戳字符串返回的賣家註冊時間。\"},\"itemCount\":{\"type\":\"string\",\"description\":\"以字符串返回的賣家商品數。\"},\"hasSoldNumInteger\":{\"type\":\"string\",\"description\":\"以字符串返回的賣家已售商品數。\"},\"newGoodRatioRate\":{\"type\":\"string\",\"description\":\"賣家好評率的展示文案。\"},\"replyRatio24h\":{\"type\":\"string\",\"description\":\"賣家 24 小時內回覆率的展示文案。\"},\"replyIn24hRatioDouble\":{\"type\":\"string\",\"description\":\"以數字字符串返回的 24 小時內回覆率。\"},\"replyInterval\":{\"type\":\"string\",\"description\":\"賣家回覆間隔的展示文案。\"},\"avgReply30dLong\":{\"type\":\"string\",\"description\":\"以字符串返回的賣家近 30 天平均回覆時長。\"},\"remarkDO\":{\"type\":\"object\",\"description\":\"賣家各類評價的計數。\",\"properties\":{\"sellerDefaultRemarkCnt\":{\"type\":\"string\",\"description\":\"以字符串返回的賣家預設評價數。\"},\"sellerGoodRemarkCnt\":{\"type\":\"string\",\"description\":\"以字符串返回的賣家好評數。\"},\"sellerBadRemarkCnt\":{\"type\":\"string\",\"description\":\"以字符串返回的賣家差評數。\"}}},\"idleFishCreditTag\":{\"type\":\"object\",\"description\":\"賣家展示的閒魚信用標識。\",\"properties\":{\"iconHeight\":{\"type\":\"string\",\"description\":\"以字符串返回的標籤圖標高度，單位為像素。\"},\"iconWidth\":{\"type\":\"string\",\"description\":\"以字符串返回的標籤圖標寬度，單位為像素。\"},\"iconUrl\":{\"type\":\"string\",\"description\":\"標籤圖標的圖片地址。\"}}},\"sellerInfoTags\":{\"type\":\"array\",\"description\":\"隨商品展示的賣家信息標籤列表。\",\"items\":{\"type\":\"object\",\"description\":\"一項賣家信息標籤。\",\"properties\":{\"iconHeight\":{\"type\":\"string\",\"description\":\"以字符串返回的標籤圖標高度，單位為像素。\"},\"iconWidth\":{\"type\":\"string\",\"description\":\"以字符串返回的標籤圖標寬度，單位為像素。\"},\"iconUrl\":{\"type\":\"string\",\"description\":\"標籤圖標的圖片地址。\"},\"text\":{\"type\":\"string\",\"description\":\"賣家信息標籤的展示文案。\"}}}},\"identityTags\":{\"type\":\"array\",\"description\":\"賣家身份的展示標籤列表。\",\"items\":{\"type\":\"object\",\"description\":\"一項賣家身份標籤。\",\"properties\":{\"iconHeight\":{\"type\":\"string\",\"description\":\"以字符串返回的標籤圖標高度，單位為像素。\"},\"iconWidth\":{\"type\":\"string\",\"description\":\"以字符串返回的標籤圖標寬度，單位為像素。\"},\"iconUrl\":{\"type\":\"string\",\"description\":\"標籤圖標的圖片地址。\"},\"text\":{\"type\":\"string\",\"description\":\"賣家身份標籤的展示文案。\"}}}},\"levelTags\":{\"type\":\"array\",\"description\":\"賣家等級的展示標籤列表。\",\"items\":{\"type\":\"object\",\"description\":\"一項賣家等級標籤。\",\"properties\":{\"iconHeight\":{\"type\":\"string\",\"description\":\"以字符串返回的標籤圖標高度，單位為像素。\"},\"iconWidth\":{\"type\":\"string\",\"description\":\"以字符串返回的標籤圖標寬度，單位為像素。\"},\"iconUrl\":{\"type\":\"string\",\"description\":\"標籤圖標的圖片地址。\"}}}},\"goodSellerTag\":{\"type\":\"object\",\"description\":\"賣家資料附帶的優質賣家標識，可能省略。\",\"properties\":{\"iconHeight\":{\"type\":\"string\",\"description\":\"以字符串返回的標籤圖標高度，單位為像素。\"},\"iconWidth\":{\"type\":\"string\",\"description\":\"以字符串返回的標籤圖標寬度，單位為像素。\"},\"iconUrl\":{\"type\":\"string\",\"description\":\"標籤圖標的圖片地址。\"},\"text\":{\"type\":\"string\",\"description\":\"優質賣家標識的展示文案。\"}}},\"sellerItems\":{\"type\":\"array\",\"description\":\"賣家其他商品的展示條目，可能為空，也可能包含沒有商品 ID 的條目。\",\"items\":{\"type\":\"object\",\"description\":\"賣家其他商品列表中的一個條目。\",\"properties\":{\"itemId\":{\"type\":\"string\",\"description\":\"關聯商品的 ID，可能省略。\"},\"title\":{\"type\":\"string\",\"description\":\"關聯商品的展示標題。\"},\"text\":{\"type\":\"string\",\"description\":\"關聯商品條目的展示文案。\"},\"iconUrl\":{\"type\":\"string\",\"description\":\"關聯商品條目附帶的圖片地址。\"},\"type\":{\"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\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"valueNode\":{\"type\":\"boolean\"},\"container\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"string\":{\"type\":\"boolean\"},\"integralNumber\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"pojo\":{\"type\":\"boolean\"},\"short\":{\"type\":\"boolean\"},\"int\":{\"type\":\"boolean\"},\"long\":{\"type\":\"boolean\"},\"double\":{\"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\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"valueNode\":{\"type\":\"boolean\"},\"container\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"string\":{\"type\":\"boolean\"},\"integralNumber\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"pojo\":{\"type\":\"boolean\"},\"short\":{\"type\":\"boolean\"},\"int\":{\"type\":\"boolean\"},\"long\":{\"type\":\"boolean\"},\"double\":{\"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\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"valueNode\":{\"type\":\"boolean\"},\"container\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"string\":{\"type\":\"boolean\"},\"integralNumber\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"pojo\":{\"type\":\"boolean\"},\"short\":{\"type\":\"boolean\"},\"int\":{\"type\":\"boolean\"},\"long\":{\"type\":\"boolean\"},\"double\":{\"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\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"valueNode\":{\"type\":\"boolean\"},\"container\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"string\":{\"type\":\"boolean\"},\"integralNumber\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"pojo\":{\"type\":\"boolean\"},\"short\":{\"type\":\"boolean\"},\"int\":{\"type\":\"boolean\"},\"long\":{\"type\":\"boolean\"},\"double\":{\"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\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"valueNode\":{\"type\":\"boolean\"},\"container\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"string\":{\"type\":\"boolean\"},\"integralNumber\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"pojo\":{\"type\":\"boolean\"},\"short\":{\"type\":\"boolean\"},\"int\":{\"type\":\"boolean\"},\"long\":{\"type\":\"boolean\"},\"double\":{\"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\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"valueNode\":{\"type\":\"boolean\"},\"container\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"string\":{\"type\":\"boolean\"},\"integralNumber\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"pojo\":{\"type\":\"boolean\"},\"short\":{\"type\":\"boolean\"},\"int\":{\"type\":\"boolean\"},\"long\":{\"type\":\"boolean\"},\"double\":{\"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\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"valueNode\":{\"type\":\"boolean\"},\"container\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"string\":{\"type\":\"boolean\"},\"integralNumber\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"pojo\":{\"type\":\"boolean\"},\"short\":{\"type\":\"boolean\"},\"int\":{\"type\":\"boolean\"},\"long\":{\"type\":\"boolean\"},\"double\":{\"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/xianyu/get-item-detail/v1\"")' />

<p>通過商品ID獲取閒魚二手商品的公開詳情。用於在搜索或連結發現後檢查已知轉售商品。</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> | 是 | - | 閒魚上的唯一商品標識符。 |

</div>

## 程式碼範例

::: code-group

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

```text [🤖 AI 提示詞]
我想使用 JustOneAPI 提供的“商品詳情 (V1)”接口。
接入地址: https://api.justoneapi.com。
接口路徑: /api/xianyu/get-item-detail/v1?token=YOUR_API_KEY&itemId=VALUE
接口地址: BASE_URL + /api/xianyu/get-item-detail/v1?token=YOUR_API_KEY&itemId=VALUE
HTTP 方法: GET
身份驗證: 在 URL 中傳入 token 查詢參數。
OpenAPI 定義: https://docs.justoneapi.com/openapi/xianyu-goofish/product-details-v1-zh-hant.json

請求參數說明:
- token (query): 此 API 服務的訪問令牌。 (必填)
- itemId (query): 閒魚上的唯一商品標識符。 (必填)

返回格式: 請根據實際 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/xianyu/get-item-detail/v1?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/xianyu/get-item-detail/v1?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/xianyu/get-item-detail/v1?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/xianyu/get-item-detail/v1?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/xianyu/get-item-detail/v1?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/xianyu-goofish/product-details-v1-zh-hant.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> | <code>object &#124; string &#124; null</code> | 對象中包含商品詳情，也可能帶有下架等狀態。業務成功時還可能返回商品不可用的提示文本或 null。 |
| <code>data.itemDO</code> | <code>object</code> | 查詢商品的詳情。 |
| <code>data.itemDO.itemId</code> | <code>string</code> | 閒魚商品 ID。 |
| <code>data.itemDO.title</code> | <code>string</code> | 商品標題。 |
| <code>data.itemDO.desc</code> | <code>string</code> | 商品的純文本描述。 |
| <code>data.itemDO.richTextDesc</code> | <code>string</code> | 商品的富文本描述。 |
| <code>data.itemDO.itemType</code> | <code>string</code> | 平台返回的商品類型。 |
| <code>data.itemDO.itemStatus</code> | <code>string</code> | 以字符串返回的商品狀態代碼。 |
| <code>data.itemDO.itemStatusStr</code> | <code>string</code> | 商品狀態文案，可能提示商品已下架。 |
| <code>data.itemDO.gmtCreate</code> | <code>string</code> | 商品創建時間，以 Unix 毫秒時間戳字符串返回。 |
| <code>data.itemDO.GMT_CREATE_DATE_KEY</code> | <code>string</code> | 商品創建日期文案。 |
| <code>data.itemDO.quantity</code> | <code>string</code> | 以字符串返回的商品數量。 |
| <code>data.itemDO.categoryId</code> | <code>string</code> | 商品所屬的類目 ID。 |
| <code>data.itemDO.itemCatDTO</code> | <code>object</code> | 商品關聯的類目標識。 |
| <code>data.itemDO.itemCatDTO.catId</code> | <code>string</code> | 類目對象中的類目 ID。 |
| <code>data.itemDO.itemCatDTO.leafId</code> | <code>string</code> | 末級類目 ID。 |
| <code>data.itemDO.itemCatDTO.channelCatId</code> | <code>string</code> | 閒魚頻道類目 ID。 |
| <code>data.itemDO.itemCatDTO.rootChannelCatId</code> | <code>string</code> | 閒魚頻道頂級類目 ID。 |
| <code>data.itemDO.itemCatDTO.level2ChannelCatId</code> | <code>string</code> | 閒魚頻道二級類目 ID。 |
| <code>data.itemDO.itemCatDTO.level3ChannelCatId</code> | <code>string</code> | 閒魚頻道三級類目 ID。 |
| <code>data.itemDO.itemCatDTO.tbCatId</code> | <code>string</code> | 關聯的淘寶類目 ID。 |
| <code>data.itemDO.soldPrice</code> | <code>string</code> | 以十進制字符串返回的商品價格。商品已下架時也可能返回此欄位。 |
| <code>data.itemDO.originalPrice</code> | <code>string</code> | 以字符串返回的商品原價。 |
| <code>data.itemDO.defaultPrice</code> | <code>string</code> | 預設價格欄位以字符串返回，可能為空或包含非數字內容。 |
| <code>data.itemDO.priceUnit</code> | <code>string</code> | 價格單位的展示文案，可能為空。 |
| <code>data.itemDO.transportFee</code> | <code>string</code> | 以字符串返回的商品運費。 |
| <code>data.itemDO.promotionPriceDO</code> | <code>object</code> | 商品的促銷價格信息，可能省略。 |
| <code>data.itemDO.promotionPriceDO.promotionName</code> | <code>string</code> | 促銷價格的名稱。 |
| <code>data.itemDO.promotionPriceDO.promotionPriceMin</code> | <code>string</code> | 以字符串返回的最低促銷價。 |
| <code>data.itemDO.promotionPriceDO.minDiscountFeeStr</code> | <code>string</code> | 最低優惠金額的展示文案。 |
| <code>data.itemDO.priceRelativeTags</code> | <code>array</code> | 商品價格旁的展示標籤。 |
| <code>data.itemDO.priceRelativeTags[]</code> | <code>object</code> | 一項價格展示標籤。 |
| <code>data.itemDO.priceRelativeTags[].text</code> | <code>string</code> | 價格標籤的展示文案。 |
| <code>data.itemDO.browseCnt</code> | <code>string</code> | 以字符串返回的商品瀏覽數。 |
| <code>data.itemDO.wantCnt</code> | <code>string</code> | 以字符串返回的商品想要人數。 |
| <code>data.itemDO.wantCntUnit</code> | <code>string</code> | 想要人數的展示單位。 |
| <code>data.itemDO.soldCnt</code> | <code>string</code> | 以字符串返回的商品銷量。 |
| <code>data.itemDO.collectCnt</code> | <code>string</code> | 以字符串返回的商品收藏數。 |
| <code>data.itemDO.favorCnt</code> | <code>string</code> | 以字符串返回的商品收藏相關計數。 |
| <code>data.itemDO.interactFavorCnt</code> | <code>string</code> | 商品互動中的收藏相關計數，以字符串返回。 |
| <code>data.itemDO.defaultPicture</code> | <code>string</code> | 商品的預設圖片地址。 |
| <code>data.itemDO.noPicItem</code> | <code>string</code> | 商品是否帶有無圖標記，以字符串返回。 |
| <code>data.itemDO.imageInfos</code> | <code>array</code> | 商品相冊圖片列表，可能為空。 |
| <code>data.itemDO.imageInfos[]</code> | <code>object</code> | 商品相冊中的一張圖片。 |
| <code>data.itemDO.imageInfos[].major</code> | <code>string</code> | 是否標記為主圖，以字符串返回。 |
| <code>data.itemDO.imageInfos[].widthSize</code> | <code>string</code> | 以字符串返回的圖片寬度，單位為像素。 |
| <code>data.itemDO.imageInfos[].heightSize</code> | <code>string</code> | 以字符串返回的圖片高度，單位為像素。 |
| <code>data.itemDO.imageInfos[].type</code> | <code>string</code> | 以字符串返回的圖片類型代碼。 |
| <code>data.itemDO.imageInfos[].url</code> | <code>string</code> | 相冊圖片地址。 |
| <code>data.itemDO.videoPlayInfo</code> | <code>object</code> | 商品視頻信息，可能省略。 |
| <code>data.itemDO.videoPlayInfo.videoId</code> | <code>string</code> | 商品視頻的標識。 |
| <code>data.itemDO.videoPlayInfo.major</code> | <code>string</code> | 是否標記為主視頻，以字符串返回。 |
| <code>data.itemDO.videoPlayInfo.type</code> | <code>string</code> | 以字符串返回的視頻類型代碼。 |
| <code>data.itemDO.videoPlayInfo.widthSize</code> | <code>string</code> | 以字符串返回的視頻寬度，單位為像素。 |
| <code>data.itemDO.videoPlayInfo.heightSize</code> | <code>string</code> | 以字符串返回的視頻高度，單位為像素。 |
| <code>data.itemDO.videoPlayInfo.url</code> | <code>string</code> | 視頻條目關聯的圖片地址。 |
| <code>data.itemDO.videoPlayInfo.playUrl</code> | <code>string</code> | 商品視頻播放地址。 |
| <code>data.itemDO.videoPlayInfo.ld320pUrl</code> | <code>string</code> | 320p 版本的視頻播放地址。 |
| <code>data.itemDO.videoPlayInfo.sd480pUrl</code> | <code>string</code> | 480p 版本的視頻播放地址。 |
| <code>data.itemDO.commonTags</code> | <code>array</code> | 商品的通用展示標籤。 |
| <code>data.itemDO.commonTags[]</code> | <code>object</code> | 一項通用展示標籤。 |
| <code>data.itemDO.commonTags[].text</code> | <code>string</code> | 通用標籤的展示文案。 |
| <code>data.itemDO.itemLabelExtList</code> | <code>array</code> | 商品的擴展標籤列表。 |
| <code>data.itemDO.itemLabelExtList[]</code> | <code>object</code> | 一項商品擴展標籤。 |
| <code>data.itemDO.itemLabelExtList[].labelId</code> | <code>string</code> | 此標籤的標識。 |
| <code>data.itemDO.itemLabelExtList[].labelType</code> | <code>string</code> | 此標籤的類型代碼。 |
| <code>data.itemDO.itemLabelExtList[].propertyId</code> | <code>string</code> | 標籤關聯的屬性 ID。 |
| <code>data.itemDO.itemLabelExtList[].propertyText</code> | <code>string</code> | 標籤關聯屬性的展示名稱。 |
| <code>data.itemDO.itemLabelExtList[].valueId</code> | <code>string</code> | 標籤值的標識。 |
| <code>data.itemDO.itemLabelExtList[].valueText</code> | <code>string</code> | 標籤值的展示文案。 |
| <code>data.itemDO.itemLabelExtList[].text</code> | <code>string</code> | 標籤的展示文案。 |
| <code>data.itemDO.cpvLabels</code> | <code>array</code> | 商品關聯的類目屬性標籤列表。 |
| <code>data.itemDO.cpvLabels[]</code> | <code>object</code> | 一項類目屬性標籤。 |
| <code>data.itemDO.cpvLabels[].propertyId</code> | <code>string</code> | 類目屬性 ID。 |
| <code>data.itemDO.cpvLabels[].propertyName</code> | <code>string</code> | 類目屬性名稱。 |
| <code>data.itemDO.cpvLabels[].valueId</code> | <code>string</code> | 類目屬性值 ID。 |
| <code>data.itemDO.cpvLabels[].valueName</code> | <code>string</code> | 類目屬性值的展示名稱。 |
| <code>data.itemDO.cpvTopics</code> | <code>array</code> | 與商品類目屬性關聯的話題列表。 |
| <code>data.itemDO.cpvTopics[]</code> | <code>object</code> | 一個類目屬性關聯話題。 |
| <code>data.itemDO.cpvTopics[].id</code> | <code>string</code> | 話題 ID。 |
| <code>data.itemDO.cpvTopics[].name</code> | <code>string</code> | 話題展示名稱。 |
| <code>data.itemDO.cpvTopics[].pvList</code> | <code>array</code> | 話題關聯的屬性與屬性值 ID 列表。 |
| <code>data.itemDO.cpvTopics[].pvList[]</code> | <code>object</code> | 話題關聯的一對屬性與屬性值。 |
| <code>data.itemDO.cpvTopics[].pvList[].propertyId</code> | <code>string</code> | 類目屬性 ID。 |
| <code>data.itemDO.cpvTopics[].pvList[].valueId</code> | <code>string</code> | 類目屬性值 ID。 |
| <code>data.itemDO.uiItemServiceDOList</code> | <code>array</code> | 商品附帶的服務保障條目。 |
| <code>data.itemDO.uiItemServiceDOList[]</code> | <code>object</code> | 一項服務保障。 |
| <code>data.itemDO.charitableItem</code> | <code>string</code> | 商品是否帶有公益標記，以字符串返回。 |
| <code>data.itemDO.charitableTag</code> | <code>object</code> | 公益商品的展示標籤。 |
| <code>data.itemDO.charitableTag.iconHeight</code> | <code>string</code> | 以字符串返回的標籤圖標高度，單位為像素。 |
| <code>data.itemDO.charitableTag.iconWidth</code> | <code>string</code> | 以字符串返回的標籤圖標寬度，單位為像素。 |
| <code>data.itemDO.charitableTag.iconUrl</code> | <code>string</code> | 標籤圖標的圖片地址。 |
| <code>data.sellerDO</code> | <code>object</code> | 與商品關聯的賣家資料和服務信息。 |
| <code>data.sellerDO.sellerId</code> | <code>string</code> | 閒魚賣家 ID。 |
| <code>data.sellerDO.nick</code> | <code>string</code> | 賣家展示暱稱。 |
| <code>data.sellerDO.desensitizationNick</code> | <code>string</code> | 脫敏後的賣家暱稱。 |
| <code>data.sellerDO.uniqueName</code> | <code>string</code> | 平台返回的賣家唯一名稱。 |
| <code>data.sellerDO.portraitUrl</code> | <code>string</code> | 賣家頭像地址。 |
| <code>data.sellerDO.city</code> | <code>string</code> | 賣家資料中返回的城市。 |
| <code>data.sellerDO.publishCity</code> | <code>string</code> | 商品發佈城市。 |
| <code>data.sellerDO.businessType</code> | <code>string</code> | 平台返回的賣家經營類型。 |
| <code>data.sellerDO.userRegDay</code> | <code>string</code> | 以字符串返回的賣家註冊天數。 |
| <code>data.sellerDO.registerTime</code> | <code>string</code> | 以時間戳字符串返回的賣家註冊時間。 |
| <code>data.sellerDO.itemCount</code> | <code>string</code> | 以字符串返回的賣家商品數。 |
| <code>data.sellerDO.hasSoldNumInteger</code> | <code>string</code> | 以字符串返回的賣家已售商品數。 |
| <code>data.sellerDO.newGoodRatioRate</code> | <code>string</code> | 賣家好評率的展示文案。 |
| <code>data.sellerDO.replyRatio24h</code> | <code>string</code> | 賣家 24 小時內回覆率的展示文案。 |
| <code>data.sellerDO.replyIn24hRatioDouble</code> | <code>string</code> | 以數字字符串返回的 24 小時內回覆率。 |
| <code>data.sellerDO.replyInterval</code> | <code>string</code> | 賣家回覆間隔的展示文案。 |
| <code>data.sellerDO.avgReply30dLong</code> | <code>string</code> | 以字符串返回的賣家近 30 天平均回覆時長。 |
| <code>data.sellerDO.remarkDO</code> | <code>object</code> | 賣家各類評價的計數。 |
| <code>data.sellerDO.remarkDO.sellerDefaultRemarkCnt</code> | <code>string</code> | 以字符串返回的賣家預設評價數。 |
| <code>data.sellerDO.remarkDO.sellerGoodRemarkCnt</code> | <code>string</code> | 以字符串返回的賣家好評數。 |
| <code>data.sellerDO.remarkDO.sellerBadRemarkCnt</code> | <code>string</code> | 以字符串返回的賣家差評數。 |
| <code>data.sellerDO.idleFishCreditTag</code> | <code>object</code> | 賣家展示的閒魚信用標識。 |
| <code>data.sellerDO.idleFishCreditTag.iconHeight</code> | <code>string</code> | 以字符串返回的標籤圖標高度，單位為像素。 |
| <code>data.sellerDO.idleFishCreditTag.iconWidth</code> | <code>string</code> | 以字符串返回的標籤圖標寬度，單位為像素。 |
| <code>data.sellerDO.idleFishCreditTag.iconUrl</code> | <code>string</code> | 標籤圖標的圖片地址。 |
| <code>data.sellerDO.sellerInfoTags</code> | <code>array</code> | 隨商品展示的賣家信息標籤列表。 |
| <code>data.sellerDO.sellerInfoTags[]</code> | <code>object</code> | 一項賣家信息標籤。 |
| <code>data.sellerDO.sellerInfoTags[].iconHeight</code> | <code>string</code> | 以字符串返回的標籤圖標高度，單位為像素。 |
| <code>data.sellerDO.sellerInfoTags[].iconWidth</code> | <code>string</code> | 以字符串返回的標籤圖標寬度，單位為像素。 |
| <code>data.sellerDO.sellerInfoTags[].iconUrl</code> | <code>string</code> | 標籤圖標的圖片地址。 |
| <code>data.sellerDO.sellerInfoTags[].text</code> | <code>string</code> | 賣家信息標籤的展示文案。 |
| <code>data.sellerDO.identityTags</code> | <code>array</code> | 賣家身份的展示標籤列表。 |
| <code>data.sellerDO.identityTags[]</code> | <code>object</code> | 一項賣家身份標籤。 |
| <code>data.sellerDO.identityTags[].iconHeight</code> | <code>string</code> | 以字符串返回的標籤圖標高度，單位為像素。 |
| <code>data.sellerDO.identityTags[].iconWidth</code> | <code>string</code> | 以字符串返回的標籤圖標寬度，單位為像素。 |
| <code>data.sellerDO.identityTags[].iconUrl</code> | <code>string</code> | 標籤圖標的圖片地址。 |
| <code>data.sellerDO.identityTags[].text</code> | <code>string</code> | 賣家身份標籤的展示文案。 |
| <code>data.sellerDO.levelTags</code> | <code>array</code> | 賣家等級的展示標籤列表。 |
| <code>data.sellerDO.levelTags[]</code> | <code>object</code> | 一項賣家等級標籤。 |
| <code>data.sellerDO.levelTags[].iconHeight</code> | <code>string</code> | 以字符串返回的標籤圖標高度，單位為像素。 |
| <code>data.sellerDO.levelTags[].iconWidth</code> | <code>string</code> | 以字符串返回的標籤圖標寬度，單位為像素。 |
| <code>data.sellerDO.levelTags[].iconUrl</code> | <code>string</code> | 標籤圖標的圖片地址。 |
| <code>data.sellerDO.goodSellerTag</code> | <code>object</code> | 賣家資料附帶的優質賣家標識，可能省略。 |
| <code>data.sellerDO.goodSellerTag.iconHeight</code> | <code>string</code> | 以字符串返回的標籤圖標高度，單位為像素。 |
| <code>data.sellerDO.goodSellerTag.iconWidth</code> | <code>string</code> | 以字符串返回的標籤圖標寬度，單位為像素。 |
| <code>data.sellerDO.goodSellerTag.iconUrl</code> | <code>string</code> | 標籤圖標的圖片地址。 |
| <code>data.sellerDO.goodSellerTag.text</code> | <code>string</code> | 優質賣家標識的展示文案。 |
| <code>data.sellerDO.sellerItems</code> | <code>array</code> | 賣家其他商品的展示條目，可能為空，也可能包含沒有商品 ID 的條目。 |
| <code>data.sellerDO.sellerItems[]</code> | <code>object</code> | 賣家其他商品列表中的一個條目。 |
| <code>data.sellerDO.sellerItems[].itemId</code> | <code>string</code> | 關聯商品的 ID，可能省略。 |
| <code>data.sellerDO.sellerItems[].title</code> | <code>string</code> | 關聯商品的展示標題。 |
| <code>data.sellerDO.sellerItems[].text</code> | <code>string</code> | 關聯商品條目的展示文案。 |
| <code>data.sellerDO.sellerItems[].iconUrl</code> | <code>string</code> | 關聯商品條目附帶的圖片地址。 |
| <code>data.sellerDO.sellerItems[].type</code> | <code>string</code> | 關聯商品條目的類型代碼。 |

</div>

## 回應示例

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

