RedNote Scraper — Xiaohongshu Posts, Comments & Video avatar

RedNote Scraper — Xiaohongshu Posts, Comments & Video

Pricing

from $40.00 / 1,000 rednote post scrapeds

Go to Apify Store
RedNote Scraper — Xiaohongshu Posts, Comments & Video

RedNote Scraper — Xiaohongshu Posts, Comments & Video

Scrape RedNote (Xiaohongshu 小红书) posts, comments, creator profiles & video URLs. Search keywords, track creators, extract sentiment — zero login for posts, profiles & video. Clean JSON, delta mode, proxy ready

Pricing

from $40.00 / 1,000 rednote post scrapeds

Rating

0.0

(0)

Developer

Scrape Pilot

Scrape Pilot

Maintained by Community

Actor stats

0

Bookmarked

3

Total users

1

Monthly active users

a month ago

Last modified

Categories

Features

Limited permissions

Share


📕 RedNote Scraper — Xiaohongshu Posts, Comments, Profiles & Video


RedNote (Xiaohongshu / 小红书) Scraper — extract posts, comments, creator profiles, and direct video stream URLs at scale. Zero login required for post details, video, and creator profiles. Optional cookie for keyword search and comment threads. China's #1 lifestyle platform with 300M+ monthly active users — now fully accessible via structured JSON.

If you searched for rednote scraper, xiaohongshu scraper, 小红书爬虫, 小红书数据采集, rednote post scraper, xiaohongshu comments scraper, rednote creator profile scraper, xiaohongshu video downloader, rednote keyword search, or a no-login xiaohongshu data extractor — this is the actor you're looking for. ✅


💡 What is the RedNote Scraper?

RedNote (小红书, Xiaohongshu, "Little Red Book") is China's #1 lifestyle, review, and short-video platform with 300M+ monthly active users. This RedNote scraper is your complete Xiaohongshu data intelligence engine — pull structured data from six surfaces:

  • Post Details — Full post metadata, images, hashtags, engagement, and video URLs
  • Video Streams — Direct signed MP4 master URLs for video posts
  • Comments — Complete comment threads with user info and sentiment
  • Creator Profiles — Followers, following, bio, location, verified status
  • User Posts — All posts from any creator feed
  • Keyword Search — Search posts by keyword, sort, type, and min-likes

All done without a real browser session — fast, reliable, and production-ready.


🔥 SEO Keywords (Why This RedNote Scraper Ranks)

This actor ranks for rednote scraper, xiaohongshu scraper, 小红书爬虫, 小红书数据采集, rednote post scraper, xiaohongshu post scraper, rednote comments scraper, xiaohongshu comments scraper, rednote profile scraper, xiaohongshu creator scraper, xiaohongshu user scraper, rednote video downloader, xiaohongshu video downloader, xiaohongshu keyword search, rednote keyword tracker, xiaohongshu sentiment analysis, rednote data API alternative, xiaohongshu data extraction, little red book scraper, chinese lifestyle platform scraper, apify rednote actor, apify xiaohongshu actor.


🚀 Key Features

FeatureDescription
6 Powerful Modespost_details, video, comments, profile, search, user_posts.
Zero Login RequiredPost details, video streams, and creator profiles work with no cookie.
Optional Cookie BoostSupply a web_session cookie to unlock keyword search and deep comment threads.
Direct Video URLsExtracts signed H.264 MP4 master URLs for video posts.
Short Link ResolutionAutomatically follows xhslink.com short links to full URLs.
Chinese Sentiment AnalysisPositive / negative / neutral detection with score (−1.0 to +1.0).
Language DetectionAuto-detects zh-CN, en, or mixed for each post/comment.
Delta ModeTracks seen IDs across runs so scheduled runs return only new items.
Lite ModeSkip heavy parsing — return just postId, title, likes, url (cheaper).
Ad Filter / Min LikesFilter by post type (video / normal) and minimum like count.
Residential Proxy ReadySupports Apify residential proxies for high-volume runs.
Pay-Per-Result PricingOnly charged for successfully scraped items. Empty runs cost $0.

📥 Input Parameters

ParameterTypeRequiredDefaultDescription
modestringYes"user_posts"post_details, video, comments, profile, search, user_posts.
searchQuerystringSearch mode"skincare routine"Keyword for search mode.
userUrlstringNosample URLSingle creator profile URL.
userUrlsarrayNo[]Additional creator profile URLs.
postUrlsarrayPost modes["..."]Post URLs, short links, or note IDs.
maxResultsintegerNo50Max items to return.
cookieStringstringNo""Full cookie string (or single web_session value) to unlock gated features.
sortBystringNo"general"Search sort: general, time_descending, popularity_descending.
filterByTypestringNo"all"all, video, normal.
filterByMinLikesintegerNo0Only keep posts with at least N likes.
sentimentAnalysisbooleanNofalseAdd sentiment block to each post/comment.
liteModebooleanNofalseReturn lightweight records (postId, title, likes, url) — cheaper.
deltaModebooleanNofalseOnly return unseen items across runs.
deltaStateKeystringNo"default"Separate delta memory per pipeline.
concurrencyintegerNo4Parallel workers for post/profile/video fetch.
proxyConfigurationobjectNo–Apify proxy config. Residential recommended.

📤 Output Fields (All Modes)

Every record includes mode and scrapedAt.

1. mode: "post_details" / "search" / "user_posts" — Post Record

FieldTypeDescription
postIdstring24-char note ID.
postUrlstringCanonical URL.
xsecTokenstringSecurity token used for access.
typestringnormal (image) or video.
titlestringPost title.
contentstringFull post description.
tagsarrayHashtags.
publishedAtstringISO 8601 publish time (UTC).
locationstringIP location (province / country).
imagesarrayHD image URLs.
videoUrlstringSigned MP4 URL (video posts only).
hasVideobooleanWhether post is a video.
likesintegerLike count (parsed from 1.9万 format).
commentsintegerComment count.
sharesintegerShare count.
savesintegerSave / bookmark count.
authorobject{userId, nickname, avatar}.
authorNamestringAuthor display name.
languagestringzh-CN, en, or mixed.
sentimentobject{polarity, score, method} when enabled.

2. mode: "comments" — Comment Record

FieldTypeDescription
postIdstringParent post ID.
postUrlstringParent post URL.
contentstringComment text.
authorNamestringCommenter name.
avatarstringCommenter avatar.
likesintegerComment likes.
publishedAtstringISO 8601.
languagestringDetected language.
sentimentobjectWhen enabled.

3. mode: "profile" — Creator Profile Record

FieldTypeDescription
userIdstring24-char user ID.
profileUrlstringxiaohongshu.com/user/profile/{uid}.
redIdstringRedNote display ID.
nicknamestringDisplay name.
avatarstringHD avatar URL.
descriptionstringBio.
genderinteger0, 1, 2.
locationstringIP location.
followersintegerFollower count.
followingintegerFollowing count.
totalLikesintegerTotal likes received.
tagsarrayCreator tags.
languagestringDetected language.
fetchPathstringProvenance of the fetch.

4. mode: "video" — Video Stream Record

FieldTypeDescription
postIdstringVideo post ID.
postUrlstringPost URL.
titlestringVideo title.
authorNamestringAuthor name.
videoUrlstringSigned H.264 MP4 master URL.
hasVideobooleanAlways true.

📚 Full Input & Output Examples

🔹 Example 1 — Post Details (Zero Login)

Input:

{
"mode": "post_details",
"postUrls": [
"https://www.xiaohongshu.com/explore/654321000000000001000813?xsec_token=AB123xyz",
"http://xhslink.com/abc123"
],
"sentimentAnalysis": true,
"concurrency": 4
}

Output:

[
{
"mode": "post_details",
"postId": "654321000000000001000813",
"postUrl": "https://www.xiaohongshu.com/explore/654321000000000001000813?xsec_token=AB123xyz",
"xsecToken": "AB123xyz",
"type": "normal",
"title": "5分钟懒人护肤|油皮必看!",
"content": "最近皮肤真的太干了,试了这套组合效果惊艳...",
"tags": ["护肤", "油皮", "懒人护肤"],
"publishedAt": "2026-09-15T08:22:11+00:00",
"location": "上海",
"images": ["https://sns-img-qc.xhscdn.com/abc123.jpg"],
"videoUrl": null,
"hasVideo": false,
"likes": 19000,
"comments": 432,
"shares": 87,
"saves": 1520,
"author": {
"userId": "5d5a56c10000000001000813",
"nickname": "小美护肤日记",
"avatar": "https://sns-avatar-qc.xhscdn.com/xyz.jpg"
},
"authorName": "小美护肤日记",
"language": "zh-CN",
"sentiment": {"polarity": "positive", "score": 0.42, "method": "snownlp"},
"scrapedAt": "2026-10-10T12:00:00+00:00"
}
]

🔹 Example 2 — Video Stream Extraction

Input:

{
"mode": "video",
"postUrls": ["https://www.xiaohongshu.com/explore/654321000000000001000888"],
"concurrency": 2
}

Output:

[
{
"mode": "video",
"postId": "654321000000000001000888",
"postUrl": "https://www.xiaohongshu.com/explore/654321000000000001000888?xsec_token=CD456",
"xsecToken": "CD456",
"title": "上海隐藏小店|探店Vlog",
"authorName": "食在上海",
"videoUrl": "https://sns-video-qc.xhscdn.com/stream/110/xxx/master.mp4?sign=xyz",
"hasVideo": true,
"scrapedAt": "2026-10-10T12:00:00+00:00"
}
]

Input:

{
"mode": "comments",
"postUrls": ["https://www.xiaohongshu.com/explore/654321000000000001000813?xsec_token=AB123xyz"],
"maxResults": 30,
"sentimentAnalysis": true,
"cookieString": "web_session=YOUR_SESSION_COOKIE"
}

Output:

[
{
"mode": "comments",
"postId": "654321000000000001000813",
"postUrl": "https://www.xiaohongshu.com/explore/654321000000000001000813?xsec_token=AB123xyz",
"content": "这套我用了三个月,真的有效!",
"authorName": "护肤小白菜",
"avatar": "https://sns-avatar-qc.xhscdn.com/user123.jpg",
"likes": 328,
"publishedAt": "2026-09-16T09:11:00+00:00",
"language": "zh-CN",
"sentiment": {"polarity": "positive", "score": 0.55, "method": "snownlp"},
"scrapedAt": "2026-10-10T12:00:05+00:00"
}
]

🔹 Example 4 — Creator Profile (Zero Login)

Input:

{
"mode": "profile",
"userUrl": "https://www.xiaohongshu.com/user/profile/5d5a56c10000000001000813",
"concurrency": 3
}

Output:

[
{
"mode": "profile",
"userId": "5d5a56c10000000001000813",
"profileUrl": "https://www.xiaohongshu.com/user/profile/5d5a56c10000000001000813",
"redId": "123456789",
"nickname": "小美护肤日记",
"avatar": "https://sns-avatar-qc.xhscdn.com/xyz.jpg",
"description": "专注敏感肌护理|理性护肤|不推荐智商税",
"gender": 2,
"location": "上海",
"followers": 128000,
"following": 320,
"totalLikes": 890000,
"tags": ["护肤", "美妆", "敏感肌"],
"language": "zh-CN",
"fetchPath": "http",
"scrapedAt": "2026-10-10T12:00:00+00:00"
}
]

Input:

{
"mode": "search",
"searchQuery": "skincare routine",
"maxResults": 30,
"sortBy": "popularity_descending",
"filterByType": "all",
"filterByMinLikes": 500,
"sentimentAnalysis": true,
"cookieString": "web_session=YOUR_SESSION_COOKIE"
}

Output:

[
{
"mode": "search",
"postId": "654321000000000001001111",
"postUrl": "https://www.xiaohongshu.com/explore/654321000000000001001111?xsec_token=EF789",
"xsecToken": "EF789",
"type": "normal",
"title": "敏感肌必备!3步搞定日常护肤",
"content": "",
"tags": [],
"publishedAt": null,
"location": null,
"images": ["https://sns-img-qc.xhscdn.com/cover111.jpg"],
"videoUrl": null,
"hasVideo": false,
"likes": 45000,
"comments": 890,
"shares": 320,
"saves": 2100,
"author": {
"userId": "5d5a56c10000000001000222",
"nickname": "护肤小师太",
"avatar": "https://sns-avatar-qc.xhscdn.com/u222.jpg"
},
"authorName": "护肤小师太",
"language": "zh-CN",
"sentiment": {"polarity": "positive", "score": 0.38, "method": "snownlp"},
"scrapedAt": "2026-10-10T12:00:00+00:00"
}
]

🔹 Example 6 — User Posts (Creator Feed)

Input:

{
"mode": "user_posts",
"userUrl": "https://www.xiaohongshu.com/user/profile/5d5a56c10000000001000813",
"maxResults": 30,
"sentimentAnalysis": true,
"liteMode": false
}

Output:

[
{
"mode": "user_posts",
"postId": "654321000000000001002222",
"postUrl": "https://www.xiaohongshu.com/explore/654321000000000001002222?xsec_token=GH901",
"xsecToken": "GH901",
"type": "normal",
"title": "秋日护肤清单|干皮友好",
"content": "",
"tags": [],
"publishedAt": null,
"location": null,
"images": ["https://sns-img-qc.xhscdn.com/cover222.jpg"],
"videoUrl": null,
"hasVideo": false,
"likes": 8900,
"comments": 145,
"shares": 22,
"saves": 380,
"author": {
"userId": "5d5a56c10000000001000813",
"nickname": "小美护肤日记",
"avatar": "https://sns-avatar-qc.xhscdn.com/xyz.jpg"
},
"authorName": "小美护肤日记",
"language": "zh-CN",
"profileUrl": "https://www.xiaohongshu.com/user/profile/5d5a56c10000000001000813",
"sentiment": {"polarity": "positive", "score": 0.28, "method": "snownlp"},
"scrapedAt": "2026-10-10T12:00:00+00:00"
}
]

🔹 Example 7 — Lite Mode (Cheaper Output)

Input:

{
"mode": "search",
"searchQuery": "skincare",
"maxResults": 100,
"liteMode": true,
"cookieString": "web_session=YOUR_SESSION_COOKIE"
}

Output:

[
{
"mode": "search",
"postId": "654321000000000001001111",
"postUrl": "https://www.xiaohongshu.com/explore/654321000000000001001111?xsec_token=EF789",
"xsecToken": "EF789",
"type": "normal",
"title": "敏感肌必备!3步搞定日常护肤",
"likes": 45000,
"scrapedAt": "2026-10-10T12:00:00+00:00"
}
]

💰 Pricing (Pay-Per-Event)

Only charged for successfully scraped items. Empty runs and failed lookups cost $0.

EventEvent NamePrice / 1KWhen Charged
Post scrapedpost-scraped$40.00 / 1,000search, user_posts, post_details mode items.
Comment scrapedcomment-scraped$15.00 / 1,000Comments fetched.
Creator profile scrapedprofile-scraped$80.00 / 1,000profile mode items.
Video stream extractedvideo-extracted$110.00 / 1,000video mode MP4 URL extraction.
Actor startapify-actor-start$0.00005 / runOne-time startup fee.

Example costs:

  • 100 posts (post_details) = 100 × $0.04 = $4.00 + $0.00005 start
  • 500 comments = 500 × $0.015 = $7.50
  • 50 creator profiles = 50 × $0.08 = $4.00
  • 30 video streams = 30 × $0.11 = $3.30

🛠 How to Use This RedNote Scraper on Apify

  1. Create a task with this actor.
  2. Choose the mode in your input JSON.
  3. Fill in the required fields (searchQuery / postUrls / userUrl).
  4. (Optional) Add cookieString — for keyword search and deep comment threads.
  5. Enable residential proxies — strongly recommended for high-volume runs.
  6. Run — the actor handles everything automatically.
  7. Export — download as JSON, CSV, or Excel.

Running via API

curl -X POST "https://api.apify.com/v2/acts/your-username~rednote-scraper/runs" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-d '{
"mode": "post_details",
"postUrls": ["https://www.xiaohongshu.com/explore/654321000000000001000813"],
"sentimentAnalysis": true
}'

🎯 Use Cases (Who Uses This RedNote Scraper)

  • Brand monitoring — Track mentions of your brand on Xiaohongshu.
  • Influencer / KOL research — Build a database of Chinese creators with follower counts.
  • Competitive analysis — Monitor competitor posts, hashtags, and engagement.
  • Content research — Discover trending topics and hooks via keyword search.
  • Sentiment analysis — Extract labeled Chinese corpora for NLP.
  • Video content discovery — Bulk-extract direct MP4 URLs for repurposing.
  • Crisis monitoring — Get early signals from rising negative comments.
  • Academic research — Study Chinese consumer reviews, lifestyle trends.

❓ Frequently Asked Questions

1. Do I need a Xiaohongshu / RedNote account?
No. Post details, video, and creator profiles work with zero login. Only keyword search and deep comment pagination benefit from a web_session cookie.

2. How do I get the web_session cookie?
Log in to xiaohongshu.com in your browser → F12 → Application → Cookies → copy the web_session value. Paste it into the cookieString field.

3. What's xsec_token and why does it matter?
xsec_token is a security token attached to RedNote URLs. The actor uses it when present to gain access without triggering rate limits.

4. Does xhslink.com short link work?
Yes. The actor resolves short links automatically.

5. What's the difference between normal and video posts?
normal = image carousel. video = short-video (returns signed MP4 URL).

6. What if search returns 0 items without a cookie?
RedNote gates anonymous keyword search. The actor falls back to topic feeds — usually returning limited matches. For guaranteed search results, add cookieString. Empty runs are $0.

7. What is Lite Mode?
liteMode: true returns only postId, postUrl, title, likes, xsecToken — cheaper and faster for lead-gen pipelines.

8. How does delta mode work?
Every processed postId / userId is saved to KV Store. Future runs with the same deltaStateKey skip already-seen items.

9. Can I get video files, not URLs?
The actor returns signed MP4 URLs (valid ~2 hours). Use wget / curl to download.

10. Do I need a proxy?
For small runs, direct IP works. For 500+ items, residential proxies are strongly recommended.


📝 Technical Notes

  • The actor is built with a production-grade HTTP pipeline optimized for RedNote.
  • Handles anonymous access, optional session cookies, proxy configuration, and payload integrity for every request.
  • Runs entirely server-side on Apify — no local setup required.
  • Empty runs (0 results) are always free. You only pay for successfully delivered records.
  • Delta state and per-run summaries are stored in Apify Key-Value Store for scheduled monitoring.
  • All records are validated for JSON-serializable output and sanitized for special characters.
  • Robust error handling: a single item failure never stops the run. Failures are logged and skipped.



Start scraping RedNote / Xiaohongshu today — zero login for posts, profiles & video. Only pay for results.