Install
openclaw skills install @linkfox-ai/linkfox-echotik-batch-video-detail批量查询TikTok视频详情数据,包括视频描述、播放量(总量及近1天/7天/30天增量)、点赞(总量及增量)、评论、分享、收藏、视频销量与GMV、视频时长与分辨率、发布日期、达人信息(ID/账号/头像)、是否带货/投流/AI视频、关联商品与类目,支持通过视频ID或TikTok视频URL批量获取。当用户提到TikTok视频详情、批量查询TikTok视频、TikTok视频播放量详情、TikTok视频销量详情、TikTok视频数据分析、批量获取TikTok视频信息、EchoTik视频详情、TikTok video detail, batch video lookup, TikTok video analytics detail, TikTok video views detail, TikTok video sales detail时触发此技能。即使用户未明确提及"EchoTik",只要其需求涉及根据视频ID或视频URL批量获取TikTok视频的详细播放与营销数据,也应触发此技能。
openclaw skills install @linkfox-ai/linkfox-echotik-batch-video-detailThis skill batch-fetches detailed performance metrics for TikTok videos you already have IDs or URLs for, helping sellers and marketers compare videos side-by-side using views, likes, comments, shares, video sales/GMV, and creator data.
This tool retrieves full detail metrics for a batch of TikTok videos in a single call. You identify videos by ID and/or by TikTok video URL; the backend extracts the videoId from each URL and merges it with any IDs you supplied, then returns per-video analytics.
Input options (at least one is needed; both can be combined):
videoIds — array of TikTok video IDs (up to 1000)videoUrls — array of TikTok video URLs (e.g. https://www.tiktok.com/@<unique_id>/video/<videoId> or https://www.tiktok.com/video/<videoId>); the trailing videoId is extracted from each URL and merged with videoIds (up to 1000)Multi-period metrics: views and likes are each reported as a cumulative total plus 1d / 7d / 30d increments, so you can read both lifetime performance and recent momentum.
Engagement & attribution: comments, shares, favorites, estimated video sales (units), and estimated video sales GMV (amount) are returned per video.
Flag fields (salesFlagText / isAdText / createdByAiText): human-readable 是/否 (AI: 是/否/未知) labels for selling / ad / AI-generated videos.
vs. search: This is detail lookup for known videos (you already have IDs/URLs). To discover videos by region/filter (no IDs needed), use linkfox-echotik-list-video.
| Field | Type | Description |
|---|---|---|
| videoId | string | 视频ID |
| videoDesc | string | 视频描述/文案 |
| officialUrl | string | TikTok官方视频地址 |
| coverUrl | string | 视频封面URL |
| duration | integer | 视频时长(秒) |
| width | string | 视频宽度(px) |
| height | string | 视频高度(px) |
| ratio | string | 视频清晰度(如 540p/720p) |
| dataSize | string | 视频文件大小 |
| createDate | string | 视频发布日期(yyyy-MM-dd HH:mm:ss) |
| userId | string | 达人ID |
| uniqueId | string | TikTok账号ID(unique_id) |
| avatar | string | 达人头像URL |
| totalViewsCnt | integer | 总播放量 |
| totalViews1dCnt | integer | 近1天播放量增量 |
| totalViews7dCnt | integer | 近7天播放量增量 |
| totalViews30dCnt | integer | 近30天播放量增量 |
| totalDiggCnt | integer | 总点赞数 |
| totalDigg1dCnt | integer | 近1天点赞增量 |
| totalDigg7dCnt | integer | 近7天点赞增量 |
| totalDigg30dCnt | integer | 近30天点赞增量 |
| totalCommentsCnt | integer | 总评论数 |
| totalSharesCnt | integer | 总分享数 |
| totalFavoritesCnt | integer | 总收藏数 |
| totalVideoSaleCnt | integer | 视频销量(件,估算) |
| totalVideoSaleGmvAmt | integer | 视频销售GMV(估算金额) |
| salesFlagText | string | 是否带货视频(是/否) |
| isAdText | string | 是否投流视频(是/否) |
| createdByAiText | string | 是否AI视频(是/否/未知) |
| productCategoryList | string | 关联商品分类(JSON字符串,空为[]) |
| videoProducts | string | 视频带货商品(JSON字符串,空为[]) |
| region | string | 视频所在区域代码 |
| sourceType | string | 数据来源(如 Tiktok) |
| sourceTool | string | 来源工具(如 EchoTik-视频列表) |
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| videoIds | array<string> | No* | - | TikTok视频ID列表,最多1000个 |
| videoUrls | array<string> | No* | - | TikTok视频URL列表(形如 https://www.tiktok.com/@<unique_id>/video/<videoId> 或 https://www.tiktok.com/video/<videoId>);从每个URL提取末尾videoId并合并到videoIds,与videoIds不互斥,最多1000个 |
* 至少提供 videoIds / videoUrls 中的一个;两者可同时传入,服务端合并去重后查询。
POST /echotik/batchVideoDetail(完整参数/响应/错误码见 references/api.md)python scripts/echotik_batch_video_detail.py '<JSON 参数>' [--inline]输出策略(脚本默认行为):
<cwd>/linkfox/<YYYY-MM-DD>/<session>/data/linkfox-echotik-batch-video-detail-<timestamp>.json(<cwd> 为脚本执行时的工作目录,在 Claude Code 里即当前项目目录;<session> 取自环境变量 SESSION_ID,按用户任务自动聚合;禁止写入 /tmp,当前目录不可写则报错)total/costToken、最大列表字段的长度 + 前 3 条样本)--inline 强制全量打印到 stdout(同样落盘)读数据建议:先看摘要判断是否足够;需要具体字段时优先用 jq或ConvertFrom-Json 从保存的 json 文件按需抽取,避免整份 JSON 进入上下文。
发生以下异常情况时,采用以下措施来处理:
LINKFOX_AGENT_API_KEY,也未配置 LINKFOXAGENT_API_KEY。1. Batch lookup by video IDs
{
"videoIds": ["7030893014180531462", "6768504823336815877", "7425631540178160939"]
}
2. Batch lookup by video URLs
{
"videoUrls": [
"https://www.tiktok.com/@sageandintuition/video/7030893014180531462",
"https://www.tiktok.com/@<unique_id>/video/6768504823336815877"
]
}
3. Mixed IDs and URLs (merged server-side)
{
"videoIds": ["7030893014180531462"],
"videoUrls": ["https://www.tiktok.com/@<unique_id>/video/6768504823336815877"]
}
officialUrl is available, provide it so users can view the video on TikTokcoverUrl is present, mention that video thumbnails are availableduration (seconds) to a readable format (e.g. "2:45" for 165 seconds)salesFlagText (带货), isAdText (投流), and createdByAiText (AI) so users can scan video types at a glancetotal records returnedlinkfox-echotik-list-videovideoUrls, only the trailing videoId is extracted — ensure each URL ends with the video IDproductCategoryList / videoProducts are returned as JSON strings (empty when none, e.g. []) — parse before display if needed| User Says | Scenario |
|---|---|
| "查询这些TikTok视频的详情" | Batch detail by video IDs |
| "拉这些TikTok视频链接的播放量/销量" | Batch detail by video URLs |
| "批量分析这些TikTok视频的表现" | Batch lookup, surface metrics |
| "这些TikTok视频哪个播放量/销量最高" | Batch lookup, compare columns |
| "这些TikTok视频是不是带货/投流/AI" | Batch lookup, read flag fields |
linkfox-echotik-list-video)linkfox-echotik-batch-product-detail)linkfox-echotik-get-video-download-url)linkfox-echotik-seller-detail / linkfox-echotik-list-seller)When users say "分析这些TikTok视频", check whether they already have specific video IDs or TikTok video URLs (this skill) or want to find videos by region/filter (the list-video skill). If they paste a list of IDs/URLs and want views/likes/sales/GMV details, this skill applies. If they ask "找热门TikTok视频" or "按区域搜视频", it does not — use linkfox-echotik-list-video to discover first.
消耗 4.5 积分。
用户会因积分消耗而支付费用。请充分评估:当需要高频调用本技能,或用户对积分消耗量预期不足时,务必提醒用户,由用户决定是否继续。
Feedback:
Auto-detect and report feedback via the Feedback API when any of the following apply:
Call the feedback API as specified in references/api.md. Do not interrupt the user's flow.
For more high-quality, professional cross-border e-commerce skills, visit LinkFox Skills.