# RedNote (Xiaohongshu) Trending & Category Feed Scraper (`memo23/rednote-trending-scraper`) Actor

Discover trending RedNote / Xiaohongshu (小红书) notes with NO login: 12 categories (fashion, food, beauty, travel…) or the main recommended feed. Each row: note ID, title, likes parsed to numbers, author, cover, and a ready-to-scrape URL with xsec\_token. Optional full-detail hydration.

- **URL**: https://apify.com/memo23/rednote-trending-scraper.md
- **Developed by:** [Muhamed Didovic](https://apify.com/memo23) (community)
- **Categories:** Social media
- **Stats:** 2 total users, 1 monthly users, 80.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $5.00 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## RedNote (Xiaohongshu) Trending & Category Feed Scraper

**Discover what's trending on 小红书 right now — no keyword, no login, no cookie. Pick one of 12 categories or the main recommended feed and get fresh notes with engagement data as clean JSON rows.**

Keyword search on Xiaohongshu is login-gated; the discover feed is not. This actor reads the same category feeds the logged-out web app renders — fashion, food, beauty, movies, career, love, home, gaming, travel, fitness, video, or the main mixed feed — and each reload rotates in fresh notes, so pulling more pages keeps yielding new content.

### What you get per note

| Field | Description |
| --- | --- |
| `noteId`, `noteType` | ID and type (`normal` image post or `video`) |
| `noteTitle` | Display title |
| `likedCount` / `likedCountNum` | Likes as shown (e.g. `1.2万`) and parsed to a number (12000) |
| `userId`, `userName`, `userAvatar` | Author |
| `noteCoverUrl` | Cover image |
| `channel` | Which category feed produced the row |
| `noteUrl` + `xsecToken` | Ready to paste into the [Note Detail](https://apify.com/memo23/rednote-note-detail-scraper) or [Comments](https://apify.com/memo23/rednote-comments-scraper) scraper |

Flip on **`fullDetail`** and every discovered note is hydrated to its complete record — description, full image gallery, video URL, all counts — at one extra request per note.

### Example input

```json
{
    "channel": "homefeed.cosmetics_v3",
    "maxPages": 3,
    "maxItems": 50
}
```

### FAQ

**Really no login?** Really. Category discovery is one of the parts of Xiaohongshu that renders for guests. Keyword search is gated — for that, see the [Search Scraper](https://apify.com/memo23/rednote-search-scraper).

**Why do repeated runs return different notes?** The feed rotates on every load — that's the point. It's a sampling instrument for what the platform is pushing right now, not a fixed index. Duplicates within one run are skipped automatically; the run stops early after three reloads with nothing new.

**What's this good for?** Trend monitoring per vertical (what beauty content is surfacing today), creator discovery without keywords, and building seed lists for the Note Detail and Comments scrapers.

### Related scrapers

- [RedNote Search Scraper](https://apify.com/memo23/rednote-search-scraper) — keyword search (login-gated)
- [RedNote Note Detail Scraper](https://apify.com/memo23/rednote-note-detail-scraper) — hydrate any discovered note, no login
- [Xiaohongshu (RedNote) Scraper](https://apify.com/memo23/xiaohongshu-rednote-scraper) — the all-in-one actor: 8 operations

### 🤖 For AI Agents & LLM Apps

Compact reference for AI agents calling this actor via the [Apify MCP server](https://mcp.apify.com) or the Apify API (actor: `memo23/rednote-trending-scraper`).

**Purpose:** Samples Xiaohongshu's (RedNote / 小红书) logged-out discover feed — 12 categories or the main recommended feed — returning fresh trending notes as JSON rows. No login.

**Minimal input:**

```json
{ "channel": "homefeed_recommend", "maxPages": 2, "maxItems": 40 }
```

**Output:** one row per note; key fields: noteId, noteType, noteTitle, likedCount, likedCountNum, userId, userName, userAvatar, noteCoverUrl, channel, noteUrl, xsecToken. With `fullDetail: true`, rows carry the complete note record (description, imageUrls, videoUrl, all counts).

**Behaviors an agent should know:**

- The feed rotates per load — runs are samples, not a stable index; rows dedup within a run and the run stops after 3 reloads with nothing new.
- `channel` enum: homefeed\_recommend (default) plus homefeed.{fashion,food,cosmetics,movie\_and\_tv,career,love,household\_product,gaming,travel,fitness,video}\_v3.
- `fullDetail: true` costs one extra request per note.
- No cookie, no login. Billing: pay-per-event — see the Pricing tab on the actor page.

### ⚠️ Disclaimer

This actor collects publicly displayed data from Xiaohongshu for legitimate research, marketing, and archival purposes. You are responsible for complying with applicable laws and Xiaohongshu's terms. Do not use collected data for spam or harassment.

# Actor input Schema

## `channel` (type: `string`):

Which homefeed category to discover notes from. 'Recommended' is the main mixed feed. Increase Max pages to pull more (the feed rotates each load, so more pages = more unique notes).

## `fullDetail` (type: `boolean`):

Hydrate each discovered note to its full detail (description, full image gallery, video URL, all counts). Costs one extra request per note. Off by default — the feed row already includes note ID, title, likes, author, cover, and a ready-to-scrape URL + token.

## `maxPages` (type: `integer`):

How many times to reload the rotating feed (~15–30 fresh notes per load, duplicates skipped automatically). Default 1.

## `maxItems` (type: `integer`):

Hard cap on total dataset rows. Leave empty for no cap.

## `proxy` (type: `object`):

Proxy egress. Leave default to use built-in residential routing. Override with Apify Proxy or custom proxy URLs if needed.

## Actor input object example

```json
{
  "channel": "homefeed_recommend",
  "fullDetail": false,
  "maxPages": 1,
  "proxy": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {};

// Run the Actor and wait for it to finish
const run = await client.actor("memo23/rednote-trending-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {}

# Run the Actor and wait for it to finish
run = client.actor("memo23/rednote-trending-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{}' |
apify call memo23/rednote-trending-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,memo23/rednote-trending-scraper"
        }
    }
}

```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/v5JW9afRcQ7yEymgz/builds/0iMGcT44i7JHAGnw4/openapi.json
