xiangshan-douyin: Calling Xiangshan Data Douyin API in an Agent

Introduction

When performing data analysis related to Douyin, a common approach is to directly integrate with the open platform or third-party data services: wrapping authentication, aligning API field names, and repeatedly calling them in scripts or Notebooks. If the task is to query users, fetch video details, or aggregate view counts using natural language in an Agent environment like Cursor or Codex, a more efficient path is to package “searching users/videos, reading profiles, and accessing comment and view-count data” into a single Skill that the Agent invokes based on intent.

Below we introduce xiangshan-douyin on SkillHub (coordinate: @user_15292d5a/yjkj-xiangshan-douyin), which bundles Xiangshan Data’s Douyin API capabilities into an Agent-ready toolset.

What Is This

xiangshan-douyin is a community-sourced (community) Skill, categorized as data-analysis, currently at version 1.0.0, maintained by the publisher user_15292d5a.

One-sentence positioning: A Xiangshan Data Douyin API toolset for Agents to use when users request Douyin searches or data retrieval. The trigger description (TRIGGER) in the official summary reads: activate when the user wants to search Douyin users/videos, or retrieve user profiles, video details, comments, and view-count statistics.

The SkillHub page is tagged requires_api_key=true; you must prepare a Xiangshan Data API Key before use (the specific application and configuration fields follow Xiangshan Data’s official documentation; this Skill page does not enumerate configuration item names).

Core Capabilities

All capabilities below are sourced from the SkillHub summary and page description, with no additional extensions:

  1. Search Douyin users
  2. Search Douyin videos
  3. Retrieve user profiles
  4. Retrieve video details
  5. Retrieve video comments
  6. Retrieve statistics such as video view counts

On the Agent side, the above capabilities are exposed through the tools and documentation specified by the Skill (SKILL.md format); users simply describe their needs in natural language—no need to hand-write HTTP requests in the conversation.

Installation & Activation

Installation follows SkillHub conventions: first ensure the skillhub CLI is available, then install this Skill into the skills directory currently in use by your Agent.

1. Check the CLI

command -v skillhub && skillhub --version

If not installed, follow the SkillHub installation docs (full install or CLI-only):

curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash

For more complete instructions, see: SkillHub Installation & Priority Source Configuration.

2. Install This Skill

The official page requires you to follow the installation docs above and install using the coordinate:

@user_15292d5a/yjkj-xiangshan-douyin

The general command form (must use --dir to point to your environment’s skills directory; otherwise it defaults to ./skills/, which the Agent may not load):

skillhub install @user_15292d5a/yjkj-xiangshan-douyin --dir <skills directory>

Common skills directories for different Agents (excerpted from the official installation docs; pick the one matching your environment):

Environment Skills Directory
Cursor ~/.cursor/skills/
Claude Code ~/.claude/skills/
Codex ~/.codex/skills/ or project-level .agents/skills/
Windsurf ~/.codeium/windsurf/skills/, etc.

After installation, if the Agent does not automatically recognize the new Skill, follow your product’s instructions to refresh or restart before retrying.

3. API Key

Because the tag is requires_api_key=true, you must activate access and obtain an API Key from the Xiangshan Data side before enabling, then complete the configuration as described in the Skill’s SKILL.md or environment variable instructions. If no fixed variable name is provided in the documentation, refer to the instructions in the installed Skill directory—do not guess undocumented field names.

Typical Usage

No standalone CLI demo is provided in the documentation. The typical workflow is: Install Skill → Configure API Key → Describe the task in the Agent conversation.

Example prompts aligned with the official TRIGGER (wording is for intent-triggering purposes only; fixed phrasing):

  1. “Search Douyin users by keyword and list their nicknames and follower counts.”
  2. “Retrieve details and comments for a video given its link or ID.”
  3. “Aggregate view-count related statistics for a specific video over a recent period.”

Once the Agent loads xiangshan-douyin, it should call the Xiangshan Data API through the tools defined in the Skill; specific parameters and response fields follow the documentation inside the Skill package and the Xiangshan Data API reference.

You can also search for the same skill on SkillHub to verify the description:

skillhub search xiangshan-douyin

Use Cases & Considerations

Who It’s For

  • Data analysts, operations researchers, and content monitoring professionals who already use or plan to use the Xiangshan Data Douyin API
  • Those who want to complete searches and data retrieval through conversation in environments like Cursor / Codex / Claude Code, rather than hand-writing scrapers or ad-hoc scripts each time

Limitations & Cautions

  1. Depends on external services and an API Key: without a Key or with insufficient quota, the tools will fail; you are responsible for handling authentication and billing.
  2. Compliance & platform rules: Douyin data usage must comply with platform terms and the Xiangshan Data service agreement; the Skill itself does not provide mechanisms to bypass restrictions.
  3. Community Skill: sourced from community, version 1.0.0; upgrades follow the skillhub update workflow. Verify the source and version before installing.
  4. Statistical definitions: the specific metric definitions for “statistics” such as view counts follow the API documentation; the Skill summary does not elaborate on the scope. Cross-reference official field descriptions when drawing analytical conclusions.

SkillHub displayed data (as of the page snapshot): rating 100000, downloads 853, category data-analysis. If there are discrepancies with third-party leaderboard figures, the live display on the SkillHub skill page takes precedence.

Conclusion

xiangshan-douyin consolidates Douyin-side “user/video search, profile reading, and comment & view-count statistics” into an Agent Skill, making it well-suited for structured data retrieval within conversational workflows. The installation coordinate is @user_15292d5a/yjkj-xiangshan-douyin; remember to configure the API Key and install the skill into your current Agent’s skills directory.

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye