logo
FR

Xiaohongshu Note Comments

Collect public comments, engagement details, author information, and timestamps from one Xiaohongshu note

Source · en-USRevenir à la traduction

Aperçu

Public comments on a Xiaohongshu note reveal how readers respond in their own words, which details attract attention, and where follow-up discussion develops. This Data App turns the public comment area of one note into a consistent dataset containing comment text, author details, reply relationships, engagement snapshots, media references, visible location text, and timestamps.

The result is designed for repeatable analysis instead of manual scrolling. It preserves the original wording and connects each comment to its note and discussion thread, making reactions easier to compare across collection runs and helping teams inspect both top-level comments and replies with the same set of fields.

Data notes

The data covers comments and author details that are publicly visible for the supplied Xiaohongshu note at collection time. Each normal record is identified by its Comment ID, which removes duplicates across collected pages. Private, deleted, restricted, and login-only comments are outside the coverage.

Like count, Reply count, View count, account details, and visible location values are snapshots and may change after collection. Count values and classification codes are retained as source text where supplied that way. Comment images are retained in the source text form supplied with each record, while Comment voice URL points to an audio attachment when one is available. Published at and Collected at preserve the source timestamps without inferring a timezone. Source note ID and No data retain the collection outcome when a note has no public comment result.

What the results look like

Each normal record represents one publicly visible comment from the selected Xiaohongshu note.

Comment IDComment textAccount namePublished atLike countReply count
6a8f8242000000000202b5d5已经是了 都赖国产车 减配吹牛逼四海2026-08-27T08:18:1100
6a8f8242000000000202b5d6这款颜色很耐看,通勤也方便小林2026-08-27T08:25:4231

Additional values include account and avatar identifiers, location text, note and comment relationships, image and voice references, recognized speech and on-screen text, collection time, and the no-data marker.

Use cases

  • Compare Comment text with Like count and Reply count to identify reactions that generated stronger visible engagement.
  • Group Comment text by recurring phrases, then use Published at to see how the discussion changed over time.
  • Reconstruct discussion threads with Parent comment ID, Root comment ID, Comment level, and Reply cursor to separate top-level reactions from follow-up conversations.
  • Review Account name, Public account ID, IP region, Location cities, and Location provinces to describe visible participant signals without treating them as verified identity data.

Périmètre et limites

Each run accepts one Xiaohongshu note ID and an expected comment count from 1 to 100. Results are returned in complete batches of 10, so the actual count may be rounded up. Only publicly available comments are covered.

  • Adapté pour
  • When you need public comment text and engagement details from a specific Xiaohongshu note
  • When you need comment authors, reply relationships, timestamps, and visible location text for analysis
  • À ne pas utiliser pour
  • When you need comments from a platform other than Xiaohongshu
  • When you need private, deleted, restricted, or login-only comments

Gestion des échecs

Comportement en cas d'échec et de nouvelle tentative déclaré par l'auteur. Nous vous recommandons de l'inclure dans votre prompt système lors de l'intégration.

  1. 1If no comments are returned, verify the note ID and confirm that the note and its comments are publicly visible
  2. 2Retry later after rate limiting, temporary service unavailability, or a timeout
  3. 3When the submission outcome is unknown, avoid immediate repeated submissions that could create duplicate tasks
  4. 4If authentication fails, verify the API Key configured for the execution environment

Entrée

Paramètres requis pour appeler cette App, générés à partir de l'input.schema du manifest.json.

ChampNom métierTypeRequisDéfautÉnum / ContraintesExempleDescription
note_idXiaohongshu note IDstringOui——6a6c063d000000002500e938The identifier of the Xiaohongshu note whose public comments will be collected. Enter one note ID only, not a keyword or URL.
comment_countExpected comment countintegerOui—1–10010The expected number of comments to collect, from 1 to 100. Results are returned and billed in complete batches of 10, so the actual count may be rounded up.

Sortie

Structure des champs d'un enregistrement, générée à partir de l'output.schema du manifest.json.

ChampNom métierTypeExempleDescription
account_idAccount IDstring58f9dce250c4b44bf45e0263The Xiaohongshu account identifier associated with the comment author
account_nameAccount namestring四海The public display name of the comment author
account_public_idPublic account IDstringxiaohongshu_user_58f9dce2The public-facing Xiaohongshu identifier of the comment author
accurate_location_citiesLocation citiesstring南京City-level location text associated with the comment author when available
accurate_location_provincesLocation provincesstring江苏Province-level location text associated with the comment author when available
asr_textSpeech transcriptstring城市通勤体验分享Speech recognition text associated with the referenced note when available
avatar_urlAvatar URLstringhttps://sns-avatar-qc.xhscdn.com/avatar/61b3eba96564fffada47f01e.jpg?imageView2/2/w/120/format/jpgThe public avatar image URL of the comment author
biz_idBusiness IDstring6a8bfb930000000033020097The business identifier carried by the source comment record
comment_idComment IDstring6a8f8242000000000202b5d5The stable unique identifier of the Xiaohongshu comment
comment_image_urlComment imagesstring[]The comment image URL collection retained in the source text form
comment_levelComment levelinteger1The source nesting level of the comment
comment_textComment textstring已经是了 都赖国产车 减配吹牛逼The text published in the Xiaohongshu comment
comment_type_codeComment typestring1The source code identifying the comment type
comment_voice_urlComment voice URLstringhttps://sns-video-qc.xhscdn.com/comment/voice/6a8f8242000000000202b5d5.m4aThe public voice attachment URL when the comment includes audio
content_idContent IDstring6a8bfb930000000033020097The identifier of the Xiaohongshu note associated with the comment
content_urlContent URLstringhttps://www.xiaohongshu.com/explore/6a8bfb930000000033020097The public URL of the Xiaohongshu note associated with the comment
crawl_timeCollected atstring2026-08-27T17:39:26The source timestamp when the comment record was collected
like_countLike countstring0The comment like count at collection time, retained as source text
ocr_textOn-screen textstring城市通勤Text recognized from the referenced note when available
parent_comment_idParent comment IDstring6a8f8242000000000202b5d5The identifier of the direct parent comment for a reply
publish_ip_region_nameIP regionstring江苏The location text shown for the published comment when available
publish_timePublished atstring2026-08-27T08:18:11The source timestamp when the comment was published
reply_countReply countstring0The number of replies at collection time, retained as source text
root_comment_idRoot comment IDstring6a8f8242000000000202b5d5The identifier of the root comment in the reply thread
sub_comment_cursorReply cursorstring0The source cursor associated with additional replies when available
source_note_idSource note IDstring6a8bfb930000000033020097The submitted Xiaohongshu note ID associated with the result record
no_dataNo databooleanfalseWhether no public comment data was collected for the source note
view_countView countstring0The view count associated with the referenced note at collection time, retained as source text

Schema de l'enregistrement

La sortie est renvoyée enregistrement par enregistrement. detail.output.idFieldHint

output.schema
{
  "type": "object",
  "properties": {
    "account_id": {
      "type": "string",
      "title": "Account ID",
      "description": "The Xiaohongshu account identifier associated with the comment author",
      "prefill": "58f9dce250c4b44bf45e0263"
    },
    "account_name": {
      "type": "string",
      "title": "Account name",
      "description": "The public display name of the comment author",
      "prefill": "四海"
    },
    "account_public_id": {
      "type": "string",
      "title": "Public account ID",
      "description": "The public-facing Xiaohongshu identifier of the comment author",
      "prefill": "xiaohongshu_user_58f9dce2"
    },
    "accurate_location_cities": {
      "type": "string",
      "title": "Location cities",
      "description": "City-level location text associated with the comment author when available",
      "prefill": "南京"
    },
    "accurate_location_provinces": {
      "type": "string",
      "title": "Location provinces",
      "description": "Province-level location text associated with the comment author when available",
      "prefill": "江苏"
    },
    "asr_text": {
      "type": "string",
      "title": "Speech transcript",
      "description": "Speech recognition text associated with the referenced note when available",
      "prefill": "城市通勤体验分享"
    },
    "avatar_url": {
      "type": "string",
      "title": "Avatar URL",
      "description": "The public avatar image URL of the comment author",
      "prefill": "https://sns-avatar-qc.xhscdn.com/avatar/61b3eba96564fffada47f01e.jpg?imageView2/2/w/120/format/jpg"
    },
    "biz_id": {
      "type": "string",
      "title": "Business ID",
      "description": "The business identifier carried by the source comment record",
      "prefill": "6a8bfb930000000033020097"
    },
    "comment_id": {
      "type": "string",
      "title": "Comment ID",
      "description": "The stable unique identifier of the Xiaohongshu comment",
      "prefill": "6a8f8242000000000202b5d5"
    },
    "comment_image_url": {
      "type": "string",
      "title": "Comment images",
      "description": "The comment image URL collection retained in the source text form",
      "prefill": "[]"
    },
    "comment_level": {
      "type": "integer",
      "title": "Comment level",
      "description": "The source nesting level of the comment",
      "prefill": 1
    },
    "comment_text": {
      "type": "string",
      "title": "Comment text",
      "description": "The text published in the Xiaohongshu comment",
      "prefill": "已经是了 都赖国产车 减配吹牛逼"
    },
    "comment_type_code": {
      "type": "string",
      "title": "Comment type",
      "description": "The source code identifying the comment type",
      "prefill": "1"
    },
    "comment_voice_url": {
      "type": "string",
      "title": "Comment voice URL",
      "description": "The public voice attachment URL when the comment includes audio",
      "prefill": "https://sns-video-qc.xhscdn.com/comment/voice/6a8f8242000000000202b5d5.m4a"
    },
    "content_id": {
      "type": "string",
      "title": "Content ID",
      "description": "The identifier of the Xiaohongshu note associated with the comment",
      "prefill": "6a8bfb930000000033020097"
    },
    "content_url": {
      "type": "string",
      "title": "Content URL",
      "description": "The public URL of the Xiaohongshu note associated with the comment",
      "prefill": "https://www.xiaohongshu.com/explore/6a8bfb930000000033020097"
    },
    "crawl_time": {
      "type": "string",
      "title": "Collected at",
      "description": "The source timestamp when the comment record was collected",
      "prefill": "2026-08-27T17:39:26"
    },
    "like_count": {
      "type": "string",
      "title": "Like count",
      "description": "The comment like count at collection time, retained as source text",
      "prefill": "0"
    },
    "ocr_text": {
      "type": "string",
      "title": "On-screen text",
      "description": "Text recognized from the referenced note when available",
      "prefill": "城市通勤"
    },
    "parent_comment_id": {
      "type": "string",
      "title": "Parent comment ID",
      "description": "The identifier of the direct parent comment for a reply",
      "prefill": "6a8f8242000000000202b5d5"
    },
    "publish_ip_region_name": {
      "type": "string",
      "title": "IP region",
      "description": "The location text shown for the published comment when available",
      "prefill": "江苏"
    },
    "publish_time": {
      "type": "string",
      "title": "Published at",
      "description": "The source timestamp when the comment was published",
      "prefill": "2026-08-27T08:18:11"
    },
    "reply_count": {
      "type": "string",
      "title": "Reply count",
      "description": "The number of replies at collection time, retained as source text",
      "prefill": "0"
    },
    "root_comment_id": {
      "type": "string",
      "title": "Root comment ID",
      "description": "The identifier of the root comment in the reply thread",
      "prefill": "6a8f8242000000000202b5d5"
    },
    "sub_comment_cursor": {
      "type": "string",
      "title": "Reply cursor",
      "description": "The source cursor associated with additional replies when available",
      "prefill": "0"
    },
    "source_note_id": {
      "type": "string",
      "title": "Source note ID",
      "description": "The submitted Xiaohongshu note ID associated with the result record",
      "prefill": "6a8bfb930000000033020097"
    },
    "no_data": {
      "type": "boolean",
      "title": "No data",
      "description": "Whether no public comment data was collected for the source note",
      "prefill": false
    },
    "view_count": {
      "type": "string",
      "title": "View count",
      "description": "The view count associated with the referenced note at collection time, retained as source text",
      "prefill": "0"
    }
  },
  "required": [],
  "additionalProperties": false
}

Intégration

Cette App peut être intégrée via MCP, API, SDK ou export de fichiers — tous les canaux partagent les mêmes capacités et la même tarification. Chaque requête s'authentifie avec l'en-tête Authorization: Bearer à l'aide d'une API Key (longue durée, créée dans la console Data Hub) ; les clients MCP peuvent aussi se connecter via OAuth, sans clé. D'autres options comme la CLI et Skill arrivent bientôt.

Avec MCP (Model Context Protocol), vous pouvez appeler cette App directement depuis des clients IA comme Claude et Cursor. Choisissez votre client et votre mode d'authentification, puis copiez la config ci-dessous.

Config du client

Remplacez la valeur après Bearer par votre API Key longue durée. Fonctionne dans n'importe quel client, en CI ou en environnement sans navigateur.

mcpServers config
{
  "mcpServers": {
    "meme_today__xiaohongshu-note-comments": {
      "type": "http",
      "url": "https://mcp-v2.octoparse.com?pin=meme_today/xiaohongshu-note-comments",
      "headers": { "Authorization": "Bearer <YOUR_API_KEY>" }
    }
  }
}

Laissez l'IA tout configurer pour vous

Vous ne voulez pas modifier les configs à la main ? Copiez le prompt d'installation et collez-le dans n'importe quel client IA — il effectuera la configuration à sa manière. (Le prompt demande à l'IA de vous réclamer votre API Key, afin que les identifiants ne finissent jamais dans l'historique de conversation ni dans des configs partagées.)

detail.access.mcp.composeHint

Tarifs

Returned comments

Facturé selon le nombre d'enregistrements renvoyés avec succès. Les exécutions échouées ne sont pas facturées. Facturé par unités de 10 enregistrement ; toute unité incomplète est arrondie à 10 enregistrement.

0,02 $US/ 10 enregistrement
Per task submitted

Facturé une fois par exécution soumise, quel que soit le nombre d'enregistrements renvoyés.

0,0001 $US/ exécution

Plusieurs événements de facturation se cumulent indépendamment. Voir chaque élément pour les détails. Les exécutions échouées ne sont pas facturées.

Voir les crédits

Essayer maintenant

Renseignez les paramètres et lancez l'exécution — les résultats proviennent d'un appel réel.

Exemple
Les paramètres sont validés par rapport à l'input.schema avant la soumission
Veuillez d'abord renseigner les paramètres requis
À partir de 0,02 $US / 10 enregistrement