Xiaohongshu Data API for Openclaw

A specialized skill for programmatically fetching public Xiaohongshu posts, trending topics, and user data via the TikHub API.

bombfuock
v1.0.0
Mar 5, 2026
2
2.5k
8

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install xiaohongshu-api

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 xiaohongshu-api 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 Data API?

The Xiaohongshu Data API skill provides a streamlined interface for accessing public content from one of the largest social commerce platforms. By utilizing TikHub, this skill enables users within the Openclaw Skills ecosystem to bypass complex scraping logic and directly retrieve structured JSON data regarding posts, user engagement, and platform trends. This is particularly valuable for data-driven decisions in the e-commerce and lifestyle sectors.

Built with developer experience in mind, it supports both command-line interactions and direct Python class instantiation. Whether you are building a dashboard or an automated content research agent, this skill ensures you have reliable access to the latest Xiaohongshu data points while adhering to platform privacy standards.

Xiaohongshu Data API Use Cases

  • Competitor analysis by monitoring specific post IDs and engagement metrics.
  • Market research through keyword-based search to identify user pain points and interests.
  • Trend discovery by programmatically fetching the latest trending topics on the platform.
  • Influencer identification through public user profile data extraction for marketing campaigns.

How Xiaohongshu Data API Works

  1. The skill initializes a connection using a TikHub API key provided by the user.
  2. Users specify a target action such as fetching a post by ID, searching keywords, or checking trends.
  3. The skill sends a request to the TikHub proxy layer to retrieve Xiaohongshu public data.
  4. The raw response is parsed into a structured format, allowing for easy integration into larger Openclaw Skills workflows or data analysis pipelines.

Xiaohongshu Data API Setup

To begin using this skill within the Openclaw Skills framework, follow these steps:

  1. Sign up for a free API key at https://api.tikhub.io.
  2. Configure your environment variable or script with your key:
TIKHUB_API_KEY = "your_api_key"
  1. Run the script via CLI for quick data retrieval:
python xiaohongshu.py --search "AI tutorials"
  1. Alternatively, import the XiaohongshuAPI class into your Python project for custom integrations.

Xiaohongshu Data API Data Schema & Taxonomy

The skill organizes extracted data into clear, actionable categories:

Data Point Description
Post Details Includes title, description, images, and unique post IDs.
Comments Provides user-generated feedback and interaction data.
User Profiles Fetches public metadata about content creators.
Search Results Returns a list of relevant posts based on specific query parameters.
Trending Lists current high-velocity topics across the platform.

Xiaohongshu Data API Advanced Features

  • Pythonic API interface allowing for deep integration into enterprise-level custom applications.
  • Batch processing capabilities designed for high-volume multi-post analysis.
  • Real-time trending data retrieval to support rapid response digital marketing strategies.
  • Seamless interoperability with other Openclaw Skills for automated reporting and data visualization.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*