TikTok 内容抓取器 API

API ID 15626

公开的 TikTok 数据:个人资料、视频和照片幻灯片、无水印下载链接、包含文字的说明、音乐及使用某段声音的视频、粉丝、转发、话题标签和分页搜索

API 文档

端点

请求
逐页显示关注某用户的账号,并附带 continuation_token
Endpoint ID: 42197
GET https://zylalabs.com/api/15626/tiktok+content+scraper+api/42197/get+user+followers
输入参数

获取用户粉丝 — 端点功能

对象 描述
username 必需 Username, @handle or profile URL
continuation_token 可选 To get Next page

剩余免费测试请求:3 / 3。


输入参数

username
continuation_token
API 示例响应
JSON
{
    "username": "tiktok",
    "sec_uid": "MS4wLjABAAAAv7iSuuXDJGDvJkmH_vz1qkDZYo1apxgzaxdBSeIuPiM",
    "total": 96296949,
    "count": 30,
    "followers": [
        {
            "user_id": "10000001",
            "username": "example_user_1",
            "nickname": "Example User 1",
            "sec_uid": "example_id_1",
            "verified": false,
            "is_private": true,
            "description": null,
            "profile_image": "https://example.com/media/1.jpg",
            "followers": 1,
            "following": 6,
            "total_heart": 0,
            "total_videos": 0
        },
        {
            "user_id": "10000002",
            "username": "example_user_2",
            "nickname": "Example User 2",
            "sec_uid": "example_id_2",
            "verified": false,
            "is_private": false,
            "description": "Example text.",
            "profile_image": "https://example.com/media/2.jpg",
            "followers": 4048,
            "following": 11,
            "total_heart": 19100,
            "total_videos": 227
        }
    ],
    "continuation_token": "1792212951"
}
获取用户粉丝 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15626/tiktok+content+scraper+api/42197/get+user+followers?username=tiktok' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
用户关注的账号,按页返回,并带有 continuation_token
Endpoint ID: 42198
GET https://zylalabs.com/api/15626/tiktok+content+scraper+api/42198/get+user+following
输入参数

获取用户关注列表 — 端点功能

对象 描述
username 必需 Username, @handle or profile URL
continuation_token 可选 To get Next page

剩余免费测试请求:3 / 3。


输入参数

username
continuation_token
API 示例响应
JSON
{
    "username": "tiktok",
    "sec_uid": "MS4wLjABAAAAv7iSuuXDJGDvJkmH_vz1qkDZYo1apxgzaxdBSeIuPiM",
    "total": 1,
    "count": 1,
    "following": [
        {
            "user_id": "10000001",
            "username": "example_user_1",
            "nickname": "Example User 1",
            "sec_uid": "example_id_1",
            "verified": true,
            "is_private": false,
            "description": "Example text.",
            "profile_image": "https://example.com/media/1.jpg",
            "followers": 9000000,
            "following": 570,
            "total_heart": 33800000,
            "total_videos": 1162
        }
    ],
    "continuation_token": null
}
获取用户关注列表 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15626/tiktok+content+scraper+api/42198/get+user+following?username=tiktok' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
标签的 ID、描述以及确切的视频数量和观看次数
Endpoint ID: 42199
GET https://zylalabs.com/api/15626/tiktok+content+scraper+api/42199/get+hashtag+challenge+info
输入参数

获取话题标签挑战信息 — 端点功能

对象 描述
tag 必需 Hashtag, with or without #

剩余免费测试请求:3 / 3。


输入参数

tag
API 示例响应
JSON
{
    "hashtag_id": "12827",
    "name": "space",
    "description": "Look to the stars and tell us what you see.",
    "video_count": 3458306,
    "view_count": 95577468461,
    "is_commerce": false,
    "cover": "https://p16-common-sign.tiktokcdn.com/musically-maliva-obj/29c301fb7d0904a45a86623a19812ef7.jpeg~tplv-tiktokx-origin.image"
}
获取话题标签挑战信息 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15626/tiktok+content+scraper+api/42199/get+hashtag+challenge+info?tag=space' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
带有某个标签的视频(带或不带 #),按相关性从高到低排序,采用 Search Videos 格式,每页约 10-20 个,可通过 continuation_token 继续获取。这些视频来自 TikTok 对该标签的搜索,仅保留带有该标签的视频,因此是该标签下最相关的视频,而非按时间顺序排列的完整视频流。非拉丁文字标签可能返回很少或没有视频;未知标签会返回 404。
Endpoint ID: 42200
GET https://zylalabs.com/api/15626/tiktok+content+scraper+api/42200/get+hashtag+videos
输入参数

获取标签视频 — 端点功能

对象 描述
tag 必需 Hashtag, with or without #
continuation_token 可选 continuation_token from the previous page

剩余免费测试请求:3 / 3。


输入参数

tag
continuation_token
API 示例响应
JSON
{
    "tag": "space",
    "count": 17,
    "videos": [
        {
            "video_id": "7592231402440051990",
            "description": "Yes I know I’m goated you don’t have to keep telling me #space #spacetok #irobot #galaxy #star @Casceto ",
            "create_time": 1767704134,
            "author": "joe.music161",
            "author_id": "7541112080059270166",
            "author_name": "Joe",
            "statistics": {
                "number_of_comments": 32600,
                "number_of_hearts": 3300000,
                "number_of_plays": 20300000,
                "number_of_reposts": 405000,
                "number_of_saves": 512388
            },
            "cover": "https://p16-common-sign.tiktokcdn.com/tos-no1a-p-0037-no/oQBCki2BwdXAxMbif60ICAA9E6dMkrIqoMUJUy~tplv-tiktokx-origin.image",
            "download_url": "https://v16-webapp-prime.tiktok.com/video/tos/useast2a/tos-useast2a-ve-68c811-euttp/ocwC2fodbwFIBdNEQx9iAMAyBCriIksM0dM6lZ/",
            "video_definition": "540p",
            "format": "mp4",
            "bitrate": 519207,
            "duration": 210,
            "avatar_thumb": "https://p16-common-sign.tiktokcdn.com/tos-maliva-avt-0068/f16fae1663439523d4f2fd9e02e1fb93~tplv-tiktokx-cropcenter:100:100.jpeg",
            "location": null,
            "mentions": [
                "carti_my_evil_twinn"
            ],
            "hashtags": [
                "space",
                "spacetok"
            ],
            "is_photo": false,
            "images": [],
            "music_id": "6997815379075352577"
        },
        {
            "video_id": "7684024076658232609",
            "description": "How do you feel when you look up and look at the nightsky?  — #space #universe #astronomy #astrophotography ",
            "create_time": 1789076275,
            "author": "squaashii_",
            "author_id": "7188211760049931270",
            "author_name": "squaashii_",
            "statistics": {
                "number_of_comments": 284,
                "number_of_hearts": 66300,
                "number_of_plays": 496500,
                "number_of_reposts": 4530,
                "number_of_saves": 12495
            },
            "cover": "https://p16-common-sign.tiktokcdn.com/tos-useast2a-p-0037-euttp/oMfiIyxmoCDFlkqEAIuA7AAFfBMQzqixDERjEC~tplv-tiktokx-origin.image",
            "download_url": "https://v16-webapp-prime.tiktok.com/video/tos/useast2a/tos-useast2a-ve-0068-euttp/oQKUzIYEBwvCZAIxoif5ACQ6FiyuL1BCz9cINj/",
            "video_definition": "540p",
            "format": "mp4",
            "bitrate": 1451117,
            "duration": 67,
            "avatar_thumb": "https://p16-common-sign.tiktokcdn.com/tos-useast2a-avt-0068-euttp/c30b22211668632517852ddd679fb0f7~tplv-tiktokx-cropcenter:100:100.jpeg",
            "location": null,
            "mentions": [],
            "hashtags": [
                "space",
                "universe"
            ],
            "is_photo": false,
            "images": [],
            "music_id": "7684024121683987232"
        }
    ],
    "continuation_token": "eyJvIjoyNCwicyI6IjIwMjYxMDE3MTI1ODQ4NEU1M0NDN0JGNDYxRjA4NTIwMkMifQ"
}
获取标签视频 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15626/tiktok+content+scraper+api/42200/get+hashtag+videos?tag=space' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
图片(完整尺寸)、描述、统计数据以及照片幻灯片帖子的作者
Endpoint ID: 42201
GET https://zylalabs.com/api/15626/tiktok+content+scraper+api/42201/get+photo+post+slideshow
输入参数

获取照片 发布 幻灯片放映 — 端点功能

对象 描述
video_id 可选 Photo post id
url 可选 Photo post URL, instead of video_id
country_code 可选 Two-letter country code

剩余免费测试请求:3 / 3。


输入参数

video_id
url
country_code
API 示例响应
JSON
{
    "photo_id": "7693212611755871490",
    "details": {
        "photo_id": "7693212611755871490",
        "description": "Some of the most unbelievable images ever captured weren't created by artists or computers. They're real photographs of the universe. From dying stars surrounded by glowing clouds of gas and dust to entire galaxies colliding across unimaginable distances, NASA's space telescopes have revealed scenes that look more like science fiction than reality. But these structures are very real. Nebulae form enormous clouds of gas and dust where stars are born or reach the final stages of their lives. Galaxies contain billions of stars, and when they interact, gravity can stretch, twist, and reshape them over millions of years. What makes these images even more fascinating is how far away they are. Some of the light captured by our telescopes has travelled for hundreds, thousands, or even millions of years before reaching us. That means we're not simply looking at distant places. We're looking into the past. The light arriving today began its journey long before modern technology existed, carrying information about objects and events that happened across enormous stretches of cosmic history. And yet, with the right instruments, we can turn that faint light into images that reveal the incredible structures hidden throughout space. Some of these places are so distant that humanity may never physically reach them. But through astronomy, we can still observe them, study them, and begin to understand what exists beyond our own small corner of the universe. The most extraordinary part is that these images aren't imagination. They're glimpses of a universe that has been out there all along. #nasa #space #spacethings #spacetok #universe ",
        "author": "lucasvisual",
        "author_id": "7189952220045444102",
        "author_name": "Lucas Visuals",
        "avatar_thumb": "https://p16-common-sign.tiktokcdn.com/tos-useast2a-avt-0068-euttp/2dc851452e7fca03061b89c291a79cb9~tplv-tiktokx-cropcenter:100:100.jpeg",
        "create_time": "1791215652",
        "statistics": {
            "number_of_comments": 915,
            "number_of_hearts": 33600,
            "number_of_plays": 811600,
            "number_of_reposts": 2356,
            "number_of_saves": "4064"
        },
        "images": [
            "https://p16-common-sign.tiktokcdn.com/tos-no1a-i-photomode-no/afccf07340e84541908452014d115a9c~tplv-photomode-image.jpeg",
            "https://p16-common-sign.tiktokcdn.com/tos-no1a-i-photomode-no/6fd6de508b38476f82095f3ae8334143~tplv-photomode-image.jpeg"
        ]
    }
}
获取照片 发布 幻灯片放映 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15626/tiktok+content+scraper+api/42201/get+photo+post+slideshow?video_id=7693212611755871490&country_code=US' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
逐页查询关注者、点赞数和认证情况的账号
Endpoint ID: 42202
GET https://zylalabs.com/api/15626/tiktok+content+scraper+api/42202/search+accounts
输入参数

搜索账户 — 端点功能

对象 描述
query 必需 Search text
continuation_token 可选 continuation_token from the previous page (null: no more pages)

剩余免费测试请求:3 / 3。


输入参数

query
continuation_token
API 示例响应
JSON
{
    "query": "nasa",
    "users": [
        {
            "username": "nasa",
            "nickname": "NASA",
            "user_id": "7664638705177150477",
            "profile_image": "https://p16-common-sign.tiktokcdn.com/tos-maliva-avt-0068/e5143212a59c09a008bf50f487d54d1f~tplv-tiktokx-cropcenter:100:100.webp",
            "following": null,
            "followers": 2100000,
            "total_videos": null,
            "total_heart": 11098678,
            "verified": true,
            "description": "Making the seemingly impossible, possible.✨",
            "region": null,
            "bio_link": null,
            "profile_links": [],
            "description_links": []
        },
        {
            "username": "example_user_1",
            "nickname": "Example User 1",
            "user_id": "10000001",
            "profile_image": "https://example.com/media/1.jpg",
            "following": 9067,
            "followers": 318500,
            "total_videos": 2431,
            "total_heart": 2200000,
            "verified": false,
            "description": "Example text.",
            "region": null,
            "bio_link": null,
            "profile_links": [],
            "description_links": []
        }
    ],
    "continuation_token": "eyJvIjoxMiwicyI6IjIwMjYxMDE3MTI1ODM1MzAxRTMxRkQwOEQ2NEY4QjY1REQifQ"
}
搜索账户 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15626/tiktok+content+scraper+api/42202/search+accounts?query=nasa' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
查询的视频和账号,按页返回(continuation_token)。视频的结构与获取用户视频相同。
Endpoint ID: 42203
GET https://zylalabs.com/api/15626/tiktok+content+scraper+api/42203/search+videos+and+accounts
输入参数

搜索视频和账号 — 端点功能

对象 描述
query 必需 Search text
continuation_token 可选 continuation_token from the previous page (null: no more pages)

剩余免费测试请求:3 / 3。


输入参数

query
continuation_token
API 示例响应
JSON
{
    "query": "nasa",
    "videos": [
        {
            "video_id": "7697489566466428174",
            "description": "Mars surface has a strange opening with an object enmbeded inside.#Mars#NASA#Rover#Strange#Mysterious",
            "create_time": 1792211477,
            "author": "mauricioruiz2482",
            "author_id": "7158240211184223275",
            "author_name": "Social Media USA",
            "statistics": {
                "number_of_comments": 1,
                "number_of_hearts": 1,
                "number_of_plays": 149,
                "number_of_reposts": 0,
                "number_of_saves": 1
            },
            "cover": "https://p16-common-sign.tiktokcdn.com/tos-useast5-p-0068-tx/osGFILOjCrTeuSSGhrulAkIljFQRQ6KeGferIA~tplv-tiktokx-origin.image",
            "download_url": "https://v16-webapp-prime.tiktok.com/video/tos/alisg/tos-alisg-ve-37c799-sg/oUrG9GIQkQLfOZTeRASlrIrjeWGKSAl1IIeFgh/",
            "video_definition": "720p",
            "format": "mp4",
            "bitrate": 420513,
            "duration": 188,
            "avatar_thumb": "https://p16-common-sign.tiktokcdn.com/tos-maliva-avt-0068/6f12700c6f931d0cd32853da84b706d1~tplv-tiktokx-cropcenter:100:100.jpeg",
            "location": null,
            "mentions": [],
            "hashtags": [
                "mars",
                "nasa"
            ],
            "is_photo": false,
            "images": [],
            "music_id": "7697489665917569806"
        },
        {
            "video_id": "7697470753020693780",
            "description": "🌎🌊 La NASA difundió nuevas imágenes satelitales que muestran cómo han evolucionado las temperaturas del océano Pacífico desde agosto de 2024 hasta el 13 de octubre de 2026, en medio de un fenómeno de El Niño que continúa intensificándose. Según las proyecciones científicas difundidas por la NASA, existe un 83% de probabilidad de que El Niño de 2026 sea el más intenso desde 1950, con temperaturas superficiales en el Pacífico oriental que ya superan en aproximadamente 1,7 °C sus valores habituales. 🌧️ El fenómeno alcanzaría su máxima intensidad hacia diciembre y se mantendría fuerte durante el verano de 2027, con posibles efectos climáticos hasta el otoño.  #LaBatallaDeMaipú #ElNiño #NASA #Chile #Clima",
            "create_time": 1792207075,
            "author": "labatalla.cl",
            "author_id": "7372745245597746181",
            "author_name": "Diario La Batalla de Maipú",
            "statistics": {
                "number_of_comments": 1,
                "number_of_hearts": 10,
                "number_of_plays": 580,
                "number_of_reposts": 0,
                "number_of_saves": 1
            },
            "cover": "https://p16-common-sign.tiktokcdn.com/tos-alisg-p-0037/okOBiBWgXB3ARDRSEAAMifihU6ap1IAnFgFKw3~tplv-tiktokx-origin.image",
            "download_url": "https://v16-webapp-prime.tiktok.com/video/tos/alisg/tos-alisg-pve-0037/oooSVubHqIpHCZBk6B0FEziEEeDQoZAN6gftPh/",
            "video_definition": "480p",
            "format": "mp4",
            "bitrate": 1432530,
            "duration": 43,
            "avatar_thumb": "https://p16-common-sign.tiktokcdn.com/tos-maliva-avt-0068/09cc0dbd64021e7b8ce6d5991995f45b~tplv-tiktokx-cropcenter:100:100.jpeg",
            "location": null,
            "mentions": [],
            "hashtags": [],
            "is_photo": false,
            "images": [],
            "music_id": "7697471016105642772"
        }
    ],
    "continuation_token": "eyJvIjoxMiwicyI6IjIwMjYxMDE3MTI1ODE1MzIwMjUzMjFCNjMyNEY5NTQ1MEUifQ",
    "users": [
        {
            "username": "nasa",
            "nickname": "NASA",
            "user_id": "7664638705177150477",
            "profile_image": "https://p16-common-sign.tiktokcdn.com/tos-maliva-avt-0068/e5143212a59c09a008bf50f487d54d1f~tplv-tiktokx-cropcenter:100:100.webp",
            "following": null,
            "followers": 2100000,
            "total_videos": null,
            "total_heart": 11098667,
            "verified": true,
            "description": "Making the seemingly impossible, possible.✨",
            "region": null,
            "bio_link": null,
            "profile_links": [],
            "description_links": []
        },
        {
            "username": "example_user_1",
            "nickname": "Example User 1",
            "user_id": "10000001",
            "profile_image": "https://example.com/media/1.jpg",
            "following": 9067,
            "followers": 318500,
            "total_videos": 2431,
            "total_heart": 2200000,
            "verified": false,
            "description": "Example text.",
            "region": null,
            "bio_link": null,
            "profile_links": [],
            "description_links": []
        }
    ]
}
搜索视频和账号 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15626/tiktok+content+scraper+api/42203/search+videos+and+accounts?query=nasa' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
按页获取与查询相关的视频,包含整数统计数据、封面、下载网址和作者;照片幻灯片包含 is_photo 和 images
Endpoint ID: 42204
GET https://zylalabs.com/api/15626/tiktok+content+scraper+api/42204/search+videos
输入参数

搜索视频қәа — 端点功能

对象 描述
query 必需 Search text
continuation_token 可选 continuation_token from the previous page (null: no more pages)

剩余免费测试请求:3 / 3。


输入参数

query
continuation_token
API 示例响应
JSON
{
    "query": "nasa",
    "videos": [
        {
            "video_id": "7697489566466428174",
            "description": "Mars surface has a strange opening with an object enmbeded inside.#Mars#NASA#Rover#Strange#Mysterious",
            "create_time": 1792211477,
            "author": "mauricioruiz2482",
            "author_id": "7158240211184223275",
            "author_name": "Social Media USA",
            "statistics": {
                "number_of_comments": 1,
                "number_of_hearts": 1,
                "number_of_plays": 149,
                "number_of_reposts": 0,
                "number_of_saves": 1
            },
            "cover": "https://p16-common-sign.tiktokcdn.com/tos-useast5-p-0068-tx/osGFILOjCrTeuSSGhrulAkIljFQRQ6KeGferIA~tplv-tiktokx-origin.image",
            "download_url": "https://v16-webapp-prime.tiktok.com/video/tos/alisg/tos-alisg-ve-37c799-sg/oUrG9GIQkQLfOZTeRASlrIrjeWGKSAl1IIeFgh/",
            "video_definition": "720p",
            "format": "mp4",
            "bitrate": 420513,
            "duration": 188,
            "avatar_thumb": "https://p16-common-sign.tiktokcdn.com/tos-maliva-avt-0068/6f12700c6f931d0cd32853da84b706d1~tplv-tiktokx-cropcenter:100:100.jpeg",
            "location": null,
            "mentions": [],
            "hashtags": [
                "mars",
                "nasa"
            ],
            "is_photo": false,
            "images": [],
            "music_id": "7697489665917569806"
        },
        {
            "video_id": "7697470753020693780",
            "description": "🌎🌊 La NASA difundió nuevas imágenes satelitales que muestran cómo han evolucionado las temperaturas del océano Pacífico desde agosto de 2024 hasta el 13 de octubre de 2026, en medio de un fenómeno de El Niño que continúa intensificándose. Según las proyecciones científicas difundidas por la NASA, existe un 83% de probabilidad de que El Niño de 2026 sea el más intenso desde 1950, con temperaturas superficiales en el Pacífico oriental que ya superan en aproximadamente 1,7 °C sus valores habituales. 🌧️ El fenómeno alcanzaría su máxima intensidad hacia diciembre y se mantendría fuerte durante el verano de 2027, con posibles efectos climáticos hasta el otoño.  #LaBatallaDeMaipú #ElNiño #NASA #Chile #Clima",
            "create_time": 1792207075,
            "author": "labatalla.cl",
            "author_id": "7372745245597746181",
            "author_name": "Diario La Batalla de Maipú",
            "statistics": {
                "number_of_comments": 1,
                "number_of_hearts": 10,
                "number_of_plays": 582,
                "number_of_reposts": 0,
                "number_of_saves": 1
            },
            "cover": "https://p16-common-sign.tiktokcdn.com/tos-alisg-p-0037/okOBiBWgXB3ARDRSEAAMifihU6ap1IAnFgFKw3~tplv-tiktokx-origin.image",
            "download_url": "https://v16-webapp-prime.tiktok.com/video/tos/alisg/tos-alisg-pve-0037/oooSVubHqIpHCZBk6B0FEziEEeDQoZAN6gftPh/",
            "video_definition": "480p",
            "format": "mp4",
            "bitrate": 1432530,
            "duration": 43,
            "avatar_thumb": "https://p19-common-sign.tiktokcdn.com/tos-maliva-avt-0068/09cc0dbd64021e7b8ce6d5991995f45b~tplv-tiktokx-cropcenter:100:100.jpeg",
            "location": null,
            "mentions": [],
            "hashtags": [],
            "is_photo": false,
            "images": [],
            "music_id": "7697471016105642772"
        }
    ],
    "continuation_token": "eyJvIjoxMiwicyI6IjIwMjYxMDE3MTI1ODI0NjM2RDkyNjZEMTU3OTI4QTREOEYifQ"
}
搜索视频қәа — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15626/tiktok+content+scraper+api/42204/search+videos?query=nasa' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
粉丝、关注、点赞、视频数量、简介、简介链接、头像和认证标志
Endpoint ID: 42205
GET https://zylalabs.com/api/15626/tiktok+content+scraper+api/42205/get+user+info
输入参数

获取用户信息 — 端点功能

对象 描述
username 必需 Username, @handle or profile URL

剩余免费测试请求:3 / 3。


输入参数

username
API 示例响应
JSON
{
    "username": "tiktok",
    "user_id": "107955",
    "profile_image": "https://p19-common-sign.tiktokcdn.com/tos-maliva-avt-0068/ba67b11de451691939223e9d978e613a~tplv-tiktokx-cropcenter:1080:1080.jpeg",
    "description": "Your next discovery is waiting on TikTok.",
    "nickname": "TikTok",
    "following": 1,
    "followers": 96300000,
    "total_videos": 1512,
    "total_heart": 465700000,
    "verified": true,
    "links": [
        "tiktok.com/discovermore"
    ]
}
获取用户信息 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15626/tiktok+content+scraper+api/42205/get+user+info?username=tiktok' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
用户名、@账号或个人资料网址对应的数字用户 ID
Endpoint ID: 42206
GET https://zylalabs.com/api/15626/tiktok+content+scraper+api/42206/get+user+id
输入参数

获取用户 ID — 端点功能

对象 描述
username 必需 Username, @handle or profile URL

剩余免费测试请求:3 / 3。


输入参数

username
API 示例响应
JSON
{
    "username": "tiktok",
    "user_id": "107955"
}
获取用户 ID — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15626/tiktok+content+scraper+api/42206/get+user+id?username=tiktok' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
使用某个声音的视频,每页 30 个,附带声音的标题、作者和音频网址
Endpoint ID: 42207
GET https://zylalabs.com/api/15626/tiktok+content+scraper+api/42207/get+music+videos
输入参数

获取音乐视频 — 端点功能

对象 描述
music_id 必需 Sound id (music_id of a video, or the number in tiktok.com/music/<name>-<id>)
continuation_token 可选 continuation_token from the previous page

剩余免费测试请求:3 / 3。


输入参数

music_id
continuation_token
API 示例响应
JSON
{
    "music_id": "7694797733856660255",
    "music": {
        "music_id": "7694797733856660255",
        "title": "original sound",
        "author": "TikTok",
        "is_original": true,
        "duration": 49,
        "play_url": "https://v16m.tiktokcdn.com/example_signature/00000000/video/tos/alisg/tos-alisg-v-2370c799-sg/os9zaqADfCBoAMDJUcAJnhEACFJlWyYAfVEEEG/",
        "album": null,
        "cover": "https://p16-common-sign.tiktokcdn.com/tos-maliva-avt-0068/ba67b11de451691939223e9d978e613a~tplv-tiktokx-cropcenter:1080:1080.jpeg",
        "is_copyrighted": false
    },
    "count": 14,
    "videos": [
        {
            "video_id": "7694797676306615583",
            "description": "this summer gave us pop songs, glam routines, and a few main-character habits. @McCall Mirabella breaks down this summer's souvenirs 🐬☀️",
            "create_time": 1791584711,
            "author": "tiktok",
            "author_id": "107955",
            "author_name": "TikTok",
            "avatar_thumb": "https://p16-common-sign.tiktokcdn.com/tos-maliva-avt-0068/ba67b11de451691939223e9d978e613a~tplv-tiktokx-cropcenter:100:100.jpeg",
            "statistics": {
                "number_of_comments": 3321,
                "number_of_hearts": 8389,
                "number_of_plays": 979900,
                "number_of_reposts": 820,
                "number_of_saves": 864
            },
            "cover": "https://p16-common-sign.tiktokcdn.com/tos-useast8-p-0068-tx2/osDEKIayAATxid4XIifhL1BBXAZ8wiCZcATiAJ~tplv-tiktokx-origin.image",
            "download_url": "https://v16-webapp-prime.tiktok.com/video/tos/alisg/tos-alisg-ve-37c799-sg/oYVByKNA3WRD70yngSfR1RflErEFKgEqAQ8IRD/",
            "video_definition": "720p",
            "format": "mp4",
            "bitrate": 1641943,
            "duration": 49,
            "is_photo": false,
            "images": [],
            "location": null,
            "mentions": [
                "mccallmirabella"
            ],
            "hashtags": [],
            "music_id": "7694797733856660255"
        },
        {
            "video_id": "7694968743998393620",
            "description": "#foryoupage #quickeditsforviralchallengevideos #foryou #foryoupage ",
            "create_time": 1791624533,
            "author": "pro.pamela6",
            "author_id": "7397503537990075397",
            "author_name": "pro Pamela",
            "avatar_thumb": "https://p16-common-sign.tiktokcdn.com/tos-alisg-avt-0068/3258f546dde695e82eb962b18f7654bc~tplv-tiktokx-cropcenter:100:100.jpeg",
            "statistics": {
                "number_of_comments": 0,
                "number_of_hearts": 35,
                "number_of_plays": 274,
                "number_of_reposts": 0,
                "number_of_saves": 1
            },
            "cover": "https://p16-common-sign.tiktokcdn.com/tos-alisg-p-0037/ooUDAKJZEfIBQVFgqYZAnBgfCUwRBREyKQB7Wc~tplv-tiktokx-origin.image",
            "download_url": "https://v16-webapp-prime.tiktok.com/video/tos/alisg/tos-alisg-pve-0037c001/oQGEc2FyZQDaRwgAUAugfWECqUIeRonBUC2gCB/",
            "video_definition": "540p",
            "format": "mp4",
            "bitrate": 493219,
            "duration": 9,
            "is_photo": false,
            "images": [],
            "location": null,
            "mentions": [],
            "hashtags": [
                "foryoupage",
                "quickeditsforviralchallengevideos"
            ],
            "music_id": "7694797733856660255"
        }
    ],
    "continuation_token": null
}
获取音乐视频 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15626/tiktok+content+scraper+api/42207/get+music+videos?music_id=7694797733856660255' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
逐页获取用户转发的视频
Endpoint ID: 42208
GET https://zylalabs.com/api/15626/tiktok+content+scraper+api/42208/get+user+reposts
输入参数

获取用户转发的内容 — 端点功能

对象 描述
username 必需 Username, @handle or profile URL
continuation_token 可选 To get Next page

剩余免费测试请求:3 / 3。


输入参数

username
continuation_token
API 示例响应
JSON
{
    "username": "nasa",
    "count": 6,
    "videos": [
        {
            "video_id": "7694813092256959774",
            "description": "POV: home from ~250 miles up 🚀 Swipe for some pretty wild views from low Earth orbit. #GoogleDoodle #WorldSpaceWeek @NASA ",
            "create_time": 1791588297,
            "author": "google",
            "author_id": "6949137531950842886",
            "author_name": "Google",
            "statistics": {
                "number_of_comments": 297,
                "number_of_hearts": 18300,
                "number_of_plays": 142200,
                "number_of_reposts": 727,
                "number_of_saves": 2154
            },
            "cover": "https://p16-common-sign.tiktokcdn.com/tos-maliva-i-photomode-us/20610549439f4b7ba7f06822006d2976~tplv-photomode-image.jpeg",
            "download_url": null,
            "video_definition": null,
            "format": null,
            "bitrate": null,
            "duration": null,
            "avatar_thumb": "https://p16-common-sign.tiktokcdn.com/tos-maliva-avt-0068/4ef0c27fa949cb7595b0b195d45f8f13~tplv-tiktokx-cropcenter:100:100.jpeg",
            "location": null,
            "mentions": [
                "nasa"
            ],
            "hashtags": [
                "googledoodle",
                "worldspaceweek"
            ],
            "is_photo": true,
            "images": [
                "https://p16-common-sign.tiktokcdn.com/tos-maliva-i-photomode-us/20610549439f4b7ba7f06822006d2976~tplv-photomode-image.jpeg",
                "https://p16-common-sign.tiktokcdn.com/tos-maliva-i-photomode-us/8b4211e9dcfd4a2c9852eba4cab5c872~tplv-photomode-image.jpeg"
            ],
            "music_id": "7541020694864693264"
        },
        {
            "video_id": "7694341613870501150",
            "description": "You’d need to line up 100 million Moons just to stretch across the black hole TON 618 🤯 Get more mind-blowing space facts with @Google Search  #SpaceWeek #SpaceFacts ",
            "create_time": 1791478543,
            "author": "google",
            "author_id": "6949137531950842886",
            "author_name": "Google",
            "statistics": {
                "number_of_comments": 274,
                "number_of_hearts": 11500,
                "number_of_plays": 154800,
                "number_of_reposts": 537,
                "number_of_saves": 1288
            },
            "cover": "https://p16-common-sign.tiktokcdn.com/tos-useast8-p-0068-tx2/oQECHi1tfBAZivBhIPudAKAAi4yABY5CoDLAIw~tplv-tiktokx-origin.image",
            "download_url": "https://v16-webapp-prime.tiktok.com/video/tos/alisg/tos-alisg-ve-37c799-sg/oonXAqhtJMAGL2MfE5XUIjVAYI5AiCNjit8ffQ/",
            "video_definition": "720p",
            "format": "mp4",
            "bitrate": 707518,
            "duration": 19,
            "avatar_thumb": "https://p16-common-sign.tiktokcdn.com/tos-maliva-avt-0068/4ef0c27fa949cb7595b0b195d45f8f13~tplv-tiktokx-cropcenter:100:100.jpeg",
            "location": null,
            "mentions": [
                "googlesearch"
            ],
            "hashtags": [
                "spaceweek",
                "spacefacts"
            ],
            "is_photo": false,
            "images": [],
            "music_id": "7694341736717355807"
        }
    ],
    "continuation_token": null
}
获取用户转发的内容 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15626/tiktok+content+scraper+api/42208/get+user+reposts?username=nasa' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
最新视频及其统计数据、封面、下载网址、话题标签和提及内容,以及个人资料和 continuation_token
Endpoint ID: 42209
GET https://zylalabs.com/api/15626/tiktok+content+scraper+api/42209/get+user+videos
输入参数

获取用户视频 — 端点功能

对象 描述
username 必需 Username, @handle or profile URL

剩余免费测试请求:3 / 3。


输入参数

username
API 示例响应
JSON
{
    "user": {
        "username": "tiktok",
        "nickname": "TikTok",
        "user_id": "107955",
        "profile_image": "https://p16-common-sign.tiktokcdn.com/tos-maliva-avt-0068/ba67b11de451691939223e9d978e613a~tplv-tiktokx-cropcenter:1080:1080.jpeg",
        "following": 1,
        "followers": 96300000,
        "total_videos": 1512,
        "total_heart": 465700000,
        "verified": true,
        "description": "Your next discovery is waiting on TikTok.",
        "region": null,
        "bio_link": "tiktok.com/discovermore",
        "profile_links": [
            {
                "link": "tiktok.com/discovermore",
                "risk": 0
            }
        ],
        "description_links": []
    },
    "username": "tiktok",
    "secondary_id": "MS4wLjABAAAAv7iSuuXDJGDvJkmH_vz1qkDZYo1apxgzaxdBSeIuPiM",
    "continuation_token": "1787930211000",
    "videos": [
        {
            "video_id": "7694797676306615583",
            "description": "this summer gave us pop songs, glam routines, and a few main-character habits. @McCall Mirabella breaks down this summer's souvenirs 🐬☀️",
            "create_time": 1791584711,
            "author": "tiktok",
            "author_id": "107955",
            "author_name": "TikTok",
            "statistics": {
                "number_of_comments": 3319,
                "number_of_hearts": 8386,
                "number_of_plays": 979800,
                "number_of_reposts": 817,
                "number_of_saves": 864
            },
            "cover": "https://p16-common-sign.tiktokcdn.com/tos-useast8-p-0068-tx2/osDEKIayAATxid4XIifhL1BBXAZ8wiCZcATiAJ~tplv-tiktokx-origin.image",
            "download_url": "https://v16-webapp-prime.tiktok.com/video/tos/alisg/tos-alisg-ve-37c799-sg/ow8RyyEuRR0ugSVeENlR0VAQDfAlFEgrRB7qWI/",
            "video_definition": "720p",
            "format": "mp4",
            "bitrate": 1641943,
            "duration": 49,
            "avatar_thumb": "https://p16-common-sign.tiktokcdn.com/tos-maliva-avt-0068/ba67b11de451691939223e9d978e613a~tplv-tiktokx-cropcenter:100:100.jpeg",
            "location": null,
            "mentions": [
                "mccallmirabella"
            ],
            "hashtags": [],
            "is_photo": false,
            "images": [],
            "music_id": "7694797733856660255"
        },
        {
            "video_id": "7693184538704416031",
            "description": "Real conversations happen on TikTok, and protecting the integrity of elections is a top priority. 🗳️🔐 Through dedicated in-app Election Centers and global fact-checking partnerships, TikTok connects you to authoritative voting information while actively fighting harmful misinformation. An informed community is a stronger community.",
            "create_time": 1791209149,
            "author": "tiktok",
            "author_id": "107955",
            "author_name": "TikTok",
            "statistics": {
                "number_of_comments": 3121,
                "number_of_hearts": 12400,
                "number_of_plays": 397600,
                "number_of_reposts": 1264,
                "number_of_saves": 1305
            },
            "cover": "https://p16-common-sign.tiktokcdn.com/tos-useast8-p-0068-tx2/oUqGIH7EADEdBAAAQXXCfFX46EVf7QkZR6wJMA~tplv-tiktokx-origin.image",
            "download_url": "https://v16-webapp-prime.tiktok.com/video/tos/alisg/tos-alisg-ve-37c799-sg/ooRjNEpyAeQEMQsqG6VFE5XwIBuf5FwDFADrEG/",
            "video_definition": "720p",
            "format": "mp4",
            "bitrate": 701105,
            "duration": 68,
            "avatar_thumb": "https://p16-common-sign.tiktokcdn.com/tos-maliva-avt-0068/ba67b11de451691939223e9d978e613a~tplv-tiktokx-cropcenter:100:100.jpeg",
            "location": null,
            "mentions": [],
            "hashtags": [],
            "is_photo": false,
            "images": [],
            "music_id": "7693184700604599071"
        }
    ]
}
获取用户视频 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15626/tiktok+content+scraper+api/42209/get+user+videos?username=tiktok' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
获取用户视频的下一页:传入其返回的 secondary_id 和 continuation_token
Endpoint ID: 42210
GET https://zylalabs.com/api/15626/tiktok+content+scraper+api/42210/get+user+videos+next+page
输入参数

获取用户视频 下一页 . — 端点功能

对象 描述
username 必需 Username, @handle or profile URL
secondary_id 必需 secondary_id from Get User Videos
continuation_token 必需 continuation_token from the previous page

剩余免费测试请求:3 / 3。


输入参数

username
secondary_id
continuation_token
API 示例响应
JSON
{
    "user": {
        "username": "tiktok",
        "nickname": "TikTok",
        "user_id": "107955",
        "profile_image": "https://p16-common-sign.tiktokcdn.com/tos-maliva-avt-0068/ba67b11de451691939223e9d978e613a~tplv-tiktokx-cropcenter:1080:1080.jpeg",
        "following": 1,
        "followers": 96300000,
        "total_videos": 1512,
        "total_heart": 465700000,
        "verified": true,
        "description": "Your next discovery is waiting on TikTok.",
        "region": null,
        "bio_link": "tiktok.com/discovermore",
        "profile_links": [
            {
                "link": "tiktok.com/discovermore",
                "risk": 0
            }
        ],
        "description_links": []
    },
    "username": "tiktok",
    "secondary_id": "MS4wLjABAAAAv7iSuuXDJGDvJkmH_vz1qkDZYo1apxgzaxdBSeIuPiM",
    "continuation_token": "1784908569000",
    "videos": [
        {
            "video_id": "7678745502359342366",
            "description": "she first connected with fans on TikTok. now @Bella Kay is meeting them on \"Behind the Breakthrough.\"",
            "create_time": 1787847286,
            "author": "tiktok",
            "author_id": "107955",
            "author_name": "TikTok",
            "statistics": {
                "number_of_comments": 1433,
                "number_of_hearts": 13400,
                "number_of_plays": 327100,
                "number_of_reposts": 733,
                "number_of_saves": 1227
            },
            "cover": "https://p16-common-sign.tiktokcdn.com/tos-useast8-p-0068-tx2/o0fMIAgIjqfe9TEkxAAMpQAIIAjV9JGtZrOILE~tplv-tiktokx-origin.image",
            "download_url": "https://v16-webapp-prime.tiktok.com/video/tos/alisg/tos-alisg-ve-37c799-sg/ocQQEoAIiRhGBU2pBApXagYiIQQBpI3IPVEVE/",
            "video_definition": "720p",
            "format": "mp4",
            "bitrate": 1210805,
            "duration": 122,
            "avatar_thumb": "https://p19-common-sign.tiktokcdn.com/tos-maliva-avt-0068/ba67b11de451691939223e9d978e613a~tplv-tiktokx-cropcenter:100:100.jpeg",
            "location": null,
            "mentions": [
                "itsbellakaymusic"
            ],
            "hashtags": [],
            "is_photo": false,
            "images": [],
            "music_id": "7678952565630946079"
        },
        {
            "video_id": "7678328024898489630",
            "description": "@Bella Kay had her first \"pinch me\" moment on TikTok. now she's giving fans their own. this is \"Behind the Breakthrough\"",
            "create_time": 1787750068,
            "author": "tiktok",
            "author_id": "107955",
            "author_name": "TikTok",
            "statistics": {
                "number_of_comments": 1408,
                "number_of_hearts": 40300,
                "number_of_plays": 540700,
                "number_of_reposts": 1050,
                "number_of_saves": 3167
            },
            "cover": "https://p16-common-sign.tiktokcdn.com/tos-useast8-p-0068-tx2/oIAlv1jIRrwiCm77E5csoAaIiAZ2OlALBEnAB~tplv-tiktokx-dmt-logom:tos-useast8-i-0068-tx2/o0CBoBAACmiASI16ELRBsAaFaOEvsAmr75ilt.image",
            "download_url": "https://v16-webapp-prime.tiktok.com/video/tos/alisg/tos-alisg-ve-37c799-sg/osb7x8uQxfjvBRcgfCXVAm4MAcquTIze8cHIpS/",
            "video_definition": "720p",
            "format": "mp4",
            "bitrate": 1308313,
            "duration": 145,
            "avatar_thumb": "https://p19-common-sign.tiktokcdn.com/tos-maliva-avt-0068/ba67b11de451691939223e9d978e613a~tplv-tiktokx-cropcenter:100:100.jpeg",
            "location": null,
            "mentions": [
                "itsbellakaymusic"
            ],
            "hashtags": [],
            "is_photo": false,
            "images": [],
            "music_id": "7678328003637562142"
        }
    ]
}
获取用户视频 下一页 . — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15626/tiktok+content+scraper+api/42210/get+user+videos+next+page?username=tiktok&secondary_id=MS4wLjABAAAAv7iSuuXDJGDvJkmH_vz1qkDZYo1apxgzaxdBSeIuPiM&continuation_token=1787930211000' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
无水印视频 URL,以及 TikTok CDN 所需的 Cookie(作为 Cookie 标头发送;不带这些 Cookie,CDN 会返回 403),封面、时长、大小和字幕轨道
Endpoint ID: 42211
GET https://zylalabs.com/api/15626/tiktok+content+scraper+api/42211/download+video+no+watermark
输入参数

下载无水印视频 — 端点功能

对象 描述
video_id 可选 TikTok Video id
url 可选 Video URL or share link, instead of video_id
country_code 可选 Two-letter country code

剩余免费测试请求:3 / 3。


输入参数

video_id
url
country_code
API 示例响应
JSON
{
    "video_id": "7694797676306615583",
    "video": "https://v16-webapp-prime.tiktok.com/video/tos/alisg/tos-alisg-ve-37c799-sg/ogJEilqISNrDaBR0ARVeWfEVFEAR2gyyu8R0TQ/",
    "cookies": "_wafchallengeid=example_value; tt_chain_token=example_value; tt_csrf_token=example_value; ttwid=example_value; msToken=example_value; _waftokenid=example_value",
    "subtitles": "https://v16-webapp.tiktok.com/example_signature/00000000/video/tos/alisg/tos-alisg-v-37c799-sg/3556003e75fe4dc8aae5aeb9a73bd504/",
    "subtitle_tracks": [
        {
            "language": "eng-US",
            "language_id": "2",
            "format": "webvtt",
            "source": "ASR",
            "url": "https://v16-webapp.tiktok.com/example_signature/00000000/video/tos/alisg/tos-alisg-v-37c799-sg/3556003e75fe4dc8aae5aeb9a73bd504/",
            "expires_at": 1792385908
        }
    ],
    "cover": "https://p16-common-sign.tiktokcdn.com/tos-useast8-p-0068-tx2/osDEKIayAATxid4XIifhL1BBXAZ8wiCZcATiAJ~tplv-tiktokx-origin.image",
    "duration": 49,
    "width": 720,
    "height": 1280
}
下载无水印视频 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15626/tiktok+content+scraper+api/42211/download+video+no+watermark?video_id=7694797676306615583&country_code=US' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
描述 整数统计数据(播放量 点赞数 评论数 分享数 收藏数) 创建时间 作者 封面 下载 URL 时长 话题标签 提及 地点 音乐和字幕轨道
Endpoint ID: 42212
GET https://zylalabs.com/api/15626/tiktok+content+scraper+api/42212/get+video+details
输入参数

获取视频详情 — 端点功能

对象 描述
video_id 可选 TikTok Video id
url 可选 Video URL or vm.tiktok.com share link, instead of video_id
country_code 可选 Two-letter country code

剩余免费测试请求:3 / 3。


输入参数

video_id
url
country_code
API 示例响应
JSON
{
    "video_id": "7694797676306615583",
    "details": {
        "video_id": "7694797676306615583",
        "description": "this summer gave us pop songs, glam routines, and a few main-character habits. @McCall Mirabella breaks down this summer's souvenirs 🐬☀️",
        "create_time": 1791584711,
        "author": "tiktok",
        "author_id": "107955",
        "author_name": "TikTok",
        "statistics": {
            "number_of_comments": 3319,
            "number_of_hearts": 8388,
            "number_of_plays": 979800,
            "number_of_reposts": 817,
            "number_of_saves": 864
        },
        "cover": "https://p16-common-sign.tiktokcdn.com/tos-useast8-p-0068-tx2/osDEKIayAATxid4XIifhL1BBXAZ8wiCZcATiAJ~tplv-tiktokx-origin.image",
        "download_url": "https://v16-webapp-prime.tiktok.com/video/tos/alisg/tos-alisg-ve-37c799-sg/ow8RyyEuRR0ugSVeENlR0VAQDfAlFEgrRB7qWI/",
        "video_definition": "720p",
        "format": "mp4",
        "bitrate": 1641943,
        "duration": 49,
        "avatar_thumb": "https://p16-common-sign.tiktokcdn.com/tos-maliva-avt-0068/ba67b11de451691939223e9d978e613a~tplv-tiktokx-cropcenter:100:100.jpeg",
        "location": null,
        "mentions": [
            "mccallmirabella"
        ],
        "hashtags": [],
        "is_photo": false,
        "images": [],
        "music_id": "7694797733856660255",
        "music": {
            "music_id": "7694797733856660255",
            "title": "original sound",
            "author": "TikTok",
            "is_original": true,
            "duration": 49,
            "play_url": "https://v16m.tiktokcdn.com/example_signature/00000000/video/tos/alisg/tos-alisg-v-2370c799-sg/os9zaqADfCBoAMDJUcAJnhEACFJlWyYAfVEEEG/",
            "album": null,
            "cover": "https://p16-common-sign.tiktokcdn.com/tos-maliva-avt-0068/ba67b11de451691939223e9d978e613a~tplv-tiktokx-cropcenter:1080:1080.jpeg",
            "is_copyrighted": false
        },
        "subtitles": [
            {
                "language": "eng-US",
                "language_id": "2",
                "format": "webvtt",
                "source": "ASR",
                "url": "https://v16-webapp.tiktok.com/example_signature/00000000/video/tos/alisg/tos-alisg-v-37c799-sg/3556003e75fe4dc8aae5aeb9a73bd504/",
                "expires_at": 1792385880
            }
        ]
    }
}
获取视频详情 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15626/tiktok+content+scraper+api/42212/get+video+details?video_id=7694797676306615583&country_code=US' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
视频使用的声音:ID、标题、作者、时长、音频网址和封面
Endpoint ID: 42213
GET https://zylalabs.com/api/15626/tiktok+content+scraper+api/42213/get+video+music+sound
输入参数

获取视频音乐声音 — 端点功能

对象 描述
video_id 可选 TikTok Video id
url 可选 Video URL, instead of video_id

剩余免费测试请求:3 / 3。


输入参数

video_id
url
API 示例响应
JSON
{
    "video_id": "7694797676306615583",
    "music_id": "7694797733856660255",
    "title": "original sound",
    "author": "TikTok",
    "is_original": true,
    "duration": 49,
    "play_url": "https://v16m.tiktokcdn.com/example_signature/00000000/video/tos/alisg/tos-alisg-v-2370c799-sg/os9zaqADfCBoAMDJUcAJnhEACFJlWyYAfVEEEG/",
    "album": null,
    "cover": "https://p16-common-sign.tiktokcdn.com/tos-maliva-avt-0068/ba67b11de451691939223e9d978e613a~tplv-tiktokx-cropcenter:1080:1080.jpeg",
    "is_copyrighted": false
}
获取视频音乐声音 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15626/tiktok+content+scraper+api/42213/get+video+music+sound?video_id=7694797676306615583' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
字幕轨道(WebVTT URL、语言、来源)及每个轨道的纯文本
Endpoint ID: 42214
GET https://zylalabs.com/api/15626/tiktok+content+scraper+api/42214/get+video+subtitles+captions
输入参数

获取视频字幕字幕 — 端点功能

对象 描述
video_id 可选 TikTok Video id
url 可选 Video URL, instead of video_id
language 可选 Only this language, e.g. eng-US or eng

剩余免费测试请求:3 / 3。


输入参数

video_id
url
language
API 示例响应
JSON
{
    "video_id": "7694797676306615583",
    "count": 1,
    "subtitles": [
        {
            "language": "eng-US",
            "language_id": "2",
            "format": "webvtt",
            "source": "ASR",
            "url": "https://v16-webapp.tiktok.com/example_signature/00000000/video/tos/alisg/tos-alisg-v-37c799-sg/3556003e75fe4dc8aae5aeb9a73bd504/",
            "expires_at": 1792385900,
            "text": "If you had to show someone what the pop girl mindset actually looks like, what would you show them? Honestly, this. See this whole glam routine? We got it from TikTok. What's your pop Girl song of the Summer? Expectations by Olivia Rodrigo. It's also kind of been my single girl summer, and TikTok got me through it. Everyone's been posting these uplifting little single and thriving videos to that sound and it just hit differently. If you had to choose one item from your closet that represents pop girl summer, what would you choose? My wedding reception dress. It honestly reminded me of all those pop girl TikTok edits, like something a pop star would wear on stage. This is what a real pop girl summer feels like."
        }
    ]
}
获取视频字幕字幕 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15626/tiktok+content+scraper+api/42214/get+video+subtitles+captions?video_id=7694797676306615583&language=eng-US' --header 'Authorization: Bearer YOUR_API_KEY' 


    

API 访问密钥和身份验证

注册后,每个开发者都会被分配一个个人 API 访问密钥,这是一个唯一的字母和数字组合,用于访问我们的 API 端点。要使用 TikTok 内容抓取器 API 进行身份验证,只需在 Authorization 标头中包含您的 bearer token。

标头
标头 描述
授权 必需 应为 Bearer access_key. 订阅后,请查看上方的"您的 API 访问密钥"。

无长期承诺。随时升级、降级或取消。 免费试用包括最多 50 个请求。

起价
$10,000/年


  • 自定义数量
  • 自定义速率限制
  • 专业客户支持
  • 实时 API 监控

概览

公开的 TikTok 数据:个人资料、视频和照片轮播、无水印下载链接、包含文本和音乐的说明以及使用某段声音的视频、关注者、转发、话题标签和分页搜索

TikTok 内容抓取器 API FAQs

用户信息会返回个人资料的用户名、用户 ID、昵称、头像、简介、关注数和粉丝数、视频数、获赞总数、认证状态和链接 账号搜索会为每个匹配的账号返回类似字段 某些字段可能为空值

使用响应中的端点续页令牌请求下一页。粉丝和关注结果包含账户摘要;转发结果包含视频记录。令牌为空表示没有下一页

结果是通过 TikTok 搜索找到并筛选出包含所请求话题标签的相关视频;它们并非按时间顺序排列的完整话题标签动态。每个视频可能包含其说明、作者、创建时间、互动数据、封面和下载链接 URL

搜索视频结果可能包含照片帖子。检查 `is_photo` 字段,并在存在时检查 `images` 字段以获取幻灯片图片。照片帖子可能没有视频下载 URL 或视频专属媒体详情

`statistics` 对象报告评论、爱心(点赞)、播放、转发和收藏的整数计数 这些数值反映视频的互动情况,可用于比较结果,但它们是计数而非比率

将 Get User Videos 返回的 `secondary_id` 和 `continuation_token` 都传递给 Get User Videos next page。响应包含另一页视频,并可能提供一个新令牌;令牌为 null 或不存在表示没有更多页面可用

响应中的 `video` 字段是媒体 URL,`cookies` 包含获取该媒体时要在请求的 `Cookie` 标头中发送的值。响应还可能包含封面、时长和字幕轨道。下载和字幕 URL 可能会过期

字幕响应会列出可用轨道及其语言、格式、来源、URL,以及在提供时附带的纯文本。轨道可能由语音识别(ASR)生成;请根据语言和来源字段选择合适的轨道,并在获取其 URL 前检查 expires_at

一般常见问题

Zyla API Hub 就像一个大型 API 商店,您可以在一个地方找到数千个 API。我们还为所有 API 提供专门支持和实时监控。注册后,您可以选择要使用的 API。请记住,每个 API 都需要自己的订阅。但如果您订阅多个 API,您将为所有这些 API 使用相同的密钥,使事情变得更简单。
价格以 USD(美元)、EUR(欧元)、CAD(加元)、AUD(澳元)和 GBP(英镑)列出。我们接受所有主要的借记卡和信用卡。我们的支付系统使用最新的安全技术,由 Stripe 提供支持,Stripe 是世界上最可靠的支付公司之一。如果您在使用卡片付款时遇到任何问题,请通过 [email protected]

此外,如果您已经以这些货币中的任何一种(USD、EUR、CAD、AUD、GBP)拥有有效订阅,该货币将保留用于后续订阅。只要您没有任何有效订阅,您可以随时更改货币。
定价页面上显示的本地货币基于您 IP 地址的国家/地区,仅供参考。实际价格以 USD(美元)为单位。当您付款时,即使您在我们的网站上看到以本地货币显示的等值金额,您的卡片对账单上也会以美元显示费用。这意味着您不能直接使用本地货币付款。
有时,银行可能会因其欺诈保护设置而拒绝收费。我们建议您首先联系您的银行,检查他们是否阻止了我们的收费。此外,您可以访问账单门户并更改关联的卡片以进行付款。如果这些方法不起作用并且您需要进一步帮助,请通过 [email protected]
价格由月度或年度订阅决定,具体取决于所选计划。
API 调用根据成功请求从您的计划中扣除。每个计划都包含您每月可以进行的特定数量的调用。只有成功的调用(由状态 200 响应指示)才会计入您的总数。这确保失败或不完整的请求不会影响您的月度配额。
Zyla API Hub 采用月度订阅系统。您的计费周期将从您购买付费计划的那一天开始,并在下个月的同一日期续订。因此,如果您想避免未来的费用,请提前取消订阅。
要升级您当前的订阅计划,只需转到 API 的定价页面并选择您要升级到的计划。升级将立即生效,让您立即享受新计划的功能。请注意,您之前计划中的任何剩余调用都不会转移到新计划,因此在升级时请注意这一点。您将被收取新计划的全部金额。
要检查您本月剩余多少 API 调用,请参考响应标头中的 "X-Zyla-API-Calls-Monthly-Remaining" 字段。例如,如果您的计划允许每月 1,000 个请求,而您已使用 100 个,则响应标头中的此字段将显示 900 个剩余调用。
要查看您的计划允许的最大 API 请求数,请检查 "X-Zyla-RateLimit-Limit" 响应标头。例如,如果您的计划包括每月 1,000 个请求,此标头将显示 1,000。
"X-Zyla-RateLimit-Reset" 标头显示您的速率限制重置之前的秒数。这告诉您何时您的请求计数将重新开始。例如,如果它显示 3,600,则意味着还有 3,600 秒直到限制重置。
是的,您可以随时通过访问您的账户并在账单页面上选择取消选项来取消您的计划。请注意,升级、降级和取消会立即生效。此外,取消后,您将不再有权访问该服务,即使您的配额中还有剩余调用。
为了让您有机会在没有任何承诺的情况下体验我们的 API,我们提供 7 天免费试用,允许您免费进行最多 50 次 API 调用。此试用只能使用一次,因此我们建议将其应用于您最感兴趣的 API。虽然我们的大多数 API 都提供免费试用,但有些可能不提供。试用在 7 天后或您进行了 50 次请求后结束,以先发生者为准。如果您在试用期间达到 50 次请求限制,您需要"开始您的付费计划"以继续发出请求。您可以在个人资料中的订阅 -> 选择您订阅的 API -> 定价标签下找到"开始您的付费计划"按钮。或者,如果您在第 7 天之前不取消订阅,您的免费试用将结束,您的计划将自动计费,授予您访问计划中指定的所有 API 调用的权限。请记住这一点以避免不必要的费用。
7 天后,您将被收取试用期间订阅的计划的全额费用。因此,在试用期结束前取消很重要。因忘记及时取消而提出的退款请求不被接受。
当您订阅 API 免费试用时,您可以进行最多 50 次 API 调用。如果您希望超出此限制进行额外的 API 调用,API 将提示您执行"开始您的付费计划"。您可以在个人资料中的订阅 -> 选择您订阅的 API -> 定价标签下找到"开始您的付费计划"按钮。
付款订单在每月 20 日至 30 日之间处理。如果您在 20 日之前提交请求,您的付款将在此时间范围内处理。
您可以通过我们的聊天渠道联系我们以获得即时帮助。我们始终在线,时间为上午 8 点至下午 5 点(EST)。如果您在该时间之后联系我们,我们将尽快回复您。此外,您可以通过 [email protected]

相关 API