RedNote / Xiaohongshu Scraper — Search, Posts, Users, Comments avatar

RedNote / Xiaohongshu Scraper — Search, Posts, Users, Comments

Pricing

$5.00 / 1,000 result fetcheds

Go to Apify Store
RedNote / Xiaohongshu Scraper — Search, Posts, Users, Comments

RedNote / Xiaohongshu Scraper — Search, Posts, Users, Comments

All-in-one RedNote (Xiaohongshu) scraper: search by keyword, fetch post details, user posts, comments. Get title, content, images, hashtags, likes, collects, comments count, author. China's #1 lifestyle platform, 250M MAU. Cookie-based, $0.005/result.

Pricing

$5.00 / 1,000 result fetcheds

Rating

0.0

(0)

Developer

dltik

dltik

Maintained by Community

Actor stats

0

Bookmarked

6

Total users

4

Monthly active users

2 days ago

Last modified

Share

RedNote / Xiaohongshu Scraper — Search, Posts, Users, Comments (All-in-One)

Scrape Xiaohongshu (RedNote) — China's #1 lifestyle platform, 250M+ monthly active users. All-in-one actor with 4 modes: keyword search, post details, user posts, comments. Get title, content, hashtags, likes, collects, comments count, author, IP location, images. Cookie-based, $0.005 per result ($5 per 1,000).

Bookmark this RedNote / Xiaohongshu Scraper — Apify ranks actors by bookmarks, so it directly helps the visibility of this scraper on the Apify Store.

What is the RedNote / Xiaohongshu Scraper?

The RedNote / Xiaohongshu Scraper is an Apify actor that pulls structured data from Xiaohongshu (international name: RedNote) — China's leading social commerce platform with 250M+ MAU. Unlike scrapers that split functionality across 5 separate paid actors, this is one actor with 4 modes:

ModeInputOutput
searchkeywordtop notes matching
postnote URL/IDfull note details
user_postsuser ID/URLall posts by user
commentsnote URL/IDcomments + replies

Tech: HTTP-only via the public note SSR (works without auth for post) + the official internal web API (cookies required for search/user_posts/comments). No browser, no proxy bandwidth burn.

Use cases

  • Brand monitoring on RedNote — track mentions of your brand across Xiaohongshu posts, get sentiment proxies via like/comment ratios.
  • Influencer discovery — find rising creators in beauty, lifestyle, fashion (XHS's biggest verticals); pull their full post history.
  • Trend research — search Xiaohongshu daily for "#summer trends" and watch hashtags rise/fall.
  • Cross-border ecommerce — Western brands (Sephora, Nike, Apple) leak into XHS organically — track that conversation.
  • Competitive intel — scrape your competitor's RedNote profile to count posts, engagement, content cadence.
  • Social commerce research — XHS is where Chinese millennials decide what to buy; use this Xiaohongshu scraper to map purchasing intent signals.

Input

{
"mode": "search",
"queries": ["coffee recipes", "skincare routine"],
"maxResultsPerInput": 100,
"cookiesString": "web_session=abc...; xsecappid=xhs-pc-web; ..."
}

For post mode (no cookies needed for many public notes):

{
"mode": "post",
"noteUrls": [
"https://www.xiaohongshu.com/explore/65e5e5f4000000001a032b9c",
"65e5e5f4000000001a032b9c"
]
}

For user_posts (cookies required):

{
"mode": "user_posts",
"userIds": ["https://www.xiaohongshu.com/user/profile/5d8...", "5d8b8a..."],
"maxResultsPerInput": 200,
"cookiesString": "..."
}

Output

Note record (modes search, post, user_posts):

{
"note_id": "65e5e5f4000000001a032b9c",
"url": "https://www.xiaohongshu.com/explore/65e5e5f4000000001a032b9c",
"type": "normal",
"title": "Best coffee in Shanghai 2026",
"description": "Full body of the post...",
"user": {
"user_id": "5d8b8a...",
"nickname": "ExampleCreator",
"avatar": "https://sns-avatar.xhscdn.com/..."
},
"interactions": {
"liked_count": 1284,
"collected_count": 312,
"comment_count": 87,
"share_count": 23
},
"images": ["https://sns-img.xhscdn.com/..."],
"hashtags": ["coffee", "shanghai", "2026Trends"],
"ip_location": "Shanghai",
"time": 1714665600000
}

Comment record (mode comments):

{
"note_id": "65e5e5f4000000001a032b9c",
"comment_id": "...",
"content": "Looks amazing!",
"user": { "user_id": "...", "nickname": "..." },
"like_count": 42,
"sub_comment_count": 3,
"ip_location": "Beijing",
"time": 1714665601000
}

How to get your XHS cookies (2 min)

  1. Open xiaohongshu.com and log in.
  2. F12 → Application tab → Cookies → click https://www.xiaohongshu.com.
  3. Copy all cookies as a single line: name=value; name2=value2; .... Quick way: in the Console tab type document.cookie and copy the result.
  4. Paste into the cookiesString input.

Cookies needed: web_session, xsecappid, a1, webId (most are auto-included via document.cookie).

Pricing

PAY_PER_EVENT — $0.005 per result (= $5 per 1,000). Failed runs not charged. One charge per note in search/user_posts/post, one per comment in comments mode.

FAQ — Xiaohongshu Scraper alternatives

Why one actor instead of 5 separate? The RedNote ecosystem on Apify Store is currently split into 5 single-purpose actors (search, post, user, comments, video). With this Xiaohongshu Scraper you get all 4 modes in one — half the friction, all the data.

Does it require cookies? Only for search, user_posts, comments. For post mode (single note details) the public SSR page works without cookies for most notes.

Geofencing — does it work outside China? XHS serves the international xiaohongshu.com domain globally. Most public notes return a parseable __INITIAL_STATE__ from any IP. For protected content, use Apify residential proxy with a region close to East Asia for best success rate.

Rate limits? XHS doesn't publish official limits but is aggressive on suspicious patterns. Recommendation: ≤ 200 results per minute per session, take breaks between batches. The actor handles backoff automatically.

Anti-scraping bypass? This scraper uses XHS's public SSR HTML (for note details) + the internal web API (for search/user/comments) — both are intended for the official web client. No CAPTCHA bypass, no signed-request reverse engineering, just legitimate cookie-based access.

Can I download images / videos? Image URLs are in the output. For bulk download, pipe the URLs into Apify Web Scraper or your own image-fetcher.


Found this RedNote / Xiaohongshu Scraper useful? Bookmark it — Apify ranks actors by bookmarks, it's the strongest single signal for Store visibility.

License: MIT · Author: dltik