TikTok API

API ID 16091

短视频数据:用户资料、视频和照片帖子、转发、播放列表、直播间、包含统计数据和音乐的视频详情、评论和回复、热门创作者、标签和声音

API 文档

端点

请求
返回 TikTok 用户的个人资料:ID、用户名、昵称、sec_uid、简介、简介链接、头像、账号是否已认证、是否为私密账号、机构账号或卖家账号、账号语言、创建日期,以及用户名和昵称上次更改的时间;粉丝数、关注数、好友数、获赞数、视频数和喜欢的视频数;谁可以评论、合拍、拼接和下载;个人资料显示哪些标签页;直播间及即将举行的直播活动
Endpoint ID: 46070
GET https://zylalabs.com/api/16091/tiktok+api/46070/get+user+details
输入参数

获取用户详细信息 — 端点功能

对象 描述
username 必需 TikTok username (e.g. "tiktok"), with or without "@", or the link of the profile.

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


输入参数

username
API 示例响应
JSON
{
    "id": "107955",
    "username": "tiktok",
    "nickname": "TikTok",
    "sec_uid": "MS4wLjABAAAAv7iSuuXDJGDvJkmH_vz1qkDZYo1apxgzaxdBSeIuPiM",
    "bio": "Your next discovery is waiting on TikTok.",
    "avatar": "https://p16-common-sign.tiktokcdn-eu.com/tos-maliva-avt-0068/ba67b11de451691939223e9d978e613a~tplv-tiktokx-cropcenter:1080:1080.jpeg?dr=10399&refresh_token=ae0ffb31&x-expires=1796662800&x-signature=g3v4Rc2ydsvyGOdicUoR8DxRQnU%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=useast2b",
    "verified": true,
    "private": false,
    "url": "https://www.tiktok.com/@tiktok",
    "stats": {
        "followers": 97465590,
        "following": 2,
        "friends": 2,
        "likes": 470534422,
        "videos": 1514,
        "liked_videos": 0
    },
    "bio_link": null,
    "language": "en",
    "organization": true,
    "seller": false,
    "commerce_category": "Others",
    "created_at": "2015-02-28T17:22:29Z",
    "username_changed_at": null,
    "nickname_changed_at": "2021-12-03T19:26:40Z",
    "live_room_id": null,
    "following_visible": true,
    "favorites_visible": false,
    "settings": {
        "comments": "everyone",
        "duets": "everyone",
        "stitches": "everyone",
        "downloads": "everyone"
    },
    "tabs": {
        "playlists": true,
        "music": false,
        "questions": true
    },
    "events": []
}
获取用户详细信息 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/16091/tiktok+api/46070/get+user+details?username=tiktok' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回 TikTok 用户的视频和照片帖子,按时间从新到旧排列,每页 15 条,每条包含其 ID、描述、日期、链接、作者、观看次数、点赞数、评论数、分享数、收藏数和转发数、时长、大小、画质、封面和播放链接、照片、音乐、话题标签、语言,以及是否为置顶、广告或 AI 生成内容。将某一页的“next_cursor”作为下一页的“cursor”传入
Endpoint ID: 46071
GET https://zylalabs.com/api/16091/tiktok+api/46071/get+user+videos
输入参数

获取用户视频 — 端点功能

对象 描述
username 必需 TikTok username (e.g. "tiktok"), the link of the profile or the user's sec_uid (from /user/details).
cursor 可选 Optional "next_cursor" of the previous page.

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


输入参数

username
cursor
API 示例响应
JSON
{
    "videos": [
        {
            "id": "7715596235788307725",
            "description": "you loved, remixed and reimagined them, these are your top 10 global songs of #TheYearOnTikTok 👏",
            "created_at": "2026-12-04T23:34:07Z",
            "url": "https://www.tiktok.com/@tiktok/photo/7715596235788307725",
            "type": "photo",
            "author": {
                "id": "107955",
                "username": "tiktok",
                "nickname": "TikTok",
                "sec_uid": "MS4wLjABAAAAv7iSuuXDJGDvJkmH_vz1qkDZYo1apxgzaxdBSeIuPiM",
                "avatar": "https://p19-common-sign.tiktokcdn-eu.com/tos-maliva-avt-0068/ba67b11de451691939223e9d978e613a~tplv-tiktokx-cropcenter:1080:1080.jpeg?dr=10399&refresh_token=6dd312ef&x-expires=1796662800&x-signature=M3cHKg0TM%2BaBL4A8%2Bo%2FdZzBqGig%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=useast2b",
                "verified": true
            },
            "stats": {
                "views": 139200,
                "likes": 13500,
                "comments": 815,
                "shares": 922,
                "saves": 1254,
                "reposts": 0
            },
            "video": {
                "duration": 0,
                "width": 0,
                "height": 0,
                "quality": null,
                "format": null,
                "codec": null,
                "bitrate": null,
                "size": null,
                "cover": "https://p16-common-sign.tiktokcdn-eu.com/tos-maliva-i-photomode-us/06f9acd922484fa1974e0f61394c6d83~tplv-photomode-image.jpeg?dr=10375&x-expires=1796662800&x-signature=ALSe0la9W6YHH4aYmmhCWZuOnNo%3D&t=4d5b0474&ps=13740610&shp=81f88b70&shcp=9b759fb9&idc=useast2b&ftpl=1",
                "origin_cover": "https://p16-common-sign.tiktokcdn-eu.com/tos-maliva-i-photomode-us/06f9acd922484fa1974e0f61394c6d83~tplv-photomode-image.jpeg?dr=10375&x-expires=1796662800&x-signature=ALSe0la9W6YHH4aYmmhCWZuOnNo%3D&t=4d5b0474&ps=13740610&shp=81f88b70&shcp=9b759fb9&idc=useast2b&ftpl=1",
                "dynamic_cover": null,
                "play_url": null,
                "download_url": null
            },
            "images": [
                {
                    "url": "https://p16-common-sign.tiktokcdn-eu.com/tos-maliva-i-photomode-us/06f9acd922484fa1974e0f61394c6d83~tplv-photomode-image.jpeg?dr=10375&x-expires=1796662800&x-signature=ALSe0la9W6YHH4aYmmhCWZuOnNo%3D&t=4d5b0474&ps=13740610&shp=81f88b70&shcp=9b759fb9&idc=useast2b&ftpl=1",
                    "width": 1080,
                    "height": 1350
                }
            ],
            "music": {
                "id": "0",
                "title": "original sound - TikTok",
                "author": null,
                "album": null,
                "duration": null,
                "original": false,
                "cover": null,
                "play_url": null
            },
            "hashtags": [
                {
                    "id": "1686833781138438",
                    "name": "theyearontiktok"
                }
            ],
            "language": "en",
            "location_created": null,
            "pinned": null,
            "ad": false,
            "ai_generated": null,
            "duet_enabled": null,
            "stitch_enabled": null,
            "share_enabled": true
        }
    ],
    "next_cursor": "1791584711000"
}
获取用户视频 — 代码片段

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


    
请求
返回 TikTok 用户转发的视频,每页 30 个,每个视频包含其 ID、描述、日期、链接、作者、统计数据、视频、音乐和话题标签。将某页的“next_cursor”作为下一页的“cursor”传入 马会
Endpoint ID: 46072
GET https://zylalabs.com/api/16091/tiktok+api/46072/get+user+reposts
输入参数

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

对象 描述
username 必需 TikTok username (e.g. "tiktok"), the link of the profile or the user's sec_uid (from /user/details).
cursor 可选 Optional "next_cursor" of the previous page.

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


输入参数

username
cursor
API 示例响应
JSON
{
    "videos": [
        {
            "id": "7715535945210088717",
            "description": "Their videos sparked a moment. Your support ignited a movement. The #TikTokAwardsUS are back! Hosted by @arianamadix and shaped by fans in real-time. Vote now and tune in to TikTok LIVE 01/28 at 9PM ET/6PM PT. Presented by @e.l.f. Cosmetics",
            "created_at": "2026-12-04T19:40:13Z",
            "url": "https://www.tiktok.com/@tiktokcreators/video/7715535945210088717",
            "type": "video",
            "author": {
                "id": "6551237489917432832",
                "username": "tiktokcreators",
                "nickname": "tiktokcreators",
                "sec_uid": "MS4wLjABAAAAXqqA-cLDC0hfQPIrS5APYNsg04zkl-socWCkqkI3UIOaEe6_Qnokg0GcWpLnMNQP",
                "avatar": "https://p16-common-sign.tiktokcdn-eu.com/tos-maliva-avt-0068/efec6e1f1419aa64f7ff6c90ec8902eb~tplv-tiktokx-cropcenter:1080:1080.jpeg?dr=10399&refresh_token=1e07886f&x-expires=1796662800&x-signature=y%2BY%2BMF2dp%2F7mJeamgNbJm39Fpg4%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=useast2b",
                "verified": true
            },
            "stats": {
                "views": 97900,
                "likes": 4785,
                "comments": 312,
                "shares": 147,
                "saves": 350,
                "reposts": 0
            },
            "video": {
                "duration": 33,
                "width": 720,
                "height": 1280,
                "quality": "720p",
                "format": "mp4",
                "codec": "h264",
                "bitrate": 860459,
                "size": 3618554,
                "cover": "https://p16-common-sign.tiktokcdn-eu.com/tos-useast5-p-0068-tx/oALiWHQV4AGEAUA3IdAIEHgmekLjjJJIeAIQeA~tplv-tiktokx-origin.image?dr=10395&x-expires=1796662800&x-signature=Xj%2FCYAB44QTOagxflmMIhwy9o2w%3D&t=4d5b0474&ps=13740610&shp=81f88b70&shcp=43f4a2f9&idc=useast2b",
                "origin_cover": "https://p16-common-sign.tiktokcdn-eu.com/tos-useast5-p-0068-tx/ogxDI6i9MupFjWlTBBBAIui2Ix1wFAcCcYiXf7~tplv-tiktokx-origin.image?dr=10395&x-expires=1796662800&x-signature=9I05EL7io245eoZfQZMWJCw9Ddw%3D&t=4d5b0474&ps=13740610&shp=81f88b70&shcp=43f4a2f9&idc=useast2b",
                "dynamic_cover": "https://p16-common-sign.tiktokcdn-eu.com/tos-useast5-p-0068-tx/oALiWHQV4AGEAUA3IdAIEHgmekLjjJJIeAIQeA~tplv-tiktokx-origin.image?dr=10395&x-expires=1796662800&x-signature=Xj%2FCYAB44QTOagxflmMIhwy9o2w%3D&t=4d5b0474&ps=13740610&shp=81f88b70&shcp=43f4a2f9&idc=useast2b",
                "play_url": "https://v16-webapp-prime.tiktok.com/video/tos/alisg/tos-alisg-ve-37c799-sg/oQF4ix0iwu2IAIXz1DE0uci4CDBTpYfFAWQ6Bc/?a=1988&bti=ODszNWYuMDE6&&bt=840&ft=WcSzINTYVQ9wUXOGrtW.CJkHgQ7ohdxwiY8K3~5-UF_4&mime_type=video_mp4&rc=NzdpPGdpOmdmOmY2OzU5ZkBpM3B2dXA5cjVrZjMzZzczNEBeNjEtYC82NTExLy5hMGAwYSNxM2ZsMmRzYjZhLS1kMS9zcw%3D%3D&expire=1796664677&l=202612051730434789CE81A926C8E29956&ply_type=2&policy=2&signature=5f8ca799543c21efe1fb15c4a21c380f&tk=tt_chain_token&btag=e00088000",
                "download_url": "https://v16-webapp-prime.tiktok.com/video/tos/alisg/tos-alisg-ve-37c799-sg/o4uFyQD61kBoPWXTA2iiwuBFCiAITnMEIxfDpY/?a=1988&bti=ODszNWYuMDE6&&bt=778&ft=WcSzINTYVQ9wUXOGrtW.CJkHgQ7ohdxwiY8K3~5-UF_4&mime_type=video_mp4&rc=PDc1OGY4ZzkzPGg6PDY6Z0BpM3B2dXA5cjVrZjMzZzczNEAtMzIuMzQ1NWIxYjFfMi01YSNxM2ZsMmRzYjZhLS1kMS9zcw%3D%3D&expire=1796664677&l=202612051730434789CE81A926C8E29956&ply_type=2&policy=2&signature=3c70cd5b4e67df6ccf389bcff3d46f84&tk=tt_chain_token&btag=e00088000"
            },
            "images": [],
            "music": {
                "id": "7715536015225522958",
                "title": "original sound",
                "author": "tiktokcreators",
                "album": null,
                "duration": 33,
                "original": true,
                "cover": "https://p16-common-sign.tiktokcdn-eu.com/tos-maliva-avt-0068/efec6e1f1419aa64f7ff6c90ec8902eb~tplv-tiktokx-cropcenter:1080:1080.jpeg?dr=10399&refresh_token=1e07886f&x-expires=1796662800&x-signature=y%2BY%2BMF2dp%2F7mJeamgNbJm39Fpg4%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=useast2b",
                "play_url": "https://v45.tiktokcdn-eu.com/42354ecff96da9b59ff219fb3064f166/6b159be5/video/tos/alisg/tos-alisg-ve-2370c799-sg/oQ4JzEE0UdFRaUSqUTcgGZgQDfCBFDQQ4BerxY/?a=1233&bti=ODszNWYuMDE6&&bt=125&ft=cD1VS7z7ThWHQ0wR9GZmo0P&mime_type=audio_mpeg&rc=ZzQ5aWY1PDo8PGhpNzNpaUBpMzs8ZHM5cjtrZjMzZzU8NEBhYC8uMTZfNi4xMS9iNl5gYSNibGFlMmQ0YjZhLS1kMS9zcw%3D%3D&vvpl=1&l=202612051730434789CE81A926C8E29956&btag=e0008d000&sp_exp=hash_v0"
            },
            "hashtags": [
                {
                    "id": "7293453039149531182",
                    "name": "tiktokawardsus"
                }
            ],
            "language": "en",
            "location_created": null,
            "pinned": null,
            "ad": false,
            "ai_generated": null,
            "duet_enabled": true,
            "stitch_enabled": true,
            "share_enabled": true
        }
    ],
    "next_cursor": "30"
}
获取用户转发内容 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/16091/tiktok+api/46072/get+user+reposts?username=tiktok' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回 TikTok 用户的播放列表,每页 20 个,每个包含其 ID、名称、视频数量、封面和创建者。将某一页的“next_cursor”作为下一页的“cursor”传入񎙁
Endpoint ID: 46073
GET https://zylalabs.com/api/16091/tiktok+api/46073/get+user+playlists
输入参数

获取用户播放列表 — 端点功能

对象 描述
username 必需 TikTok username (e.g. "tiktok"), the link of the profile or the user's sec_uid (from /user/details).
cursor 可选 Optional "next_cursor" of the previous page.

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


输入参数

username
cursor
API 示例响应
JSON
{
    "playlists": [
        {
            "id": "7681171537575824159",
            "name": "Songs Of The Summer 2026",
            "videos": 3,
            "cover": "https://p16-common-sign.tiktokcdn-eu.com/tos-useast8-p-0068-tx2/o8UZ7AA11Ciogu5XByiiAPBcCSAIMnAIEBfaK7~tplv-tiktokx-origin.image?dr=10395&x-expires=1796511600&x-signature=fw2%2Fi57T5BYZhMJ7zylmbH2u%2FA8%3D&t=4d5b0474&ps=13740610&shp=81f88b70&shcp=43f4a2f9&idc=useast2b",
            "creator": {
                "id": "107955",
                "username": "tiktok",
                "nickname": "TikTok",
                "sec_uid": "MS4wLjABAAAAv7iSuuXDJGDvJkmH_vz1qkDZYo1apxgzaxdBSeIuPiM",
                "avatar": "https://p16-common-sign.tiktokcdn-eu.com/tos-maliva-avt-0068/ba67b11de451691939223e9d978e613a~tplv-tiktokx-cropcenter:1080:1080.jpeg?dr=10399&refresh_token=ae0ffb31&x-expires=1796662800&x-signature=g3v4Rc2ydsvyGOdicUoR8DxRQnU%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=useast2b"
            }
        },
        {
            "id": "7659874208872221471",
            "name": "Behind The Breakthrough",
            "videos": 6,
            "cover": "https://p16-common-sign.tiktokcdn-eu.com/tos-useast8-p-0068-tx2/oM4EVAFCUEDiowAA0eAAfLEzqLIhR4OEVASzPC~tplv-tiktokx-origin.image?dr=10395&x-expires=1796511600&x-signature=8ZTT0hYhdBbdQdQLqurtFiIA0jU%3D&t=4d5b0474&ps=13740610&shp=81f88b70&shcp=43f4a2f9&idc=useast2b",
            "creator": {
                "id": "107955",
                "username": "tiktok",
                "nickname": "TikTok",
                "sec_uid": "MS4wLjABAAAAv7iSuuXDJGDvJkmH_vz1qkDZYo1apxgzaxdBSeIuPiM",
                "avatar": "https://p16-common-sign.tiktokcdn-eu.com/tos-maliva-avt-0068/ba67b11de451691939223e9d978e613a~tplv-tiktokx-cropcenter:1080:1080.jpeg?dr=10399&refresh_token=ae0ffb31&x-expires=1796662800&x-signature=g3v4Rc2ydsvyGOdicUoR8DxRQnU%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=useast2b"
            }
        },
        {
            "id": "7516638364301265695",
            "name": "In The Mix",
            "videos": 24,
            "cover": "https://p16-common-sign.tiktokcdn-eu.com/tos-useast8-p-0068-tx2/oMr6rAA6QCIh5zBgE2FEAqDfIoAjTeAQIifXqO~tplv-tiktokx-origin.image?dr=10395&x-expires=1796511600&x-signature=0mOT2mZ%2BoUMzuMBapGyZeWnOxKw%3D&t=4d5b0474&ps=13740610&shp=81f88b70&shcp=43f4a2f9&idc=useast2b",
            "creator": {
                "id": "107955",
                "username": "tiktok",
                "nickname": "TikTok",
                "sec_uid": "MS4wLjABAAAAv7iSuuXDJGDvJkmH_vz1qkDZYo1apxgzaxdBSeIuPiM",
                "avatar": "https://p16-common-sign.tiktokcdn-eu.com/tos-maliva-avt-0068/ba67b11de451691939223e9d978e613a~tplv-tiktokx-cropcenter:1080:1080.jpeg?dr=10399&refresh_token=ae0ffb31&x-expires=1796662800&x-signature=g3v4Rc2ydsvyGOdicUoR8DxRQnU%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=useast2b"
            }
        },
        {
            "id": "7585292371022088990",
            "name": "TikTok Awards",
            "videos": 17,
            "cover": "https://p16-common-sign.tiktokcdn-eu.com/tos-useast8-p-0068-tx2/oUF6EpABfACCAYDlEu3CLWIADFRVhQZA2VEEEe~tplv-tiktokx-origin.image?dr=10395&x-expires=1796511600&x-signature=UtP9SflqG8om5nRSJXTX9kJ%2BSXA%3D&t=4d5b0474&ps=13740610&shp=81f88b70&shcp=43f4a2f9&idc=useast2b",
            "creator": {
                "id": "107955",
                "username": "tiktok",
                "nickname": "TikTok",
                "sec_uid": "MS4wLjABAAAAv7iSuuXDJGDvJkmH_vz1qkDZYo1apxgzaxdBSeIuPiM",
                "avatar": "https://p16-common-sign.tiktokcdn-eu.com/tos-maliva-avt-0068/ba67b11de451691939223e9d978e613a~tplv-tiktokx-cropcenter:1080:1080.jpeg?dr=10399&refresh_token=ae0ffb31&x-expires=1796662800&x-signature=g3v4Rc2ydsvyGOdicUoR8DxRQnU%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=useast2b"
            }
        },
        {
            "id": "6954279265768639237",
            "name": "New Features",
            "videos": 24,
            "cover": "https://p16-common-sign.tiktokcdn-eu.com/tos-useast5-p-0068-tx/4d2daa285a0942b1b5b3065fe6e49715_1668446490~tplv-tiktokx-origin.image?dr=10395&x-expires=1796511600&x-signature=3AQhmTaDCa1OvMaLQjcvwL1COsE%3D&t=4d5b0474&ps=13740610&shp=81f88b70&shcp=43f4a2f9&idc=useast2b",
            "creator": {
                "id": "107955",
                "username": "tiktok",
                "nickname": "TikTok",
                "sec_uid": "MS4wLjABAAAAv7iSuuXDJGDvJkmH_vz1qkDZYo1apxgzaxdBSeIuPiM",
                "avatar": "https://p16-common-sign.tiktokcdn-eu.com/tos-maliva-avt-0068/ba67b11de451691939223e9d978e613a~tplv-tiktokx-cropcenter:1080:1080.jpeg?dr=10399&refresh_token=ae0ffb31&x-expires=1796662800&x-signature=g3v4Rc2ydsvyGOdicUoR8DxRQnU%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=useast2b"
            }
        }
    ],
    "next_cursor": null
}
获取用户播放列表 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/16091/tiktok+api/46073/get+user+playlists?username=tiktok' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回 TikTok 用户当前是否正在直播,以及直播间信息:直播间 ID、标题、开始时间、封面、当前观众数和总观众数,以及是否仅限订阅者观看。用户未在直播时,直播间信息为用户最近一次直播的信息
Endpoint ID: 46074
GET https://zylalabs.com/api/16091/tiktok+api/46074/get+user+live
输入参数

获取用户实时信息 — 端点功能

对象 描述
username 必需 TikTok username (e.g. "tiktok"), with or without "@", or the link of the profile.

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


输入参数

username
API 示例响应
JSON
{
    "user": {
        "id": "107955",
        "username": "tiktok",
        "nickname": "TikTok",
        "sec_uid": "MS4wLjABAAAAv7iSuuXDJGDvJkmH_vz1qkDZYo1apxgzaxdBSeIuPiM",
        "avatar": "https://p16-common-sign.tiktokcdn-eu.com/tos-maliva-avt-0068/ba67b11de451691939223e9d978e613a~tplv-tiktokx-cropcenter:1080:1080.webp?dr=10399&refresh_token=72a0a617&x-expires=1796662800&x-signature=GyRsCXDXJ9bTw%2FrPlF9iZt7Q9WE%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=fdd36af4&idc=useast2b",
        "verified": true,
        "followers": 97465885,
        "following": 2
    },
    "is_live": false,
    "room": {
        "id": "7715237959147342606",
        "title": "TikTok LIVE x Art Basel",
        "started_at": "2026-12-04T00:25:11Z",
        "cover": "https://p16-common-sign.tiktokcdn-eu.com/tos-maliva-avt-0068/ba67b11de451691939223e9d978e613a~tplv-tiktokx-cropcenter:720:720.webp?dr=10399&refresh_token=c224e1e1&x-expires=1796662800&x-signature=PH4LGnBnMW1peST3VzoLy4lTNVA%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=fdd36af4&idc=useast2b",
        "square_cover": null,
        "viewers": null,
        "total_viewers": 1532,
        "subscribers_only": false,
        "game_tag_id": null
    }
}
获取用户实时信息 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/16091/tiktok+api/46074/get+user+live?username=tiktok' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回 TikTok 视频或照片帖子的以下信息:ID 描述 日期 链接 作者及作者的统计数据 浏览量 点赞数 评论数 分享数 收藏数 转发数 时长 尺寸 画质 编解码器 比特率 封面链接和播放链接 照片 音乐 话题标签 被提及的用户 字幕 建议搜索词 标记地点 语言 发布位置以及是否置顶 是否为广告或 AI 生成的内容
Endpoint ID: 46075
GET https://zylalabs.com/api/16091/tiktok+api/46075/get+video+details
输入参数

获取视频详情 — 端点功能

对象 描述
video_id 必需 Id of the video or photo post (e.g. "6718335390845095173"), its link or a short share link (vm.tiktok.com).

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


输入参数

video_id
API 示例响应
JSON
{
    "id": "6718335390845095173",
    "description": "Scramble up ur name & I’ll try to guess it😍❤️ #foryoupage #petsoftiktok #aesthetic",
    "created_at": "2019-07-27T13:32:38Z",
    "url": "https://www.tiktok.com/@scout2015/video/6718335390845095173",
    "type": "video",
    "author": {
        "id": "53279706535428096",
        "username": "scout2015",
        "nickname": "Scout, Suki & Stella",
        "sec_uid": "MS4wLjABAAAAPZWNdkF_cmVSPCvV0Y6MCsH29mlAOlMOX3ikzGvlfMm3K6OMZv-JrRImpEHxdIMI",
        "avatar": "https://p16-common-sign.tiktokcdn-eu.com/tos-maliva-avt-0068/4cbe05e194623e3f19aef975d9fdf26c~tplv-tiktokx-cropcenter:1080:1080.jpeg?dr=10399&refresh_token=5af7f2e8&x-expires=1796662800&x-signature=ULNK15MlIe3kvyAlvIFlOA0shN8%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=useast2b",
        "verified": true,
        "bio": "🐾Click follow to join the PAWsitive Pack🐾\nMore👇💞",
        "private": false,
        "stats": {
            "followers": 9000000,
            "following": 1175,
            "friends": 0,
            "likes": 108400000,
            "videos": 3098,
            "liked_videos": 120600
        }
    },
    "stats": {
        "views": 160500,
        "likes": 35200,
        "comments": 5493,
        "shares": 1546,
        "saves": 653,
        "reposts": 0
    },
    "video": {
        "duration": 10,
        "width": 576,
        "height": 1024,
        "quality": "540p",
        "format": "mp4",
        "codec": "h264",
        "bitrate": 2240963,
        "size": 2953029,
        "cover": "https://p16-common-sign.tiktokcdn-eu.com/tos-maliva-p-0068/2367c7d45cf54a1397abd0e72bf22eac~tplv-tiktokx-origin.image?dr=10395&x-expires=1796662800&x-signature=kEImYZ5MJK5UY40HXOqmv9%2FP7Pk%3D&t=4d5b0474&ps=13740610&shp=81f88b70&shcp=43f4a2f9&idc=useast2b",
        "origin_cover": "https://p16-common-sign.tiktokcdn-eu.com/tos-maliva-p-0068/8ac0190d8ad54535bf823ed5f3202b6b~tplv-tiktokx-origin.image?dr=10395&x-expires=1796662800&x-signature=QiXIgGI138AY5ExGiFzlqhbmQvE%3D&t=4d5b0474&ps=13740610&shp=81f88b70&shcp=43f4a2f9&idc=useast2b",
        "dynamic_cover": "https://p16-common-sign.tiktokcdn-eu.com/tos-maliva-p-0068/dc1c2b319b174c7eabd57ba4b191cc93~tplv-tiktokx-origin.image?dr=10395&x-expires=1796662800&x-signature=889yVpxx%2BIPzEOcQXyWYInfZ21A%3D&t=4d5b0474&ps=13740610&shp=81f88b70&shcp=43f4a2f9&idc=useast2b",
        "play_url": "https://v16-webapp-prime.tiktok.com/video/tos/alisg/tos-alisg-ve-37c799-sg/a9d18e19b850455597ce9421ea84a228/?a=1988&bti=ODszNWYuMDE6&&bt=2188&ft=WcSzINTYVQ9wUGOGrtW.CJkHgQ7ohdxwiIjFKvRrbF_4&mime_type=video_mp4&rc=PDo2NWU3M2U8ZTM1PGk2ZEBpM245aWhvZ3U4bjMzZzczM0AxL2BiXi8tNTExYF82YjYzYSMzc29gcGdnMXJfLS01MTZzcw%3D%3D&expire=1796664655&l=20261205173044F0DCBAD5C83D0F47ADB9&ply_type=2&policy=2&signature=473d86e388cf2ff3cd6b391d4bf3524a&tk=tt_chain_token&btag=e000b0000",
        "download_url": null
    },
    "images": [],
    "music": {
        "id": "6689804660171082501",
        "title": "original sound",
        "author": "tiff",
        "album": null,
        "duration": 10,
        "original": true,
        "cover": "https://p16-common-sign.tiktokcdn-eu.com/tos-maliva-avt-0068/62c59c8c91226b51c36d2338519eb63e~tplv-tiktokx-cropcenter:1080:1080.jpeg?dr=10399&refresh_token=a08fd8ae&x-expires=1796662800&x-signature=pdJ2%2FCuI7N0a7%2Br2qNFhlObUGPI%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=useast2b",
        "play_url": "https://v45.tiktokcdn-eu.com/39deff2fb1bf59caefffa61ad6f40299/6b159bcf/video/tos/useast2a/tos-useast2a-v-27dcd7/fdec9588d6684e7d97da29739b9d0abf/?a=1233&bti=ODszNWYuMDE6&&bt=125&ft=cD1VS7z7ThWHw0wR9GZmo0P&mime_type=audio_mpeg&rc=am48ZmQ6ZnFxNzMzNzU8M0Bpam48ZmQ6ZnFxNzMzNzU8M0BpNWRhcjRfaGBgLS1kMTZzYSNpNWRhcjRfaGBgLS1kMTZzcw%3D%3D&vvpl=1&l=20261205173044F0DCBAD5C83D0F47ADB9&btag=e00075000&sp_exp=hash_v0"
    },
    "hashtags": [
        {
            "id": "88764338",
            "name": "foryoupage"
        },
        {
            "id": "1591463963924482",
            "name": "PetsOfTikTok"
        },
        {
            "id": "22816",
            "name": "aesthetic"
        },
        {
            "id": "1640531969897478",
            "name": "bonevoyage"
        }
    ],
    "language": "en",
    "location_created": "US",
    "pinned": null,
    "ad": true,
    "ai_generated": false,
    "duet_enabled": true,
    "stitch_enabled": true,
    "share_enabled": true,
    "mentions": [],
    "subtitles": [],
    "suggested_searches": [],
    "location": null
}
获取视频详情 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/16091/tiktok+api/46075/get+video+details?video_id=6718335390845095173' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
按 TikTok 显示的顺序返回 TikTok 视频的评论,每页 50 条,并附上评论总数;每条评论包含其 ID、文本、日期、点赞数、回复数、作者是否点赞或置顶、语言、标签、照片以及评论者。将某页的“next_cursor”作为下一页的“cursor”传入
Endpoint ID: 46076
GET https://zylalabs.com/api/16091/tiktok+api/46076/get+video+comments
输入参数

获取视频评论 — 端点功能

对象 描述
video_id 必需 Id of the video or photo post (e.g. "6718335390845095173"), its link or a short share link (vm.tiktok.com).
cursor 可选 Optional "next_cursor" of the previous page.

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


输入参数

video_id
cursor
API 示例响应
JSON
{
    "total": 5493,
    "comments": [
        {
            "id": "6718336105873702917",
            "text": "Well it’s pretty easy...and obvious 😂 hlysa",
            "created_at": "2019-07-27T13:35:22Z",
            "likes": 340,
            "replies": 49,
            "liked_by_author": true,
            "pinned_by_author": false,
            "language": "un",
            "reply_to_comment_id": null,
            "reply_to_reply_id": null,
            "labels": [
                "Liked by creator"
            ],
            "images": [],
            "user": {
                "id": "6627564337508761605",
                "username": "pretzelsticks0",
                "nickname": "Quit",
                "sec_uid": "MS4wLjABAAAABCmZv8sEMzxVXCLVjoVUMYM465WA0BMplKB9c7y5WWXDpV0OykgbTV3qOf0Jbleg",
                "avatar": "https://p16-common-sign.tiktokcdn-eu.com/tos-maliva-avt-0068/7328085019259748357~tplv-tiktokx-cropcenter:100:100.jpg?dr=10399&refresh_token=43f03be1&x-expires=1796576400&x-signature=ye3n7mQOc%2BnMIUbrtVS2g65AobU%3D&t=4d5b0474&ps=13740610&shp=30310797&shcp=ff37627b&idc=useast2b"
            }
        },
        {
            "id": "6718339044138598406",
            "text": "ELFIX, its not going to be hard to guess",
            "created_at": "2019-07-27T13:46:46Z",
            "likes": 3,
            "replies": 11,
            "liked_by_author": false,
            "pinned_by_author": false,
            "language": "un",
            "reply_to_comment_id": null,
            "reply_to_reply_id": null,
            "labels": [],
            "images": [],
            "user": {
                "id": "106319007875579904",
                "username": "notactiveamga",
                "nickname": "No Longer Active",
                "sec_uid": "MS4wLjABAAAA9-3fRCUOzaYsxKiPP8fAchaY2jbs45umeIOfEfOxM_G8j9sJ7-0rBy86SWaOAork",
                "avatar": "https://p16-common-sign.tiktokcdn-eu.com/tos-maliva-avt-0068/7321410639860793350~tplv-tiktokx-cropcenter:100:100.jpg?dr=10399&refresh_token=c81bef2d&x-expires=1796576400&x-signature=T9PmwWl8YDVMt%2Ffugo5b%2FQZngR4%3D&t=4d5b0474&ps=13740610&shp=30310797&shcp=ff37627b&idc=useast2b"
            }
        },
        {
            "id": "6722043930156417030",
            "text": "srii good luck",
            "created_at": "2019-08-06T13:23:37Z",
            "likes": 53,
            "replies": 36,
            "liked_by_author": false,
            "pinned_by_author": false,
            "language": "un",
            "reply_to_comment_id": null,
            "reply_to_reply_id": null,
            "labels": [],
            "images": [],
            "user": {
                "id": "6718326650415203333",
                "username": "vsco_room_xx",
                "nickname": "vsco_room_xx",
                "sec_uid": "MS4wLjABAAAArG6B4beBhFRzOVGzxvDgAKuz2yK0AHG9jfU6PiSjFoIPrtYEASAPir_quhWWPs-4",
                "avatar": "https://p16-common-sign.tiktokcdn-eu.com/tos-maliva-avt-0068/7331407432645509126~tplv-tiktokx-cropcenter:100:100.jpg?dr=10399&refresh_token=a051af86&x-expires=1796576400&x-signature=zAlkcN6ZmdCCCsAVSpI6XF5SsZg%3D&t=4d5b0474&ps=13740610&shp=30310797&shcp=ff37627b&idc=useast2b"
            }
        },
        {
            "id": "6718335906996502534",
            "text": "ok ;)\nodoreta\nhave fun~\n(it's a Serbian name)",
            "created_at": "2019-07-27T13:34:35Z",
            "likes": 166,
            "replies": 20,
            "liked_by_author": false,
            "pinned_by_author": false,
            "language": "un",
            "reply_to_comment_id": null,
            "reply_to_reply_id": null,
            "labels": [],
            "images": [],
            "user": {
                "id": "6650133637952618502",
                "username": "flamigo_kisses",
                "nickname": "flamigoo",
                "sec_uid": "MS4wLjABAAAA2MsvjMy0b24-FHIEBfHzeBhZelr6GpESRqTxE-LAA5ByJY5rSolRWE3rXB4Mfqt6",
                "avatar": "https://p16-common-sign.tiktokcdn-eu.com/tos-maliva-avt-0068/7336370956674203653~tplv-tiktokx-cropcenter:100:100.jpg?dr=10399&refresh_token=b5f71613&x-expires=1796576400&x-signature=NTqAMgwV1qi%2FO0ii%2BpDt6eIoO6U%3D&t=4d5b0474&ps=13740610&shp=30310797&shcp=ff37627b&idc=useast2b"
            }
        },
        {
            "id": "6722782645845327877",
            "text": "None of you can get it nayaa",
            "created_at": "2019-08-08T13:10:12Z",
            "likes": 22,
            "replies": 27,
            "liked_by_author": false,
            "pinned_by_author": false,
            "language": "un",
            "reply_to_comment_id": null,
            "reply_to_reply_id": null,
            "labels": [],
            "images": [],
            "user": {
                "id": "6658789207961976838",
                "username": "maybe_its_ayana",
                "nickname": "⭐️Ayana⭐️",
                "sec_uid": "MS4wLjABAAAAriNgx08cSQ4nj5B-TcLCLTDq15oMjiIoS-HNHUk-m9Cx2EXDhoWHUWjaYy9Bd5EW",
                "avatar": "https://p16-common-sign.tiktokcdn-eu.com/tos-maliva-avt-0068/ba7862855375b367b7749d6d0fc02629~tplv-tiktokx-cropcenter:100:100.jpg?dr=10399&refresh_token=7f322614&x-expires=1796576400&x-signature=pHMq2%2BaY8Plrb973HAC2VjCdV88%3D&t=4d5b0474&ps=13740610&shp=30310797&shcp=ff37627b&idc=useast2b"
            }
        },
        {
            "id": "7625100944061334303",
            "text": "I asked ChatGPT to give me a link to any random TikTok and it gave me a link to this video",
            "created_at": "2026-04-05T02:46:23Z",
            "likes": 0,
            "replies": 1,
            "liked_by_author": false,
            "pinned_by_author": false,
            "language": "en",
            "reply_to_comment_id": null,
            "reply_to_reply_id": null,
            "labels": [],
            "images": [],
            "user": {
                "id": "7009438244938499077",
                "username": "theshrivler",
                "nickname": "TheShrivler",
                "sec_uid": "MS4wLjABAAAARXh_wlhlrlZ7skzh05LryKA2QMeM6e3MbAkoUc5byd6j5b6BlJMT10gBkuC3pMqP",
                "avatar": "https://p16-common-sign.tiktokcdn-eu.com/tos-maliva-avt-0068/0b87fb4360849ce1390773adc9e497cf~tplv-tiktokx-cropcenter:100:100.jpg?dr=10399&refresh_token=eb5a679e&x-expires=1796576400&x-signature=Y9IFXOEYYux%2FuKjCw7%2FkTqE%2BrkI%3D&t=4d5b0474&ps=13740610&shp=30310797&shcp=ff37627b&idc=useast2b"
            }
        }
    ],
    "next_cursor": "50"
}
获取视频评论 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/16091/tiktok+api/46076/get+video+comments?video_id=6718335390845095173' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回 TikTok 视频评论的回复 每页 50 条 并附带回复总数 每条回复包含其 ID 文本 日期 点赞数 作者是否点赞 回复对象以及撰写该回复的用户 将某一页的 next_cursor 作为下一页的 cursor 传入
Endpoint ID: 46077
GET https://zylalabs.com/api/16091/tiktok+api/46077/get+comment+replies
输入参数

获取评论回复 — 端点功能

对象 描述
video_id 必需 Id of the video or photo post (e.g. "6718335390845095173"), its link or a short share link (vm.tiktok.com).
comment_id 必需 Id of the comment (e.g. "6718336105873702917"), as returned in "id" by the /video/comments endpoint.
cursor 可选 Optional "next_cursor" of the previous page.

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


输入参数

video_id
comment_id
cursor
API 示例响应
JSON
{
    "total": 49,
    "comments": [
        {
            "id": "6718345696363233285",
            "text": "Ashly by any chance?😂",
            "created_at": "2019-07-27T14:12:34Z",
            "likes": 1,
            "replies": null,
            "liked_by_author": false,
            "pinned_by_author": null,
            "language": "un",
            "reply_to_comment_id": "6718336105873702917",
            "reply_to_reply_id": null,
            "labels": [],
            "images": [],
            "user": {
                "id": "6631945109157986309",
                "username": "holllywhat",
                "nickname": "holly",
                "sec_uid": "MS4wLjABAAAASBdNvlQpH_r0lPovzdKCvf1r0wiiWUWN5RcA5bMdLf85nYChM03zY7wGA_89wCSN",
                "avatar": "https://p16-common-sign.tiktokcdn-eu.com/tos-no1a-avt-0068c001-no/40064b56625a35d0fc3300a738197961~tplv-tiktokx-cropcenter:100:100.jpg?dr=10399&refresh_token=096332b2&x-expires=1796576400&x-signature=MLgtTnqSSRdKvKX7xNYUhZhuwfU%3D&t=4d5b0474&ps=13740610&shp=30310797&shcp=ff37627b&idc=useast2b"
            }
        },
        {
            "id": "6718345776403693573",
            "text": "Yep 😂",
            "created_at": "2019-07-27T14:12:53Z",
            "likes": 4,
            "replies": null,
            "liked_by_author": false,
            "pinned_by_author": null,
            "language": "un",
            "reply_to_comment_id": "6718336105873702917",
            "reply_to_reply_id": "6718345696363233285",
            "labels": [],
            "images": [],
            "user": {
                "id": "6627564337508761605",
                "username": "pretzelsticks0",
                "nickname": "Quit",
                "sec_uid": "MS4wLjABAAAABCmZv8sEMzxVXCLVjoVUMYM465WA0BMplKB9c7y5WWXDpV0OykgbTV3qOf0Jbleg",
                "avatar": "https://p16-common-sign.tiktokcdn-eu.com/tos-maliva-avt-0068/7328085019259748357~tplv-tiktokx-cropcenter:100:100.jpg?dr=10399&refresh_token=43f03be1&x-expires=1796576400&x-signature=ye3n7mQOc%2BnMIUbrtVS2g65AobU%3D&t=4d5b0474&ps=13740610&shp=30310797&shcp=ff37627b&idc=useast2b"
            }
        },
        {
            "id": "6719113548494766085",
            "text": "Hmmmmm.... Bob! 😂",
            "created_at": "2019-07-29T15:52:14Z",
            "likes": 3,
            "replies": null,
            "liked_by_author": false,
            "pinned_by_author": null,
            "language": "un",
            "reply_to_comment_id": "6718336105873702917",
            "reply_to_reply_id": null,
            "labels": [],
            "images": [],
            "user": {
                "id": "6583414641883054085",
                "username": "reeselove_10",
                "nickname": "reese",
                "sec_uid": "MS4wLjABAAAAdY4ZuS0YPu7CWtcOlFpBSTcH2uAV6hPAhPehuOtaFpiX5VArUvpx6vYO0a5UndiO",
                "avatar": "https://p16-common-sign.tiktokcdn-eu.com/tos-maliva-avt-0068/80698d40f81650ee0cb7080152b46ffa~tplv-tiktokx-cropcenter:100:100.jpg?dr=10399&refresh_token=22d4a0cb&x-expires=1796576400&x-signature=jukl%2F4RD7VqLL6bVcK6ftUSChUQ%3D&t=4d5b0474&ps=13740610&shp=30310797&shcp=ff37627b&idc=useast2b"
            }
        },
        {
            "id": "6718459732870610949",
            "text": "Wait what is it???",
            "created_at": "2019-07-27T21:35:05Z",
            "likes": 3,
            "replies": null,
            "liked_by_author": false,
            "pinned_by_author": null,
            "language": "un",
            "reply_to_comment_id": "6718336105873702917",
            "reply_to_reply_id": null,
            "labels": [],
            "images": [],
            "user": {
                "id": "6613944567584849925",
                "username": "violeteasley_0",
                "nickname": "violet easley",
                "sec_uid": "MS4wLjABAAAA4_68jUUJm_dMeg5hz9Wnkk2H9T7Wvz88cd4orEWmK_4ouHPhSbro1oKbDwKfKqfi",
                "avatar": "https://p16-common-sign.tiktokcdn-eu.com/tos-maliva-avt-0068/7322142925336297518~tplv-tiktokx-cropcenter:100:100.jpg?dr=10399&refresh_token=e5965433&x-expires=1796576400&x-signature=YQ7sXWp1WrceOc6rDGYa04t5%2FAM%3D&t=4d5b0474&ps=13740610&shp=30310797&shcp=ff37627b&idc=useast2b"
            }
        },
        {
            "id": "6718419204334895110",
            "text": "Ashly your user name",
            "created_at": "2019-07-27T18:57:49Z",
            "likes": 3,
            "replies": null,
            "liked_by_author": false,
            "pinned_by_author": null,
            "language": "un",
            "reply_to_comment_id": "6718336105873702917",
            "reply_to_reply_id": null,
            "labels": [],
            "images": [],
            "user": {
                "id": "164615720943693824",
                "username": "j.ada.m.arie",
                "nickname": "Jada",
                "sec_uid": "MS4wLjABAAAAP2ZY8jsAeKm6-GLtCOwoD4ub_JhNumQ7ldO03vEiEJWAY-SqTR0jt1qnko2nWVPu",
                "avatar": "https://p16-common-sign.tiktokcdn-eu.com/tos-maliva-avt-0068/8de33943f116aa2930d32207335ff4a9~tplv-tiktokx-cropcenter:100:100.jpg?dr=10399&refresh_token=d7354555&x-expires=1796576400&x-signature=0F6FdBJ%2FFz7E5AInNWnY1Ht5P%2FE%3D&t=4d5b0474&ps=13740610&shp=30310797&shcp=ff37627b&idc=useast2b"
            }
        }
    ],
    "next_cursor": null
}
获取评论回复 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/16091/tiktok+api/46077/get+comment+replies?video_id=6718335390845095173&comment_id=6718336105873702917' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回一个 TikTok 播放列表:其 ID、名称、视频数量、封面和创作者
Endpoint ID: 46078
GET https://zylalabs.com/api/16091/tiktok+api/46078/get+playlist+details
输入参数

获取播放列表详情 — 端点功能

对象 描述
playlist_id 必需 Id of the playlist (e.g. "7681171537575824159"), as returned in "id" by the /user/playlists endpoint, or its link.

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


输入参数

playlist_id
API 示例响应
JSON
{
    "id": "7681171537575824159",
    "name": "Songs Of The Summer 2026",
    "videos": 3,
    "cover": "https://p16-common-sign.tiktokcdn-eu.com/tos-useast8-p-0068-tx2/o8UZ7AA11Ciogu5XByiiAPBcCSAIMnAIEBfaK7~tplv-tiktokx-origin.image?dr=10395&x-expires=1796511600&x-signature=fw2%2Fi57T5BYZhMJ7zylmbH2u%2FA8%3D&t=4d5b0474&ps=13740610&shp=81f88b70&shcp=43f4a2f9&idc=useast2b",
    "creator": {
        "id": "107955",
        "username": "tiktok",
        "nickname": "TikTok",
        "sec_uid": "MS4wLjABAAAAv7iSuuXDJGDvJkmH_vz1qkDZYo1apxgzaxdBSeIuPiM",
        "avatar": "https://p16-common-sign.tiktokcdn-eu.com/tos-maliva-avt-0068/ba67b11de451691939223e9d978e613a~tplv-tiktokx-cropcenter:1080:1080.jpeg?dr=10399&refresh_token=ae0ffb31&x-expires=1796662800&x-signature=g3v4Rc2ydsvyGOdicUoR8DxRQnU%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=useast2b"
    }
}
获取播放列表详情 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/16091/tiktok+api/46078/get+playlist+details?playlist_id=7681171537575824159' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
按顺序返回 TikTok 播放列表中的视频 每页 30 个 每个视频包含其 ID 描述 日期 链接 作者 统计数据 视频 音乐和话题标签 将某一页的“next_cursor”作为下一页的“cursor”传入
Endpoint ID: 46079
GET https://zylalabs.com/api/16091/tiktok+api/46079/get+playlist+videos
输入参数

获取播放列表视频 — 端点功能

对象 描述
playlist_id 必需 Id of the playlist (e.g. "7681171537575824159"), as returned in "id" by the /user/playlists endpoint, or its link.
cursor 可选 Optional "next_cursor" of the previous page.

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


输入参数

playlist_id
cursor
API 示例响应
JSON
{
    "videos": [
        {
            "id": "7680721699171601694",
            "description": "this summer was all about the classic hits. here's to the ones that never got away 💿 #SongsofTheSummer2026",
            "created_at": "2026-09-02T00:03:08Z",
            "url": "https://www.tiktok.com/@tiktok/video/7680721699171601694",
            "type": "video",
            "author": {
                "id": "107955",
                "username": "tiktok",
                "nickname": "TikTok",
                "sec_uid": "MS4wLjABAAAAv7iSuuXDJGDvJkmH_vz1qkDZYo1apxgzaxdBSeIuPiM",
                "avatar": "https://p16-common-sign.tiktokcdn-eu.com/tos-maliva-avt-0068/ba67b11de451691939223e9d978e613a~tplv-tiktokx-cropcenter:1080:1080.jpeg?dr=10399&refresh_token=ae0ffb31&x-expires=1796662800&x-signature=g3v4Rc2ydsvyGOdicUoR8DxRQnU%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=useast2b",
                "verified": true
            },
            "stats": {
                "views": 534400,
                "likes": 26700,
                "comments": 5702,
                "shares": 2450,
                "saves": 3029,
                "reposts": 0
            },
            "video": {
                "duration": 56,
                "width": 720,
                "height": 1280,
                "quality": "720p",
                "format": "mp4",
                "codec": "h264",
                "bitrate": 1054102,
                "size": 7384384,
                "cover": "https://p16-common-sign.tiktokcdn-eu.com/tos-useast8-p-0068-tx2/o8UZ7AA11Ciogu5XByiiAPBcCSAIMnAIEBfaK7~tplv-tiktokx-origin.image?dr=10395&x-expires=1796662800&x-signature=rdV28peR2Xyq5nzDDA%2Fs%2FkypNSs%3D&t=4d5b0474&ps=13740610&shp=81f88b70&shcp=43f4a2f9&idc=useast2b",
                "origin_cover": "https://p16-common-sign.tiktokcdn-eu.com/tos-useast8-p-0068-tx2/okRCsQKfutVAwB3zlbEfCFLIjI3D0A4qxQf0du~tplv-tiktokx-origin.image?dr=10395&x-expires=1796662800&x-signature=WgTrrEjOlTanMVZKgxqchCS5pzk%3D&t=4d5b0474&ps=13740610&shp=81f88b70&shcp=43f4a2f9&idc=useast2b",
                "dynamic_cover": "https://p16-common-sign.tiktokcdn-eu.com/tos-useast8-p-0068-tx2/o8UZ7AA11Ciogu5XByiiAPBcCSAIMnAIEBfaK7~tplv-tiktokx-origin.image?dr=10395&x-expires=1796662800&x-signature=rdV28peR2Xyq5nzDDA%2Fs%2FkypNSs%3D&t=4d5b0474&ps=13740610&shp=81f88b70&shcp=43f4a2f9&idc=useast2b",
                "play_url": "https://v16-webapp-prime.tiktok.com/video/tos/alisg/tos-alisg-ve-37c799-sg/ogxOEIAFdQFtcjgA0ZILu4Is1wzfDfpCqe0Vlu/?a=1988&bti=ODszNWYuMDE6&&bt=1029&ft=WcSzINTYVQ9wUGOGrtW.CJkHgQ7ohdxwiwKZea4N7F_4&mime_type=video_mp4&rc=aGhoO2k8OjdmaTs1PDUzaUBpM3E1N3A5cjpwZDMzaTczNEAuLl41Xy80NTYxMTUzLWBiYSNgcWtxMmRzYl9hLS1kMTJzcw%3D%3D&expire=1796664701&l=202612051730452464287C52E00EDE1E6C&ply_type=2&policy=2&signature=0ac48e443ed76f4717543bbcc8a20c96&tk=tt_chain_token&btag=e00088000",
                "download_url": "https://v16-webapp-prime.tiktok.com/video/tos/alisg/tos-alisg-ve-37c799-sg/oMiGEq6f7A3I4OCIPaS16QiOYg6BSiAiAu2mXA/?a=1988&bti=ODszNWYuMDE6&&bt=951&ft=WcSzINTYVQ9wUGOGrtW.CJkHgQ7ohdxwiwKZea4N7F_4&mime_type=video_mp4&rc=OTVoODZmNWZkZWVpZ2U3ZkBpM3E1N3A5cjpwZDMzaTczNEAyNTZfXmFhNTAxL2M2LV4vYSNgcWtxMmRzYl9hLS1kMTJzcw%3D%3D&expire=1796664701&l=202612051730452464287C52E00EDE1E6C&ply_type=2&policy=2&signature=f04e5db04fd304b99670f7940f16f0c5&tk=tt_chain_token&btag=e00088000"
            },
            "images": [],
            "music": {
                "id": "7680721756763523871",
                "title": "original sound",
                "author": "TikTok",
                "album": null,
                "duration": 56,
                "original": true,
                "cover": "https://p16-common-sign.tiktokcdn-eu.com/tos-maliva-avt-0068/ba67b11de451691939223e9d978e613a~tplv-tiktokx-cropcenter:1080:1080.jpeg?dr=10399&refresh_token=ae0ffb31&x-expires=1796662800&x-signature=g3v4Rc2ydsvyGOdicUoR8DxRQnU%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=useast2b",
                "play_url": "https://v45.tiktokcdn-eu.com/da17f78ab337f04c0afd8fd0221909be/6b159bfd/video/tos/alisg/tos-alisg-ve-2370c799-sg/oIvqHna0SvR1CAVNmd6pgDrl8iLApBDiMIVts/?a=1233&bti=ODszNWYuMDE6&&bt=125&ft=cD1VS7z7ThWHw0wR9GZmo0P&mime_type=audio_mpeg&rc=NDdkODdmNmhpZzwzZmg2ZkBpam5qcm85cmlwZDMzaTU8NEAuLzNjNDVgNWMxMmJjLzEuYSNeYzJoMmRrY19hLS1kMTJzcw%3D%3D&vvpl=1&l=202612051730452464287C52E00EDE1E6C&btag=e0008d000&sp_exp=hash_v0"
            },
            "hashtags": [
                {
                    "id": "7662843705761792030",
                    "name": "songsofthesummer2026"
                }
            ],
            "language": "en",
            "location_created": null,
            "pinned": null,
            "ad": false,
            "ai_generated": null,
            "duet_enabled": true,
            "stitch_enabled": true,
            "share_enabled": true
        }
    ],
    "next_cursor": null
}
获取播放列表视频 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/16091/tiktok+api/46079/get+playlist+videos?playlist_id=7681171537575824159' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回 TikTok 发现页面在某个国家推荐的热门创作者,每位创作者包含其 ID、用户名、昵称、sec_uid、简介、头像、账号是否经过认证,以及粉丝数、关注数、获赞数和视频数
Endpoint ID: 46080
GET https://zylalabs.com/api/16091/tiktok+api/46080/get+popular+creators
输入参数

获取热门创作者 — 端点功能

对象 描述
country 可选 Optional two-letter country code (defaults to "US").

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


输入参数

country
API 示例响应
JSON
[
    {
        "id": "126223816648822784",
        "username": "rauwalejandro",
        "nickname": "rauwalejandro",
        "sec_uid": "MS4wLjABAAAA7pFJYt0Ui6BV6xS9xncL3Zi1NsHEmfdn2t6sMY1yulhbrSWQ29xtwpUQFml62_q0",
        "bio": "Puertorrican R&B/Reggaeton singer 🇵🇷",
        "avatar": "https://p19-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/d6c6315ea52b8a304a0c7ba20e4d87e4~tplv-tiktokx-cropcenter:100:100.jpeg?dr=9640&refresh_token=f52007b2&x-expires=1796662800&x-signature=qRoZ94FuJ0m42Yllu6qE7uzZcdU%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=useast5",
        "verified": true,
        "followers": 18900000,
        "following": 0,
        "likes": 232200000,
        "videos": 111,
        "url": "https://www.tiktok.com/@rauwalejandro"
    },
    {
        "id": "7371920670069376046",
        "username": "lalalalisa_m",
        "nickname": "LISA",
        "sec_uid": "MS4wLjABAAAAsdz-QVACDNbPLM3bp3-q32G3Mhx_6ccZ6OwaDlBDO7Ap4ooxrEpC4HeUC0kytRz1",
        "bio": "🖤💗",
        "avatar": "https://p16-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/03f66a57a6d647f4fa2d3698d1fd714b~tplv-tiktokx-cropcenter:100:100.jpeg?dr=9640&refresh_token=91d2cb88&x-expires=1796662800&x-signature=NIoNOXirklPVJquPDvUd1LvdnSk%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=useast5",
        "verified": true,
        "followers": 30000000,
        "following": 0,
        "likes": 488200000,
        "videos": 116,
        "url": "https://www.tiktok.com/@lalalalisa_m"
    },
    {
        "id": "7282772529965220910",
        "username": "jennierubyjane",
        "nickname": "JENNIE",
        "sec_uid": "MS4wLjABAAAAIopgkmIjiRd561f4uXwoUcU_TAdWu5aW8K_oApjbpzt73VAqE3erAcNdrrbUWjHC",
        "bio": "J",
        "avatar": "https://p19-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/3559896f0db4c1982e01d56eaaebbb44~tplv-tiktokx-cropcenter:100:100.jpeg?dr=9640&refresh_token=f7543fc4&x-expires=1796662800&x-signature=5bKapMp6NxDnnNyEYiV%2FkbR2yKE%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=useast5",
        "verified": true,
        "followers": 26500000,
        "following": 1,
        "likes": 492600000,
        "videos": 93,
        "url": "https://www.tiktok.com/@jennierubyjane"
    },
    {
        "id": "6656913964248088581",
        "username": "dojacat",
        "nickname": "Doja Cat",
        "sec_uid": "MS4wLjABAAAAXvlb5a78QwIAZegmnfJnnKGC2ZfXaC672rP7_PwtVK8lPgqC1O-Qh13yqOB9xqhI",
        "bio": null,
        "avatar": "https://p19-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/0d30bd51ab138b667a5f71b1008d59cf~tplv-tiktokx-cropcenter:100:100.jpeg?dr=9640&refresh_token=089a70ab&x-expires=1796662800&x-signature=fAhqWdxbzF7d36eUdxjsyLtzCT0%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=useast5",
        "verified": true,
        "followers": 29800000,
        "following": 104,
        "likes": 179500000,
        "videos": 237,
        "url": "https://www.tiktok.com/@dojacat"
    },
    {
        "id": "6693590239291917318",
        "username": "theweeknd",
        "nickname": "The Weeknd",
        "sec_uid": "MS4wLjABAAAAG3YiXquuv2-O3z4OJpF1-cVHMKpx_JYmOsprbBrmY_MolxRsfK-gkZ4evQpTptGk",
        "bio": null,
        "avatar": "https://p16-common-sign.tiktokcdn-us.com/tos-useast8-avt-0068-tx2/d908e4b32845e2c472b9f0d16575c6d4~tplv-tiktokx-cropcenter:100:100.jpeg?dr=9640&refresh_token=401aed72&x-expires=1796662800&x-signature=nXpSRzYnr05jsSgRX3rF6hKpE1w%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=useast5",
        "verified": true,
        "followers": 11500000,
        "following": 0,
        "likes": 82400000,
        "videos": 7,
        "url": "https://www.tiktok.com/@theweeknd"
    },
    {
        "id": "6621955904844021765",
        "username": "rihanna",
        "nickname": "Rihanna",
        "sec_uid": "MS4wLjABAAAAd04PpJrQJrRv5QpeLCz-tj41zTwuemXz6WBpyycnVNGeYqJjlOzJ5fpV9QWK5h4B",
        "bio": null,
        "avatar": "https://p19-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/87af89d91db92fdcafce6bab86d41f00~tplv-tiktokx-cropcenter:100:100.jpeg?dr=9640&refresh_token=ed5b3d35&x-expires=1796662800&x-signature=KyYiDk535Y35gj90XC265lmPVEk%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=useast5",
        "verified": true,
        "followers": 17200000,
        "following": 0,
        "likes": 87200000,
        "videos": 43,
        "url": "https://www.tiktok.com/@rihanna"
    },
    {
        "id": "6760381874016912390",
        "username": "livbedumb",
        "nickname": "Olivia Rodrigo",
        "sec_uid": "MS4wLjABAAAAnb7UrYm7BoqTzDSu6XphP68sueqPwuXJeHhJcYMye9NNlA7-nh427qHb_e-Al5ES",
        "bio": "spicy pisces",
        "avatar": "https://p19-common-sign.tiktokcdn-us.com/tos-maliva-avt-0068/7310859312619782150~tplv-tiktokx-cropcenter:100:100.jpeg?dr=9640&refresh_token=58f661eb&x-expires=1796662800&x-signature=DGDgjooEL33YDUX1Nqpbw460o0k%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=useast5",
        "verified": true,
        "followers": 28800000,
        "following": 0,
        "likes": 587100000,
        "videos": 212,
        "url": "https://www.tiktok.com/@livbedumb"
    }
]
获取热门创作者 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/16091/tiktok+api/46080/get+popular+creators' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回 TikTok 在某个国家的发现页面展示的话题标签,包括每个标签的 ID、名称、描述和观看次数
Endpoint ID: 46081
GET https://zylalabs.com/api/16091/tiktok+api/46081/get+popular+hashtags
输入参数

获取热门标签 — 端点功能

对象 描述
country 可选 Optional two-letter country code (defaults to "US").

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


输入参数

country
API 示例响应
JSON
[
    {
        "id": "7714428066285486094",
        "name": "tiktokgotheme",
        "description": null,
        "views": 10500,
        "url": "https://www.tiktok.com/tag/tiktokgotheme"
    },
    {
        "id": "7688232910624981006",
        "name": "tiktokgoevents",
        "description": null,
        "views": 7120,
        "url": "https://www.tiktok.com/tag/tiktokgoevents"
    },
    {
        "id": "7691439382611361806",
        "name": "tiktokgothemes",
        "description": null,
        "views": 6200000,
        "url": "https://www.tiktok.com/tag/tiktokgothemes"
    },
    {
        "id": "7415820094837948446",
        "name": "tiktokshopholidayhaul",
        "description": null,
        "views": 40500000000,
        "url": "https://www.tiktok.com/tag/tiktokshopholidayhaul"
    },
    {
        "id": "7538258751426396215",
        "name": "ttgostay",
        "description": null,
        "views": 11600000,
        "url": "https://www.tiktok.com/tag/ttgostay"
    },
    {
        "id": "7709294610530435093",
        "name": "ttgomademebook",
        "description": null,
        "views": 31900000,
        "url": "https://www.tiktok.com/tag/ttgomademebook"
    },
    {
        "id": "1693428793217029",
        "name": "lewishamiltonchallenge",
        "description": null,
        "views": 135300000,
        "url": "https://www.tiktok.com/tag/lewishamiltonchallenge"
    },
    {
        "id": "7701142521555976205",
        "name": "tiktokshopcollectiblescarnivals",
        "description": "Welcome to TikTok Shop Collectibles Carnivals where all collectibles is welcomed!",
        "views": 16000000,
        "url": "https://www.tiktok.com/tag/tiktokshopcollectiblescarnivals"
    },
    {
        "id": "7029514091618123822",
        "name": "blackfridayearlyaccess",
        "description": null,
        "views": 64000000,
        "url": "https://www.tiktok.com/tag/blackfridayearlyaccess"
    },
    {
        "id": "1674571239209989",
        "name": "discoveryourgift",
        "description": null,
        "views": 6700000000,
        "url": "https://www.tiktok.com/tag/discoveryourgift"
    }
]
获取热门标签 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/16091/tiktok+api/46081/get+popular+hashtags' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回 TikTok 在某个国家的发现页面展示的声音,每个声音包含其 ID、标题、作者、封面、使用该声音制作的视频数量和链接
Endpoint ID: 46082
GET https://zylalabs.com/api/16091/tiktok+api/46082/get+popular+sounds
输入参数

获取热门声音 — 端点功能

对象 描述
country 可选 Optional two-letter country code (defaults to "US").

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


输入参数

country
API 示例响应
JSON
[
    {
        "id": "6740248251825391617",
        "title": "Forever (From \"Euphoria: Season 1\" Soundtrack)",
        "author": "Labrinth",
        "cover": "https://p16-common.tiktokcdn-us.com/tos-alisg-v-2774/o8yiAEohEAkLAsdWEYAUpABIAsfDFotauwlzIh~tplv-tiktokx-cropcenter:100:100.jpeg?dr=9584&t=4d5b0474&ps=933b5bde&shp=08d74b56&shcp=81f88b70&idc=useast5",
        "videos": 3100000,
        "url": "https://www.tiktok.com/music/Forever-From-Euphoria-Season-1-Soundtrack-6740248251825391617"
    },
    {
        "id": "5000000001008467945",
        "title": "Quinceañera",
        "author": "Banda Machos",
        "cover": "https://p16-common.tiktokcdn-us.com/tos-alisg-v-2774/78ab24605f01407ca5a657502d22d021~tplv-tiktokx-cropcenter:100:100.jpeg?dr=9584&t=4d5b0474&ps=933b5bde&shp=08d74b56&shcp=81f88b70&idc=useast5",
        "videos": 88500,
        "url": "https://www.tiktok.com/music/Quinceañera-5000000001008467945"
    },
    {
        "id": "222453230176251905",
        "title": "Hasta la Raíz",
        "author": "Natalia Lafourcade",
        "cover": "https://p16-common.tiktokcdn-us.com/tos-alisg-v-2774/d33ece898368470bbcc14c8e2220f5a4~tplv-tiktokx-cropcenter:100:100.jpeg?dr=9584&t=4d5b0474&ps=933b5bde&shp=08d74b56&shcp=81f88b70&idc=useast5",
        "videos": 221000,
        "url": "https://www.tiktok.com/music/Hasta-la-Raíz-222453230176251905"
    },
    {
        "id": "6990410706927536902",
        "title": "The Assignment",
        "author": "taymoneyduh",
        "cover": "https://p16-common.tiktokcdn-us.com/tos-alisg-v-2774/okrtEliHA2oYHt4rAABBE11zst0wuACWAdi8fb~tplv-tiktokx-cropcenter:100:100.jpeg?dr=9584&t=4d5b0474&ps=933b5bde&shp=08d74b56&shcp=81f88b70&idc=useast5",
        "videos": 454500,
        "url": "https://www.tiktok.com/music/The-Assignment-6990410706927536902"
    },
    {
        "id": "6914711053674760193",
        "title": "drivers license",
        "author": "Olivia Rodrigo",
        "cover": "https://p16-common.tiktokcdn-us.com/tos-alisg-v-2774/o0I4IQEC0DCjfiARAHFiBZmABtng1BUNIrfVoE~tplv-tiktokx-cropcenter:100:100.jpeg?dr=9584&t=4d5b0474&ps=933b5bde&shp=08d74b56&shcp=81f88b70&idc=useast5",
        "videos": 832800,
        "url": "https://www.tiktok.com/music/drivers-license-6914711053674760193"
    },
    {
        "id": "6907566405198841857",
        "title": "Afterglow",
        "author": "Ed Sheeran",
        "cover": "https://p16-common.tiktokcdn-us.com/tos-alisg-v-2774/34b723d31d6d4cd49f5ef94a969321c4~tplv-tiktokx-cropcenter:100:100.jpeg?dr=9584&t=4d5b0474&ps=933b5bde&shp=08d74b56&shcp=81f88b70&idc=useast5",
        "videos": 218100,
        "url": "https://www.tiktok.com/music/Afterglow-6907566405198841857"
    },
    {
        "id": "6753170536311818242",
        "title": "Holly Jolly Christmas",
        "author": "Michael Bublé",
        "cover": "https://p16-common.tiktokcdn-us.com/tos-alisg-v-2774/35467ed0648143179b29ab41275f0c6f~tplv-tiktokx-cropcenter:100:100.jpeg?dr=9584&t=4d5b0474&ps=933b5bde&shp=08d74b56&shcp=81f88b70&idc=useast5",
        "videos": 110900,
        "url": "https://www.tiktok.com/music/Holly-Jolly-Christmas-6753170536311818242"
    },
    {
        "id": "6878744350931634950",
        "title": "Mayonaka no Door 〜 Stay with Me",
        "author": "Miki Matsubara",
        "cover": "https://p16-common.tiktokcdn-us.com/tos-alisg-v-2774/7af41feeb9d8449094a0e6c437e87db5~tplv-tiktokx-cropcenter:100:100.jpeg?dr=9584&t=4d5b0474&ps=933b5bde&shp=08d74b56&shcp=81f88b70&idc=useast5",
        "videos": 498100,
        "url": "https://www.tiktok.com/music/Mayonaka-no-Door-〜-Stay-with-Me-6878744350931634950"
    }
]
获取热门声音 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/16091/tiktok+api/46082/get+popular+sounds' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回 TikTok 在用户于搜索框中输入文本时为其推荐的搜索内容
Endpoint ID: 46083
GET https://zylalabs.com/api/16091/tiktok+api/46083/get+search+suggestions
输入参数

获取搜索建议 — 端点功能

对象 描述
query 必需 Text to get suggestions for (e.g. "cats").

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


输入参数

query
API 示例响应
JSON
[
    "cats sounds to attract",
    "cats aesthetic",
    "cat trend",
    "cat cute",
    "cat sounds to attract cat",
    "cats cracking up",
    "catfish filter",
    "cat sound",
    "cats",
    "cats funny video",
    "cats videos",
    "cats funny videos",
    "cats of tiktok"
]
获取搜索建议 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/16091/tiktok+api/46083/get+search+suggestions?query=cats' --header 'Authorization: Bearer YOUR_API_KEY' 


    

API 访问密钥和身份验证

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

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

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

(年度计费可节省 2 个月 🎉)

起价
$10,000/年


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

概览

短视频数据:用户资料、视频和照片帖子、转发、播放列表、直播间、包含统计数据和音乐的视频详情、评论和回复、热门创作者、话题标签和声音

TikTok API FAQs

它返回 TikTok 账户的标识符 用户名 显示名称 简介 头像 认证和隐私状态 账户统计数据 语言以及账户设置 还可能包含个人资料标签页 直播间详情和即将开始的直播活动

两个端点都会返回一个 `videos` 数组,其中包含帖子详情,例如 ID、描述、作者、链接和互动统计数据。用户视频可能包含照片帖子,并按发布时间从新到旧排序;转发内容包含用户转发的视频。将 `next_cursor` 用作 `cursor` 以获取下一页

获取视频详情会返回视频或照片帖子的元数据、作者、互动数据、媒体链接、音乐、话题标签及其他可用上下文,例如提及内容、字幕、标记位置以及人工智能生成或广告标识。根据帖子内容,某些字段可能缺失

获取视频评论会返回一个 `comments` 数组和评论总数。要获取回复,请对某条评论使用获取评论回复。两者每页最多返回 50 项;传入响应中的 `next_cursor` 作为 `cursor` 以继续

获取用户播放列表会列出创作者的播放列表及其 ID 名称视频数量封面和创作者详情 获取播放列表详情会返回一个播放列表的这些信息 获取播放列表视频会按播放列表顺序返回其中的帖子包括帖子元数据和媒体信息

响应包含一个 `is_live` 标志和一个 `room` 对象。当 `is_live` 为 false 时,房间表示用户最近一次直播,而非正在进行的直播;在将其观看人数或详情视为当前信息之前,请先检查该标志

这些端点会返回所选国家的发现数据:创作者资料和互动总数、带有描述和浏览量的标签,或带有标题、作者、封面、视频数量和链接的声音。使用国家参数请求地区发现列表

它会为提供的文本返回一组建议的搜索短语,例如相关主题或其他查询。响应是一个字符串数组,可显示为自动补全选项或用于引导搜索

一般常见问题

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