Xiaohongshu (RED) Note Tracker - Likes, Comments, Changes avatar

Xiaohongshu (RED) Note Tracker - Likes, Comments, Changes

Pricing

from $3.20 / 1,000 notes

Go to Apify Store
Xiaohongshu (RED) Note Tracker - Likes, Comments, Changes

Xiaohongshu (RED) Note Tracker - Likes, Comments, Changes

Paste Xiaohongshu note links and get likes, collects, comments and shares per note, with the change since your last run. One flat row per link, no login, no browser.

Pricing

from $3.20 / 1,000 notes

Rating

0.0

(0)

Developer

SUNGHWAN CHO

SUNGHWAN CHO

Maintained by Community

Actor stats

0

Bookmarked

3

Total users

2

Monthly active users

14 days ago

Last modified

Features

Limited permissions

Share

Xiaohongshu (RED / rednote) Note Metrics Tracker

Paste Xiaohongshu note links and get likes, collects, comments and shares per note, with the change since your last run. Xiaohongshu (小红书, also called RED or rednote) is China's largest lifestyle and shopping-discovery platform, where most influencer campaigns are measured by exactly these four numbers. This Actor is for the marketing or agency team that has a list of campaign posts and needs the numbers again every day: one flat row per link, every run, with likeChange, collectChange, commentChange and shareChange already computed. No login, no cookies, no browser: each note is one plain HTTP request to the public note page. Only one input is required: noteUrls.

What you get

One row per link you pasted, in a flat JSON structure (numbers are numbers, missing values are null):

  • noteId, status (ok, needs_token, not_found, blocked, error) and a plain-English statusMessage that says what to do next
  • title, description, noteType (normal = images, video), tags, imageCount, hasVideo, videoDurationSec, ipLocation
  • authorId, authorName, authorUrl
  • publishedAt, lastUpdatedAt (ISO 8601)
  • likeCount, collectCount, commentCount, shareCount as integers, each with ...Raw (the text Xiaohongshu shows, e.g. "2.6万") and ...IsApprox (see below)
  • viewCount: always null (see below)
  • Change since your last run: previousScrapedAt, previousLikeCount / likeChange, previousCollectCount / collectChange, previousCommentCount / commentChange, previousShareCount / shareChange, isFirstSeen, plus likeChangeIsApprox etc.
  • inputUrl (what you pasted), resolvedUrl (where a short link led), url (canonical note link with its token), scrapedAt

Only status: ok rows are charged. Rows with any other status are free and still saved, so you always get one row per link you pasted.

The key-value store record RUN_SUMMARY has the counts per status, requests sent, blocks seen, which proxy was used and why the run stopped.

Honest about the numbers

  • Values of 10,000 and above are approximate. Xiaohongshu shows them abbreviated (2.6万 = 26,000, 10万+ = 100,000+). The Actor converts them to integers and sets likeCountIsApprox: true (same for collects, comments, shares) and keeps the original text in likeCountRaw. Below 10,000 the value is exact and IsApprox is false. A change computed from an approximate value is flagged with likeChangeIsApprox: true; a note at 25,900 likes can show 0 change for days and then jump by 1,000, and that is the platform's rounding, not a bug. Some competing scrapers return 26000 with no flag; we think you should know which numbers you can trust.
  • Views are not available. Xiaohongshu shows the view count only to the note's author in the creator tools. No public scraper can provide it without logging in as that author, so viewCount is always null instead of a made-up number.
  • One row per link, even on failure. A deleted note, an expired token, a block or an unreachable short link produces a row with the matching status and a message. You never have to guess which link went missing.
  • One source, documented. All numbers come from the public note page (the interactInfo block). commentCount is the number the page shows, which includes replies. The Actor does not mix numbers from several endpoints.

Xiaohongshu only serves a note page to a link that carries an xsec_token. Every link the app or website produces with Share -> Copy link has one. Accepted forms:

  • https://www.xiaohongshu.com/explore/<noteId>?xsec_token=... (website)
  • https://www.xiaohongshu.com/discovery/item/<noteId>?...&xsec_token=... (app share)
  • https://www.xiaohongshu.com/user/profile/<userId>/<noteId>?xsec_token=... (from a profile page)
  • The whole share text the app copies (... 发布了一篇小红书笔记 ... http://xhslink.com/a/... 复制本条信息 ...): the link is extracted
  • xhslink.com / xhslink.cn short links: followed once (that hop counts as one request); the destination is saved in resolvedUrl

A bare 24-character note ID or a link without xsec_token is accepted but returns a needs_token row without any request, because the platform would only answer with its "page not found" screen. Copy the link again from the app (Share -> Copy link) and paste that one.

In our tests a token stayed valid for at least several hours of repeated runs. If a link starts returning not_found after working before, its token has expired or the note was removed; copy a fresh share link.

Daily tracking

  1. Paste your campaign links into noteUrls and run once. Every note is isFirstSeen: true with empty change fields.
  2. Save the run as a Task and add a Schedule (for example every day at 09:00). Each run compares with the last successful read of the same note, stored under the note ID in the key-value store named in historyStoreName (default xiaohongshu-note-history), so scheduled runs line up without merging datasets.
  3. Use a different historyStoreName per campaign if you want independent baselines.
  4. compareWithLastRun: false turns the comparison off (no store is read or written).

Changes only (cheaper monitoring)

Set outputMode to changesOnly and the run saves (and charges) only notes that are new or whose like, collect, comment or share count changed since the last run. Problem rows (needs_token, not_found, blocked, error) are always saved and never charged. The baseline of unchanged notes is still refreshed, so previousScrapedAt always points at the previous run.

Drop-in replacement for socialdatax get_note_detail

If your sheets or pipelines were built on socialdatax/socialdatax-xhs-data-api (operation get_note_detail), set the input columnFormat to socialdatax and keep your sheet as it is. Each row then has exactly their keys, in their order, with the same types and the same values as their output for the same note (verified field by field against get_note_detail rows of two image notes and one video note, 2026-11-06), and our own columns are appended after them. Rows that could not be read keep the same key set, with null values and status / status_message filled, and are still free. Change tracking and the history store work the same in both formats, so you can switch formats without losing your baseline.

socialdatax columnValueTracker column
operationalways "get_note_detail"-
item_index1-based position of the link in noteUrls-
query_note_urlthe link exactly as you pasted itinputUrl
note_id24-character note IDnoteId
note_urlhttps://www.xiaohongshu.com/explore/<id>?xsec_token=<URL-encoded token>url
note_type"image" or "video"noteType (normal / video)
title, contenttitle and note text ("" when empty)title, description
cover_image_url, image_items[]sns-img-qc.xhscdn.com webp URLs with width, height, live_photo (for a video note: the single cover frame, as in their output; live_photo is null on every verified image, the live-photo shape is unverified)imageCount
video (image notes) / video_video_url, video_duration_ms, video_width, video_height (video notes)video: null for image notes. For video notes socialdatax replaces that key with four flat keys in the same position: the h264 stream URL, the length in milliseconds (e.g. 36800), width and height (e.g. 720, 1280); verified against their row of a video note. video_video_url is the same stream file (/stream/1/110/258/<file>_258.mp4) but served from the page's rednotecdn.com host without the ?sign= query that only their API issueshasVideo, videoDurationSec
like_count, collect_count, comment_count, share_countintegers, "2.6万" becomes 26000likeCount ...
publish_timeunix secondspublishedAt (ISO 8601)
update_timeunix seconds of the last edit, null when the note was never edited (verified: a note stamped 1 s after publishing gives null in their output, notes edited 100 s and 45,052 s after publishing give the timestamp)lastUpdatedAt
ip_locationregion label, "" when the page has none ("" on all three verified notes; the non-empty shape is unverified)ipLocation
topic_tags[]{name, id}tags[] (names)
mentioned_users[]{user_id, name} of @-mentions ([] on all three verified notes; the non-empty shape is unverified)-
author_user_id, author_name, author_avatar_url, author_profile_urlauthor fields, avatar as sns-avatar-qc.xhscdn.com/...?imageView2/2/w/120/format/jpgauthorId, authorName, authorUrl
appended: status, status_messagesame meaning as in the tracker formatstatus, statusMessage
appended: like_count_raw, like_count_is_approx (and collect_, comment_, share_)the text Xiaohongshu shows and whether the integer is a rounded valuelikeCountRaw, likeCountIsApprox ...
appended: scraped_at, previous_scraped_at, like_change, collect_change, comment_change, share_change, is_first_seenchange since your last runscrapedAt, previousScrapedAt, likeChange ...

Not included: their points.* billing object and the page_* paging keys (this Actor returns one note per row and bills per row instead). update_time is null when the page's last-update time is within one second of publishing (Xiaohongshu stamps every unedited note that way and socialdatax reports null for it); any later value is reported as is. Verified field by field against three get_note_detail rows (two image notes, one video note, 2026-11-06); only video_video_url differs by host and signature as described above.

Pricing and cost

You pay per note row with status: ok. Everything else is free: problem rows, the run summary, retries. One note is one HTTP request of about 65 KB, so a daily run over 200 campaign posts is 200 requests and takes a few minutes at 256 MB of memory.

Limits (by design)

  • No keyword search, no comments, no profile pages. Those parts of Xiaohongshu need signed API calls or a login, which this Actor does not do.
  • Requests are sent two at a time with a pause between them. A blocked note is retried once through an Apify residential proxy; after 5 blocked responses in a row the run stops and the remaining links get an error row, so you are not charged for guesses.
  • maxRequests (0 = unlimited) and maxRunMinutes cap a run. When a cap or your "Maximum cost per run" is reached, the run stops cleanly and the status message says what was left.
  • Video notes: hasVideo and videoDurationSec (whole seconds, from the same stream length socialdatax reports in milliseconds) have been verified on one video note; the counts on more.

Disclaimer

This is an unofficial tool and is not affiliated with Xiaohongshu. It reads only the public note page that any visitor without an account can open, sends no login, keeps no cookies and does not try to bypass the platform's risk control. Use it for notes you have the right to monitor (your own campaigns, your creators' posts) and respect Xiaohongshu's terms of service and applicable law. Data accuracy depends on what the platform shows at the moment of the request.

Changelog

  • 0.2.2 (2026-11-06) - columnFormat: socialdatax checked against a real video note: video notes now carry their four flat keys video_video_url, video_duration_ms, video_width, video_height in place of video (before: a nested video object with seconds). update_time now matches their rule exactly (null only when the stamp is within 1 s of publishing; before: within 60 s). videoDurationSec is derived from the stream length (ms) instead of the rounded capa value.

  • 0.2.0 (2026-11-06) - New input columnFormat (tracker default, socialdatax): rows in the socialdatax get_note_detail column layout, our columns appended, so existing sheets keep working. Fix: Xiaohongshu now redirects note pages to rednote.com, where the embedded page data contains new Set(...); the parser handles it (before this fix every note came back as error: unexpected page format). rednote.com redirect targets of short links are accepted. Dataset view "socialdatax columns" added.

  • 0.1.3 (2026-10-30) - First release: likes, collects, comments, shares per note link with change tracking, approximate-value flags, free status rows, short-link resolution.