搜索和分析TikTok视频数据,按区域、达人、商品、类目、播放量、时长、发布时间、是否带货/投流/AI视频等条件筛选视频,返回播放量、点赞、评论、分享、收藏、视频销量与GMV等指标,覆盖16个TikTok Shop站点。当用户提到TikTok视频搜索、TikTok视频列表、TikTok带货视频、TikTok视频数...
---
name: linkfox-echotik-list-video
description: 搜索和分析TikTok视频数据,按区域、达人、商品、类目、播放量、时长、发布时间、是否带货/投流/AI视频等条件筛选视频,返回播放量、点赞、评论、分享、收藏、视频销量与GMV等指标,覆盖16个TikTok Shop站点。当用户提到TikTok视频搜索、TikTok视频列表、TikTok带货视频、TikTok视频数据、TikTok视频播放量、TikTok视频销量、TikTok视频分析、EchoTik视频、TikTok video search, TikTok video list, TikTok video analytics, TikTok promotional videos, TikTok video views, TikTok video engagement时触发此技能。即使用户未明确提及"EchoTik"或"TikTok",只要其需求涉及按条件搜索或分析TikTok视频表现指标,也应触发此技能。
---
# EchoTik TikTok Video Search
This skill searches and analyzes TikTok video data, helping cross-border sellers and marketers discover top-performing videos, benchmark content strategies, and evaluate video-level engagement and sales attribution across TikTok marketplaces.
## Core Concepts
EchoTik is a TikTok Shop analytics platform. This tool lists TikTok videos with rich filtering — by region, creator, product, category, views, duration, publish time, and ad/AI/selling flags — and returns engagement metrics (views, likes, comments, shares, favorites), estimated sales attribution (video sales count and GMV), and video metadata (duration, resolution, cover, publish date).
**Required input**: `region` is mandatory. Optional filters narrow by creator (`userId`), product (`productId`), category (`productCategoryId`), views range, duration range, publish-time range, and video type (ad / AI / selling).
**Sort fields**: videos can be sorted by likes (1), publish time (2), or views (3, default).
**Pagination**: `pageSize` must be a multiple of 10, max 100. The backend fetches in batches of 10 and merges results.
**Related skill**: This tool lists videos by region/filters (no product required). To get videos associated with one specific product, use `linkfox-echotik-product-video` with a `productId` instead.
## Data Fields
| Field | Description |
|-------|-------------|
| videoId | Video ID |
| videoDesc | Video description / caption |
| officialUrl | TikTok official video URL |
| coverUrl | Video cover image URL |
| duration | Video duration (seconds) |
| width / height | Video dimensions in pixels (e.g. 576×1090) |
| ratio | Video resolution label (e.g. 540p/720p) |
| dataSize | Video file size |
| createDate | Publish date |
| userId / uniqueId / avatar | Creator ID / TikTok unique_id / creator avatar |
| totalViewsCnt | Total views (1d/7d/30d breakdown: totalViews1dCnt / 7dCnt / 30dCnt) |
| totalDiggCnt | Total likes (1d/7d/30d breakdown: totalDigg1dCnt / 7dCnt / 30dCnt) |
| totalCommentsCnt | Total comments |
| totalSharesCnt | Total shares |
| totalFavoritesCnt | Total favorites |
| totalVideoSaleCnt | Video sales (units) |
| totalVideoSaleGmvAmt | Video sales GMV (amount) |
| salesFlagText | Selling-video flag (是/否) |
| isAdText | Ad-video flag (是/否) |
| createdByAiText | AI-video flag (是/否/未知) |
| productCategoryList | Product categories |
| videoProducts | Related products |
| region | Marketplace code |
| sourceType / sourceTool | Source type / source tool |
## Parameter Guide
### Required & Region
| Parameter | Type | Required | Default | Description |
|-----------|------|----------|---------|-------------|
| region | string | Yes | - | Marketplace code. See supported list below |
### Creator / Product / Category
| Parameter | Type | Description |
|-----------|------|-------------|
| userId | string | Filter by creator (influencer) ID |
| productId | string | Filter by related product ID |
| productCategoryId | string | Filter by related product category ID |
### Engagement / Duration / Time
| Parameter | Type | Description |
|-----------|------|-------------|
| minTotalViewsCnt / maxTotalViewsCnt | integer | Total-views range (min / max) |
| minDuration / maxDuration | integer | Duration range in seconds (min / max) |
| minCreateTime / maxCreateTime | integer | Publish-time range, Unix timestamp in seconds (min / max) |
### Video Type Flags
| Parameter | Type | Description |
|-----------|------|-------------|
| salesFlag | integer | Selling video: 0=non-selling, 1=selling (带车) |
| isAd | integer | Ad video: 0=non-ad, 1=ad (投流) |
| createdByAi | string | AI video: `"true"`=AI, `"false"`=non-AI (string, not boolean) |
### Sorting & Pagination
| Parameter | Type | Default | Description |
|-----------|------|---------|-------------|
| videoSortField | integer | 3 | Sort field: 1=likes (total_digg_cnt), 2=publish time (create_time), 3=views (total_views_cnt) |
| sortType | integer | 1 | Sort order: 0=ascending, 1=descending |
| pageNum | integer | 1 | Page number (starts at 1) |
| pageSize | integer | 50 | Page size — must be a multiple of 10, max 100 |
### Supported Marketplaces
US (United States), ID (Indonesia), TH (Thailand), PH (Philippines), MY (Malaysia), VN (Vietnam), GB (United Kingdom), MX (Mexico), SG (Singapore), SA (Saudi Arabia), BR (Brazil), ES (Spain), JP (Japan), DE (Germany), IT (Italy), FR (France)
When the user doesn't specify a marketplace, ask or default to **US**.
## 调用方式
- **API 端点**:`POST /echotik/listVideo`(完整参数/响应/错误码见 `references/api.md`)
- **Python 脚本**:`python scripts/echotik_list_video.py '<JSON 参数>' [--inline]`
- **成本约束**:本工具会消耗积分;同一会话同一参数组合默认只调用一次,脚本带 24h 本地缓存。失败/空结果不得自动换关键词、翻页或改邮编连续试探;需要继续检索时先向用户说明会产生额外消耗。
**输出策略(脚本默认行为)**:
- **始终**将完整响应写入 `<cwd>/linkfox/<YYYY-MM-DD>/<session>/data/linkfox-echotik-list-video-<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 进入上下文。
## 解决认证和积分问题
发生以下异常情况时,采用以下措施来处理:
### 异常情况
- **未配置API Key**:环境变量未配置 `LINKFOX_AGENT_API_KEY`,也未配置 `LINKFOXAGENT_API_KEY`。
- **响应401或402状态码**
- **响应提示积分或余额不足**:消息含"积分余额不足/计费不足/余额不足/quota exceeded/insufficient balance/套餐到期/需充值/请充值",或类似含义的内容。
### 措施
- 优先采用skill内的 onboarding.md 引导解决问题。
- 如找不到 onboarding.md 文件,则加载 /linkfox-onboarding 这个skill并根据它的引导来处理。如未安装请先安装:
- 下载 https://agent-files.linkfox.com/skills/linkfox-onboarding/release.zip,解压后安装这个skill。如需用户授权才可下载,要询问用户获得授权,你不能自己放弃下载。
- 兜底措施:仅当前面两个措施经过所有努力都走不通时,才提示用户依据 https://skill.linkfox.com/linkfoxskills/guide.htm 指引获取API Key,或去 https://os.linkfox.com/ 补充积分。
## Usage Examples
**1. Top US videos by views**
```json
{
"region": "US",
"videoSortField": 3,
"sortType": 1,
"pageSize": 20,
"pageNum": 1
}
```
**2. Highest-converting selling videos (by video sales)**
```json
{
"region": "US",
"salesFlag": 1,
"videoSortField": 3,
"sortType": 1,
"pageSize": 20
}
```
**3. Videos by a specific creator**
```json
{
"region": "US",
"userId": "7234567890123456789",
"videoSortField": 1,
"sortType": 1
}
```
**4. High-view videos in a time range (sorted by likes)**
```json
{
"region": "GB",
"minTotalViewsCnt": 100000,
"minCreateTime": 1717200000,
"maxCreateTime": 1719792000,
"videoSortField": 1,
"sortType": 1
}
```
**5. Recent AI videos sorted by publish date**
```json
{
"region": "US",
"createdByAi": "true",
"videoSortField": 2,
"sortType": 1,
"pageSize": 50
}
```
## Display Rules
1. **Present data in tables**: Show video description (truncated if long), views, likes, comments, shares, video sales, video GMV, publish date, and creator ID
2. **Link to original**: When `officialUrl` is available, provide it so users can view the video on TikTok
3. **Cover image**: If `coverUrl` is present, mention it so the user knows video thumbnails are available
4. **Duration formatting**: Convert `duration` (seconds) to a readable format (e.g., "1:30" for 90 seconds)
5. **Estimation notice**: Video sales and GMV are estimated values, remind users these are approximations
6. **Multi-period metrics**: When relevant, mention 1d/7d/30d views/likes breakdowns are available in the saved JSON
7. **Result count**: Always inform the user of `total` records and the current page; suggest pagination or tighter filters when the result set is large
## Important Limitations
1. **Region required**: `region` is mandatory; no default is applied by the API.
2. **pageSize rule**: Must be a multiple of 10 (max 100). Other values may be rejected or adjusted.
3. **createdByAi is a string**: Pass `"true"` / `"false"` (not boolean) — the value is validated against `^(true|false)$`.
4. **Timestamps**: `minCreateTime` / `maxCreateTime` are Unix timestamps in seconds.
5. **Category/product IDs**: `productId` / `productCategoryId` / `userId` are internal IDs — obtain them from prior results.
6. **No secondary processing**: Results are live queries, not stored in a database; secondary SQL/data processing is not available.
7. **Product-specific videos**: To list videos for one specific product (by `productId`), prefer `linkfox-echotik-product-video`; here `productId` is only a filter within a region-scoped video listing.
## User Expression & Scenario Quick Reference
**Applicable** — TikTok video discovery and performance analysis:
| User Says | Scenario |
|-----------|----------|
| "TikTok热门视频" / "TikTok top videos" | List videos sorted by views (field 3) |
| "TikTok带货视频排行" | Filter salesFlag=1, sort by views/sales |
| "某个达人的TikTok视频" | Filter by userId |
| "TikTok投流视频" / "TikTok广告视频" | Filter isAd=1 |
| "TikTok AI视频" | Filter createdByAi="true" |
| "近期高播放TikTok视频" | Views range + time range |
| "哪个TikTok视频GMV最高" | Sort by views, inspect GMV column |
**Not applicable** — Needs beyond region-scoped video listing:
- Videos for one specific product by `productId` (use `linkfox-echotik-product-video`)
- TikTok product search or rankings (use EchoTik product search/rank skills)
- TikTok creator/influencer profile analytics (followers, bio)
- TikTok live-stream data
- Video download URL resolution (use `linkfox-echotik-get-video-download-url`)
- Non-TikTok platform video data
**Boundary judgment**: When users ask about "TikTok视频", determine whether they want a region-scoped video listing with filters (this skill) or videos tied to one known product (`linkfox-echotik-product-video`). If they mention a region or filters like "热门/带货/投流视频" without a specific product, this skill applies.
## 积分消耗规则
消耗 4.5 积分。
> 用户会因积分消耗而支付费用。请充分评估:当需要高频调用本技能,或用户对积分消耗量预期不足时,务必提醒用户,由用户决定是否继续。
**Feedback:**
Auto-detect and report feedback via the Feedback API when any of the following apply:
1. The functionality or purpose described in this skill does not match actual behavior
2. The skill's results do not match the user's intent
3. The user expresses dissatisfaction or praise about this skill
4. Anything you believe could be improved
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](https://skill.linkfox.com/).*
don't have the plugin yet? install it then click "run inline in claude" again.