Sand AISand AI MAGI-2MAGI-2 現已登上 SandBase:支援原生音訊的 1080p 影片立即試用

Taobao Product Details

API 文件
https://api.sandbase.ai/v1/api/taobao/item/detail

Get a Taobao or Tmall product by item ID: title, images, price, SKU options, delivery and seller details.

價格
$0.021429美元/次呼叫
方法
POST
回應
JSON
參數
1 個必填 · 0 個選填

Playground

輸入
Unique product identifier on Taobao/Tmall (item ID).
輸出就緒

您的輸出會顯示在這裡

完成輸入後,點擊執行。

API README

Taobao Product Details API

Returns the details of one Taobao or Tmall product: title, images, price ranges, SKU options, delivery info and shop details. It needs one input, the product itemId.

Use cases

  • Track the price and promotion price of a competitor's listing across its SKU options.
  • Build a product catalog page with the title, gallery images and description images of an item.
  • List every color and bundle option of a product with its stock quantity and per-SKU price.
  • Match a product to its shop using seller.shop_id and seller.shop_title.

Request

curl -X POST "https://api.sandbase.ai/v1/api/taobao/item/detail" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"itemId": "920640959876"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
itemIdstringYesUnique product identifier on Taobao/Tmall (item ID).

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "delivery": {
    "area_id": "110101",
    "delivery_fee": "0.00",
    "from": null,
    "to": "东城区"
  },
  "item": {
    "brandName": null,
    "cat_id": null,
    "cat_name": null,
    "desc_imgs": [
      "//img.alicdn.com/imgextra/i3/835893472/O1CN01gbHmUp1bWECvcBSVR_!!835893472.jpg"
    ],
    "desc_url": "//mdetail.tmall.com/templates/pages/desc?id=920640959876",
    "detail_url": "//item.taobao.com/item.htm?id=920640959876",
    "images": [
      "//img.alicdn.com/bao/uploaded/i2/835893472/O1CN01BI37Zo1bWECZtseXB_!!46116860184…"
    ],
    "num_iid": "920640959876",
    "properties": [
      {
        "name": "品牌",
        "value": "BASEUS/倍思"
      }
    ],
    "properties_cut": "品牌 / 型号 / 使用方式 / 售后服务 / 蓝牙版本 / 保修期 / 耳机类别 / 降噪类型 / 套餐类型 / 是否同时支持两部手机 / 颜色分类",
    "sales": null,
    "sku_base": [
      {
        "activity_price": "139",
        "price": "400",
        "promotion_price": "219",
        "propPath": "1627207:38429888978;5919063:6536025",
        "quantity": "200",
        "skuId": "5964173351608"
      }
    ]
  },
  "seller": {
    "evaluates": null,
    "seller_id": null,
    "seller_title": null,
    "shop_icon": "//img.alicdn.com/imgextra/i1/O1CN01pz5irY1bhDKceJor2_!!6000000003496-2-tps-144-1…",
    "shop_id": "70617482",
    "shop_title": "baseus倍思旗舰店",
    "shop_url": "//store.taobao.com/shop/view_shop.htm?user_number_id=",
    "user_type": "C"
  }
}

Response fields

FieldMeaning
item.titleProduct title as shown on the listing.
item.images[] / item.desc_imgs[]Image URLs. images holds the main gallery. desc_imgs holds the images from the description section. The URLs start with //.
item.skus.price / item.skus.promotion_price / item.skus.activity_pricePrice summary across all SKUs. Each value is a string and can be a single number or a range such as 219 - 229.
item.skus.quantityTotal stock quantity across all SKUs, as a string.
item.sku_base[]One row per SKU combination. Each row has skuId, price, promotion_price, activity_price, quantity and a propPath that points to the chosen option values.
item.sku_props[]The option groups, such as color or bundle type. Each group has a name, a pid and a list of values with vid, name and sometimes image.
item.properties[]Product attributes as name and value pairs, such as brand and model.
item.detail_url / item.desc_urlLinks to the product page and to the description page.
delivery.delivery_fee / delivery.toDelivery fee and the destination area name. delivery.area_id holds the matching area code.
seller.shop_id / seller.shop_title / seller.shop_urlShop ID, shop name and shop page link of the seller.

Notes

  • Use the number in the product page URL (item.htm?id=...) as itemId. The response returns it as item.num_iid.
  • Each propPath is a list of pid:vid pairs joined by ;. Match them to item.sku_props[].pid and item.sku_props[].values[].vid to find the option names for a SKU.
  • Some fields can be null for a given item, such as item.sales, item.video and seller.seller_id.
  • To find item IDs, use Taobao Product Search. For customer feedback on the same item, call Taobao Product Reviews or Taobao Product Questions.

Pricing

$0.021429 per successful call. Failed calls are not charged.

探索更多

相關 APIs

所有 APIs
API價格回應
Taobao每次呼叫 $0.021429JSON
Taobao每次呼叫 $0.021429JSON
Taobao每次呼叫 $0.021429JSON
Taobao每次呼叫 $0.028571JSON
Taobao每次呼叫 $0.028571JSON
Taobao每次呼叫 $0.028571JSON

指南:Best Taobao API in 2026: Pricing Compared

問題

常見問題

我要如何使用 Taobao Product Details API?

使用 POST 請求將您的 SandBase API 金鑰放在 Authorization 標頭(Bearer)中,並以 JSON 主體傳入參數,即可呼叫 https://api.sandbase.ai/v1/api/taobao/item/detail。您也可以直接在本頁的 Playground 試用,不必撰寫程式碼。

Taobao Product Details API 的費用是多少?

每次 $0.021429,並從您的 SandBase 餘額中扣款。您只會為實際發出的呼叫付費;沒有訂閱方案。

Taobao Product Details API 接受哪些參數?

必要:itemId (string)。 本頁的 Parameters 表格與 Playground 會列出每個欄位。

Taobao Product Details API 會回傳什麼?

在同一個 HTTP 請求中回傳的 JSON 回應(同步)。 本頁的 README 包含範例回應。

我需要 Taobao 開發者帳號或 API 金鑰嗎?

不需要。Taobao Product Details 是透過 SandBase 運作,因此一組 SandBase API 金鑰即可使用此端點以及目錄中的其他所有 API 和模型。您不需要另外申請 Taobao API 存取權。