Kalodata - TikTok Creator Search & Detail
This skill supports a two-step TikTok creator workflow via the Kalodata data source:
- Browse creator leaderboards to discover high-performing TikTok Shop creators.
- Fetch one creator's full profile and performance detail by
creatorId.
Use the search endpoint when the user wants rankings, influencer discovery, or creator comparison. Use the detail endpoint when the user already has a creatorId or has selected one creator from a ranking result.
Core Concepts
The creator ranking endpoint returns a paginated leaderboard filtered by region, dateRange, language, and currency. The default ranking order is by revenue (GMV) descending. Each creator row includes identity, audience, content views, sales volume, video/live revenue, and revenue growth rate.
The creator detail endpoint fetches one creator by creatorId. It returns the creator's identity, audience, revenue split, video/live metrics, product/shop counts, and contact channels. The creatorId usually comes from the ranking response field creator_id.
Both endpoints may reflect a statistical delay (T+1). See references/api.md for full request and response details.
Data Fields
Ranking rows include:
Detail rows additionally include:
Parameter Guide
Creator ranking (/kalodata/creator/rank)
Creator detail (/kalodata/creator/detail)
调用方式
- API 端点:
POST /kalodata/creator/rank 或 POST /kalodata/creator/detail(完整参数/响应/错误码见 references/api.md)
- Python 脚本:
python scripts/kalodata_creator_search.py '<JSON 参数>' [--inline] 或 python scripts/kalodata_creator_detail.py '<JSON 参数>' [--inline]
- 成本约束:本工具会消耗算力;同一会话同一参数组合默认只调用一次,脚本带 24h 本地缓存。失败/空结果不得自动换关键词、翻页或改邮编连续试探;需要继续检索时先向用户说明会产生额外消耗。
输出策略(脚本默认行为):
- 始终将完整响应写入
<cwd>/linkfox/<YYYY-MM-DD>/<session>/data/linkfox-kalodata-tiktok-creator-<timestamp>.json(<cwd> 为脚本执行时的工作目录,在 Claude Code 里即当前项目目录;<session> 取自环境变量 SESSION_ID,按用户任务自动聚合;禁止写入 /tmp,当前目录不可写则报错)
- 响应体 <= 8 KB:落盘后把完整 JSON 打印到 stdout
- 响应体 > 8 KB:落盘后 stdout 只输出摘要(顶层字段、常见计数如
total/costToken、最大列表字段的长度 + 前 3 条样本)
- 加
--inline 强制全量打印到 stdout(同样落盘)
读数据建议:先看摘要判断是否足够;需要具体字段时优先用 jq 或 ConvertFrom-Json 从保存的 json 文件按需抽取,避免整份 JSON 进入上下文。
解决认证和算力问题
发生以下异常情况时,采用 references/onboarding.md 引导解决问题:
异常情况
- 未配置API Key:环境变量未配置
LINKFOX_AGENT_API_KEY,也未配置 LINKFOXAGENT_API_KEY。
- 响应401或402状态码
- 响应提示算力或余额不足:消息含"算力余额不足/计费不足/余额不足/quota exceeded/insufficient balance/套餐到期/需充值/请充值",或类似含义的内容。