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
}
}
]例を選択すると、その入力と結果がプレイグラウンドに読み込まれます。
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 |
質問
Authorization ヘッダー(Bearer)に SandBase API key を指定し、パラメータを JSON ボディで送信して https://api.sandbase.ai/v1/api/xiaohongshu/app-v2/product-review-overview に POST リクエストを送ります。このページの Playground で、コードを書かずに試すこともできます。
1回あたり $0.01、SandBase 残高から課金されます。課金対象はご利用分のみで、サブスクリプションはありません。
必須: sku_id (string)。 任意: tab (integer)。 このページの Parameters テーブルと Playground に、すべてのフィールドが一覧表示されています。
同じ HTTP リクエスト内で返される JSON レスポンスです(同期)。 このページの README にサンプルレスポンスがあります。
いいえ。Xiaohongshu (RED) Product Review Overview は SandBase 経由で動作するため、SandBase の API key 1つでこのエンドポイントと、カタログ内の他のすべての API とモデルを利用できます。Xiaohongshu の API アクセスを別途申請する必要はありません。