sku_idstring必填
Product SKU ID (required), e.g. "669ddd44e05f3700011067ed"
https://api.sandbase.ai/v1/api/xiaohongshu/app-v2/product-review-overviewReturns product review statistics and feedback details for a specific item on Xiaohongshu (RED), filtered by SKU identifier and tab type.
[
{
"data": {
"code": 0,
"data": {
"avgScore": "4.7",
"avgScoreColorInEightDigit": "FF2442",
"avgScoreDesc": "Excellent",
"avgScoreLevel": 0,
"comment_type": "1",
"expireFlagMap": {
"badReviewTag": 2,
"goods_review": 2,
"newdetail_review": 0,
"pingjiabiaoqian": 1,
"pingjiaerjiyegaiban": 0
},
"filterStrategyList": [
{
"name": "With images",
"type": 0
},
{
"name": "Styles",
"type": 1
}
],
"purchaseHistoryCount": 652,
"review_sub_title": "",
"reviews": [
{
"reviewInfo": {
"anonymous": false,
"content": "很透亮 透本甲 需要自己修一下甲型",
"createTimeDesc": "21/04/2026",
"create_time_desc": "21/04/2026",
"itemScore": 0,
"newSkuScore": 0,
"order_id": "",
"package_review_id": ""
},
"translateFlag": true,
"userInfo": {
"anonymous": false,
"avatar": "https://sns-avatar-qc.xhscdn.com/avatar/1040g2jo31bs9nu4dgk005pkcbam0u1d3rg3thc8?imageView2/2/w/80/format/jpg",
"name": "小狗乖乖",
"userId": "a313d0e5066666a6cda2ce22c696f",
"visitorFlag": false
}
},
{
"reviewInfo": {
"anonymous": false,
"content": "晚上拍的,跟自然光不一样但还是很好看的",
"createTimeDesc": "23/03/2026",
"create_time_desc": "23/03/2026",
"itemScore": 0,
"newSkuScore": 0,
"order_id": "",
"package_review_id": ""
},
"translateFlag": true,
"userInfo": {
"anonymous": false,
"avatar": "https://sns-avatar-qc.xhscdn.com/avatar/1040g2jo3240hufpcn0005n1bgj8hdkd698p5mb0?imageView2/2/w/80/format/jpg",
"name": "之之不是吱吱",
"userId": "a84c75019fa016beb8f86bbe8b441",
"visitorFlag": false
}
}
],
"scoreDesc": "评分",
"scoreToCnt": {
"1": 0,
"2": 0,
"3": 2,
"4": 69,
"5": 742
},
"sortStrategyList": [
{
"name": "Default",
"type": 0
},
{
"name": "Latest",
"type": 1
}
],
"total": 813
},
"debug_id": "6c0cb34b",
"debug_info": "gAAAAABqhsw2FabONoB858F4ocoIMLvqMI5dSTUUYMjMpr7mcxiBrKc-6wtdgytdMxuqaoNBKrQuVKEP4eDzVYXazOcQUDc4whcmyTpLeytp4OFpcHNVqRw1R40WhmMIIzJTWLaB-hE-_X7Nxwn2Xr6-K4TLiW8hXrzucDCg7mmLKCPE3XnS_AbcboLTOB8szUy2U9GN5XRk2S6LGEm36lixMzVIQDWUslWfqR6M8_rmD3jUBYsRgspVOaaJz_gbAmhHqWWeVCOXaU8SCqNFIoGDVfbApCspTl3L09DWdmwh1qHuwbTXupZSnn26-LhRLOiVareoE5_jvqOnXW85bcXFlSzVFTvcbxoXQt64bvptWt4mfct6wvfWhZkF0K_SLMRQGZcGgEjkgZ_wsF9_3ryYXyTWCgYpm9p9Hi1ryJis727YvWbhtPMJYmAL4HpaOEiQGr2HLeYC",
"msg": "ok",
"success": true
}
}
]選擇一個範例,將其輸入與結果載入 playground。
Returns review statistics for one Xiaohongshu (RED) product SKU, including the average score, a count of reviews per star rating, and a short list of recent reviews. It needs a sku_id and takes an optional tab value.
curl -X POST "https://api.sandbase.ai/v1/api/xiaohongshu/app-v2/product-review-overview" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"sku_id": "669ddd44e05f3700011067ed"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
sku_id | string | Yes | Product SKU ID (required), e.g. "669ddd44e05f3700011067ed" |
tab | integer | No | Tab type, default 2 |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"code": 0,
"data": {
"avgScore": "4.7",
"avgScoreColorInEightDigit": "FF2442",
"avgScoreDesc": "Excellent",
"avgScoreLevel": 0,
"comment_type": "1",
"expireFlagMap": {
"badReviewTag": 2,
"goods_review": 2,
"newdetail_review": 0,
"pingjiabiaoqian": 1,
"pingjiaerjiyegaiban": 0,
"review_tag_generic_filter": 0
},
"filterStrategyList": [
{
"name": "With images",
"type": 0
}
],
"purchaseHistoryCount": 333,
"review_sub_title": "",
"reviews": [
{
"reviewInfo": {
"anonymous": false,
"content": "很透亮 透本甲 需要自己修一下甲型",
"createTimeDesc": "21/04/2026",
"create_time_desc": "21/04/2026",
"itemScore": 0,
"newSkuScore": 0,
"order_id": "",
"package_review_id": ""
},
"translateFlag": true,
"userInfo": {
"anonymous": false,
"avatar": "https://sns-avatar-qc.xhscdn.com/avatar/1040g2jo325t6skhg56005pkcbam0u1d36tj26qg…",
"name": "噜噜狗",
"userId": "af4c0846adcc77e2b9f975a414336",
"visitorFlag": false
}
}
],
"scoreDesc": "评分",
"scoreToCnt": {
"1": 0,
"2": 0,
"3": 0,
"4": 71,
"5": 747
}
},
"debug_id": "d210d3cc",
"debug_info": "gAAAAABq6ZFpt0ODLPUVxslgz08ZeUu6K3c0jyja05FaaypbWjMxgBaSw9VC6QO7MlHF12utWRpMO3vS…",
"msg": "ok",
"success": true
}
| Field | Meaning |
|---|---|
data.avgScore | Average review score for the SKU, returned as a string such as 4.7. |
data.avgScoreDesc | Text label for the average score, such as Excellent. |
data.total | Total number of reviews for the SKU. |
data.scoreToCnt | Count of reviews for each star rating. Keys 1 to 5 are star values. |
data.purchaseHistoryCount | Purchase count shown for the SKU. |
data.reviews[].reviewInfo.content | Text of the review. |
data.reviews[].reviewInfo.createTimeDesc / data.reviews[].reviewInfo.create_time_desc | Review date as a DD/MM/YYYY string. |
data.reviews[].userInfo.name / data.reviews[].userInfo.userId | Display name and ID of the reviewer. |
data.filterStrategyList[].name | Names of the review filters, such as With images and Styles. Each has a numeric type. |
data.sortStrategyList[].name | Names of the review sort options, such as Default and Latest. Each has a numeric type. |
sku_id is a 24-character hex string, for example 669ddd44e05f3700011067ed. Find SKUs with Xiaohongshu (RED) Product Search or Xiaohongshu (RED) Product Detail.tab defaults to 2. The request above did not set it.reviews list in this response is a short sample. Call Xiaohongshu (RED) Product Reviews to read the reviews themselves.$0.01 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
開始建置
具備統一驗證與用量追蹤的平台 API 端點。
curl -X POST "https://api.sandbase.ai/v1/api/xiaohongshu/app-v2/product-review-overview" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"tab": 2,
"sku_id": "669ddd44e05f3700011067ed"
}'請將您的 SandBase API 金鑰設定在伺服器環境中。請求使用 Bearer 驗證。
export SANDBASE_API_KEY="YOUR_API_KEY"請將金鑰保留在伺服器端,不要在瀏覽器程式碼中公開。
sku_idstring必填Product SKU ID (required), e.g. "669ddd44e05f3700011067ed"
tabintegerTab type, default 2
預設:2
這是此 API 的已儲存範例回應;檢視時不會發出即時請求。
[
{
"data": {
"code": 0,
"data": {
"avgScore": "4.7",
"avgScoreColorInEightDigit": "FF2442",
"avgScoreDesc": "Excellent",
"avgScoreLevel": 0,
"comment_type": "1",
"expireFlagMap": {
"badReviewTag": 2,
"goods_review": 2,
"newdetail_review": 0,
"pingjiabiaoqian": 1,
"pingjiaerjiyegaiban": 0
},
"filterStrategyList": [
{
"name": "With images",
"type": 0
},
{
"name": "Styles",
"type": 1
}
],
"purchaseHistoryCount": 652,
"review_sub_title": "",
"reviews": [
{
"reviewInfo": {
"anonymous": false,
"content": "很透亮 透本甲 需要自己修一下甲型",
"createTimeDesc": "21/04/2026",
"create_time_desc": "21/04/2026",
"itemScore": 0,
"newSkuScore": 0,
"order_id": "",
"package_review_id": ""
},
"translateFlag": true,
"userInfo": {
"anonymous": false,
"avatar": "https://sns-avatar-qc.xhscdn.com/avatar/1040g2jo31bs9nu4dgk005pkcbam0u1d3rg3thc8?imageView2/2/w/80/format/jpg",
"name": "小狗乖乖",
"userId": "a313d0e5066666a6cda2ce22c696f",
"visitorFlag": false
}
},
{
"reviewInfo": {
"anonymous": false,
"content": "晚上拍的,跟自然光不一样但还是很好看的",
"createTimeDesc": "23/03/2026",
"create_time_desc": "23/03/2026",
"itemScore": 0,
"newSkuScore": 0,
"order_id": "",
"package_review_id": ""
},
"translateFlag": true,
"userInfo": {
"anonymous": false,
"avatar": "https://sns-avatar-qc.xhscdn.com/avatar/1040g2jo3240hufpcn0005n1bgj8hdkd698p5mb0?imageView2/2/w/80/format/jpg",
"name": "之之不是吱吱",
"userId": "a84c75019fa016beb8f86bbe8b441",
"visitorFlag": false
}
}
],
"scoreDesc": "评分",
"scoreToCnt": {
"1": 0,
"2": 0,
"3": 2,
"4": 69,
"5": 742
},
"sortStrategyList": [
{
"name": "Default",
"type": 0
},
{
"name": "Latest",
"type": 1
}
],
"total": 813
},
"debug_id": "6c0cb34b",
"debug_info": "gAAAAABqhsw2FabONoB858F4ocoIMLvqMI5dSTUUYMjMpr7mcxiBrKc-6wtdgytdMxuqaoNBKrQuVKEP4eDzVYXazOcQUDc4whcmyTpLeytp4OFpcHNVqRw1R40WhmMIIzJTWLaB-hE-_X7Nxwn2Xr6-K4TLiW8hXrzucDCg7mmLKCPE3XnS_AbcboLTOB8szUy2U9GN5XRk2S6LGEm36lixMzVIQDWUslWfqR6M8_rmD3jUBYsRgspVOaaJz_gbAmhHqWWeVCOXaU8SCqNFIoGDVfbApCspTl3L09DWdmwh1qHuwbTXupZSnn26-LhRLOiVareoE5_jvqOnXW85bcXFlSzVFTvcbxoXQt64bvptWt4mfct6wvfWhZkF0K_SLMRQGZcGgEjkgZ_wsF9_3ryYXyTWCgYpm9p9Hi1ryJis727YvWbhtPMJYmAL4HpaOEiQGr2HLeYC",
"msg": "ok",
"success": true
}
}
]探索更多
| API | 價格 | 回應 |
|---|---|---|
Xiaohongshu | 每次呼叫 $0.01 | JSON |
Xiaohongshu | 每次呼叫 $0.01 | JSON |
Xiaohongshu | 每次呼叫 $0.01 | JSON |
Xiaohongshu | 每次呼叫 $0.01 | JSON |
Xiaohongshu | 每次呼叫 $0.01 | JSON |
Xiaohongshu | 每次呼叫 $0.01 | JSON |
問題
使用 POST 請求將您的 SandBase API 金鑰放在 Authorization 標頭(Bearer)中,並以 JSON 主體傳入參數,即可呼叫 https://api.sandbase.ai/v1/api/xiaohongshu/app-v2/product-review-overview。您也可以直接在本頁的 Playground 試用,不必撰寫程式碼。
每次 $0.01,並從您的 SandBase 餘額中扣款。您只會為實際發出的呼叫付費;沒有訂閱方案。
必要:sku_id (string)。 選填:tab (integer)。 本頁的 Parameters 表格與 Playground 會列出每個欄位。
在同一個 HTTP 請求中回傳的 JSON 回應(同步)。 本頁的 README 包含範例回應。
不需要。Xiaohongshu (RED) Product Review Overview 是透過 SandBase 運作,因此一組 SandBase API 金鑰即可使用此端點以及目錄中的其他所有 API 和模型。您不需要另外申請 Xiaohongshu API 存取權。