Xiaohongshu (RedNote) API
/install justoneapi-xiaohongshu
Xiaohongshu (RedNote)
Use this skill for Xiaohongshu note discovery, creator benchmarking, comment mining, and RedNote share-link resolution. It fits workflows where the user starts from a keyword, a note ID, a shared link, or an author ID and wants structured platform data rather than a generic summary.
When To Use It
- The user wants Xiaohongshu note search, keyword expansion, or creator discovery around a topic.
- The task is about a specific note, comment thread, reply chain, or creator page on Xiaohongshu.
- The user can provide
keyword,noteId,userId,shareUrl, or cursor-style pagination values such aslastCursor. - The user needs note metadata, engagement context, creator signals, or comment text sourced directly from Xiaohongshu endpoints.
Representative Operations
getSearchNoteV3: Note Search — Search Xiaohongshu notes by keyword for topic discovery, competitor tracking, and content collection.getNoteDetailV7: Note Details — Pull note metadata, media, and engagement fields for deep inspection of a single post.getUserV4: User Profile — Inspect creator profile data for account research and benchmark comparisons.shareUrlTransferV1: Share Link Resolution — Convert a copied Xiaohongshu share link into note identifiers before running detail or comment queries.
Request Pattern
- 15 read-only
GEToperations are available in this skill. - Common inputs are
keyword,noteId,userId,lastCursor,page,commentId, andshareUrl. - Several endpoints are versioned variants for note detail, comments, and user data; prefer the smallest endpoint that matches the user request.
- If the user only has a shared Xiaohongshu URL, resolve it first and then continue with detail or comment endpoints.
How To Work
- Read
generated/operations.mdbefore choosing an endpoint. - Start with one of these operations when it matches the user's request:
getSearchNoteV3,getNoteDetailV7,getUserV4,shareUrlTransferV1. - Pick the smallest matching operation instead of guessing.
- Ask the user for any missing required parameter. Do not invent values.
- Call the helper with:
node {baseDir}/bin/run.mjs --operation "\x3Coperation-id>" --token "$JUST_ONE_API_TOKEN" --params-json '{"key":"value"}'
Environment
- Required:
JUST_ONE_API_TOKEN - This skill uses
JUST_ONE_API_TOKENonly for authenticated Just One API requests. - Keep
JUST_ONE_API_TOKENprivate. Do not paste it into chat messages, screenshots, or logs. - Get a token from Just One API Dashboard.
- Authentication details: Just One API Usage Guide.
Output Rules
- Lead with the concrete Xiaohongshu outcome: note match, creator insight, resolved note ID, or comment finding.
- For search-driven requests, restate the keyword, page, sort mode, and any note-type filter before summarizing results.
- For note detail requests, surface title text, author, media type, engagement signals, and any obvious commercial or trend cues before raw JSON.
- For creator-profile or published-note requests, highlight follower-facing signals and the most relevant recent notes first.
- If the backend errors, include the backend payload and the exact operation ID.
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install justoneapi-xiaohongshu - After installation, invoke the skill by name or use
/justoneapi-xiaohongshu - Provide required inputs per the skill's parameter spec and get structured output
What is Xiaohongshu (RedNote) API?
Search Xiaohongshu notes, inspect creator profiles, resolve share links, and drill into note comments, replies, and note detail endpoints through JustOneAPI. It is an AI Agent Skill for Claude Code / OpenClaw, with 188 downloads so far.
How do I install Xiaohongshu (RedNote) API?
Run "/install justoneapi-xiaohongshu" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Xiaohongshu (RedNote) API free?
Yes, Xiaohongshu (RedNote) API is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Xiaohongshu (RedNote) API support?
Xiaohongshu (RedNote) API is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Xiaohongshu (RedNote) API?
It is built and maintained by justoneapi (@justoneapi); the current version is v1.0.3.