itemIdstringobligatoire
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.
Votre sortie apparaîtra ici
Complétez les entrées, puis cliquez sur Exécuter.
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.
Commencer à construire
Point de terminaison de l'API de la plateforme avec authentification unifiée et suivi de l'utilisation.
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"
}'Définissez votre clé API SandBase dans l'environnement de votre serveur. Les requêtes utilisent l'authentification Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Conservez votre clé côté serveur. Ne l'exposez pas dans le code du navigateur.
itemIdstringobligatoireUnique product identifier on Taobao/Tmall (item ID).
orderTypestringSort order for the result set.
Par défaut : "feedbackdate"
Valeurs possibles : feedbackdate, general
pageintegerPage number for pagination.
Par défaut : 1
Exemple de réponse enregistré pour cette API ; aucune requête en direct n'est effectuée lors de l'affichage.
Aucune réponse enregistrée n'a été publiée. Exécutez l'API dans Playground pour inspecter sa réponse.
Explorer plus
| API | Prix | Réponse |
|---|---|---|
Taobao Product ReviewsCette API Taobao | $0.028571 par appel | JSON |
Taobao | $0.021429 par appel | JSON |
Taobao | $0.021429 par appel | JSON |
Taobao | $0.021429 par appel | JSON |
Taobao | $0.028571 par appel | JSON |
Taobao | $0.028571 par appel | JSON |
Questions
Envoyez une requête POST à https://api.sandbase.ai/v1/api/taobao/item/reviews avec votre clé API SandBase dans l’en-tête Authorization (Bearer) et les paramètres dans un corps JSON. Vous pouvez aussi l’essayer dans le Playground sur cette page sans écrire de code.
$0.028571 par appel, facturé depuis votre solde SandBase. Vous ne payez que les appels que vous effectuez ; aucun abonnement.
Obligatoire : itemId (string). Facultatif : orderType (l’un de feedbackdate, general) et page (integer). Le tableau des paramètres et le Playground sur cette page listent tous les champs.
Une réponse JSON renvoyée dans la même requête HTTP (synchrone). Le README sur cette page inclut un exemple de réponse.
Non. Taobao Product Reviews fonctionne via SandBase, donc une seule clé API SandBase couvre ce point de terminaison ainsi que toutes les autres API et tous les modèles du catalogue. Vous n’avez pas besoin de demander un accès API Taobao séparément.