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 Product Reviewsこの 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 |
質問
Authorization ヘッダー(Bearer)に SandBase API key を指定し、パラメータを JSON ボディで送信して https://api.sandbase.ai/v1/api/taobao/item/reviews に POST リクエストを送ります。このページの Playground で、コードを書かずに試すこともできます。
1回あたり $0.028571、SandBase 残高から課金されます。課金対象はご利用分のみで、サブスクリプションはありません。
必須: itemId (string)。 任意: orderType(feedbackdate, general のいずれか) と page (integer)。 このページの Parameters テーブルと Playground に、すべてのフィールドが一覧表示されています。
同じ HTTP リクエスト内で返される JSON レスポンスです(同期)。 このページの README にサンプルレスポンスがあります。
いいえ。Taobao Product Reviews は SandBase 経由で動作するため、SandBase の API key 1つでこのエンドポイントと、カタログ内の他のすべての API とモデルを利用できます。Taobao の API アクセスを別途申請する必要はありません。