TikHub API 助手是一个 Claude Code Agent Skill,用于帮助用户搜索、发现和调用 TikHub API。TikHub 提供了多平台社交媒体数据 API,支持抖音、TikTok、小红书、Instagram、YouTube、Twitter、Reddit 等平台。This is a TikHub API skill/documentation repository. TikHub is a multi-platform social media data API service that provides RESTful endpoints for platforms including Douyin (抖音), TikTok, Xiaohongshu (小红书),
git clone https://github.com/liangdabiao/tikhub_api_skill.gitTikHub API Helper is a Claude Code Agent Skill that enables users to search, discover, and invoke TikHub's multi-platform social media data APIs. It supports 12+ platforms including TikTok, Douyin (抖音), Xiaohongshu (小红书), Instagram, YouTube, Twitter, Reddit, Bilibili, Weibo, and Zhihu, with over 370 total API endpoints. The skill provides keyword-based API search in Chinese and English, automatic authentication with built-in development tokens, and direct API invocation through command-line tools. Users can retrieve user profiles, search content, fetch trending videos, and access platform-specific data without manually managing authentication or endpoint documentation.
Clone the repository and ensure the .claude/skills/tikhub-api-helper/ directory contains SKILL.md, openapi.json, api_searcher.py, and api_client.py. The skill includes a built-in development API Token, or configure your own by updating the DEFAULT_TOKEN in api_client.py. In Claude Code, ask questions about TikHub APIs and the skill will automatically activate to search and call the appropriate endpoints.
Fetch user profiles and account information from TikTok, Douyin, or Xiaohongshu
Search videos and content across multiple platforms with keyword queries
Retrieve trending and viral content from TikTok, YouTube, and Douyin
Gather social media data for research on topics discussed across platforms
No install command available. Check the GitHub repository for manual installation instructions.
git clone https://github.com/liangdabiao/tikhub_api_skillCopy the install command above and run it in your terminal.
Launch Claude Code, Cursor, or your preferred AI coding agent.
Use the prompt template or examples below to test the skill.
Adapt the skill to your specific use case and workflow.
I need to use the TikHub API to gather data from [PLATFORM] for [COMPANY]. Can you help me find the right endpoint and parameters to retrieve [DATA]? I want to focus on [SPECIFIC_METRIC] like engagement rates or follower growth.
# TikHub API Query for TikTok Engagement Data
## Endpoint
`https://api.tikhub.com/v1/tiktok/posts/engagement`
## Parameters
- `access_token`: [YOUR_ACCESS_TOKEN]
- `username`: [TARGET_USERNAME]
- `start_date`: 2023-01-01
- `end_date`: 2023-12-31
- `metrics`: likes, comments, shares, views
## Expected Output
The API will return a JSON object with engagement metrics for the specified TikTok account over the given time period. This includes daily counts for likes, comments, shares, and views, allowing you to analyze performance trends.
## Example Response
```json
{
"data": [
{
"date": "2023-01-01",
"likes": 1200,
"comments": 45,
"shares": 30,
"views": 25000
},
{
"date": "2023-01-02",
"likes": 1500,
"comments": 50,
"shares": 35,
"views": 28000
}
],
"status": "success"
}
```AI assistant built for thoughtful, nuanced conversation
Get more done every day with Microsoft Teams – powered by AI
Automate security compliance and monitor real-time security posture seamlessly.
Automate your spreadsheet tasks with AI power
Agentic AI Workflow platform
Connected workspace for docs, wikis, and projects
Take a free 3-minute scan and get personalized AI skill recommendations.
Take free scan