# Xiaohongshu comment mining — full threads at volume

**Use case:** 

Comments are where RedNote's real consumer opinion lives — unprompted Chinese product talk, not marketing copy. Paste the posts you care about and this returns their comment threads, up to 5,000 comments per run. Add your own cookieString: RedNote increasingly shows comments only to signed-in visitors, even when the URL keeps its xsec_token, and a run it refuses is not charged.

## Input

```json
{
  "mode": "comments",
  "searchQuery": "skincare routine",
  "userUrl": "https://www.xiaohongshu.com/user/profile/5d5a56c10000000001000813",
  "userUrls": [
    "https://www.xiaohongshu.com/user/profile/56970f036a6a69031d3c6e15",
    "https://www.xiaohongshu.com/user/profile/5d7439b40000000001009f54"
  ],
  "postUrls": [],
  "maxResults": 20,
  "sortBy": "general",
  "filterByType": "all",
  "filterByMinLikes": 0,
  "includeComments": false,
  "maxComments": 500,
  "proxyConfiguration": {
    "useApifyProxy": true
  },
  "concurrency": 4,
  "blockResources": true,
  "liteMode": false,
  "sentimentAnalysis": false,
  "deltaMode": false,
  "deltaStateKey": "default",
  "networkCapture": true
}
```

## Output

```json
{
  "title": {
    "label": "Title",
    "format": "text"
  },
  "authorName": {
    "label": "Author"
  },
  "likes": {
    "label": "Likes",
    "format": "number"
  },
  "type": {
    "label": "Type",
    "format": "text"
  },
  "mode": {
    "label": "Mode",
    "format": "text"
  },
  "images": {
    "label": "Images",
    "format": "array"
  },
  "profileUrl": {
    "label": "Profile URL",
    "format": "link"
  },
  "scrapedAt": {
    "label": "Scraped At",
    "format": "date"
  },
  "comments": {
    "label": "Comments",
    "format": "number"
  },
  "shares": {
    "label": "Shares",
    "format": "number"
  },
  "saves": {
    "label": "Saves",
    "format": "number"
  },
  "followers": {
    "label": "Followers",
    "format": "number"
  },
  "isVerified": {
    "label": "Verified",
    "format": "boolean"
  },
  "nickname": {
    "label": "Author",
    "format": "text"
  },
  "postUrl": {
    "label": "Post URL",
    "format": "link"
  },
  "postId": {
    "label": "Post id"
  },
  "userId": {
    "label": "User id"
  }
}
```

## About this Actor

This example demonstrates how to use [RedNote Xiaohongshu Scraper — Posts, Comments, Profiles, Video](https://apify.com/zhorex/rednote-xiaohongshu-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/zhorex/rednote-xiaohongshu-scraper.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/zhorex/rednote-xiaohongshu-scraper.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
