FR

Xiaohongshu Note Comments

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

Source · en-USRevenir à la traduction

Développeur
Tarifs
À partir de 0,02 $US / 10 enregistrements
Dernière mise à jour
2026-09-22

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 le développeur. 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.

  • Xiaohongshu note IDnote_idRequisstring
    The identifier of the Xiaohongshu note whose public comments will be collected. Enter one note ID only, not a keyword or URL.
    Exemple6a6c063d000000002500e938
  • Expected comment countcomment_countRequisinteger
    The 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.
    Plage1–100Exemple10

Sortie

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

  • Account IDaccount_idstring
    The Xiaohongshu account identifier associated with the comment author
    Exemple58f9dce250c4b44bf45e0263
  • Account nameaccount_namestring
    The public display name of the comment author
    Exemple四海
  • Public account IDaccount_public_idstring
    The public-facing Xiaohongshu identifier of the comment author
    Exemplexiaohongshu_user_58f9dce2
  • Location citiesaccurate_location_citiesstring
    City-level location text associated with the comment author when available
    Exemple南京

Exemple de données

Généré à partir d'output.schema. Les champs sans valeur d'exemple utilisent des espaces réservés structurels.

output.example
{
  "account_id": "58f9dce250c4b44bf45e0263",
  "account_name": "四海",
  "account_public_id": "xiaohongshu_user_58f9dce2",
  "accurate_location_cities": "南京",
  "accurate_location_provinces": "江苏",
  "asr_text": "城市通勤体验分享",
  "avatar_url": "https://sns-avatar-qc.xhscdn.com/avatar/61b3eba96564fffada47f01e.jpg?imageView2/2/w/120/format/jpg",
  "biz_id": "6a8bfb930000000033020097",
  "comment_id": "6a8f8242000000000202b5d5",
  "comment_image_url": "[]",
  "comment_level": 1,
  "comment_text": "已经是了 都赖国产车 减配吹牛逼",
  "comment_type_code": "1",
  "comment_voice_url": "https://sns-video-qc.xhscdn.com/comment/voice/6a8f8242000000000202b5d5.m4a",
  "content_id": "6a8bfb930000000033020097",
  "content_url": "https://www.xiaohongshu.com/explore/6a8bfb930000000033020097",
  "crawl_time": "2026-08-27T17:39:26",
  "like_count": "0",
  "ocr_text": "城市通勤",
  "parent_comment_id": "6a8f8242000000000202b5d5",
  "publish_ip_region_name": "江苏",
  "publish_time": "2026-08-27T08:18:11",
  "reply_count": "0",
  "root_comment_id": "6a8f8242000000000202b5d5",
  "sub_comment_cursor": "0",
  "source_note_id": "6a8bfb930000000033020097",
  "no_data": false,
  "view_count": "0"
}

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. Cette App s'exécute de manière asynchrone et peut être annulée en cours de route : Après l'annulation, l'exécution s'arrête. Les enregistrements déjà livrés sont conservés et facturés.

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": {
    "octoparse_datahub": {
      "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. (Par défaut, il vous guide pour vous connecter et ne vous demande jamais d'envoyer votre API Key dans la conversation.)

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 enregistrements ; toute unité incomplète est arrondie à 10 enregistrements.

0,02 $US/ 10 enregistrements
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
À partir de 0,02 $US / 10 enregistrements