{
"data": {
"author": {
"id": "6812345019283746305",
"name": "maya.bakes",
"profileUrl": "https://www.tiktok.com/@maya.bakes",
"nickName": "Maya Bakes",
"verified": false,
"signature": "Sourdough, sheet pans and small kitchens.",
"bioLink": null,
"avatar": "https://example.com/images/maya-avatar.jpg",
"originalAvatarUrl": "https://example.com/images/maya-avatar-large.jpg",
"privateAccount": false,
"region": "US",
"fans": 48200,
"following": 312,
"heart": 1906400,
"video": 214,
"digg": 1870,
"friends": 96,
"ttSeller": false,
"commerceUserInfo": {
"commerceUser": false,
"category": null
},
"createTime": 1640995200
},
"secUid": "MS4wLjABAAAAexampleSecUidForMayaBakes0001",
"isPrivate": false
}
}
curl --location --request GET 'https://zylalabs.com/api/14860/tiktok+profile+and+video+data+api/38676/get+a+tiktok+profile?username=maya.bakes' --header 'Authorization: Bearer YOUR_API_KEY'
{
"data": [
{
"id": "7312950468372190215",
"text": "Five-minute focaccia for a Tuesday night #baking #homecooking",
"textLanguage": "en",
"createTime": 1767225600,
"createTimeISO": "2026-01-01T00:00:00.000Z",
"webVideoUrl": "https://www.tiktok.com/@maya.bakes/video/7312950468372190215",
"locationCreated": "US",
"isAd": false,
"isSponsored": false,
"isPinned": true,
"isSlideshow": false,
"authorMeta": {
"id": "6812345019283746305",
"name": "maya.bakes",
"profileUrl": "https://www.tiktok.com/@maya.bakes",
"nickName": "Maya Bakes",
"verified": false,
"signature": "Sourdough, sheet pans and small kitchens.",
"bioLink": null,
"avatar": "https://example.com/images/maya-avatar.jpg",
"originalAvatarUrl": "https://example.com/images/maya-avatar-large.jpg",
"privateAccount": false,
"region": "US",
"fans": 48200,
"following": 312,
"heart": 1906400,
"video": 214,
"digg": 1870,
"friends": 96,
"ttSeller": false,
"commerceUserInfo": {
"commerceUser": false,
"category": null
},
"createTime": 1640995200
},
"musicMeta": {
"musicId": "7000000000000000001",
"musicName": "original sound",
"musicAuthor": "maya.bakes",
"musicOriginal": true,
"musicAlbum": null,
"playUrl": "https://example.com/audio/original.mp3",
"coverMediumUrl": null,
"originalCoverMediumUrl": null
},
"videoMeta": {
"height": 1280,
"width": 720,
"duration": 47,
"coverUrl": "https://example.com/covers/focaccia.jpg",
"originalCoverUrl": "https://example.com/covers/focaccia-original.jpg",
"definition": "540p",
"format": "mp4",
"subtitleLinks": [],
"downloadAddr": "https://example.com/video/focaccia.mp4"
},
"diggCount": 15342,
"shareCount": 876,
"playCount": 402118,
"commentCount": 412,
"collectCount": 3021,
"repostCount": 54,
"mentions": [],
"detailedMentions": [],
"hashtags": [
{
"id": "1",
"name": "baking"
},
{
"id": "2",
"name": "homecooking"
}
],
"input": "maya.bakes",
"fromProfileSection": "videos"
}
],
"nextCursor": "eyJjIjoxNzY3MjI1NjAwMDAwfQ"
}
curl --location --request GET 'https://zylalabs.com/api/14860/tiktok+profile+and+video+data+api/38677/list+profile+videos?username=maya.bakes&cursor=eyJjIjoxNzY3MjI1NjAwMDAwfQ' --header 'Authorization: Bearer YOUR_API_KEY'
{
"data": {
"id": "7312950468372190215",
"text": "Five-minute focaccia for a Tuesday night #baking #homecooking",
"textLanguage": "en",
"createTime": 1767225600,
"createTimeISO": "2026-01-01T00:00:00.000Z",
"webVideoUrl": "https://www.tiktok.com/@maya.bakes/video/7312950468372190215",
"locationCreated": "US",
"isAd": false,
"isSponsored": false,
"isPinned": false,
"isSlideshow": false,
"authorMeta": {
"id": "6812345019283746305",
"name": "maya.bakes",
"profileUrl": "https://www.tiktok.com/@maya.bakes",
"nickName": "Maya Bakes",
"verified": false,
"signature": "Sourdough, sheet pans and small kitchens.",
"bioLink": null,
"avatar": "https://example.com/images/maya-avatar.jpg",
"originalAvatarUrl": "https://example.com/images/maya-avatar-large.jpg",
"privateAccount": false,
"region": "US",
"fans": 48200,
"following": 312,
"heart": 1906400,
"video": 214,
"digg": 1870,
"friends": 96,
"ttSeller": false,
"commerceUserInfo": {
"commerceUser": false,
"category": null
},
"createTime": 1640995200
},
"musicMeta": {
"musicId": "7000000000000000001",
"musicName": "original sound",
"musicAuthor": "maya.bakes",
"musicOriginal": true,
"musicAlbum": null,
"playUrl": "https://example.com/audio/original.mp3",
"coverMediumUrl": null,
"originalCoverMediumUrl": null
},
"videoMeta": {
"height": 1280,
"width": 720,
"duration": 47,
"coverUrl": "https://example.com/covers/focaccia.jpg",
"originalCoverUrl": "https://example.com/covers/focaccia-original.jpg",
"definition": "540p",
"format": "mp4",
"subtitleLinks": [],
"downloadAddr": "https://example.com/video/focaccia.mp4"
},
"diggCount": 15342,
"shareCount": 876,
"playCount": 402118,
"commentCount": 412,
"collectCount": 3021,
"repostCount": 54,
"mentions": [],
"detailedMentions": [],
"hashtags": [
{
"id": "1",
"name": "baking"
},
{
"id": "2",
"name": "homecooking"
}
],
"input": "https://www.tiktok.com/@maya.bakes/video/7312950468372190215",
"submittedVideoUrl": "https://www.tiktok.com/@maya.bakes/video/7312950468372190215"
}
}
curl --location --request GET 'https://zylalabs.com/api/14860/tiktok+profile+and+video+data+api/38678/get+tiktok+video+details?url=https://www.tiktok.com/@maya.bakes/video/7312950468372190215' --header 'Authorization: Bearer YOUR_API_KEY'
{
"data": [
{
"id": "7312950468372190215",
"text": "Five-minute focaccia for a Tuesday night #baking #homecooking",
"textLanguage": "en",
"createTime": 1767225600,
"createTimeISO": "2026-01-01T00:00:00.000Z",
"webVideoUrl": "https://www.tiktok.com/@maya.bakes/video/7312950468372190215",
"locationCreated": "US",
"isAd": false,
"isSponsored": false,
"isPinned": false,
"isSlideshow": false,
"authorMeta": {
"id": "6812345019283746305",
"name": "maya.bakes",
"profileUrl": "https://www.tiktok.com/@maya.bakes",
"nickName": "Maya Bakes",
"verified": false,
"signature": "Sourdough, sheet pans and small kitchens.",
"bioLink": null,
"avatar": null,
"originalAvatarUrl": null,
"privateAccount": false,
"region": null,
"fans": null,
"following": null,
"heart": null,
"video": null,
"digg": null,
"friends": null,
"ttSeller": null,
"commerceUserInfo": null,
"createTime": null
},
"musicMeta": null,
"videoMeta": {
"height": 1280,
"width": 720,
"duration": 47,
"coverUrl": "https://example.com/covers/focaccia.jpg",
"originalCoverUrl": null,
"definition": "540p",
"format": "mp4",
"subtitleLinks": [],
"downloadAddr": "https://example.com/video/focaccia.mp4"
},
"diggCount": 15342,
"shareCount": 876,
"playCount": 402118,
"commentCount": 412,
"collectCount": 3021,
"repostCount": 54,
"mentions": [],
"detailedMentions": [],
"hashtags": [
{
"id": "1",
"name": "baking"
},
{
"id": "2",
"name": "homecooking"
}
],
"input": "sourdough",
"searchQuery": "sourdough"
}
],
"nextCursor": "eyJvIjozMH0"
}
curl --location --request GET 'https://zylalabs.com/api/14860/tiktok+profile+and+video+data+api/38679/search+tiktok+videos+by+keyword?keyword=sourdough&cursor=eyJvIjozMH0' --header 'Authorization: Bearer YOUR_API_KEY'
{
"hashtag": {
"id": "1400",
"name": "baking",
"views": 9123456789
},
"data": [
{
"id": "7312950468372190215",
"text": "Five-minute focaccia for a Tuesday night #baking #homecooking",
"textLanguage": "en",
"createTime": 1767225600,
"createTimeISO": "2026-01-01T00:00:00.000Z",
"webVideoUrl": "https://www.tiktok.com/@maya.bakes/video/7312950468372190215",
"locationCreated": "US",
"isAd": false,
"isSponsored": false,
"isPinned": false,
"isSlideshow": false,
"authorMeta": {
"id": "6812345019283746305",
"name": "maya.bakes",
"profileUrl": "https://www.tiktok.com/@maya.bakes",
"nickName": "Maya Bakes",
"verified": false,
"signature": "Sourdough, sheet pans and small kitchens.",
"bioLink": null,
"avatar": null,
"originalAvatarUrl": null,
"privateAccount": false,
"region": null,
"fans": null,
"following": null,
"heart": null,
"video": null,
"digg": null,
"friends": null,
"ttSeller": null,
"commerceUserInfo": null,
"createTime": null
},
"musicMeta": null,
"videoMeta": {
"height": 1280,
"width": 720,
"duration": 47,
"coverUrl": "https://example.com/covers/focaccia.jpg",
"originalCoverUrl": null,
"definition": "540p",
"format": "mp4",
"subtitleLinks": [],
"downloadAddr": "https://example.com/video/focaccia.mp4"
},
"diggCount": 15342,
"shareCount": 876,
"playCount": 402118,
"commentCount": 412,
"collectCount": 3021,
"repostCount": 54,
"mentions": [],
"detailedMentions": [],
"hashtags": [
{
"id": "1",
"name": "baking"
},
{
"id": "2",
"name": "homecooking"
}
],
"input": "baking",
"searchHashtag": {
"name": "baking",
"views": 9123456789
}
}
],
"nextCursor": "eyJpIjoiMTQwMCIsIm4iOiJiYWtpbmciLCJjIjoxMiwidiI6OTEyMzQ1Njc4OX0"
}
curl --location --request GET 'https://zylalabs.com/api/14860/tiktok+profile+and+video+data+api/38680/list+hashtag+videos?name=#baking&cursor=eyJpIjoiMTQwMCIsIm4iOiJiYWtpbmciLCJjIjoxMiwidiI6OTEyMzQ1Njc4OX0' --header 'Authorization: Bearer YOUR_API_KEY'
注册后,每个开发者都会被分配一个个人 API 访问密钥,这是一个唯一的字母和数字组合,用于访问我们的 API 端点。要使用 抖音个人资料和视频数据 API 进行身份验证,只需在 Authorization 标头中包含您的 bearer token。
| 标头 | 描述 |
|---|---|
授权
|
必需
应为 Bearer access_key. 订阅后,请查看上方的"您的 API 访问密钥"。
|
公开的TikTok个人资料 视频 关键字搜索和标签动态以JSON格式呈现 每个请求一页
每个调用是一个请求 一个列表每次调用返回一页,所以读取一个个人资料视频的三页需要三个请求 一个个人资料或视频查找是一个请求
列表端点返回每一页的nextCursor 将其作为游标发送回去,使用相同的参数以获得下一页 在最后一页时它为null
一个私人档案仍然返回其公共详细信息,私密设置为真。其视频列表返回404
API返回503并带有错误信息 请在几秒后重试相同的请求
API不保留早期答案的副本 每次请求在到达时读取数据 因此计数在那一刻是最新的
不 仅返回公共内容 私人账户和任何需要登录的内容不包括在内
常规视频和照片幻灯片,长格式或从应用中复制的短分享格式
每个端点返回与TikTok个人资料 视频 关键词搜索和标签相关的特定数据。例如 个人资料端点提供用户详细信息 而视频端点返回视频元数据 包括字幕和参与度指标
关键字段包括作者详情(姓名,个人资料 URL,粉丝数量),视频具体信息(文本,创建时间,网页 URL)和互动指标(喜欢,分享)每个端点都有与其数据类型相关的唯一字段
响应数据采用 JSON 格式结构化,主 "data" 对象包含相关细节。例如,个人资料数据包括一个 "author" 对象,而视频数据则呈现为视频对象的数组
个人资料端点提供用户详细信息 视频端点提供视频元数据 搜索端点根据关键词返回视频 哈希标签端点列出与特定哈希标签相关的视频
参数因端点而异;例如,列出个人资料视频的端点接受用于分页的光标,而搜索抖音视频的端点需要一个关键字。每个端点的文档都指定了适用的参数
用户可以通过指定参数来定制请求,例如用于分页的游标或用于搜索的关键词。这使得基于特定需求进行定制的数据检索成为可能,例如获取最近的视频或按主题探索内容
典型的用例包括分析抖音趋势 监测影响者活动 收集营销活动的内容 以及研究热门标签或关键词以增强参与策略
通过实时直接查询TikTok的公共数据来保持数据准确性 该API不存储以前的响应,确保用户在请求时获得最新和最准确的信息