itemIdstring必填
Unique product identifier on Taobao/Tmall (item ID).
https://api.sandbase.ai/v1/api/taobao/item/questionsGet buyer questions and answers for a Taobao or Tmall product by item ID, page by page.
您的輸出會顯示在這裡
完成輸入後,點擊執行。
This API returns the buyer questions and answers posted for a Taobao or Tmall product. It needs the product itemId and returns one page of questions at a time, along with product info and the total question count.
count to see which product features buyers ask about most.curl -X POST "https://api.sandbase.ai/v1/api/taobao/item/questions" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"itemId": "672400567264"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
itemId | string | Yes | Unique product identifier on Taobao/Tmall (item ID). |
page | integer | No | Page number for pagination. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"balaVersion": "3.0",
"dataSuccess": "true",
"experienceFlag": "false",
"item": {
"buyerCount": null,
"itemPic": "https://gw.alicdn.com/tfscom/tuitui/i1/1659916565/O1CN01AahvcyWAMwC2vH2e_!!46116…",
"itemTitle": "图拉斯C1新款iPhone18手机壳适用苹果17ProMax透明16新14Pro磁吸外壳高级保护13pm套14防摔12超薄全包无毒p",
"itemUrl": "https://a.m.taobao.com/i672400567264.htm",
"questionCount": "3050",
"tags": {
"list": [
{
"count": "162",
"keyword": "发黄",
"propertyId": "100003264"
}
]
}
},
"list": [
[
{
"cardType": "2",
"clusterId": "587432526622",
"clusterName": null,
"feedType": "200",
"gmtCreate": "1793345025000",
"gmtModified": "1793637360000",
"id": "587432526622",
"similarCount": null,
"similarFeeds": null,
"subFeeds": [
{
"answerType": "1",
"elements": [],
"feedType": "151",
"gmtCreate": "1793346523000",
"gmtModified": null,
"id": "587172635816",
"title": "手机壳倒是还好,就是太光滑了,溜手,摔了好几次了。",
"user": {
"userLogo": "https://wwc.alicdn.com/avatar/getAvatar.do?type=sns&width=64&height=64&userIdStr…",
"userNick": "娜***",
"userScore": null,
"userUrl": "https://h5.m.taobao.com/account/index.html?userId=Xm9IOmv0MF9zMHlevFIYOmc0vC8YOm…"
}
}
],
"subFeedsCount": "4",
"targetUrl": "https://web.m.taobao.com/app/mtb/ask-everyone/detail?disableNav=YES&from=answer&…"
}
]
],
"pagination": {
"direction": "1",
"hasMore": "true",
"pageNum": "2",
"pageSize": "10"
},
"questionStatus": {
"closeQuestion": "false"
},
"questionWords": [],
"success": "true",
"total": "3050"
}
| Field | Meaning |
|---|---|
total / item.questionCount | Total number of questions for the product. Both values are strings. |
item.itemTitle / item.itemUrl / item.itemPic | Title, mobile page link and main image of the product. |
item.tags.list[].keyword / item.tags.list[].count | A keyword buyers mention in their questions and the number of questions that match it. |
list[][].id | ID of the question. |
list[][].title | Text of the question. |
list[][].gmtCreate / list[][].gmtModified | Time the question was created and last modified, as millisecond timestamps in a string. |
list[][].subFeedsCount | Number of answers attached to the question. This can be higher than the number of answers in subFeeds. |
list[][].subFeeds[].title | Text of an answer to the question. |
list[][].subFeeds[].user.userNick | Masked nickname of the person who wrote the answer. |
list[][].targetUrl | Link to the question detail page on Taobao. |
page to move through results. The pagination object shows pageNum, pageSize and hasMore. Keep requesting the next page while hasMore is true.list is itself an array that holds the question object.itemId, use the number in the product link, such as 672400567264 in https://a.m.taobao.com/i672400567264.htm. You can also find items with Taobao Product Search.$0.021429 per successful call. Failed calls are not charged.
開始建置
具備統一驗證與用量追蹤的平台 API 端點。
curl -X POST "https://api.sandbase.ai/v1/api/taobao/item/questions" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"page": 1,
"itemId": "672400567264"
}'請將您的 SandBase API 金鑰設定在伺服器環境中。請求使用 Bearer 驗證。
export SANDBASE_API_KEY="YOUR_API_KEY"請將金鑰保留在伺服器端,不要在瀏覽器程式碼中公開。
itemIdstring必填Unique product identifier on Taobao/Tmall (item ID).
pageintegerPage number for pagination.
預設:1
這是此 API 的已儲存範例回應;檢視時不會發出即時請求。
尚未發布已儲存回應。請在 Playground 中執行 API 以檢視其回應。
探索更多
| API | 價格 | 回應 |
|---|---|---|
Taobao | 每次呼叫 $0.021429 | JSON |
Taobao | 每次呼叫 $0.021429 | JSON |
Taobao | 每次呼叫 $0.021429 | JSON |
Taobao | 每次呼叫 $0.028571 | JSON |
Taobao | 每次呼叫 $0.028571 | JSON |
Taobao | 每次呼叫 $0.028571 | JSON |
問題
使用 POST 請求將您的 SandBase API 金鑰放在 Authorization 標頭(Bearer)中,並以 JSON 主體傳入參數,即可呼叫 https://api.sandbase.ai/v1/api/taobao/item/questions。您也可以直接在本頁的 Playground 試用,不必撰寫程式碼。
每次 $0.021429,並從您的 SandBase 餘額中扣款。您只會為實際發出的呼叫付費;沒有訂閱方案。
必要:itemId (string)。 選填:page (integer)。 本頁的 Parameters 表格與 Playground 會列出每個欄位。
在同一個 HTTP 請求中回傳的 JSON 回應(同步)。 本頁的 README 包含範例回應。
不需要。Taobao Product Questions 是透過 SandBase 運作,因此一組 SandBase API 金鑰即可使用此端點以及目錄中的其他所有 API 和模型。您不需要另外申請 Taobao API 存取權。