Sand AISand AI MAGI-2MAGI-2 hiện đã có trên SandBase: video 1080p với âm thanh gốcDùng thử ngay

Xiaohongshu (RED) Product Review Overview

Tài liệu API
https://api.sandbase.ai/v1/api/xiaohongshu/app-v2/product-review-overview

Returns product review statistics and feedback details for a specific item on Xiaohongshu (RED), filtered by SKU identifier and tab type.

Giá
$0.01USD / lượt gọi
Phương thức
POST
Phản hồi
JSON
Tham số
1 bắt buộc · 1 tùy chọn

Phòng thử nghiệm

Đầu vào
Product SKU ID (required), e.g. "669ddd44e05f3700011067ed"
Tab type, default 2
Đầu raVí dụ
Phản hồioutputs · 3.1 KB · 98 dòng
[
  {
    "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
    }
  }
]

Ví dụ

Chọn một ví dụ để nạp đầu vào và kết quả của nó vào playground.

README API

Xiaohongshu (RED) Product Review Overview API

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.

Use cases

  • Show the average score and star distribution of a SKU on a product dashboard.
  • Compare the share of 4 and 5 star reviews across competing SKUs.
  • Sample the latest review text and dates for a SKU to check buyer feedback.
  • Read the filter and sort options offered for a SKU's review list.

Request

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.

Parameters

NameTypeRequiredDescription
sku_idstringYesProduct SKU ID (required), e.g. "669ddd44e05f3700011067ed"
tabintegerNoTab type, default 2

Example response

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
}

Response fields

FieldMeaning
data.avgScoreAverage review score for the SKU, returned as a string such as 4.7.
data.avgScoreDescText label for the average score, such as Excellent.
data.totalTotal number of reviews for the SKU.
data.scoreToCntCount of reviews for each star rating. Keys 1 to 5 are star values.
data.purchaseHistoryCountPurchase count shown for the SKU.
data.reviews[].reviewInfo.contentText of the review.
data.reviews[].reviewInfo.createTimeDesc / data.reviews[].reviewInfo.create_time_descReview date as a DD/MM/YYYY string.
data.reviews[].userInfo.name / data.reviews[].userInfo.userIdDisplay name and ID of the reviewer.
data.filterStrategyList[].nameNames of the review filters, such as With images and Styles. Each has a numeric type.
data.sortStrategyList[].nameNames of the review sort options, such as Default and Latest. Each has a numeric type.

Notes

Pricing

$0.01 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

Khám phá thêm

APIs liên quan

Tất cả APIs
APIGiáPhản hồi
Xiaohongshu$0.01 mỗi lần gọiJSON
Xiaohongshu$0.01 mỗi lần gọiJSON
Xiaohongshu$0.01 mỗi lần gọiJSON
Xiaohongshu$0.01 mỗi lần gọiJSON
Xiaohongshu$0.01 mỗi lần gọiJSON
Xiaohongshu$0.01 mỗi lần gọiJSON

Hướng dẫn:Best Xiaohongshu API in 2026: Pricing Compared

Câu hỏi

FAQ

Làm thế nào để dùng API Xiaohongshu (RED) Product Review Overview?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/xiaohongshu/app-v2/product-review-overview với khóa API SandBase của bạn trong tiêu đề Authorization (Bearer) và các tham số trong phần thân JSON. Bạn cũng có thể thử trực tiếp trong Playground trên trang này mà không cần viết code.

API Xiaohongshu (RED) Product Review Overview có giá bao nhiêu?

$0.01 mỗi lần gọi, được tính từ số dư SandBase của bạn. Bạn chỉ bị tính phí cho các lần gọi bạn thực hiện; không có gói đăng ký.

API Xiaohongshu (RED) Product Review Overview chấp nhận những tham số nào?

Bắt buộc: sku_id (string). Tùy chọn: tab (integer). Bảng Parameters và Playground trên trang này liệt kê mọi trường.

API Xiaohongshu (RED) Product Review Overview trả về gì?

Phản hồi JSON được trả về trong cùng một yêu cầu HTTP (đồng bộ). README trên trang này có ví dụ phản hồi.

Tôi có cần tài khoản nhà phát triển hoặc API key của Xiaohongshu không?

Không. Xiaohongshu (RED) Product Review Overview chạy thông qua SandBase, nên chỉ cần một API key SandBase là đủ cho endpoint này và mọi API cùng model khác trong danh mục. Bạn không cần đăng ký riêng để có quyền truy cập API của Xiaohongshu.