xiaohongshu-hub

Read and write Xiaohongshu data through authenticated Python API calls.

361|58|Updated Mar 1, 2026
One-click install
npx skills add https://github.com/OpenMinis/MinisSkills --skill xiaohongshu-hub
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: xiaohongshu-hub
Source: https://github.com/OpenMinis/MinisSkills/tree/main/xiaohongshu-hub
Command: npx skills add https://github.com/OpenMinis/MinisSkills --skill xiaohongshu-hub

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires httpx, pycryptodome, and includes scripts (resource) components.

What problem does it solve?

Xiaohongshu data is often locked behind browser automation and manual web interactions. This skill provides a programmatic, authenticated interface to search, read, and act on Xiaohongshu content, reducing manual work and enabling scalable workflows.

Core Features & Use Cases

  • Search notes, users, and topics across Xiaohongshu to surface relevant content.
  • Read note details, comments, and engagement metrics, plus fetch home/hot feeds.
  • Perform social actions (follow, like, collect, comment) and manage creator notes with robust authentication.
  • Use in scripts or applications to automate research, market monitoring, or content discovery under cookie-based sessions.

Quick Start

Run a script that loads cookies from the environment and fetches Xiaohongshu data using the client.

Frequently Asked Questions about xiaohongshu-hub

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate Xiaohongshu data access without browser automation?

Automate Xiaohongshu data access by using a Python-based client to read and write data through authenticated API calls. This approach replaces manual web interactions and browser automation with programmatic access to notes, users, and feeds in real time.

What cookies are required for Xiaohongshu API authentication?

Xiaohongshu API authentication requires cookies for a1, web_session, and webId. You must provide these via environment variables or direct input to establish authenticated sessions for reading notes and performing social actions.

How do I search and read Xiaohongshu notes programmatically?

Search and read Xiaohongshu notes programmatically by executing Python scripts that utilize the client to query notes, users, and topics. The client fetches note details, comments, engagement metrics, and home or hot feeds through authenticated API calls.

Can I perform social actions like following and liking on Xiaohongshu via API?

You can perform social actions like following, liking, collecting, and commenting on Xiaohongshu via API. The client supports these interactions alongside creator note management, secured by robust authentication and anti-fraud headers for protected endpoints.

Does the Xiaohongshu API client handle anti-fraud headers and retries?

The Xiaohongshu API client handles anti-fraud headers and deterministic retries to ensure reliable data access. It also includes creator signing for protected endpoints, maintaining session stability during automated research and market monitoring workflows.

What Python dependencies are needed to run Xiaohongshu web scraping scripts?

Running Xiaohongshu web scraping scripts requires the httpx and pycryptodome Python dependencies. Httpx manages HTTP requests for API calls, while pycryptodome provides the cryptographic functions needed for creator signing and authenticated sessions.