Xiaohongshu Get Product Reviews

20.65 credits/call
ae_xiaohongshu_get_product_reviews

## Purpose Retrieve user reviews for a Xiaohongshu product, with pagination, sorting, and an optional image-only filter. ## Inputs - `sku_id` (required string): Product SKU ID. Use a valid, existing SKU ID. - `page` (optional integer, default `0`): Zero-based page number. Increment it to request subsequent pages. - `sort_strategy_type` (optional integer, default `0`): `0` for general sorting; `1` for latest sorting. - `share_pics_only` (optional integer, default `0`): `0` applies no image-only filter; `1` retrieves only reviews with images. - `from_page` (optional string, default `"score_page"`): Source page. ## Result and limitations Returns product review-list data in the response's `data` field. The nested review fields and pagination metadata are not specified. An incorrect or nonexistent SKU ID may return a service-error message in `data` despite a normal request response; check the payload rather than assuming it contains reviews. This tool retrieves product reviews, not comments on notes or posts.

Social
20.65 credits/call

Pricing

20.65 credits/call
ConditionCharge
Each call20.65 credits/call

20.65 credits/call Charges are per query. A successful query is billed even if it returns no results.

Retrieving subsequent pages of reviews requires additional calls, each charged separately.

Parameters

Optional parameters use the platform defaults when omitted.

ParameterTypeRequiredDescriptionDefault
pageintegerNo页码,从0开始/Page number, start from 00
sku_idstringYes商品SKU ID/Product SKU ID—
from_pagestringNo来源页面/From pagescore_page
share_pics_onlyintegerNo仅看有图评论:0=否, 1=是/Show reviews with images only: 0=no, 1=yes0
sort_strategy_typeintegerNo排序策略:0=综合排序, 1=最新排序/Sort strategy: 0=general, 1=latest0

Invocation example

Copy the request and explore its response example.

POST/agent-api/v1/tool/executeX-Api-Key
Request coderequest.sh
curl --request POST \
  --url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_xiaohongshu_get_product_reviews' \
  --header "X-Api-Key: $AGENTEARTH_API_KEY" \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "params": {
    "page": 0,
    "sku_id": "67a9acbf43e42a00013ab504",
    "sort_strategy_type": 1
  }
}'
Response exampleresponse.json
JSONPartial content
{
  "code": 200,
  "data": {
    "code": 0,
    "data": {
      "expMap": {
        "aiTagPatternHighlight": 0,
        "mallReviewLivePhoto": 1,
        "pingjiabiaoqian": 1,
        "pingjiaerjiyegaiban": 1,
        "review_buyer_identity_style": 1,
        "review_image_optimization_v2": 1
      },
      "reviews": [
        {
          "reviewInfo": {
            "commentType": 2,
            "createTimeDesc": "03-09",
            "forbiddenReply": false,
            "itemScore": 5,
            "likeCount": 0,
            "logisticsScore": 5
          },
          "translateFlag": false,
          "userInfo": {
            "anonymous": false,
            "avatar": "https://sns-avatar-qc.xhscdn.com/avatar/1040g2jo31df8jcgvgu6g48h9fnhtd9nbon6db7o?imageView2/2/w/80/format/jpg",
            "name": "糖宝🍬&悠米Yumi",
            "userId": "a1678fbc1721c8463361fa057c0f4",
            "visitorFlag": false
          },
          "variants": [
            {}
          ]
        }
      ]
    },
    "success": true
  },
  "docs": "https://api.tikhub.io/#/Xiaohongshu-App-V2-API/get_product_reviews_api_v1_xiaohongshu_app_v2_get_product_reviews_get",
  "message": "Request successful. This request will incur a charge.",
  "message_zh": "请求成功,本次请求将被计费。",
  "request_id": "75159c0a-d3ef-4bb0-82a1-56ffc494c500"
}

This example shows part of the response. Copied content is valid JSON.