EchoTik TikTok Video Download
This skill guides you on how to resolve a TikTok video URL into direct download and playback links, helping sellers save influencer/promotional video assets for offline analysis or reuse.
Core Concepts
This tool takes a single TikTok video URL and resolves it to direct media addresses: a no-watermark download URL (preferred for clean assets), a watermarked download URL, a playback URL, and cover images (static and dynamic). This is useful when a seller wants to archive a high-performing promotional video found via the EchoTik product-video tool, or reuse a creator's clip without re-recording.
Required input: A
is mandatory. Two URL formats are accepted:
- Short link:
https://vt.tiktok.com/xxxxxx
- Full link:
https://www.tiktok.com/@user/video/1234567890
Conditional download URLs: Not every video returns a downloadable address.
and
are returned only when the source video allows it; for some videos (region/privacy/availability restricted) both are absent and only
plus cover images come back. Always check presence before presenting a download link, and fall back to
for playback when the download fields are missing.
URL freshness: The returned download/playback addresses may expire over time. Use them promptly after resolving, and re-resolve if a link stops working.
Parameter Guide
| Parameter | Type | Required | Description | Default |
|---|
| url | string | Yes | TikTok video URL (short link or full link tiktok.com/@user/video/xxx
). Max length 1000 | - |
调用方式
- API 端点:
POST /echotik/getVideoDownloadUrl
(完整参数/响应/错误码见 )
- Python 脚本:
python scripts/echotik_get_video_download_url.py '<JSON 参数>' [--inline]
- 成本约束:本工具会消耗积分;同一会话同一参数组合默认只调用一次,脚本带 24h 本地缓存。失败/空结果不得自动换关键词、翻页或改邮编连续试探;需要继续检索时先向用户说明会产生额外消耗。
输出策略(脚本默认行为):
- 始终将完整响应写入
<cwd>/linkfox/<YYYY-MM-DD>/<session>/data/linkfox-echotik-get-video-download-url-<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. Resolve a full TikTok video link
json
{
"url": "https://www.tiktok.com/@user/video/1234567890"
}
2. Resolve a TikTok short link
json
{
"url": "https://vt.tiktok.com/Z123abc/"
}
Display Rules
- Present the no-watermark link first: When is present, surface it as the primary download option, since clean assets are usually what sellers want
- Offer the watermarked variant: Also list (watermarked) when present, in case the user wants the original branding
- Handle missing download URLs: When both and are absent (common for some videos), do not fabricate a download link — tell the user the video has no direct download address and offer for playback/preview instead
- Provide playback + cover: Mention for quick preview and / for thumbnails
- Freshness caveat: Remind the user that the resolved URLs may expire and should be downloaded promptly
- Present data only: Show the resolved addresses clearly without subjective advice on how to use the video
- Error handling: When resolution fails, explain the reason based on / — means a missing/invalid , means the link is not a valid/accessible TikTok video; suggest checking the URL format
User Expression & Scenario Quick Reference
Applicable Scenarios
| User Says | Scenario |
|---|
| "Download this TikTok video" / "Save this TikTok clip" | Resolve a video URL into download links |
| "Get the no-watermark version of this TikTok video" | Prioritize |
| "I want to save this influencer's promo video" | Resolve and archive a creator's video |
| "Give me a playable link for this TikTok video" | Return |
| "Get the cover/thumbnail of this TikTok video" | Return / |
Not Applicable Scenarios
- Listing promotional videos associated with a TikTok product (use
linkfox-echotik-product-video
instead — it needs a , not a video URL)
- Searching for TikTok products (use
linkfox-echotik-product-search
)
- TikTok new product rankings (use
linkfox-echotik-new-product-rank
)
- TikTok live-stream data
- Video editing or content creation advice
- Non-TikTok platform video downloads
Boundary Judgment
When users mention "TikTok video", determine whether they already have a
specific video URL they want to download (this skill) or want to
discover videos linked to a product (the product-video skill). If the user provides a
or
link and asks to save/download/extract it, this skill applies. If they mention a product ID and ask "what videos promote this product", use
linkfox-echotik-product-video
instead.
积分消耗规则
消耗 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.