Xiaohongshu (RedNote) API for Openclaw

A specialized integration for AI agents to search notes, analyze creators, and resolve shared links on the Xiaohongshu platform.

justoneapi
v1.0.3
Apr 23, 2026
0
982
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install justoneapi-xiaohongshu

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install justoneapi-xiaohongshu using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Xiaohongshu (RedNote) API?

The Xiaohongshu (RedNote) API skill empowers developers to build AI agents that can navigate one of the most influential social platforms. By utilizing this Openclaw Skills integration, agents can programmatically access note details, creator profiles, and engagement metrics. This skill is essential for workflows that require structured platform data rather than simple summaries, providing a reliable bridge to JustOneAPI endpoints for real-time social intelligence and content analysis.

Xiaohongshu (RedNote) API Use Cases

  • Performing keyword-based note discovery for trend analysis and competitor tracking.
  • Identifying and benchmarking creator profiles to evaluate influence and audience reach.
  • Resolving Xiaohongshu share links into unique identifiers for automated data processing.
  • Mining comment threads and replies to gather deep audience sentiment and feedback.

How Xiaohongshu (RedNote) API Works

  1. The agent identifies the user intent, such as searching for content or analyzing a specific creator profile.
  2. For shared URLs, the agent triggers the share link resolution endpoint to retrieve the core note ID.
  3. The agent selects the most efficient endpoint variant (e.g., V3 for search, V7 for details) to fetch the required data.
  4. Using the provided environment token, the skill executes the request via a CLI runner in the local environment.
  5. The resulting structured JSON is parsed by the agent to deliver precise insights, engagement stats, or media content.

Xiaohongshu (RedNote) API Setup

To begin using this skill within the Openclaw Skills framework, ensure Node.js is installed and your environment is configured with the necessary credentials.

# Export your API token from Just One API
export JUST_ONE_API_TOKEN="your_api_token_here"

# Run a search operation using the skill runner
node ./bin/run.mjs --operation "getSearchNoteV3" --token "$JUST_ONE_API_TOKEN" --params-json '{"keyword": "lifestyle"}'

Xiaohongshu (RedNote) API Data Schema & Taxonomy

The skill returns highly structured data organized into specific object types for easy parsing by AI agents:

Type Key Attributes Application
Note Search note_id, title, user, image_list Content discovery
Note Detail desc, interact_info, tag_list Deep analysis
User Profile nickname, fans_count, follows Influencer research
Comments content, ip_location, sub_comment_cursor Sentiment mining

Xiaohongshu (RedNote) API Advanced Features

  • Support for cursor-based pagination (lastCursor) to handle large datasets of comments and search results.
  • Multiple versioned endpoints (V3, V4, V7) for granular control over the depth of data retrieved.
  • Standardized CLI interface for easy integration into complex multi-agent orchestration platforms.
  • Comprehensive resolution of shortened mobile share links into standard platform identifiers for reliable downstream queries.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Requires
Bins node
Github Stars: 0
forks: 0

Featured*