# RedNote (Xiaohongshu) Product Scraper — Mall Prices & Sellers (`memo23/rednote-product-scraper`) Actor

Scrape RedNote / Xiaohongshu (小红书) mall products with NO login: a seed product's shop + related products with current price, coupon and flash prices, units sold, stock status, and seller info — CNY pricing behind China's biggest lifestyle-commerce platform. Paste a product URL or goods ID.

- **URL**: https://apify.com/memo23/rednote-product-scraper.md
- **Developed by:** [Muhamed Didovic](https://apify.com/memo23) (community)
- **Categories:** E-commerce
- **Stats:** 1 total users, 0 monthly users, 80.7% 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) Product Scraper — Mall Prices & Sellers

**Real e-commerce data from 小红书 mall with no login: current prices, coupon and flash-sale prices, units sold, stock, and seller info — the pricing layer behind China's biggest lifestyle-commerce platform.**

Xiaohongshu's mall recommendation feed answers plain guest requests — a different auth surface from the login-walled note and search APIs. Paste one product URL (or bare goods ID) and get that product's shop plus related products, each as a clean CNY-priced JSON row.

### What you get per product

| Field | Description |
| --- | --- |
| `spuId`, `title`, `desc` | Product identity |
| `price`, `salePrice`, `officialPrice` | List, sale, and official prices (CNY) |
| `couponPrice`, `couponSave`, `flashPrice` | Promo pricing where active |
| `soldCount` | Units sold, parsed from Chinese display format |
| `stockStatus`, `stockQuantity`, `buyable`, `purchasable` | Availability |
| `sellerId` + seller fields | Who sells it |
| `seedGoodsId` | The input product that produced the row |

### Example input

```json
{
    "goodsId": "https://www.xiaohongshu.com/goods-detail/6449fb26db9efc0001b1c665"
}
```

### FAQ

**Really no login?** Really — the mall's recommendation surface serves guests. Notes search and comments are the login-gated parts of Xiaohongshu, and they have their own scrapers.

**What's this good for?** Price monitoring on China's social-commerce leader, competitor catalog mapping per seller, and spotting flash/coupon promotions as they run.

**Where do I find goods IDs?** Any product URL you copy from the Xiaohongshu app or web mall carries one, and each run's related-product rows contain more IDs to fan out with.

### Related scrapers

- [1688 Wholesale Scraper](https://apify.com/memo23/1688-wholesale-scraper) — where these products get sourced, with tier pricing and MOQ
- [Alibaba Scraper](https://apify.com/memo23/alibaba-scraper) — international wholesale sourcing data
- [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-product-scraper`).

**Purpose:** Returns Xiaohongshu (RedNote / 小红书) mall products — a seed product's shop + related products — as CNY-priced JSON rows with sales counts, stock, and seller data. No login.

**Minimal input:**

```json
{ "goodsId": "https://www.xiaohongshu.com/goods-detail/6449fb26db9efc0001b1c665", "maxItems": 30 }
```

**Output:** one row per product; key fields: spuId, title, desc, price, salePrice, officialPrice, couponPrice, couponSave, flashPrice, currency (CNY), soldCount, stockStatus, stockQuantity, buyable, purchasable, sellerId, seedGoodsId.

**Behaviors an agent should know:**

- `goodsId` accepts a product URL or a bare 24-hex goods ID.
- Rows include the seed product's shop items plus platform-related products — fan out further using the returned IDs.
- All prices are CNY as displayed; `soldCount` is parsed from Chinese count format.
- 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, price monitoring, and market analysis. You are responsible for complying with applicable laws and Xiaohongshu's terms. Do not use collected data for spam or unfair competitive practices.

# Actor input Schema

## `goodsId` (type: `string`):

A product URL (…/goods-detail/<id>) or a 24-hex goods ID. Returns that shop's + related products with full pricing, sales counts, and seller info.

## `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
{
  "goodsId": "https://www.xiaohongshu.com/goods-detail/6449fb26db9efc0001b1c665",
  "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 = {
    "goodsId": "https://www.xiaohongshu.com/goods-detail/6449fb26db9efc0001b1c665"
};

// Run the Actor and wait for it to finish
const run = await client.actor("memo23/rednote-product-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 = { "goodsId": "https://www.xiaohongshu.com/goods-detail/6449fb26db9efc0001b1c665" }

# Run the Actor and wait for it to finish
run = client.actor("memo23/rednote-product-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 '{
  "goodsId": "https://www.xiaohongshu.com/goods-detail/6449fb26db9efc0001b1c665"
}' |
apify call memo23/rednote-product-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,memo23/rednote-product-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/EBUugJRy0lAncugFH/builds/aToDkafQtViVOoQ8S/openapi.json
