Douyin API
  1. TikTok-App-V3-API
Douyin API
  • Douyin-Web-API
    • 获取单个作品数据/Get single video data
    • 获取单个作品数据 V2/Get single video data V2
    • 根据分享链接获取单个作品数据/Get single video data by sharing link
    • 批量获取视频信息/Batch Get Video Information
    • 获取单个作品视频弹幕数据/Get single video danmaku data
    • 获取首页推荐数据/Get home feed data
    • 获取相关作品推荐数据/Get related posts recommendation data
    • 获取用户主页作品数据/Get user homepage video data
    • 获取用户喜欢作品数据/Get user like video data
    • 获取用户收藏作品数据/Get user collection video data
    • 获取用户收藏夹/Get user collection
    • 获取用户收藏夹数据/Get user collection data
    • 获取用户合辑作品数据/Get user mix video data
    • 获取用户直播流数据/Get user live video data
    • 通过sec_uid获取指定用户的直播流数据/Get live video data of specified user by sec_uid
    • 获取指定用户的直播流数据/Get live video data of specified user
    • 获取指定用户的直播流数据V2/Gets the live stream data of the specified user V2
    • 获取直播间送礼用户排行榜/Get live room gift user ranking
    • 抖音直播间商品信息/Douyin live room product information
    • 使用UID获取用户信息/Get user information by UID
    • 使用UID获取用户开播信息/Get user live information by UID
    • 使用Short ID获取用户信息/Get user information by Short ID
    • 根据sec_user_id获取指定用户的信息/Get information of specified user by sec_user_id
    • 根据抖音号获取指定用户的信息/Get information of specified user by unique_id
    • 根据抖音uid获取指定用户的信息/Get information of specified user by uid
    • 根据sec_user_id获取指定用户的信息(性别,年龄,直播等级、牌子)/Get information of specified user by sec_user_id (gender, age, live level、brand)
    • 获取用户粉丝列表/Get user fans list
    • 获取用户关注列表/Get user following list
    • 获取单个视频评论数据/Get single video comments data
    • 获取指定视频的评论回复数据/Get comment replies data of specified video
    • 获取指定关键词的综合搜索结果/Get comprehensive search results of specified keywords
    • 获取指定关键词的视频搜索结果/Get video search results of specified keywords
    • 获取指定关键词的视频搜索结果V2/Get video search results of specified keywords V2
    • 获取指定关键词的用户搜索结果(已废弃,使用V2或V3接口代替)/Get user search results of specified keywords (deprecated, use V2 or V3 interface instead)
    • 获取指定关键词的用户搜索结果V2/Get user search results of specified keywords V2
    • 获取指定关键词的用户搜索结果V3/Get user search results of specified keywords V3
    • 获取指定关键词的直播搜索结果/Get live search results of specified keywords
    • 搜索话题/Search Challenge
    • 话题作品/Challenge Posts
    • 获取抖音热榜数据/Get Douyin hot search results
    • 抖音视频频道数据/Douyin video channel data
    • 获取抖音Web的游客Cookie/Get the guest Cookie of Douyin Web
    • 生成真实msToken/Generate real msToken
    • 生成ttwid/Generate ttwid
    • 生成verify_fp/Generate verify_fp
    • 生成s_v_web_id/Generate s_v_web_id
    • 使用接口网址生成X-Bogus参数/Generate X-Bogus parameter using API URL
    • 使用接口网址生成A-Bogus参数/Generate A-Bogus parameter using API URL
    • 提取单个用户id/Extract single user id
    • 提取列表用户id/Extract list user id
    • 提取单个作品id/Extract single video id
    • 提取列表作品id/Extract list video id
    • 提取直播间号/Extract webcast id
    • 提取列表直播间号/Extract list webcast id
    • 直播间号转房间号/Webcast id to room id
    • 提取直播间弹幕/Extract live room danmaku
    • 抖音热点分类/Douyin Billboard Categories
    • 抖音实时上升热点榜/Douyin Real-time Rising Hot List
    • 抖音城市列表/Douyin City List
    • 抖音同城热点榜单/Douyin City Hot List
    • 抖音实时挑战榜单/Douyin Real-time Challenge List
    • 抖音热点总榜单/Douyin Hot List
    • 抖音榜单相关视频/Douyin Billboard Related Videos
    • 抖音用户粉丝画像/Douyin User Fans Portrait
    • 抖音用户粉丝兴趣/Douyin User Fans Interest
    • 抖音视频点赞观众画像/Douyin Video Like Viewer Portrait
    • 抖音视频榜单/Douyin Video Billboard
    • 短剧作品/Series Video
    • 知识作品推荐/Knowledge Video
    • 游戏作品推荐/Knowledge Video
    • 二次元作品推荐/Knowledge Video
    • 音乐作品推荐/Knowledge Video
    • 美食作品推荐/Knowledge Video
  • Douyin-App-V3-API
    • 获取单个作品数据/Get single video data
    • 获取单个作品数据/Get single video data
    • 批量获取视频信息/Batch Get Video Information
    • 根据分享链接获取单个作品数据/Get single video data by sharing link
    • 根据视频ID获取作品的统计数据(点赞数、下载数、播放数、分享数)/Get the statistical data of the Post according to the video ID (like count, download count, play count, share count)
    • 根据视频ID批量获取作品的统计数据(点赞数、下载数、播放数、分享数)/Get the statistical data of the Post according to the video ID (like count, download count, play count, share count)
    • 根据视频ID来增加作品的播放数/Increase the number of plays of the work according to the video ID
    • 获取指定用户的信息/Get information of specified user
    • 获取用户粉丝列表/Get user fans list
    • 获取用户关注列表/Get user following list
    • 获取用户主页作品数据/Get user homepage video data
    • 获取用户喜欢作品数据/Get user like video data
    • 获取单个视频评论数据/Get single video comments data
    • 获取指定视频的评论回复数据/Get comment replies data of specified video
    • 获取抖音视频合集详情数据/Get Douyin video mix detail data
    • 获取抖音视频合集作品列表数据/Get Douyin video mix post list data
    • 获取指定关键词的综合搜索结果(弃用,替代接口:/api/v1/douyin/web/fetch_general_search_result)/Get comprehensive search results of specified keywords (deprecated, alternative interface: /api/v1/douyin/web/fetch_general_search_result)
    • 获取指定关键词的视频搜索结果(弃用,替代接口:/api/v1/douyin/web/fetch_video_search_result)/Get video search results of specified keywords (deprecated, alternative interface: /api/v1/douyin/web/fetch_video_search_result)
    • 获取指定关键词的视频搜索结果V2/Get video search results of specified keywords V2
    • 获取指定关键词的用户搜索结果(弃用,替代接口:/api/v1/douyin/web/fetch_user_search_result_v2)/Get user search results of specified keywords (deprecated, alternative interface: /api/v1/douyin/web/fetch_user_search_result_v2)
    • 获取指定关键词的直播搜索结果(弃用,替代接口:/api/v1/douyin/web/fetch_live_search_result)/Get live search results of specified keywords (deprecated, alternative interface: /api/v1/douyin/web/fetch_live_search_result)
    • 获取指定关键词的音乐搜索结果(弃用,替代接口:/api/v1/douyin/web/fetch_music_search_result)/Get music search results of specified keywords (deprecated, alternative interface: /api/v1/douyin/web/fetch_music_search_result)
    • 获取指定关键词的话题搜索结果(弃用,替代接口:/api/v1/douyin/web/fetch_hashtag_search_result)/Get hashtag search results of specified keywords (deprecated, alternative interface: /api/v1/douyin/web/fetch_hashtag_search_result)
    • 获取指定音乐的详情数据/Get details of specified music
    • 获取指定音乐的视频列表数据/Get video list of specified music
    • 获取指定话题的详情数据/Get details of specified hashtag
    • 获取指定话题的作品数据/Get video list of specified hashtag
    • 获取抖音热搜榜数据/Get Douyin hot search list data
    • 获取抖音直播热搜榜数据/Get Douyin live hot search list data
    • 获取抖音音乐热榜数据/Get Douyin music hot search list data
    • 获取抖音品牌热榜分类数据/Get Douyin brand hot search list data
    • 获取抖音品牌热榜具体分类数据/Get Douyin brand hot search list detail data
    • 生成抖音短链接/Generate Douyin short link
    • 生成抖音视频分享二维码/Generate Douyin video share QR code
    • 抖音APP注册设备/Douyin APP register device
    • 生成抖音分享链接,唤起抖音APP,跳转指定作品详情页/Generate Douyin share link, call Douyin APP, and jump to the specified video details page
    • 生成抖音分享链接,唤起抖音APP,跳转指定用户主页/Generate Douyin share link, call Douyin APP, and jump to the specified user profile
    • 生成抖音分享链接,唤起抖音APP,跳转指定关键词搜索结果/Generate Douyin share link, call Douyin APP, and jump to the specified keyword search result
    • 生成抖音分享链接,唤起抖音APP,给指定用户发送私信/Generate Douyin share link, call Douyin APP, and send private messages to specified users
  • TikTok-Web-API
    • 获取探索作品数据/Get explore video data
    • 获取每日热门内容作品数据/Get daily trending video data
    • 获取单个作品数据/Get single video data
    • 获取用户的个人信息/Get user profile
    • 获取用户的作品列表/Get user posts
    • 获取用户的点赞列表/Get user likes
    • 获取用户的收藏列表/Get user favorites
    • 获取用户的播放列表/Get user play list
    • 获取用户的合辑列表/Get user mix list
    • 获取作品的评论列表/Get video comments
    • 获取作品的评论回复列表/Get video comment replies
    • 获取用户的粉丝列表/Get user followers
    • 获取用户的关注列表/Get user followings
    • 获取综合搜索列表/Get general search list
    • 搜索关键字推荐/Search keyword suggest
    • 搜索用户/Search user
    • 搜索视频/Search video
    • 搜索直播/Search live
    • Tag详情/Tag Detail
    • Tag作品/Tag Post
    • 首页推荐作品/Home Feed
    • 生成真实msToken/Generate real msToken
    • 生成ttwid/Generate ttwid
    • 生成xbogus/Generate xbogus
    • 提取用户sec_user_id/Extract user sec_user_id
    • 提取列表用户sec_user_id/Extract list user sec_user_id
    • 提取单个作品id/Extract single video id
    • 提取列表作品id/Extract list video id
    • 获取用户unique_id/Get user unique_id
    • 获取列表unique_id/Get list unique_id
    • 提取直播间弹幕/Extract live room danmaku
    • 根据直播间链接提取直播间ID/Extract live room ID from live room link
    • 直播间开播状态检测/Live room start status check
    • 通过直播链接获取直播间信息/Get live room information via live link
    • 获取直播间首页推荐列表/Get live room homepage recommendation list
    • 获取SSO登录二维码/Get SSO login QR code
    • 获取SSO登录状态/Get SSO login status
    • 认证SSO登录/Authenticate SSO login
  • TikTok-App-V3-API
    • 获取单个作品数据/Get single video data
      GET
    • 获取单个作品数据 V2/Get single video data V2
      GET
    • 批量获取视频信息/Batch Get Video Information
      POST
    • 批量获取视频信息 V2/Batch Get Video Information V2
      POST
    • 根据分享链接获取单个作品数据/Get single video data by sharing link
      GET
    • 获取指定用户的信息/Get information of specified user
      GET
    • 获取用户转发的作品数据/Get user repost video data
      GET
    • 获取用户主页作品数据/Get user homepage video data
      GET
    • 获取用户喜欢作品数据/Get user like video data
      GET
    • 获取单个视频评论数据/Get single video comments data
      GET
    • 获取指定视频的评论回复数据/Get comment replies data of specified video
      GET
    • 获取指定关键词的综合搜索结果/Get comprehensive search results of specified keywords
      GET
    • 获取指定关键词的视频搜索结果/Get video search results of specified keywords
      GET
    • 获取指定关键词的用户搜索结果/Get user search results of specified keywords
      GET
    • 获取指定关键词的音乐搜索结果/Get music search results of specified keywords
      GET
    • 获取指定关键词的话题搜索结果/Get hashtag search results of specified keywords
      GET
    • 获取指定关键词的直播搜索结果/Get live search results of specified keywords
      GET
    • 获取指定音乐的详情数据/Get details of specified music
      GET
    • 获取指定音乐的视频列表数据/Get video list of specified music
      GET
    • 获取指定话题的详情数据/Get details of specified hashtag
      GET
    • 获取指定话题的作品数据/Get video list of specified hashtag
      GET
    • 获取指定用户的粉丝列表数据/Get follower list of specified user
      GET
    • 获取指定用户的关注列表数据/Get following list of specified user
      GET
    • 获取指定直播间的数据/Get data of specified live room
      GET
    • 获取直播间排行榜数据/Get live room ranking list
      GET
    • 检测直播间是否在线/Check if live room is online
      GET
    • 批量检测直播间是否在线/Batch check if live rooms are online
      POST
    • 获取分享短链接/Get share short link
      GET
    • 获取分享二维码/Get share QR code
      GET
    • 获取地点搜索结果/Get location search results
      GET
    • 获取商品搜索结果/Get product search results
      GET
    • 获取创作者信息/Get creator information
      GET
    • 获取创作者橱窗商品列表/Get creator showcase product list
      GET
    • 通过分享链接获取店铺ID/Get Shop ID by Share Link
      GET
    • 通过分享链接获取商品ID/Get Product ID by Share Link
      GET
    • 获取商品详情数据(即将弃用,使用 fetch_product_detail_v2 代替)/Get product detail data (will be deprecated, use fetch_product_detail_v2 instead)
      GET
    • 获取商品详情数据V2/Get product detail data V2
      GET
    • 获取商品详情数据V3 / Get product detail data V3
      GET
    • 获取商品评价数据/Get product review data
      GET
    • 获取商家主页Page列表数据/Get shop home page list data
      GET
    • 获取商家主页数据/Get shop home page data
      GET
    • 获取商家商品推荐数据/Get shop product recommend data
      GET
    • 获取商家商品列表数据/Get shop product list data
      GET
    • 获取商家商品列表数据 V2/Get shop product list data V2
      GET
    • 获取商家信息数据/Get shop information data
      GET
    • 获取商家产品分类数据/Get shop product category data
      GET
    • 获取直播每日榜单数据/Get live daily rank data
      GET
    • 获取用户音乐列表数据/Get user music list data
      GET
    • 获取内容翻译数据/Get content translation data
      POST
    • 获取主页视频推荐数据/Get home feed(recommend) video data
      POST
    • 注册设备信息/Register device information
      GET
    • TikTok APP加密算法/TikTok APP encryption algorithm
      POST
    • 获取直播间商品列表数据/Get live room product list data
      GET
    • 获取直播间商品列表数据 V2 /Get live room product list data V2
      GET
    • 根据视频ID来增加作品的播放数/Increase the number of plays of the work according to the video ID
      GET
    • 加密或解密 TikTok APP 登录请求体/Encrypt or Decrypt TikTok APP login request body
      POST
    • 生成TikTok分享链接,唤起TikTok APP,跳转指定作品详情页/Generate TikTok share link, call TikTok APP, and jump to the specified video details page
      GET
    • 生成TikTok分享链接,唤起TikTok APP,跳转指定用户主页/Generate TikTok share link, call TikTok APP, and jump to the specified user profile
      GET
    • 生成TikTok分享链接,唤起TikTok APP,跳转指定关键词搜索结果/Generate TikTok share link, call TikTok APP, and jump to the specified keyword search result
      GET
    • 生成TikTok分享链接,唤起TikTok APP,给指定用户发送私信/Generate TikTok share link, call TikTok APP, and send private messages to specified users
      GET
  1. TikTok-App-V3-API

获取内容翻译数据/Get content translation data

POST
/api/v1/tiktok/app/v3/fetch_content_translate
TikTok-App-V3-API

[中文]#

用途:#

获取内容翻译数据

参数:#

trg_lang: 目标语言
zh-Hans: 简体中文
zh-Hant: 繁体中文
en: 英语
ja: 日语
ko: 韩语
fr: 法语
de: 德语
ru: 俄语
es: 西班牙语
pt: 葡萄牙语
vi: 越南语
th: 泰语
id: 印尼语
ar: 阿拉伯语
it: 意大利语
tr: 土耳其语
he: 希伯来语
pl: 波兰语
nl: 荷兰语
sv: 瑞典语
da: 丹麦语
fi: 芬兰语
no: 挪威语
cs: 捷克语
hu: 匈牙利语
src_content: 源内容,也就是需要翻译的内容,长度不超过5000个字符,如果超过5000个字符,只会翻译前5000个字符。

返回:#

内容翻译数据

[English]#

Purpose:#

Get content translation data

Parameters:#

trg_lang: Target language
zh-Hans: Simplified Chinese
zh-Hant: Traditional Chinese
en: English
ja: Japanese
ko: Korean
fr: French
de: German
ru: Russian
es: Spanish
pt: Portuguese
vi: Vietnamese
th: Thai
id: Indonesian
ar: Arabic
it: Italian
tr: Turkish
he: Hebrew
pl: Polish
nl: Dutch
sv: Swedish
da: Danish
fi: Finnish
no: Norwegian
cs: Czech
hu: Hungarian
src_content: Source content, that is, the content that needs to be translated, the length does not exceed 5000 characters, if it exceeds 5000 characters, only the first 5000 characters will be translated.

Return:#

Content translation data

[示例/Example]#

trg_lang = "zh-Hans"
src_content = "Hello, welcome to TikHub!"

请求参数

Authorization
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token
示例:
Authorization: Bearer ********************
Body 参数application/json
trg_lang
string 
Trg Lang
可选
目标语言ISO639-1代码,例如:zh-Hans/ Target language ISO639-1 code, e.g. zh-Hans
默认值:
zh-Hans
src_content
string 
Src Content
可选
源语言内容,也就是需要翻译的内容/ Source language content, i.e. the content to be translated
默认值:
Hello, welcome to TikHub!
示例
{
    "trg_lang": "zh-Hans",
    "src_content": "Hello, welcome to TikHub!"
}

示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/api/v1/tiktok/app/v3/fetch_content_translate' \
--header 'Content-Type: application/json' \
--data-raw '{
    "trg_lang": "zh-Hans",
    "src_content": "Hello, welcome to TikHub!"
}'

返回响应

🟢200OK
application/json
Successful Response
Body
code
integer 
Code
可选
HTTP status code | HTTP状态码
默认值:
200
router
string 
Router
可选
The endpoint that generated this response | 生成此响应的端点
默认值:
params
Params
可选
The parameters used in the request | 请求中使用的参数
默认值:
{}
data
Data
可选
The response data | 响应数据
Any of
示例
{
    "code": 200,
    "router": "",
    "params": {},
    "data": null
}
🟠422Parameter Error
修改于 2025-06-07 02:59:21
上一页
获取用户音乐列表数据/Get user music list data
下一页
获取主页视频推荐数据/Get home feed(recommend) video data
Built with