EchoTik - TikTok Video Ranking
This skill queries TikTok Shop
video ranking data via the EchoTik data source, helping cross-border sellers and marketers discover top-performing videos on a given day across regional markets. Unlike
linkfox-echotik-list-video
(which lists videos by region with free filters), this tool returns a
dated ranking of videos sorted by a chosen metric.
Core Concepts
EchoTik is a TikTok Shop analytics platform. This tool returns ranked video lists — daily snapshots of the top videos in a market, ordered by a selected ranking metric. It is the video counterpart of the new-product ranking: instead of scouting new products, you scout the day's best-performing videos.
Required input:
,
,
, and
are all mandatory. There are no defaults for required fields.
Related skill: To list videos by region with free filters (creator / product / views range / ad / AI flags) instead of a dated ranking, use
linkfox-echotik-list-video
. This skill is for ranked, date-scoped video charts.
Data Fields
The response
video object has 25 fields. Metric names begin with
but represent the
ranking period's cumulative value (daily, for
). Key fields:
| Field | Description |
|---|
| videoId / officialUrl / coverUrl | Video ID / TikTok URL / cover image URL |
| videoDesc / duration / createDate | Description / duration (seconds) / publish date |
| userId / uniqueId / nickName / avatar | Creator ID / TikTok account ID / nickname / avatar |
| category / region | Video category / marketplace code |
| totalViewsCnt / totalDiggCnt / totalCommentsCnt | Period views / likes / comments |
| totalSharesCnt / totalFavoritesCnt | Period shares / favorites |
| totalVideoSaleCnt / totalVideoSaleGmvAmt | Period video sales (units, estimated) / sales GMV (estimated) |
| salesFlagText / createdByAiText | Selling video flag / AI video flag (是/否) |
| productCategoryList / videoProducts | Selling product categories / products |
| sourceType / sourceTool | Product source / source tool |
Full field list with types is in
. This shape
differs from
linkfox-echotik-list-video
(no width/height/ratio, no 1d/7d/30d breakdowns, no
).
Parameter Guide
| Parameter | Type | Required | Default | Description |
|---|
| date | string | Yes | - | Query date, |
| rankType | integer | Yes | - | Ranking type (see values below) |
| region | string | Yes | - | Marketplace code. See supported list below |
| videoRankField | integer | Yes | - | Ranking metric (see values below) |
| pageNum | integer | No | 1 | Page number, starts at 1 |
| pageSize | integer | No | 50 | Items per page |
rankType values
| Value | Meaning |
|---|
| 1 | Daily ranking (verified) |
videoRankField values
| Value | Meaning | Verified |
|---|
| 1 | Rank by views (播放量) | ✓ 200 |
| 2 | Rank by video sales (视频销量) | ✓ 200 |
| 3+ | Unverified | Returns errcode 10000 (no pre-computed chart) for tested date/region |
Metric sparsity: when ranking by a given
, the other metric fields often return 0 (ranking by sales → views/likes/comments are 0; ranking by views → sales/GMV are 0). The full valid-value sets are defined by the upstream EchoTik service; confirm against
and real responses before combining unfamiliar values.
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/listVideoRank
(完整参数/响应/错误码见 )
- Python 脚本:
python scripts/echotik_list_video_rank.py '<JSON 参数>' [--inline]
- 成本约束:本工具会消耗积分;同一会话同一参数组合默认只调用一次,脚本带 24h 本地缓存。失败/空结果不得自动换关键词、翻页或改邮编连续试探;需要继续检索时先向用户说明会产生额外消耗。
输出策略(脚本默认行为):
- 始终将完整响应写入
<cwd>/linkfox/<YYYY-MM-DD>/<session>/data/linkfox-echotik-list-video-rank-<timestamp>.json
( 为脚本执行时的工作目录,在 Claude Code 里即当前项目目录; 取自环境变量 ,按用户任务自动聚合;禁止写入 /tmp,当前目录不可写则报错)
- 响应体 ≤ 8 KB:落盘后把完整 JSON 打印到 stdout
- 响应体 > 8 KB:落盘后 stdout 只输出摘要(顶层字段、常见计数如 /、最大列表字段的长度 + 前 3 条样本)
- 加 强制全量打印到 stdout(同样落盘)
读数据建议:先看摘要判断是否足够;需要具体字段时优先用
或
从保存的 json 文件按需抽取,避免整份 JSON 进入上下文。
解决认证和积分问题
发生以下异常情况时,采用 references/onboarding.md 引导解决问题:
异常情况
- 未配置API Key:环境变量未配置 ,也未配置 。
- 响应401或402状态码
- 响应提示积分或余额不足:消息含"积分余额不足/计费不足/余额不足/quota exceeded/insufficient balance/套餐到期/需充值/请充值",或类似含义的内容。
Usage Examples
1. Top US videos by views on a given day
json
{
"date": "2026-08-10",
"rankType": 1,
"region": "US",
"videoRankField": 1,
"pageNum": 1,
"pageSize": 20
}
2. Top UK videos on a given day
json
{
"date": "2026-08-10",
"rankType": 1,
"region": "GB",
"videoRankField": 1
}
3. Paginate a large ranking
json
{
"date": "2026-08-10",
"rankType": 1,
"region": "US",
"videoRankField": 1,
"pageNum": 2,
"pageSize": 20
}
Display Rules
- Present data in tables: Show video description (truncated if long), views, likes, comments, shares, video sales, video GMV, publish date, and creator ID.
- Rank order: Results are already ranked by the chosen ; preserve and surface the ranking order.
- Link to original: When is available, provide it so users can view the video on TikTok.
- Estimation notice: Video sales and GMV are estimated values; remind users these are approximations.
- Result count: Always inform the user of records and the current page; suggest pagination when the result set is large.
Important Limitations
- All four required fields: , , , are mandatory; no defaults are applied.
- Daily granularity: is a daily snapshot; pass one specific .
- Ranking data lags 1–2 days: The current day and yesterday usually have no ranking yet and return ("no matching data"). Use a date 2+ days in the past; if a date still returns 10000, step further back.
- Ranking vs. listing: This is a dated ranking. For region-scoped video listing with free filters (creator / views range / ad / AI flags), use
linkfox-echotik-list-video
.
- No secondary processing: Results are live queries; secondary SQL/data processing is not available.
User Expression & Scenario Quick Reference
Applicable — TikTok video ranking / charts:
| User Says | Scenario |
|---|
| "TikTok视频排行" / "TikTok top video chart" | Daily video ranking by views |
| "今天TikTok最火的视频" | Today's ranking, region scoped |
| "TikTok带货视频排行" | Ranked selling videos (inspect sales/GMV columns) |
| "英国TikTok视频榜单" | region=GB ranking |
Not applicable — Needs beyond dated video ranking:
- Region-scoped video listing with free filters (use
linkfox-echotik-list-video
)
- Videos for one specific product by (use
linkfox-echotik-product-video
)
- Video download URL resolution (use
linkfox-echotik-get-video-download-url
)
- TikTok product / seller rankings
Boundary judgment: When users say "视频排行/视频榜单/最火视频" with a date or region context, this skill applies. If they want to filter videos by creator, views range, or ad/AI flags without a ranking, use
linkfox-echotik-list-video
.
积分消耗规则
消耗 5 积分。
用户会因积分消耗而支付费用。请充分评估:当需要高频调用本技能,或用户对积分消耗量预期不足时,务必提醒用户,由用户决定是否继续。
Feedback:
Auto-detect and report feedback via the Feedback API when any of the following apply:
- The functionality or purpose described in this skill does not match actual behavior
- The skill's results do not match the user's intent
- The user expresses dissatisfaction or praise about this skill
- Anything you believe could be improved
Call the feedback API as specified in
. Do not interrupt the user's flow.
For more high-quality, professional cross-border e-commerce skills, visit LinkFox Skills.