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 |
问题
向 https://api.sandbase.ai/v1/api/xiaohongshu/app-v2/product-review-overview 发送 POST 请求,在 Authorization 请求头中使用您的 SandBase API key(Bearer),并将参数作为 JSON 请求体传入。您也可以直接在本页的 Playground 中试用,无需编写代码。
每次调用 $0.01,从您的 SandBase 余额中扣费。您只需为实际调用付费;无需订阅。
必填:sku_id (string)。 可选:tab (integer)。 Parameters 表和本页的 Playground 列出了每个字段。
在同一个 HTTP 请求中返回的 JSON 响应(同步)。 本页的 README 包含一个示例响应。
不需要。Xiaohongshu (RED) Product Review Overview 通过 SandBase 运行,因此一个 SandBase API key 即可覆盖此端点以及目录中的其他所有 API 和模型。您无需单独申请 Xiaohongshu API 访问权限。