> ## Documentation Index
> Fetch the complete documentation index at: /docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Xiaohongshu Product Reviews

> Get Xiaohongshu product reviews by product identifier, including ratings, images and follow-up review counts, one page per call. Follow-up review text is not included.

Save `data.task_id` and call `GET /v1/tasks/{task_id}` to retrieve the result. OAuth access tokens require `tools:execute` and access to this tool.



## OpenAPI

````yaml /openapi.json post /v1/xiaohongshu_product_reviews
openapi: 3.1.0
info:
  title: Mouter API
  version: '1.0'
  description: Discover tools, submit tasks, and read results and charges.
servers:
  - url: https://api.mouter.ai
    description: Production
security: []
paths:
  /v1/xiaohongshu_product_reviews:
    post:
      tags:
        - xiaohongshu
      summary: Xiaohongshu Product Reviews
      description: >-
        Get Xiaohongshu product reviews by product identifier, including
        ratings, images and follow-up review counts, one page per call.
        Follow-up review text is not included.


        Save `data.task_id` and call `GET /v1/tasks/{task_id}` to retrieve the
        result. OAuth access tokens require `tools:execute` and access to this
        tool.
      operationId: submit_xiaohongshu_product_reviews
      parameters:
        - name: Idempotency-Key
          in: header
          required: false
          description: >-
            Reuse the key with the same credential and input when retrying the
            same submission.
          schema:
            maxLength: 128
            minLength: 1
            type: string
      requestBody:
        required: true
        content:
          application/json:
            example:
              sku_id: 5f1234567890abcdef123456
            schema:
              $ref: '#/components/schemas/xiaohongshu_product_reviews_input'
      responses:
        '200':
          description: >-
            Existing task returned for an idempotent retry. An available result
            matches the output schema shown here.
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: integer
                    const: 0
                  message:
                    type: string
                    const: ''
                  data:
                    type: object
                    properties:
                      task_id:
                        type: string
                        pattern: ^[A-Za-z0-9_-]{1,40}$
                      status:
                        type: string
                        enum:
                          - submitted
                          - queued
                          - in_progress
                          - succeeded
                          - failed
                          - timed_out
                          - canceled
                      progress:
                        anyOf:
                          - type: integer
                            minimum: 0
                            maximum: 100
                          - type: 'null'
                      error:
                        anyOf:
                          - type: object
                            properties:
                              code:
                                type: string
                              message:
                                type: string
                            required:
                              - code
                              - message
                          - type: 'null'
                      created_at:
                        type: integer
                        minimum: 0
                        description: UTC Unix time in seconds.
                      updated_at:
                        type: integer
                        minimum: 0
                        description: UTC Unix time in seconds.
                      result:
                        anyOf:
                          - $ref: >-
                              #/components/schemas/xiaohongshu_product_reviews_result
                          - type: 'null'
                    required:
                      - task_id
                      - status
                      - progress
                      - error
                      - created_at
                      - updated_at
                      - result
                  request_id:
                    anyOf:
                      - type: string
                      - type: 'null'
                required:
                  - code
                  - message
                  - data
                  - request_id
          headers:
            Idempotency-Replayed:
              schema:
                type: string
                const: 'true'
        '202':
          description: Task accepted.
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: integer
                    const: 0
                  message:
                    type: string
                    const: ''
                  data:
                    $ref: '#/components/schemas/AcceptedTask'
                  request_id:
                    anyOf:
                      - type: string
                      - type: 'null'
                required:
                  - code
                  - message
                  - data
                  - request_id
              example:
                code: 0
                message: ''
                data:
                  task_id: task_example
                  status: submitted
                  progress: null
                  error: null
                  created_at: 1795488000
                  updated_at: 1795488000
                  result: null
                request_id: req_example
        '400':
          $ref: '#/components/responses/Error400'
        '401':
          $ref: '#/components/responses/Error401'
        '402':
          $ref: '#/components/responses/Error402'
        '403':
          $ref: '#/components/responses/Error403'
        '409':
          $ref: '#/components/responses/Error409'
        '413':
          $ref: '#/components/responses/Error413'
        '415':
          $ref: '#/components/responses/Error415'
        '429':
          $ref: '#/components/responses/Error429'
        '503':
          $ref: '#/components/responses/Error503'
      security:
        - Bearer: []
components:
  schemas:
    xiaohongshu_product_reviews_input:
      additionalProperties: false
      properties:
        sku_id:
          pattern: ^[0-9a-fA-F]{24}$
          title: Sku Id
          type: string
        page:
          default: 0
          maximum: 10000
          minimum: 0
          title: Page
          type: integer
        sort:
          default: recommended
          enum:
            - recommended
            - latest
          title: Sort
          type: string
        images_only:
          default: false
          title: Images Only
          type: boolean
      required:
        - sku_id
      title: XhsReviewsInput
      type: object
    xiaohongshu_product_reviews_result:
      additionalProperties: false
      properties:
        platform:
          const: xiaohongshu
          default: xiaohongshu
          title: Platform
          type: string
        sku_id:
          pattern: ^[0-9a-fA-F]{24}$
          title: Sku Id
          type: string
        page:
          maximum: 9007199254740991
          minimum: 0
          title: Page
          type: integer
        sort:
          enum:
            - recommended
            - latest
          title: Sort
          type: string
        images_only:
          title: Images Only
          type: boolean
        items:
          items:
            $ref: >-
              #/components/schemas/xiaohongshu_product_reviews_result__ProductReview
          maxItems: 1000
          title: Items
          type: array
        returned_count:
          maximum: 9007199254740991
          minimum: 0
          title: Returned Count
          type: integer
        has_more:
          title: Has More
          type: boolean
        retrieved_at:
          maximum: 9007199254740991
          minimum: 0
          title: Retrieved At
          type: integer
      required:
        - sku_id
        - page
        - sort
        - images_only
        - items
        - returned_count
        - has_more
        - retrieved_at
      title: XhsReviewsResult
      type: object
    AcceptedTask:
      type: object
      properties:
        task_id:
          type: string
          pattern: ^[A-Za-z0-9_-]{1,40}$
        status:
          type: string
          enum:
            - submitted
            - queued
            - in_progress
            - succeeded
            - failed
            - timed_out
            - canceled
        progress:
          anyOf:
            - type: integer
              minimum: 0
              maximum: 100
            - type: 'null'
        error:
          anyOf:
            - type: object
              properties:
                code:
                  type: string
                message:
                  type: string
              required:
                - code
                - message
            - type: 'null'
        created_at:
          type: integer
          minimum: 0
          description: UTC Unix time in seconds.
        updated_at:
          type: integer
          minimum: 0
          description: UTC Unix time in seconds.
        result:
          type: 'null'
      required:
        - task_id
        - status
        - progress
        - error
        - created_at
        - updated_at
        - result
    xiaohongshu_product_reviews_result__ProductReview:
      additionalProperties: false
      properties:
        id:
          maxLength: 128
          minLength: 1
          pattern: ^[0-9]+$
          title: Id
          type: string
        root_review_id:
          maxLength: 128
          minLength: 1
          pattern: ^[0-9]+$
          title: Root Review Id
          type: string
        anonymous:
          title: Anonymous
          type: boolean
        author:
          anyOf:
            - $ref: >-
                #/components/schemas/xiaohongshu_product_reviews_result__ReviewAuthor
            - type: 'null'
          default: null
        text:
          maxLength: 50000
          title: Text
          type: string
        published_at_text:
          maxLength: 4096
          title: Published At Text
          type: string
        like_count:
          maximum: 9007199254740991
          minimum: 0
          title: Like Count
          type: integer
        followup_count:
          description: Source follow-up review count; follow-up review text is not loaded.
          maximum: 9007199254740991
          minimum: 0
          title: Followup Count
          type: integer
        ratings:
          $ref: >-
            #/components/schemas/xiaohongshu_product_reviews_result__ReviewRatings
        images:
          items:
            $ref: >-
              #/components/schemas/xiaohongshu_product_reviews_result__ReviewImage
          maxItems: 1000
          title: Images
          type: array
        variants:
          items:
            $ref: >-
              #/components/schemas/xiaohongshu_product_reviews_result__ReviewVariant
          maxItems: 100
          title: Variants
          type: array
        tags:
          items:
            maxLength: 4096
            type: string
          maxItems: 100
          title: Tags
          type: array
        purchase_labels:
          items:
            maxLength: 4096
            type: string
          maxItems: 100
          title: Purchase Labels
          type: array
      required:
        - id
        - root_review_id
        - anonymous
        - text
        - published_at_text
        - like_count
        - followup_count
        - ratings
        - images
        - variants
        - tags
        - purchase_labels
      title: ProductReview
      type: object
    Error:
      type: object
      properties:
        code:
          type: string
        message:
          type: string
        data:
          type: 'null'
        request_id:
          anyOf:
            - type: string
            - type: 'null'
      required:
        - code
        - message
        - data
        - request_id
    xiaohongshu_product_reviews_result__ReviewAuthor:
      additionalProperties: false
      properties:
        id:
          description: >-
            Source comment user identifier; not assumed to be a public profile
            ID.
          maxLength: 128
          minLength: 1
          pattern: ^[A-Za-z0-9_-]+$
          title: Id
          type: string
        name:
          maxLength: 4096
          title: Name
          type: string
        avatar_url:
          anyOf:
            - type: string
            - type: 'null'
          default: null
          title: Avatar Url
      required:
        - id
        - name
      title: ReviewAuthor
      type: object
    xiaohongshu_product_reviews_result__ReviewRatings:
      additionalProperties: false
      properties:
        item:
          maximum: 5
          minimum: 1
          title: Item
          type: integer
        service:
          maximum: 5
          minimum: 1
          title: Service
          type: integer
        logistics:
          maximum: 5
          minimum: 1
          title: Logistics
          type: integer
        sku:
          maximum: 5
          minimum: 1
          title: Sku
          type: integer
      required:
        - item
        - service
        - logistics
        - sku
      title: ReviewRatings
      type: object
    xiaohongshu_product_reviews_result__ReviewImage:
      additionalProperties: false
      properties:
        url:
          title: Url
          type: string
        width:
          anyOf:
            - type: integer
              minimum: 1
            - type: 'null'
          default: null
          title: Width
        height:
          anyOf:
            - type: integer
              minimum: 1
            - type: 'null'
          default: null
          title: Height
        thumbnail_url:
          anyOf:
            - type: string
            - type: 'null'
          default: null
          title: Thumbnail Url
        alternate_url:
          anyOf:
            - type: string
            - type: 'null'
          default: null
          title: Alternate Url
      required:
        - url
      title: ReviewImage
      type: object
    xiaohongshu_product_reviews_result__ReviewVariant:
      additionalProperties: false
      properties:
        id:
          pattern: ^[0-9a-fA-F]{24}$
          title: Id
          type: string
        name:
          maxLength: 4096
          title: Name
          type: string
        value:
          maxLength: 4096
          title: Value
          type: string
      required:
        - id
        - name
        - value
      title: ReviewVariant
      type: object
  responses:
    Error400:
      description: Invalid request parameters, headers, or body.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Error401:
      description: A valid credential is required.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Error402:
      description: Insufficient balance or credential allowance.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Error403:
      description: The credential lacks permission.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Error409:
      description: The idempotency key was reused with a different input.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Error413:
      description: The request body is too large.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Error415:
      description: The request body must use application/json.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Error429:
      description: The active task limit was reached.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Error503:
      description: The operation is temporarily unavailable.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    Bearer:
      type: http
      scheme: bearer
      description: A Mouter API key or OAuth access token.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.