TikTok Comment API

API ID 15061

Public comments and replies of any TikTok video as JSON, page by page, with author, text, likes and reply counts. Real time, no TikTok login or cookies.

100% 正常运行时间 6,356 ms 平均响应

API 文档

端点

请求
一个公共资料,包含准确的关注者、关注、点赞和视频数量,个人简介,验证状态,地区和语言,以及最新的视频(最多15个)。私人账户返回没有视频的资料。将next_cursor传递给获取资料视频以获取更多信息
Endpoint ID: 39874
GET https://zylalabs.com/api/15061/tiktok+comment+api/39874/get+profile
输入参数

获取个人资料 — 端点功能

对象 描述
username 必需 A username (nasa), @nasa, or a profile link (https://www.tiktok.com/@nasa).

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


输入参数

username
API 示例响应
JSON
{
    "ok": true,
    "data": {
        "id": "7664638705177150477",
        "secUid": "MS4wLjABAAAAU9BRVzC8oCaegVnia8IbqWhPb_-dbU7s00Y3wS1_Nx8g5RUaYvyXrpejgjdxTwd6",
        "username": "nasa",
        "nickname": "NASA",
        "url": "https://www.tiktok.com/@nasa",
        "bio": "Making the seemingly impossible, possible.",
        "bioLink": "science.nasa.gov/feature/artemis-ii-preliminary-lunar-science-report",
        "verified": true,
        "isPrivate": false,
        "avatarUrl": "https://p16-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/nasa-avatar.jpeg",
        "followers": 2186160,
        "following": 23,
        "likes": 11711252,
        "videos": 66,
        "friends": 17,
        "language": "en",
        "region": null,
        "isOrganization": true,
        "isSeller": false,
        "isBusiness": false,
        "scrapedAt": "2026-11-15T06:05:51.322Z",
        "latestVideos": [
            {
                "id": "7707774305056083213",
                "url": "https://www.tiktok.com/@nasa/video/7707774305056083213",
                "text": "From MAX POWER to Mars, it was a week to remember at NASA!",
                "textLanguage": "en",
                "createTime": 1794606078,
                "createTimeISO": "2026-11-13T21:41:18.000Z",
                "hashtags": [],
                "mentions": [],
                "playCount": 145200,
                "diggCount": 9771,
                "shareCount": 412,
                "commentCount": 111,
                "collectCount": 1004,
                "repostCount": 0,
                "duration": 58,
                "isSlideshow": false,
                "images": [],
                "isPinned": null,
                "isAd": false,
                "isAIGenerated": false,
                "locationCreated": "US",
                "location": null,
                "coverUrl": "https://p19-common-sign.tiktokcdn-us.com/tos-useast5-p-0068-tx/7707774305056083213-cover.image",
                "originalCoverUrl": "https://p16-common-sign.tiktokcdn-us.com/tos-useast5-p-0068-tx/7707774305056083213-origin.image",
                "dynamicCoverUrl": null,
                "playUrl": "https://v16-webapp-prime.us.tiktok.com/video/tos/useast5/7707774305056083213/",
                "width": 718,
                "height": 1276,
                "definition": "720p",
                "subtitles": [],
                "effects": [],
                "categories": [
                    "Science",
                    "Education"
                ],
                "music": {
                    "id": "7707774345707555598",
                    "title": "original sound - NASA",
                    "authorName": "NASA",
                    "album": null,
                    "isOriginal": false,
                    "duration": 58,
                    "coverUrl": "https://p19-common.tiktokcdn-us.com/tos-useast5-avt-0068-tx/nasa-avatar.jpeg",
                    "playUrl": "https://v19.tiktokcdn-us.com/audio/7707774345707555598/"
                },
                "author": {
                    "id": "7664638705177150477",
                    "secUid": "MS4wLjABAAAAU9BRVzC8oCaegVnia8IbqWhPb_-dbU7s00Y3wS1_Nx8g5RUaYvyXrpejgjdxTwd6",
                    "username": "nasa",
                    "nickname": "NASA",
                    "url": "https://www.tiktok.com/@nasa",
                    "verified": true,
                    "isPrivate": false,
                    "bio": "Making the seemingly impossible, possible.",
                    "avatarUrl": "https://p16-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/nasa-avatar.jpeg",
                    "followers": 2186160,
                    "following": 23,
                    "likes": 11711252,
                    "videos": 66
                }
            }
        ]
    },
    "next_cursor": "eyJ2IjoxLCJrIjoidmlkZW9zIiwidSI6Im5hc2EiLCJzIjoiTVM0d0xqQUJB..."
}
获取个人资料 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15061/tiktok+comment+api/39874/get+profile?username=nasa' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
个人资料的视频和照片帖子,按最新的优先排序,每页最多15个,每个都有播放、点赞、评论、分享和保存计数、标题、标签、日期、时长、封面、声音和作者。传递用户名以获取第一页,然后是光标
Endpoint ID: 39875
GET https://zylalabs.com/api/15061/tiktok+comment+api/39875/get+profile+videos
输入参数

获取个人资料视频 — 端点功能

对象 描述
username 可选 A username (nasa), @nasa, or a profile link. Required for the first page; later pages need only cursor.
cursor 可选 The next_cursor of the previous page, exactly as returned. Leave it out for the first page.

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


输入参数

username
cursor
API 示例响应
JSON
{
    "ok": true,
    "data": {
        "username": "nasa",
        "items": [
            {
                "id": "7695060950394703118",
                "url": "https://www.tiktok.com/@nasa/video/7695060950394703118",
                "text": "We just released hundreds of new images and hours of new audio from our Artemis II mission around the Moon this spring.",
                "textLanguage": "en",
                "createTime": 1791646017,
                "createTimeISO": "2026-10-10T15:26:57.000Z",
                "hashtags": [],
                "mentions": [],
                "playCount": 968300,
                "diggCount": 81700,
                "shareCount": 2766,
                "commentCount": 3512,
                "collectCount": 5173,
                "repostCount": 0,
                "duration": 43,
                "isSlideshow": false,
                "images": [],
                "isPinned": null,
                "isAd": false,
                "isAIGenerated": false,
                "locationCreated": "US",
                "location": null,
                "coverUrl": "https://p19-common-sign.tiktokcdn-us.com/tos-useast5-p-0068-tx/7695060950394703118-cover.image",
                "originalCoverUrl": "https://p16-common-sign.tiktokcdn-us.com/tos-useast5-p-0068-tx/7695060950394703118-origin.image",
                "dynamicCoverUrl": null,
                "playUrl": "https://v16-webapp-prime.us.tiktok.com/video/tos/useast5/7695060950394703118/",
                "width": 718,
                "height": 1276,
                "definition": "720p",
                "subtitles": [
                    {
                        "language": "eng-US",
                        "format": "webvtt",
                        "url": "https://v16m-webapp.tiktokcdn-us.com/7695060950394703118/subtitles.vtt",
                        "isAutoGenerated": true
                    }
                ],
                "effects": [],
                "categories": [
                    "Science",
                    "Education"
                ],
                "music": {
                    "id": "7695060940479384334",
                    "title": "original sound - NASA",
                    "authorName": "NASA",
                    "album": null,
                    "isOriginal": false,
                    "duration": 43,
                    "coverUrl": "https://p19-common.tiktokcdn-us.com/tos-useast5-avt-0068-tx/nasa-avatar.jpeg",
                    "playUrl": "https://v19.tiktokcdn-us.com/audio/7695060940479384334/"
                },
                "author": {
                    "id": "7664638705177150477",
                    "secUid": "MS4wLjABAAAAU9BRVzC8oCaegVnia8IbqWhPb_-dbU7s00Y3wS1_Nx8g5RUaYvyXrpejgjdxTwd6",
                    "username": "nasa",
                    "nickname": "NASA",
                    "url": "https://www.tiktok.com/@nasa",
                    "verified": true,
                    "isPrivate": false,
                    "bio": "Making the seemingly impossible, possible.",
                    "avatarUrl": "https://p16-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/nasa-avatar.jpeg",
                    "followers": 2186160,
                    "following": 23,
                    "likes": 11711252,
                    "videos": 66
                }
            }
        ]
    },
    "next_cursor": "eyJ2IjoxLCJrIjoidmlkZW9zIiwidSI6Im5hc2EiLCJzIjoiTVM0d0xqQUJB..."
}
获取个人资料视频 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15061/tiktok+comment+api/39875/get+profile+videos?username=nasa' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回一个公共视频的详细信息,包括其标题、统计信息、发布日期、时长、标签和作者
Endpoint ID: 39876
GET https://zylalabs.com/api/15061/tiktok+comment+api/39876/get+video+details
输入参数

获取视频详情 — 端点功能

对象 描述
url 必需 A video or photo post link, a short link shared from the app, or the numeric video id.

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


输入参数

url
API 示例响应
JSON
{
    "ok": true,
    "data": {
        "id": "7695060950394703118",
        "url": "https://www.tiktok.com/@nasa/video/7695060950394703118",
        "text": "We just released hundreds of new images and hours of new audio from our Artemis II mission around the Moon this spring.",
        "textLanguage": "en",
        "createTime": 1791646017,
        "createTimeISO": "2026-10-10T15:26:57.000Z",
        "hashtags": [],
        "mentions": [],
        "playCount": 968300,
        "diggCount": 81700,
        "shareCount": 2766,
        "commentCount": 3512,
        "collectCount": 5173,
        "repostCount": 0,
        "duration": 43,
        "isSlideshow": false,
        "images": [],
        "isPinned": null,
        "isAd": false,
        "isAIGenerated": false,
        "locationCreated": "US",
        "location": null,
        "coverUrl": "https://p19-common-sign.tiktokcdn-us.com/tos-useast5-p-0068-tx/7695060950394703118-cover.image",
        "originalCoverUrl": "https://p16-common-sign.tiktokcdn-us.com/tos-useast5-p-0068-tx/7695060950394703118-origin.image",
        "dynamicCoverUrl": null,
        "playUrl": "https://v16-webapp-prime.us.tiktok.com/video/tos/useast5/7695060950394703118/",
        "width": 718,
        "height": 1276,
        "definition": "720p",
        "subtitles": [
            {
                "language": "eng-US",
                "format": "webvtt",
                "url": "https://v16m-webapp.tiktokcdn-us.com/7695060950394703118/subtitles.vtt",
                "isAutoGenerated": true
            }
        ],
        "effects": [],
        "categories": [
            "Science",
            "Education"
        ],
        "music": {
            "id": "7695060940479384334",
            "title": "original sound - NASA",
            "authorName": "NASA",
            "album": null,
            "isOriginal": false,
            "duration": 43,
            "coverUrl": "https://p19-common.tiktokcdn-us.com/tos-useast5-avt-0068-tx/nasa-avatar.jpeg",
            "playUrl": "https://v19.tiktokcdn-us.com/audio/7695060940479384334/"
        },
        "author": {
            "id": "7664638705177150477",
            "secUid": "MS4wLjABAAAAU9BRVzC8oCaegVnia8IbqWhPb_-dbU7s00Y3wS1_Nx8g5RUaYvyXrpejgjdxTwd6",
            "username": "nasa",
            "nickname": "NASA",
            "url": "https://www.tiktok.com/@nasa",
            "verified": true,
            "isPrivate": false,
            "bio": "Making the seemingly impossible, possible.",
            "avatarUrl": "https://p16-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/nasa-avatar.jpeg",
            "followers": 2186160,
            "following": 23,
            "likes": 11711252,
            "videos": 66
        },
        "scrapedAt": "2026-11-15T06:06:01.374Z"
    },
    "next_cursor": null
}
获取视频详情 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15061/tiktok+comment+api/39876/get+video+details?url=https://www.tiktok.com/@nasa/video/7695060950394703118' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
视频的顶级评论,每页最多50条,包括文本、日期、点赞数、回复数以及创作者是否喜欢或固定了该评论。传递第一页的URL,然后是游标。使用comment_id则页面包含该评论的回复。
Endpoint ID: 39877
GET https://zylalabs.com/api/15061/tiktok+comment+api/39877/get+video+comments
输入参数

获取视频评论 — 端点功能

对象 描述
url 可选 A video or photo link, a short link from the app or the video id. Required for the first page; later pages need only cursor.
comment_id 可选 The id of one of the video's comments, to read that comment's replies instead of the video's comments. Later pages need only cursor.
cursor 可选 The next_cursor of the previous page, exactly as returned. Leave it out for the first page.

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


输入参数

url
comment_id
cursor
API 示例响应
JSON
{
    "ok": true,
    "data": {
        "videoId": "7695060950394703118",
        "commentId": null,
        "total": 3512,
        "items": [
            {
                "id": "7695100936662565646",
                "text": "Our home",
                "createTime": 1791655343,
                "createTimeISO": "2026-10-10T18:02:23.000Z",
                "diggCount": 1768,
                "replyCount": 74,
                "parentId": null,
                "likedByAuthor": true,
                "pinnedByAuthor": false,
                "language": "en",
                "author": {
                    "id": "1234567890123456789",
                    "username": "sample.account",
                    "nickname": "Sample Account",
                    "url": "https://www.tiktok.com/@sample.account",
                    "avatarUrl": "https://p16-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/sample-avatar.jpeg"
                }
            }
        ]
    },
    "next_cursor": "eyJ2IjoxLCJrIjoiY29tbWVudHMiLCJpIjoiNzY5NTA2MDk1MDM5NDcwMzExOCIs..."
}
获取视频评论 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15061/tiktok+comment+api/39877/get+video+comments?url=https://www.tiktok.com/@nasa/video/7695060950394703118' --header 'Authorization: Bearer YOUR_API_KEY' 


    

API 访问密钥和身份验证

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

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

无长期承诺。随时升级、降级或取消。

起价
$10,000/年


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

概览

Public TikTok data in real time as JSON: profiles with exact counts, a profile's videos, one video or photo post with its statistics, and comments with their replies.

TikTok Comment API FAQs

不 API 只读取公共数据 不需要登录 私人帐户不可用

列表端点返回next_cursor 将其作为光标参数传回以获取下一页直到next_cursor为null

是的. 调用评论端点并使用评论的comment_id来获取其回复

API返回404错误代码和消息而不是数据

每个端点以JSON格式返回特定的公共TikTok数据。“获取资料”端点提供资料详情,“获取资料视频”返回视频帖子,“获取视频详情”提供单个视频的信息,以及“获取视频评论”列出视频的评论

关键字段包括“用户名”“粉丝”“点赞”“视频”用于个人资料;“播放次数”“评论数”“时长”用于视频;以及“文本”“点赞数”“回复数”用于评论。每个端点都有与其数据类型相关的独特字段

参数包括用于获取个人资料视频的“用户名”,用于检索评论的“网址”,以及用于访问回复的“评论ID”。使用“下一光标”在支持多页面的端点中对结果进行分页

响应数据的结构包含一个顶层的“ok”字段,表示成功,后面是一个“data”对象,包含相关细节。例如,“获取个人资料”返回个人资料信息,而“获取视频评论”包括一个评论对象的数组

“获取个人资料”端点提供粉丝数量和个人简介“获取个人资料视频”包括视频统计“获取视频详情”提供字幕和指标“获取视频评论”列出用户评论和互动

用户可以分析用户参与度指标,如“播放次数”和“评论次数”来评估视频的受欢迎程度。档案数据可以为营销策略提供信息,而评论见解可以增强社区参与和内容相关性

典型的使用案例包括社交媒体分析 影响者营销 内容策略开发 和受众参与分析 企业可以利用这些数据来跟踪趋势并优化他们的TikTok表现

数据准确性通过直接从TikTok的公共资料和帖子获取信息来保持 API反映实时数据 确保用户访问最当前的统计信息和可用内容

一般常见问题

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