Sand AISand AI MAGI-2MAGI-2 现已上线 SandBase:支持原生音频的 1080p 视频立即试用

Taobao Product Details V2

API 文档
https://api.sandbase.ai/v1/api/taobao/item/detail-v2

Get a Taobao or Tmall product by item ID: title, images, video, prices, attributes, SKU options with stock, shop and shipping origin. Works for items that Taobao Product Details does not support.

价格
$0.02美元 / 次调用
方法
POST
响应
JSON
参数
1 个必填 · 0 个可选

Playground

输入
Unique product identifier on Taobao/Tmall (item ID).

Fill in itemId to run

Per run$0.02
输出就绪

您的输出将显示在这里

完成输入,然后点击运行。

API README

Taobao Product Details V2 API

Returns the details of one Taobao or Tmall product: title, main images, video, prices, attributes, SKU options with stock, shop info and shipping origin. It needs one input, the product itemId.

Use this API when Taobao Product Details returns an error for an item. Some Tmall items are not supported by that API but are returned here. The two APIs return different response formats.

Use cases

  • Track the sale price and original price of each SKU of a listing.
  • Check stock per SKU before placing a sourcing order.
  • Build a product page with the title, main images, video and attributes of an item.
  • Match a product to its shop using shop_info.shop_id and shop_info.shop_name.

Request

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

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.

{
  "item_id": 925329371469,
  "product_url": "https://detail.tmall.com/item.htm?id=925329371469",
  "title": "美格泰苏糖酸镁头痛成人女士补镁片刘国松国产儿童旗舰店补充剂",
  "main_imgs": [
    "https://img.alicdn.com/imgextra/i3/2928278102/O1CN01JAxqiL29im4Xo6k29_!!4611686018427386…"
  ],
  "video_url": "https://cloud.video.taobao.com/play/u/3356902309/p/2/e/6/t/1/544143070438.mp4",
  "currency": "CNY",
  "price_info": {
    "price": "152.00",
    "origin_price": null
  },
  "category_id": 125038023,
  "product_props": [
    {
      "品牌": "Magtein/美格泰"
    }
  ],
  "delivery_info": {
    "area_from": ["广东省"],
    "area_id": "",
    "postage": ""
  },
  "shop_info": {
    "shop_id": 163215406,
    "seller_id": 2928278102,
    "shop_name": "阿里健康大药房",
    "shop_url": "https://shop163215406.taobao.com"
  },
  "sku_props": [
    {
      "pid": "1627207",
      "prop_name": "颜色分类",
      "values": [
        {
          "vid": "3232483",
          "name": "一盒装(60粒)【专利L-苏糖酸镁】",
          "imageUrl": "https://img.alicdn.com/imgextra/i1/2928278102/O1CN01a62a8d29im6CvCe6M_!!2928278102.jpg"
        }
      ]
    }
  ],
  "skus": [
    {
      "skuid": "5807435681062",
      "sale_price": "152.00",
      "origin_price": "324.00",
      "stock": 200,
      "props_ids": "1627207:3232483",
      "props_names": "颜色分类:一盒装(60粒)【专利L-苏糖酸镁】"
    }
  ]
}

Response fields

FieldMeaning
title / product_urlProduct title and product page link.
main_imgs[] / video_urlMain image URLs and the product video URL.
price_info.price / price_info.origin_priceDisplayed price and original price of the item, as strings in currency.
product_props[]Product attributes. Each entry is an object with one attribute name and its value, such as brand.
sku_props[]The option groups, such as color or bundle type. Each group has a pid, a prop_name and a list of values with vid, name and sometimes imageUrl.
skus[]One row per SKU combination with skuid, sale_price, origin_price, stock, props_ids and props_names.
shop_infoShop ID, seller ID, shop name and shop page link.
delivery_info.area_from / delivery_info.postageShipping origin and postage.

Notes

  • Use the number in the product page URL (item.htm?id=...) as itemId.
  • props_ids is a list of pid:vid pairs joined by ;. Match them to sku_props[].pid and sku_props[].values[].vid to find the option names, or read props_names directly.
  • Some fields can be null or empty for a given item, such as comment_count, root_category_id, price_info.origin_price and delivery_info.postage.
  • This API does not return description images. Use Taobao Product Description Images for those.

Pricing

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

探索更多

相关 APIs

全部 APIs
API价格响应
Taobao$0.02 每次调用JSON
Taobao$0.021429 每次调用JSON
Taobao$0.021429 每次调用JSON
Taobao$0.021429 每次调用JSON
Taobao$0.028571 每次调用JSON
Taobao$0.028571 每次调用JSON

指南:Best Taobao API in 2026: Pricing Compared

问题

常见问题

如何使用 Taobao Product Details V2 API?

向 https://api.sandbase.ai/v1/api/taobao/item/detail-v2 发送 POST 请求,在 Authorization 请求头中使用您的 SandBase API key(Bearer),并将参数作为 JSON 请求体传入。您也可以直接在本页的 Playground 中试用,无需编写代码。

Taobao Product Details V2 API 的价格是多少?

每次调用 $0.02,从您的 SandBase 余额中扣费。您只需为实际调用付费;无需订阅。

Taobao Product Details V2 API 接受哪些参数?

必填:itemId (string)。 Parameters 表和本页的 Playground 列出了每个字段。

Taobao Product Details V2 API 返回什么?

在同一个 HTTP 请求中返回的 JSON 响应(同步)。 本页的 README 包含一个示例响应。

我需要 Taobao 开发者账户或 API key 吗?

不需要。Taobao Product Details V2 通过 SandBase 运行,因此一个 SandBase API key 即可覆盖此端点以及目录中的其他所有 API 和模型。您无需单独申请 Taobao API 访问权限。