Xiaohongshu (RedNote/小红书) Notes & Video Scraper avatar

Xiaohongshu (RedNote/小红书) Notes & Video Scraper

Pricing

from $5.99 / 1,000 note results

Go to Apify Store
Xiaohongshu (RedNote/小红书) Notes & Video Scraper

Xiaohongshu (RedNote/小红书) Notes & Video Scraper

Collect public Xiaohongshu (RedNote/小红书) notes from URLs, feeds, and sitemaps. Export post details, creator profiles, and optional MP4/image downloads. Experimental search and comments require your own session cookie.

Pricing

from $5.99 / 1,000 note results

Rating

0.0

(0)

Developer

Fetch Finch

Fetch Finch

Maintained by Community

Actor stats

0

Bookmarked

10

Total users

2

Monthly active users

2 months ago

Last modified

Categories

Features

Limited permissions

Share

Scrape Xiaohongshu (RedNote/小红书) notes and videos

Public access Pricing Runtime Output Media Examples

Collect public Xiaohongshu notes from a post link, Explore feed, or sitemap. Get text, authors, engagement, images, video streams, and optional media files in structured Apify outputs. Creator profiles are also available. Search, comments, and extended profile pagination need your own Xiaohongshu session cookie; those session-based paths have not yet been verified with a live account.

You can start with a URL and a result limit. The Actor uses HTTP requests throughout the run, including video downloads.

Start in one minute

  1. Paste a Xiaohongshu note, profile, Explore, or sitemap URL into Start URLs. You can also use Sitemap URLs for .xml.gz files.
  2. Set Maximum notes or users to control the run size. Turn on Download videos or Download note images if you want files saved.
  3. Run the Actor. Open the Output tab for notes, users, comments, errors, and downloaded media.

For a quick public feed run, use:

{
"startUrls": [{ "url": "https://www.xiaohongshu.com/explore" }],
"maxItems": 25,
"includeNoteDetails": true
}

If you leave URLs and search queries empty, the Actor starts from the public Explore feed.

What you can collect

SourceData returnedSession needed?
Note or video URLFull text, author, publication time, tags, engagement, images, video streams, subtitles when availableUsually no; keep the xsec_token in shared links
Explore feedNote cards, with optional full note detailsUsually no
Public .xml or .xml.gz sitemapNote URLs followed up to your maxItems limitUsually no
Creator profilePublic profile and visible note previewsUsually no
Keyword searchPaginated notes or users; sort and note type filtersYes; experimental
Note commentsTop-level comments and optional repliesYes; experimental
Creator's full posted-note listAdditional pages beyond public previewsYes; experimental

Public access depends on the note, its share token, the IP address, and Xiaohongshu's current controls. An Explore category is a discovery hint; the public feed may include posts outside that category.

Outputs

The Output tab separates records by type, so you can review or export each dataset without filtering mixed rows.

OutputWhat it containsUseful fields
Notes and videosOne record per collected note, including video notesnoteId, url, title, description, author, counts, tags, images, video
User profilesCreator details and any visible note previewsuserId, nickname, redId, followers, following, notePreviews
CommentsTop-level comments and replies collected with a sessioncommentId, noteId, parentCommentId, content, author, likes
Downloaded videosMP4 files saved when downloadVideos is enabledKey shown in the note's video.storageKey
Downloaded imagesImage files saved when downloadImages is enabledKeys shown in images[].storageKey
ErrorsURLs or queries that could not be collectedsourceUrl, errorType, message

Notes and profiles include a fetchedAt timestamp. If a profile page shows cards without usable note IDs, the profile record keeps them as notePreviews and marks profileNotesStatus as previews_only.

Pricing

Pay per event charges for saved results and downloaded files. The note price applies to posts found through URLs, feeds, sitemaps, or session-based search.

EventPriceWhen it is charged
Actor start$0.00005 per run at the default 1 GB memoryWhen a run starts
Note result$0.00599 per note ($5.99 per 1,000)A note is saved to Notes
Creator profile$0.00990 per profileA profile is saved to User profiles
Comment or reply$0.00299 per rowA comment or reply is saved with a valid session
Downloaded media$0.00008 per MiBA video or image is saved; each file is rounded up to the next MiB

For example, one note with a 22 MiB video costs about $0.00780 in Actor events, including the start event. Failed page requests do not create result charges, though the start event still applies. Set a maximum run cost in Apify to control your budget; the minimum configurable budget is $0.01. The actual charge can be lower.

Example workflows

These inputs are templates. Replace the URLs and limits with your own project data.

GoalSuggested inputResult
Monitor the public feedExplore URL, maxItems, includeNoteDetailsFeed note details for research or tracking
Discover notes in bulksitemapUrls with a .xml.gz URLPublic notes without compiling individual links
Archive a videoNote URL, downloadVideos, videoQualityNote metadata plus an MP4 in the key-value store
Review a creatorProfile URL, includeProfileNotesProfile metrics and visible note previews
Search a topic and read discussionsearchQueries, maxComments, maxReplies, cookieExperimental session-based notes and comments in separate datasets

Discover notes from a compressed sitemap

{
"sitemapUrls": ["https://www.xiaohongshu.com/sitemap-notes-0.xml.gz"],
"maxItems": 50,
"includeNoteDetails": true
}

Download a public video

{
"startUrls": [
{ "url": "https://www.xiaohongshu.com/explore/6a985c8200000000260151fe?xsec_token=ABYtezdGaenJz0DsjVYuLtMUk9nCt2KwtNS887ZxDRO2w%3D&xsec_source=pc_feed" }
],
"maxItems": 1,
"downloadVideos": true,
"videoQuality": "compatible",
"maxMediaMegabytes": 100
}

The share token and media links can expire. If this example stops working, replace its URL with a fresh Xiaohongshu share link. Choose best for the highest available resolution, smallest for a smaller file, or compatible to prefer H.264 when available.

Review a creator's public profile

{
"startUrls": [{ "url": "https://www.xiaohongshu.com/user/profile/637f9a1d000000001f019734" }],
"maxItems": 1,
"includeProfileNotes": true
}

Search Chinese notes and collect comments

{
"searchQueries": ["旅行"],
"searchSort": "latest",
"maxItems": 50,
"maxComments": 20,
"maxReplies": 5,
"cookie": "a1=...; web_session=..."
}

Use the a1 and web_session values from the same signed-in browser session. The Session cookie input is a secret field. Search and comments require a valid session and are experimental until tested with a live account; the example values above are placeholders.

Input options

InputDefaultWhat it controls
startUrlsExplore feed if no seeds are givenNote, profile, Explore, search, or sitemap URLs
sitemapUrlsEmptyPublic XML or compressed XML sitemap URLs
searchQueriesEmptyKeywords for note or user search; requires a session
searchTypenotesSearch notes or users
searchSort / searchNoteTypegeneral / allNote search order and video/image filter
feedCategoryrecommendExplore category to request
maxItems100Maximum note and user records combined
includeNoteDetails / includeProfileNotestrue / trueFetch full note pages and available profile notes
maxComments / maxReplies0 / 0Top-level comments per note and replies per comment
downloadVideos / downloadImagesfalse / falseSave media files to the run's key-value store
videoQuality / maxMediaMegabytesbest / 100Video stream preference and per-file size cap
cookieEmptyYour Xiaohongshu session for search, comments, and extended profile notes
proxyConfigurationNo proxyOptional Apify proxy settings
requestDelayMillis / maxRetries800 / 3Request pacing and retries for temporary failures

maxItems counts notes and users. Comments have separate per-note limits. Media files use the per-file size cap, so a note can still be collected when a download cannot be saved.

Access and troubleshooting

SituationWhat to do
A note opens a login prompt in a browserTry its full share URL, including xsec_token. The Actor reads the public note data directly when available.
A URL redirects to login or has no public note dataCheck the Errors output and try a fresh share URL or a sitemap seed. Some content is unavailable without a session.
Search or comments report login_requiredSupply a valid a1 and web_session cookie pair from your own account.
A video has stream details but no saved MP4Check video.downloadError, increase maxMediaMegabytes if appropriate, or retry with a fresh share URL.
A profile has previews but no full note listPublic profile pages may omit note IDs; a valid session is needed for extended pagination.

The Actor reads public pages and data accessible to the supplied session. It does not create accounts, solve captchas, or interact with posts.