Xiaohongshu (RedNote) Search Scraper
Shahid Irfan · @shahidirfan
Scrape Xiaohongshu (RedNote) search results, posts, keywords, hashtags, user profiles, engagement metrics, likes, comments, and content URLs.
About
What does Xiaohongshu (RedNote) Search Scraper do?
Xiaohongshu (RedNote) Search Scraper collects notes from Xiaohongshu keyword search results and saves them as structured rows. Give it a keyword such as coffee, 美食, or skincare routine, and it returns note titles, captions, authors, engagement counts, tags, images, and direct note links.
The Actor runs without a Xiaohongshu account, cookie, or login. It pages through search results, skips promoted slots, removes duplicates, and stops when it reaches your result limit or the end of the results.
Why use Xiaohongshu (RedNote) Search Scraper?
- Keyword discovery at scale - collect up to 1,000 notes across a keyword without clicking through search pages.
- Structured rows - every note becomes one record with stable field names, ready for a spreadsheet, database, or AI pipeline.
- No empty placeholders - fields are only written when Xiaohongshu returns a real value.
- Simple input - a keyword or a pasted search URL both work.
- Repeatable runs - schedule the Actor, call it through the Apify API, or chain it with the Xiaohongshu Comments Scraper to add comment data to the notes you find.
- Clean pagination - search pages are processed in order, with bounded retries when the site slows down.
What data can you extract from Xiaohongshu?
| Group | Fields |
|---|---|
| Note | note_id, note_url, note_type, note_title, caption, published_at, published_at_unix |
| Author | author_id, author_name, author_avatar |
| Engagement | likes, comments_count, collects_count, shares_count |
| Media | cover_image, images |
| Topics | tags |
| Search | keyword, search_page |
Promoted search slots are skipped, so every row is an organic note.
How to use Xiaohongshu (RedNote) Search Scraper
- Open the Actor on Apify.
- Enter a Search keyword or search URL.
- Set Maximum notes and Maximum search pages.
- Optionally attach a proxy configuration.
- Run the Actor.
- Open the dataset and download it as JSON, CSV, Excel, or XML, or send it to another system.
| Input | Type | Default | Description |
|---|---|---|---|
keyword | String | coffee | Search keyword, or a RedNote search URL that contains a keyword parameter. Defaults to coffee when omitted. |
maxResults | Integer | 60 | Maximum notes to save. Range 1 to 1000. |
maxPages | Integer | 10 | Maximum search pages to request. Each page holds up to 20 results, including promoted slots. Range 1 to 50. |
proxyConfiguration | Object | none | Optional proxy. The Actor works without one. Use residential proxies for repeated runs that hit rate limits. |
Search results arrive 20 per page, and roughly 4 of those are promoted slots. Expect around 16 notes per page.
Output data
| Field | Type | Description |
|---|---|---|
keyword | String | Keyword that produced the note |
search_page | Number | Search page the note appeared on |
note_id | String | 24 character note id |
note_url | String | Direct RedNote note URL |
note_type | String | normal for image notes, video for video notes |
note_title | String | Note title, when the author wrote one |
caption | String | Note caption text |
author_id | String | 24 character author id |
author_name | String | Author display name |
author_avatar | String | Author avatar URL |
likes | Number | Like count |
comments_count | Number | Comment count |
collects_count | Number | Collect or save count |
shares_count | Number | Share count |
published_at | String | Publish time in ISO format |
published_at_unix | Number | Publish time in Unix milliseconds |
cover_image | String | Cover image URL |
images | Array | Image URLs attached to the note |
tags | Array | Topic tags attached to the note |
Counts are converted from Xiaohongshu display values, so 1.7万 becomes 17000.
Usage examples
Search a single keyword
{
"keyword": "coffee",
"maxResults": 60,
"maxPages": 10
}
Paste a search URL
{
"keyword": "https://www.rednote.com/search_result?keyword=%E7%BE%8E%E9%A3%9F&source=web_search_result_notes",
"maxResults": 40,
"maxPages": 3
}
Run a larger job with a proxy
{
"keyword": "skincare routine",
"maxResults": 500,
"maxPages": 40,
"proxyConfiguration": {
"useApifyProxy": true
}
}
Sample output
One real row from a local run with the keyword coffee. The images array is shortened here; a full row lists every image URL.
{
"keyword": "coffee",
"search_page": 1,
"note_id": "6a640c800000000004029906",
"note_url": "https://www.rednote.com/explore/6a640c800000000004029906",
"note_type": "normal",
"note_title": "coffee, cuddles & cozy dayyy",
"caption": "૮⁔. ̫ .⁔ა 穿上新衣服和好朋友度过这美好的一天哦 墨尔本大学附近的flovie cafe好好吃 #记录吧就现在",
"author_id": "58afaa9750c4b444d19e5f8e",
"author_name": "我的阿仔",
"author_avatar": "https://sns-avatar-qc.xhscdn.com/avatar/6343a44e50b203b7f11ee95e.jpg?imageView2/2/w/80/format/jpg",
"likes": 1730,
"comments_count": 31,
"collects_count": 293,
"shares_count": 85,
"published_at": "2026-07-25T01:08:16.000Z",
"published_at_unix": 1784941696000,
"cover_image": "https://sns-na-i27.xhscdn.com/notes_pre_post/1040g3k83231clp63na7g496q4sl9ense4kdk8co?imageView2/2/w/1440/format/webp&ap=5&sc=SRH_DTL&sign=8615461759b26a50e1cc86bec8e2e5d0&t=6af487a4",
"images": [
"https://sns-na-i27.xhscdn.com/notes_pre_post/1040g3k83231clp63na7g496q4sl9ense4kdk8co?imageView2/2/w/1440/format/webp&ap=5&sc=SRH_DTL&sign=8615461759b26a50e1cc86bec8e2e5d0&t=6af487a4"
],
"tags": ["记录吧就现在", "来拍照了", "狗狗日记"]
}
Tips for best results
- Use the language of the audience you want to reach. Chinese keywords return Chinese notes, English keywords return English notes.
- Start with
maxResultsbetween 50 and 100 to check a keyword before running a large job. - Broader keywords return more pages. Very specific phrases can return only one page.
- Search order is whatever Xiaohongshu returns by default. Sorting options are not part of search results for anonymous requests.
- If repeated runs start failing, add a residential proxy. The Actor retries and rotates the proxy session when a proxy is configured.
- Feed
note_urlornote_idinto the Xiaohongshu Comments Scraper to collect comments for the notes you found.
FAQ
Do I need a Xiaohongshu account? No. The Actor works without a login, cookie, or token.
How many notes can I get per keyword?
Up to 1,000 notes, which is about 50 search pages. Set maxResults and maxPages to control the run.
Why are there fewer notes than 20 per page? Each page includes promoted slots. Those are skipped because they are not organic notes.
Can I sort by newest or most liked? No. Xiaohongshu returned the same order for every sort option tested, so the Actor saves the default ordering.
What happens when a keyword has no results? The run succeeds with an empty dataset and logs that no notes were found.
Can I search several keywords in one run? Run the Actor once per keyword, or start it several times through the Apify API or a schedule.
Integrations
Send the dataset to Google Sheets, Airtable, a webhook, or your own API with Apify integrations. The Apify API lets you start runs from your own application and read the dataset when the run finishes.
Related Actors
- Xiaohongshu Comments Scraper - collect the comments under the notes you found here.
- Pinterest Search Scraper - run keyword searches on Pinterest and collect the matching pins.
- TikTok Hashtag Scraper - collect posts for a TikTok hashtag to compare topic interest.
Support
Open an issue on the Actor page if a run fails. Include the run id, the keyword, and the log line that shows the failure. Do not include cookies or account details.
Legal notice
This Actor collects publicly visible search results. Use it for research, market analysis, and content planning. Respect Xiaohongshu terms of service, local law, and the privacy of the people whose public posts you collect. Do not use the data for harassment or mass unsolicited messaging.
More in Social media scrapers
Actors in this category from any publisher on the Store.

Facebook Group Post Scraper
bhansalisoft · @bhansalisoft
Facebook Group Post Scraper : Scrap facebook group post data.
AutomationLead generationMarketing$19/mo1-day free trial
Facebook Message Sender
bhansalisoft · @bhansalisoft
Facebook Message Sender: send bulk message to multiple facebook profiles
AutomationMarketingSocial media$19/mo1-day free trial
Facebook Group Members Scraper
bhansalisoft · @bhansalisoft
Facebook Group Members Scraper : Scrap Facebook Members from facebook group
AutomationLead generationMarketing$19/mo1-day free trial
linkedin-post-comments-scraper
bhansalisoft · @bhansalisoft
Linkedin Post Comments Scraper - Easily extract comments from any LinkedIn post with our LinkedIn Post Comments Scraper. Fast, secure, and no coding required.
AutomationLead generationSocial media$19/mo1-day free trial
Linkedin Post Scraper
bhansalisoft · @bhansalisoft
Linkedin Post Scraper - scrap linkedin posts based on your keyword. we will scrap all linkedin post details with member details.
AutomationLead generationSocial media$19/mo1-day free trial
linkedin-company-search
bhansalisoft · @bhansalisoft
linkedin-company-search -scrap company information from Linkedin
AutomationLead generationSocial media$19/mo1-day free trial
Input
Preview of the input form. Rent the Actor to fill it in and start runs from the console.
Fields
keywordA search keyword such as coffee or 美食, or a RedNote search URL containing a keyword parameter. The keyword is sent to Xiaohongshu search as typed.
maxResultsMaximum number of notes to save. Xiaohongshu returns up to 20 results per search page.
maxPagesMaximum number of search pages to request. Each page holds up to 20 results, including promoted slots that are skipped.
proxyConfigurationOptional proxy configuration. The Actor works without a proxy. Use residential proxies when repeated runs hit rate limits.
API
Bytewells speaks the Apify API. Existing integrations keep working: point apify-client at https://bytewells.com/api and use your Bytewells API token (Console → Settings → API access). The Actor ID is shahidirfan/xiaohongshu-search-scraper (or shahidirfan~xiaohongshu-search-scraper in URLs).
JavaScript · apify-client
import { ApifyClient } from 'apify-client';
const client = new ApifyClient({
token: process.env.BYTEWELLS_TOKEN,
baseUrl: 'https://bytewells.com/api',
});
const input = {
"helloWorld": 123
};
const run = await client.actor('shahidirfan/xiaohongshu-search-scraper').call(input);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);Python · apify-client
import os
from apify_client import ApifyClient
client = ApifyClient(os.environ["BYTEWELLS_TOKEN"], api_url="https://bytewells.com/api")
run_input = {
"helloWorld": 123
}
run = client.actor("shahidirfan/xiaohongshu-search-scraper").call(run_input=run_input)
items = client.dataset(run["defaultDatasetId"]).list_items().items
print(items)HTTP · curl
curl -X POST "https://bytewells.com/api/v2/acts/shahidirfan~xiaohongshu-search-scraper/runs" \
-H "Authorization: Bearer $BYTEWELLS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"helloWorld":123}'Runs are billed as compute from your credit balance. Paid Actors need an active rental or trial; otherwise the API answers 402 rental-required.
Related
More Actors from the same publisher.

Xiaohongshu Comments Scraper 💬
Shahid Irfan · @shahidirfan
Extract Xiaohongshu (Little Red Book/RED) post comments, replies, usernames, timestamps, likes, and engagement data. Ideal for social media monitoring.
Social mediaDeveloper toolsAutomation$19.99/mo1-day free trial
AliExpress Scraper
Shahid Irfan · @shahidirfan
Instantly extract product details, pricing, reviews, and seller information from AliExpress. Perfect for research, price monitoring, and market analysis.
E-commerceAutomationDeveloper tools$19.99/mo1-day free trial
AutoZone Products Scraper
Shahid Irfan · @shahidirfan
Efficiently extract AutoZone product data including prices, availability, and descriptions. Monitor inventory changes, track competitor pricing, and reviews..
E-commerceAutomationDeveloper tools$19.99/mo1-day free trial
CarGurus Scraper 🚗
Shahid Irfan · @shahidirfan
Extract car listings from CarGurus with prices, makes, models, mileage, VINs, vehicle specifications, dealer details, locations, images, and listing URLs.
Developer toolsAutomationLead generation$19.99/mo1-day free trial
Clutch.co Scraper
Shahid Irfan · @shahidirfan
Introducing the Clutch.co Scraper, a lightweight actor for extracting company profiles, client reviews, and ratings from Clutch.co. Quick and effective.
Developer toolsLead generationAutomation$29.99/mo1-day free trial
G2 Product Reviews Scraper ⭐
Shahid Irfan · @shahidirfan
Scrape G2 reviews, software ratings, SaaS product reviews, customer feedback, pros, cons, reviewer insights, and product details. Extract structured G2 reviews.
Lead generationDeveloper toolsAutomation$29/mo1-day free trial