# Analyze Top Xiaohongshu Comment Threads

**Use case:** 

Collect the most-liked Xiaohongshu comments and their replies. Export complete discussion threads with authors, engagement, timestamps, and structured data.

## Input

```json
{
  "noteUrls": [
    "https://www.xiaohongshu.com/discovery/item/69db721a00000000220290a8"
  ],
  "sortBy": "most_liked",
  "includeReplies": true,
  "maxCommentsPerNote": 100,
  "maxRepliesPerComment": 10
}
```

## Output

```json
{
  "id": {
    "label": "Comment ID",
    "format": "text"
  },
  "content": {
    "label": "Comment",
    "format": "text"
  },
  "user": {
    "label": "Author",
    "format": "object"
  },
  "like_count": {
    "label": "Likes",
    "format": "number"
  },
  "sub_comment_count": {
    "label": "Reply count",
    "format": "number"
  },
  "ip_location": {
    "label": "IP location",
    "format": "text"
  },
  "time": {
    "label": "Posted (Unix)",
    "format": "number"
  },
  "replies": {
    "label": "Replies (nested)",
    "format": "array"
  },
  "pictures": {
    "label": "Attached pictures",
    "format": "array"
  },
  "at_users": {
    "label": "@-mentions",
    "format": "array"
  },
  "show_tags_v2": {
    "label": "Tags (v2)",
    "format": "array"
  },
  "show_tags": {
    "label": "Tags",
    "format": "array"
  },
  "hash_tags": {
    "label": "Hashtags",
    "format": "array"
  },
  "note_id": {
    "label": "Note ID",
    "format": "text"
  },
  "url_to_note": {
    "label": "Note URL",
    "format": "link"
  },
  "liked": {
    "label": "Liked",
    "format": "boolean"
  },
  "media_source_type": {
    "label": "Media source type",
    "format": "number"
  },
  "comment_index_in_note": {
    "label": "Index in note",
    "format": "number"
  },
  "sort_by": {
    "label": "Sort",
    "format": "text"
  },
  "status": {
    "label": "Status",
    "format": "number"
  },
  "hidden": {
    "label": "Hidden",
    "format": "boolean"
  },
  "downvoted": {
    "label": "Downvoted",
    "format": "boolean"
  },
  "collected": {
    "label": "Collected",
    "format": "boolean"
  },
  "relatable_to_note": {
    "label": "Relatable to note",
    "format": "boolean"
  },
  "score": {
    "label": "Score",
    "format": "number"
  },
  "share_strategy": {
    "label": "Share strategy",
    "format": "number"
  },
  "comment_type": {
    "label": "Comment type",
    "format": "number"
  },
  "translation_strategy": {
    "label": "Translation strategy",
    "format": "number"
  },
  "show_type": {
    "label": "Show type",
    "format": "text"
  },
  "biz_label": {
    "label": "Business label",
    "format": "object"
  },
  "track_id": {
    "label": "Track ID",
    "format": "text"
  },
  "friend_liked_msg": {
    "label": "Friend-liked message",
    "format": "text"
  },
  "sub_comments": {
    "label": "Sub-comments (raw inline)",
    "format": "array"
  },
  "sub_comment_cursor": {
    "label": "Sub-comment cursor",
    "format": "text"
  }
}
```

## About this Actor

This example demonstrates how to use [Xiaohongshu Comments Scraper - Reply Threads (RedNote)](https://apify.com/zen-studio/rednote-comments-scraper) with a specific input configuration. Visit the [Actor detail page](https://apify.com/zen-studio/rednote-comments-scraper) to learn more, explore other use cases, and run it yourself.