itemIdstring必填
Unique product identifier on Taobao/Tmall (item ID).
https://api.sandbase.ai/v1/api/taobao/item/reviewsGet Taobao and Tmall product reviews by item ID with pagination, sorted by latest or default, for customer feedback analysis.
您的输出将显示在这里
完成输入,然后点击运行。
This API returns customer reviews for a Taobao or Tmall product. It needs the product itemId, and it returns one page of reviews with review text, buyer SKU, photos, and summary counts.
curl -X POST "https://api.sandbase.ai/v1/api/taobao/item/reviews" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"itemId": "920640959876"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
itemId | string | Yes | Unique product identifier on Taobao/Tmall (item ID). |
orderType | string | No | Sort order for the result set. |
page | integer | No | Page number for pagination. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"comments": [
{
"append": null,
"appendCanExplainable": false,
"appendList": [],
"auction": {
"aucNumId": "920640959876",
"auctionPic": "",
"link": "//item.taobao.com/auction/item_detail.htm?item_num_id=920640959876",
"sku": "套餐类型:官方标配;颜色分类:【经典款·BC1lite】星际黑●全景空间音效●舒适佩戴",
"thumbnail": "",
"title": ""
},
"award": "",
"bidPriceMoney": null,
"buyAmount": 0,
"content": "该用户觉得商品非常好,给出5星好评",
"creditFraudRule": 0,
"date": "2026年11月03日 15:28",
"dayAfterConfirm": 0,
"enableSNS": false
}
],
"currentPageNum": 1,
"hasAppendCount": 700,
"hasMediaCount": 2000,
"hasNextPage": true,
"keywords": [
{
"count": "354",
"labelId": "2079958979-11",
"type": "1",
"word": "续航能力强"
}
],
"maxPage": 50,
"qnaDisabled": true,
"total": 20000,
"totalFuzzy": "2万+",
"watershed": 100
}
| Field | Meaning |
|---|---|
comments[].content | Text of the review. |
comments[].date | Review time as a text string, for example 2026年11月03日 15:28. |
comments[].auction.sku | The SKU the buyer purchased, with package type and color options. |
comments[].rateId | Unique ID of the review. |
comments[].photos[].url / comments[].photos[].thumbnail | Links to the full image and the small thumbnail attached to the review. The links start with //. The list is empty when the review has no photos. |
comments[].user.nick | Masked buyer nickname. comments[].user.anony shows whether the review is anonymous. |
comments[].likeCount / comments[].useful | Counts of likes and useful votes on the review. |
keywords[].word / keywords[].count | Review tag text and the number of reviews that mention it. |
total / totalFuzzy | Total number of reviews as a number and as a short text such as 2万+. |
currentPageNum / maxPage / hasNextPage | Pagination state: the current page, the last page number, and whether another page exists. |
page parameter to move through results. Check hasNextPage in each response before you ask for the next page.orderType accepts feedbackdate (default) or general.itemId from the product search or product detail APIs, such as Taobao Product Search or Taobao Product Details.$0.028571 per successful call. Failed calls are not charged.
开始构建
具备统一身份验证和使用情况跟踪的平台 API 端点。
curl -X POST "https://api.sandbase.ai/v1/api/taobao/item/reviews" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"page": 1,
"itemId": "920640959876",
"orderType": "feedbackdate"
}'将您的 SandBase API 密钥设置到服务器环境中。请求使用 Bearer 身份验证。
export SANDBASE_API_KEY="YOUR_API_KEY"请将密钥保存在服务器端。不要在浏览器代码中暴露它。
itemIdstring必填Unique product identifier on Taobao/Tmall (item ID).
orderTypestringSort order for the result set.
默认值:"feedbackdate"
可选值:feedbackdate, general
pageintegerPage number for pagination.
默认值:1
这是该 API 保存的示例响应;查看时不会发起实时请求。
尚未发布已保存的响应。请在 Playground 中运行 API 以查看其响应。
探索更多
| API | 价格 | 响应 |
|---|---|---|
Taobao | $0.028571 每次调用 | JSON |
Taobao | $0.021429 每次调用 | JSON |
Taobao | $0.021429 每次调用 | JSON |
Taobao | $0.021429 每次调用 | JSON |
Taobao | $0.028571 每次调用 | JSON |
Taobao | $0.028571 每次调用 | JSON |
问题
向 https://api.sandbase.ai/v1/api/taobao/item/reviews 发送 POST 请求,在 Authorization 请求头中使用您的 SandBase API key(Bearer),并将参数作为 JSON 请求体传入。您也可以直接在本页的 Playground 中试用,无需编写代码。
每次调用 $0.028571,从您的 SandBase 余额中扣费。您只需为实际调用付费;无需订阅。
必填:itemId (string)。 可选:orderType(feedbackdate, general 之一) 和 page (integer)。 Parameters 表和本页的 Playground 列出了每个字段。
在同一个 HTTP 请求中返回的 JSON 响应(同步)。 本页的 README 包含一个示例响应。
不需要。Taobao Product Reviews 通过 SandBase 运行,因此一个 SandBase API key 即可覆盖此端点以及目录中的其他所有 API 和模型。您无需单独申请 Taobao API 访问权限。