A TikTok 下载 API 将公共视频 URL 转换为 MP4 作业。在 Zyla API Hub 中,该列表是 TikTok Premium Download API。官方下载器示例:https://www.tiktok.com/@championsleague/video/7670919555895643424,格式为 format=mp4。
目录中有 超过 10,000 个公共 API。按列表订阅。没有免费计划。您的 第一个 Hub API 包括 7 天免费试用(最多 50 次请求)。身份验证为 Authorization: Bearer YOUR_API_KEY。轮询直到 progress 为 100 — 而不是 1000(该完整值是 YouTube 的兄弟)。仅限公共视频。
请求:官方冠军联赛 URL
curl --location --request GET 'https://zylalabs.com/api/13598/tiktok+premium+download+api/30344/downloader?url=https://www.tiktok.com/@championsleague/video/7670919555895643424&format=mp4'
--header 'Authorization: Bearer YOUR_API_KEY'
响应:官方下载器示例
{
"success": true,
"id": "a8a12efcf3edf582a1fecec458ff862f8219366f",
"image": "https://www.tiktok.com/favicon.ico",
"progress_url": "https://tik-download.zylalabs.com/api/progress?id=a8a12efcf3edf582a1fecec458ff862f8219366f",
"message": "Job started. Poll progress_url every 3–5 seconds until progress is 100, then use download_url."
}
进度:官方中间作业示例
{
"success": 1,
"progress": 50,
"text": "processing",
"message": "Still processing. Keep polling this URL every 3–5 seconds until progress is 100."
}
文档不发布完成的 download_url 转储。当您只需要元数据时,视频信息是兄弟路径。