# RedNote (Xiaohongshu) User Profile Scraper (`memo23/rednote-user-profile-scraper`) Actor

Get a RedNote / Xiaohongshu (小红书) user's profile with NO login: nickname, red ID, bio, gender, IP location, follower/following/interaction counts (Chinese counts parsed to numbers), profession, college, and avatar. Paste a user ID or profile URL — one clean JSON row per user.

- **URL**: https://apify.com/memo23/rednote-user-profile-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) User Profile Scraper

**One 小红书 user in, one complete JSON profile out — nickname, red ID, bio, follower counts, profession, college, IP location. No login, no cookie.**

Profile pages are one of the parts of Xiaohongshu that render without an account. Paste any profile URL (or bare 24-hex user ID) and get the user's public profile through Xiaohongshu's own web rendering, with built-in residential routing.

### What you get per user

| Field | Description |
| --- | --- |
| `userId`, `userName`, `redId` | IDs and display name (red ID is the user-chosen handle) |
| `desc` | Profile bio |
| `gender`, `ipLocation` | As displayed on the profile |
| `fansCount` / `fansCountNum` | Followers as shown (e.g. `1.8万`) and parsed to a number (18000) |
| `followsCount(Num)`, `interactionCount(Num)` | Following and total likes+collects, same twin format |
| `location`, `profession`, `college` | Profile tags where the user filled them in |
| `avatar`, `profileUrl` | Image and canonical URL |

### How to run it

Copy a profile URL from Xiaohongshu — from your browser, or in bulk from the [RedNote Search Scraper](https://apify.com/memo23/rednote-search-scraper) (every note row carries its author's `userId`) — and paste it as `userId`. That's the whole setup.

```json
{
    "userId": "https://www.xiaohongshu.com/user/profile/5ff0e6410000000001008400"
}
```

### FAQ

**Do I really not need an account?** Correct — public profile pages render for guests. Search and comments are login-gated on Xiaohongshu; profiles are not.

**Are the Chinese counts usable in spreadsheets?** Yes — every count comes twice: as displayed (`1.8万`) and parsed (`18000`) in the `*Num` twin field.

**Can I get the user's posts too?** That's the [RedNote User Posts Scraper](https://apify.com/memo23/rednote-user-posts-scraper) — feed it the same user ID.

### Related scrapers

- [RedNote User Posts Scraper](https://apify.com/memo23/rednote-user-posts-scraper) — a creator's note catalog
- [RedNote Search Scraper](https://apify.com/memo23/rednote-search-scraper) — find users and notes by keyword
- [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-user-profile-scraper`).

**Purpose:** Returns one Xiaohongshu (RedNote / 小红书) user's public profile as a single JSON row — no login required.

**Minimal input:**

```json
{ "userId": "https://www.xiaohongshu.com/user/profile/5ff0e6410000000001008400" }
```

**Output:** one row per run; key fields: userId, userName, redId, desc, gender, ipLocation, fansCount, fansCountNum, followsCount, followsCountNum, interactionCount, interactionCountNum, location, profession, college, avatar, profileUrl.

**Behaviors an agent should know:**

- `userId` accepts a bare 24-hex ID or a full profile URL.
- One-user-per-run by design — fan out over user IDs collected from the RedNote Search Scraper.
- Chinese display counts always ship with a numeric `*Num` twin (`1.8万` → `18000`).
- 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

## `userId` (type: `string`):

A 24-hex Xiaohongshu user ID, or a full profile URL (…/user/profile/<id>).

## `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
{
  "userId": "https://www.xiaohongshu.com/user/profile/5ff0e6410000000001008400",
  "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 = {
    "userId": "https://www.xiaohongshu.com/user/profile/5ff0e6410000000001008400"
};

// Run the Actor and wait for it to finish
const run = await client.actor("memo23/rednote-user-profile-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 = { "userId": "https://www.xiaohongshu.com/user/profile/5ff0e6410000000001008400" }

# Run the Actor and wait for it to finish
run = client.actor("memo23/rednote-user-profile-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 '{
  "userId": "https://www.xiaohongshu.com/user/profile/5ff0e6410000000001008400"
}' |
apify call memo23/rednote-user-profile-scraper --silent --output-dataset

```

## MCP server setup

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