Search and query TikHub APIs for TikTok, Douyin, Xiaohongshu, Lemon8, Instagram, YouTube, Twitter, Reddit, and more.
SkillScore87Maintained
Automatic
◆Data Analyst pack
Last verified 8/3/2026
What it changes
Passed 17 of 20 test cases with the skill, and 3 of 20 without it.
Without skill13%
With skill87%
Checks it passed that the model alone missed
passes query parameter sec_user_id
specifies order as a required query parameter
uses GET /api/v1/bilibili/web/fetch_one_video
and 19 more in the full report
17 fixed3 passed either way3 still failing0 broke
Pass-rate lift
+74 pp
Tokens
+62%
Agent turns
0%
Response time
-46%
Model gemini-3.6-flashMeasured 8/3/2026v120 of 23 cases passed with skill · 20 comparable
Tokens, turns and time describe resource use, not a dollar price.
See it in action
One of 17 test cases the skill fixed. Same model, same prompt, with and without the skill.
1 of 17
Prompt
I have a Weibo post identifier '49876543210' and need to retrieve its detailed contents and engagement metrics. Which exact query parameter name must be passed in the request?
What was checked, without and with the skill
Checked
Without skill
With skill
uses id as the exact parameter name rather than post_id
Passed
Passed
targets /api/v1/weibo/web_v2/fetch_post_detail
Missed
Passed
case-12 · gemini-3.6-flash · 8/3/2026 · answers are capped and redacted
What's inside
The instructions your model reads when the skill loads.
SKILL.md185 linessingle file
TikHub API Helper
通过 TikHub API 获取各社交媒体平台数据的 Skill。
核心工作流
用 scripts/api_searcher.py 搜索相关 API
用 scripts/api_searcher.py detail:操作ID 确认参数(可选)
用 scripts/api_client.py 调用 API
整理数据返回给用户
各平台 API
小红书(Xiaohongshu)— App API
搜索笔记(查找用户也用这个,从笔记中提取用户信息):
GET /api/v1/xiaohongshu/app/search_notes keyword=关键词 page=1
搜索结果中的用户字段(⚠️ 容易搞错):
userid = 用户真实ID(全小写,用于后续 API 调用)
red_id = 红书号(不能用于 API 调用)
nickname = 昵称
获取用户信息:
GET /api/v1/xiaohongshu/app/get_user_info user_id=<userid字段值>
获取用户笔记(cursor 翻页,不是 page):
# 第一页(不传 cursor)
GET /api/v1/xiaohongshu/app/get_user_notes user_id=<userid>
# 翻页(传上一页最后一条笔记的 cursor 字段)
GET /api/v1/xiaohongshu/app/get_user_notes user_id=<userid> cursor=<上一页最后笔记的cursor值>