DouYin API
🔥🔥🔥(抖音) Douyin API🔥🔥🔥 🔥🔥🔥(Tiktok) Tiktok API🔥🔥🔥 在线接口文档 https://we691uhvp2.apifox.cn/ 接口参数以在线接口文档为准!!!
289 subscribers
9.7/10 popularity
3162 ms avg latency
93% success rate
100 endpoints
The in-depth APIMemo review for this API hasn't been published yet —
the data below comes straight from the public marketplace listing.
DouYin API endpoints
| Method | Endpoint | Description |
|---|---|---|
| GET |
fetch_video_search_result_v2_api_v1_douyin_web_fetch_video_search_result_v2_get /api/v1/douyin/web/fetch_video_search_result_v2 |
# [中文] ### 用途: - 获取指定关键词的视频搜索结果V2,此接口稳定性更好,收费更贵,当`/api/v1/douyin/web/fetch_video_search_result`接口不稳定时,建议使用此接口。 - 收费标准为:0.01$每次请求。 ### 参数: - keyword: 关键词 - sort_type: -… |
| GET |
get_aweme_id_api_v1_douyin_web_get_aweme_id_get /api/v1/douyin/web/get_aweme_id |
# [中文] ### 用途: - 提取单个作品id ### 参数: - url: 作品链接 ### 返回: - 作品id # [English] ### Purpose: - Extract single video id ### Parameters: - url: Video link ### Return: - Video id #… |
| GET |
fetch_city_list_api_v1_douyin_web_fetch_city_list_get /api/v1/douyin/web/fetch_city_list |
# [中文] ### 用途: - 抖音城市列表以及城市ID ### 返回: - 城市列表数据 # [English] ### Purpose: - Douyin City List and City ID ### Return: - City list data |
| GET |
fetch_cartoon_aweme_api_v1_douyin_web_fetch_food_aweme_get /api/v1/douyin/web/fetch_food_aweme |
# [中文] ### 用途: - 美食作品 ### 参数: - count: 每页数量,默认为16 - refresh_index: 翻页索引,默认为1 - cookie: 用户自行提供的Cookie,推荐使用自己的抖音Cookie,否则在翻页时可能会出现数据重复的问题 -… |
| POST |
generate_a_bogus_api_v1_douyin_web_generate_a_bogus_post /api/v1/douyin/web/generate_a_bogus |
# [中文] ### 用途: - 使用接口网址生成A-Bogus参数,提交的URL不能带有a_bogus参数,同时a_bogus参数与请求头中的User-Agent有关,需要一起提交和请求。 ### 参数: - url: API链接,请去除url中的原本的a_boogus参数(如有)。 - data:… |
| GET |
generate_real_msToken_api_v1_douyin_web_generate_real_msToken_get /api/v1/douyin/web/generate_real_msToken |
# [中文] ### 用途: - 生成真实msToken ### 返回: - msToken # [English] ### Purpose: - Generate real msToken ### Return: - msToken |
| GET |
fetch_game_aweme_api_v1_douyin_web_fetch_game_aweme_get /api/v1/douyin/web/fetch_game_aweme |
# [中文] ### 用途: - 知识作品 ### 参数: - count: 每页数量,默认为16 - refresh_index: 翻页索引,默认为1 - cookie: 用户自行提供的Cookie,推荐使用自己的抖音Cookie,否则在翻页时可能会出现数据重复的问题 -… |
| GET |
generate_ttwid_api_v1_douyin_web_generate_ttwid_get /api/v1/douyin/web/generate_ttwid |
# [中文] ### 用途: - 生成ttwid ### 返回: - ttwid # [English] ### Purpose: - Generate ttwid ### Return: - ttwid |
| GET |
fetch_cartoon_aweme_api_v1_douyin_web_fetch_cartoon_aweme_get /api/v1/douyin/web/fetch_cartoon_aweme |
# [中文] ### 用途: - 二次元作品 ### 参数: - count: 每页数量,默认为16 - refresh_index: 翻页索引,默认为1 - cookie: 用户自行提供的Cookie,推荐使用自己的抖音Cookie,否则在翻页时可能会出现数据重复的问题 -… |
| GET |
get_webcast_id_api_v1_douyin_web_get_webcast_id_get /api/v1/douyin/web/get_webcast_id |
# [中文] ### 用途: - 提取列表直播间号 ### 参数: - url: 直播间链接 ### 返回: - 直播间号 # [English] ### Purpose: - Extract list webcast id ### Parameters: - url: Room link ### Return: - Room id #… |
| GET |
fetch_video_search_result_v2_api_v1_douyin_app_v3_fetch_video_search_result_v2_get /api/v1/douyin/app/v3/fetch_video_search_result_v2 |
# [中文] ### 用途: - 获取指定关键词的视频搜索结果V2,此接口稳定性更好,收费更贵,当`/api/v1/douyin/web/fetch_video_search_result`接口不稳定时,建议使用此接口。 - 收费标准为:0.01$每次请求。 ### 参数: - keyword: 关键词 - sort_type: -… |
| GET |
fetch_billboard_related_videos_api_v1_douyin_web_fetch_billboard_related_videos_get /api/v1/douyin/web/fetch_billboard_related_videos |
# [中文] ### 用途: - 抖音榜单相关视频 ### 参数: - page: 页码,默认为1 - page_size: 每页数量,默认为10 - sentence_id: 分类ID ### 返回: - 相关视频数据 # [English] ### Purpose: - Douyin Billboard Related Videos ###… |
| GET |
register_device_api_v1_douyin_app_v3_register_device_get /api/v1/douyin/app/v3/register_device |
# [中文] ### 用途: - 抖音APP注册设备,获取设备信息以及设备的Cookie信息。 ### 参数: - proxy: 代理,要带http://或https://,仅支持http代理。 - 格式: username:password@ip:port ### 返回: - 设备信息以及设备的Cookie信息。 # [English] ###… |
| GET |
get_sec_user_id_api_v1_douyin_web_get_sec_user_id_get /api/v1/douyin/web/get_sec_user_id |
# [中文] ### 用途: - 提取单个用户id ### 参数: - url: 用户主页链接 ### 返回: - 用户sec_user_id # [English] ### Purpose: - Extract single user id ### Parameters: - url: User homepage link ### Return: -… |
| GET |
fetch_video_channel_result_api_v1_douyin_web_fetch_video_channel_result_get /api/v1/douyin/web/fetch_video_channel_result |
# [中文] ### 用途: - 抖音视频频道数据 - https://www.douyin.com/channel/300205 ### 参数: - tag_id: 标签id,从URL中获取 - count: 数量 - refresh_index: 刷新索引 ### 返回: - 视频频道数据 # [English] ### Purpose: -… |
| POST |
fetch_challenge_posts_api_v1_douyin_web_fetch_challenge_posts_post /api/v1/douyin/web/fetch_challenge_posts |
# [中文] ### 用途: - 话题作品 ### 参数: - challenge_id: 话题id - sort_type: 排序类型 - 0:综合排序 1:最热排序 2:最新排序 - cursor: 游标 - count: 数量 - cookie: 用户自行提供的Cookie,用于获取更多数据。 ### 返回: - 话题作品 # [English]… |
| GET |
fetch_video_like_portrait_api_v1_douyin_web_fetch_video_like_portrait_get /api/v1/douyin/web/fetch_video_like_portrait |
# [中文] ### 用途: - 抖音视频点赞观众画像 ### 参数: - aweme_id: 视频aweme_id - option: 选项,默认为1 - 1: 观众手机价格分布 - 2: 观众性别分布 - 3: 观众年龄分布 - 4: 观众地域分布(省份) - 5: 观众地域分布(城市) - 6: 观众城市等级分布 - 7: 观众手机品牌分布 ###… |
| POST |
fetch_search_challenge_api_v1_douyin_web_fetch_search_challenge_post /api/v1/douyin/web/fetch_search_challenge |
# [中文] ### 用途: - 搜索话题,此接口不带Cookie请求时只能获取到前30条数据,建议自行提供Cookie获取更多数据。 - Cookie获取方式:打开网页抖音,登录后,按F12打开开发者工具,点击Network,刷新页面,找到第一个请求,复制Cookie。 ### 参数: - keyword: 关键词 - cursor: 偏移量 -… |
| GET |
fetch_douyin_web_guest_cookie_api_v1_douyin_web_fetch_douyin_web_guest_cookie_get /api/v1/douyin/web/fetch_douyin_web_guest_cookie |
# [中文] ### 用途: - 获取抖音Web的游客Cookie - 可以用于爬取抖音Web的数据,如用户作品、合辑作品等。 - 可以固定身份避免部分接口重复数据。 - 请注意:游客Cookie无法爬取所有数据,有一定的限制。 - 可以配合开源项目使用此接口实现抖音Web的数据爬取。 ### 参数: - user_agent: 用户浏览器代理 ###… |
| GET |
fetch_user_live_videos_api_v1_douyin_web_fetch_user_live_videos_get /api/v1/douyin/web/fetch_user_live_videos |
# [中文] ### 用途: - 获取用户直播流数据 ### 参数: - webcast_id: 直播间 webcast_id - 获取方法: - 假设你的直播间链接为:https://www.douyin.com/root/live/376034101029 - 那么直播间webcast_id为:376034101029 -… |
| GET |
fetch_live_gift_ranking_api_v1_douyin_web_fetch_live_gift_ranking_get /api/v1/douyin/web/fetch_live_gift_ranking |
# [中文] ### 用途: - 获取直播间送礼用户排行榜 ### 参数: - room_id: 直播间room_id - rank_type: 排行类型,默认为30不用修改。 ### 返回: - 排行榜数据 # [English] ### Purpose: - Get live room gift user ranking ###… |
| GET |
fetch_music_video_list_api_v1_douyin_app_v3_fetch_music_video_list_get /api/v1/douyin/app/v3/fetch_music_video_list |
# [中文] ### 用途: - 获取指定音乐的视频列表数据 ### 参数: - music_id: 音乐id - cursor: 游标,用于翻页,第一页为0,第二页为第一次响应中的cursor值。 - count: 数量,请保持默认,否则会出现BUG。 ### 返回: - 音乐视频列表数据 # [English] ### Purpose: - Get… |
| GET |
open_douyin_app_to_keyword_search_api_v1_douyin_app_v3_open_douyin_app_to_keyword_search_get /api/v1/douyin/app/v3/open_douyin_app_to_keyword_search |
# [中文] ### 用途: - 生成抖音分享链接,唤起抖音APP,跳转指定关键词搜索结果。 ### 参数: - keyword: 关键词 ### 返回: - 分享链接 # [English] ### Purpose: - Generate Douyin share link, call Douyin APP, and jump to the… |
| GET |
fetch_video_comments_api_v1_douyin_app_v3_fetch_video_comments_get /api/v1/douyin/app/v3/fetch_video_comments |
# [中文] ### 用途: - 获取单个视频评论数据 ### 参数: - aweme_id: 作品id - cursor: 游标,用于翻页,第一页为0,第二页为第一次响应中的cursor值。 - count: 数量,请保持默认,否则会出现BUG。 ### 返回: - 评论数据 # [English] ### Purpose: - Get single… |
| GET |
fetch_hashtag_search_result_api_v1_douyin_app_v3_fetch_hashtag_search_result_get /api/v1/douyin/app/v3/fetch_hashtag_search_result |
# [中文] ### 用途: - 获取指定关键词的话题搜索结果 ### 参数: - keyword: 关键词 - offset: 偏移量 - count: 数量,请保持默认,否则会出现BUG。 ### 返回: - 话题搜索结果 # [English] ### Purpose: - Get hashtag search results of… |
| GET |
fetch_one_video_api_v1_douyin_app_v3_fetch_one_video_get /api/v1/douyin/app/v3/fetch_one_video |
# [中文] ### 用途: - 获取单个作品数据,支持图文、视频等。 ### 参数: - aweme_id: 作品id ### 返回: - 作品数据 # [English] ### Purpose: - Get single video data, support photo, video, etc. ### Parameters: -… |
| GET |
fetch_one_video_by_share_url_api_v1_douyin_app_v3_fetch_one_video_by_share_url_get /api/v1/douyin/app/v3/fetch_one_video_by_share_url |
# [中文] ### 用途: - 根据分享链接获取单个作品数据 ### 参数: - share_url: 分享链接 ### 返回: - 作品数据 # [English] ### Purpose: - Get single video data by sharing link ### Parameters: - share_url: Share link… |
| GET |
handler_user_profile_v3_api_v1_douyin_web_handler_user_profile_v3_get /api/v1/douyin/web/handler_user_profile_v3 |
# [中文] ### 用途: - 根据抖音uid获取指定用户的信息 ### 参数: - uid: 用户uid,也就是抖音号的short_id ### 返回: - 用户信息 # [English] ### Purpose: - Get information of specified user by unique_id ### Parameters: -… |
| GET |
fetch_music_hot_search_list_api_v1_douyin_app_v3_fetch_music_hot_search_list_get /api/v1/douyin/app/v3/fetch_music_hot_search_list |
# [中文] ### 用途: - 获取抖音音乐热榜数据 ### 返回: - 音乐热搜榜数据 # [English] ### Purpose: - Get Douyin music hot search list data ### Return: - Music hot search list data # [示例/Example] pass |
| GET |
fetch_one_video_api_v1_douyin_app_v3_fetch_one_video_v2_get /api/v1/douyin/app/v3/fetch_one_video_v2 |
# [中文] ### 用途: - 获取单个作品数据,支持图文、视频等。 ### 参数: - aweme_id: 作品id ### 返回: - 作品数据 # [English] ### Purpose: - Get single video data, support photo, video, etc. ### Parameters: -… |
| GET |
add_video_play_count_api_v1_douyin_app_v3_add_video_play_count_get /api/v1/douyin/app/v3/add_video_play_count |
# [中文] ### 用途: - 根据视频ID来增加作品的播放数 - 该接口默认使用游客Cookie,如果需要使用登录用户的Cookie,请在参数中传入。 - 单一作品每次调用增加1次播放数,请求约 `1000` 次后会被抖音限制,需要等待一段时间(如:2小时后)后再继续调用。 -… |
| POST |
fetch_multi_video_api_v1_douyin_app_v3_fetch_multi_video_post /api/v1/douyin/app/v3/fetch_multi_video |
# [中文] ### 用途: - 批量获取视频信息,支持图文、视频等,一次性最多支持10个视频,此接口收费固定价格为0.001$ * 10 = 0.01$一次。 ### 参数: - aweme_ids: 作品id列表,最多支持10个作品id。 ### 返回: - 作品数据 # [English] ### Purpose: - Batch Get… |
| GET |
handler_user_profile_v4_api_v1_douyin_web_handler_user_profile_v4_get /api/v1/douyin/web/handler_user_profile_v4 |
# [中文] ### 用途: - 获取指定用户的信息 ### 参数: - sec_user_id: 用户sec_user_id ### 返回: - 用户信息,包含性别,年龄,直播等级,直播间牌子 ### 说明: - 性别:1为男,2为女,0为未知,在live_user字段中。 - 年龄:在user字段中,-1为未知。 # [English] ###… |
| GET |
fetch_multi_video_statistics_api_v1_douyin_app_v3_fetch_multi_video_statistics_get /api/v1/douyin/app/v3/fetch_multi_video_statistics |
# [中文] ### 用途: - 根据视频ID获取作品的统计数据,支持多个视频id,一次性最多支持50个视频。 - 抖音大多数接口已经不再返回作品的播放数,只能通过此接口获取。 - 价格为:0.025$一次。 - 可以获取到的统计有: - 点赞数(digg_count) - 下载数(download_count) - 播放数(play_count) -… |
| GET |
fetch_live_search_result_api_v1_douyin_app_v3_fetch_live_search_result_get /api/v1/douyin/app/v3/fetch_live_search_result |
# [中文] ### 用途: - 获取指定关键词的直播搜索结果 ### 参数: - keyword: 关键词 - cursor: 偏移量,从0开始,每次请求从上次请求返回响应中的cursor中获取。 - count: 数量,请保持默认,否则会出现BUG。 ### 返回: - 直播搜索结果 # [English] ### Purpose: - Get… |
| GET |
fetch_video_comments_reply_api_v1_douyin_app_v3_fetch_video_comment_replies_get /api/v1/douyin/app/v3/fetch_video_comment_replies |
# [中文] ### 用途: - 获取指定视频的评论回复数据 ### 参数: - item_id: 作品id - comment_id: 评论id - cursor: 游标,用于翻页,第一页为0,第二页为第一次响应中的cursor值。 - count: 数量,请保持默认,否则会出现BUG。 ### 返回: - 评论回复数据 # [English] ###… |
| GET |
fetch_video_comments_api_v1_douyin_web_fetch_video_comments_get /api/v1/douyin/web/fetch_video_comments |
# [中文] ### 用途: - 获取单个视频评论数据 ### 参数: - aweme_id: 作品id - cursor: 游标 - count: 数量 ### 返回: - 评论数据 # [English] ### Purpose: - Get single video comments data ### Parameters: - aweme_id:… |
| GET |
fetch_music_search_result_api_v1_douyin_app_v3_fetch_music_search_result_get /api/v1/douyin/app/v3/fetch_music_search_result |
# [中文] ### 用途: - 获取指定关键词的音乐搜索结果 ### 参数: - keyword: 关键词 - offset: 偏移量 - count: 数量,请保持默认,否则会出现BUG。 ### 返回: - 音乐搜索结果 # [English] ### Purpose: - Get music search results of specified… |
| GET |
fetch_hot_brand_search_api_v1_douyin_app_v3_fetch_brand_hot_search_list_detail_get /api/v1/douyin/app/v3/fetch_brand_hot_search_list_detail |
# [中文] ### 用途: - 获取抖音品牌热榜具体分类数据 ### 参数: - category_id: 分类id ### 返回: - 品牌热搜榜具体分类数据 # [English] ### Purpose: - Get Douyin brand hot search list detail data ### Parameters: -… |
| GET |
fetch_hashtag_video_list_api_v1_douyin_app_v3_fetch_hashtag_video_list_get /api/v1/douyin/app/v3/fetch_hashtag_video_list |
# [中文] ### 用途: - 获取指定话题的作品数据 ### 参数: - ch_id: 话题id - cursor: 游标,用于翻页,第一页为0,第二页为第一次响应中的cursor值。 - sort_type: 0:综合排序 1:最多点赞 2:最新发布 - count: 数量,请保持默认,否则会出现BUG。 ### 返回: - 话题作品数据 #… |
| GET |
fetch_one_video_danmaku_api_v1_douyin_web_fetch_one_video_danmaku_get /api/v1/douyin/web/fetch_one_video_danmaku |
# [中文] ### 用途: - 获取单个作品视频弹幕数据 ### 参数: - item_id: 作品id - duration: 视频总时长 - end_time: 结束时间 - start_time: 开始时间 ### 返回: - 视频弹幕数据 # [English] ### Purpose: - Get single video danmaku… |
| GET |
fetch_user_fans_list_api_v1_douyin_app_v3_fetch_user_fans_list_get /api/v1/douyin/app/v3/fetch_user_fans_list |
# [中文] ### 用途: - 获取用户粉丝列表 ### 参数: - sec_user_id: 用户sec_user_id - max_time: 最大时间戳,默认为0,后续从返回数据中获取,用于翻页。 - count: 数量,默认为20,建议保持不变。 ### 返回: - 粉丝列表 # [English] ### Purpose: - Get… |
| GET |
fetch_video_statistics_api_v1_douyin_app_v3_fetch_video_statistics_get /api/v1/douyin/app/v3/fetch_video_statistics |
# [中文] ### 用途: - 根据视频ID获取作品的统计数据 - 抖音大多数接口已经不再返回作品的播放数,只能通过此接口获取。 - 可以获取到的统计有: - 点赞数(digg_count) - 下载数(download_count) - 播放数(play_count) - 分享数(share_count) ### 参数: - aweme_ids:… |
| GET |
fetch_user_like_videos_api_v1_douyin_app_v3_fetch_user_like_videos_get /api/v1/douyin/app/v3/fetch_user_like_videos |
# [中文] ### 用途: - 获取用户喜欢作品数据 ### 参数: - sec_user_id: 用户sec_user_id - max_cursor: 最大游标,用于翻页,第一页为0,第二页为第一次响应中的max_cursor值。 - count: 最大数量 ### 返回: - 用户作品数据 # [English] ### Purpose: -… |
| GET |
fetch_video_mix_post_list_api_v1_douyin_app_v3_fetch_video_mix_post_list_get /api/v1/douyin/app/v3/fetch_video_mix_post_list |
# [中文] ### 用途: - 获取抖音视频合集作品列表数据 ### 参数: - mix_id: 合集id - cursor: 游标,用于翻页,第一页为0,第二页为第一次响应中的cursor值。 - count: 数量,请保持默认,否则会出现BUG。 ### 返回: - 视频合集作品列表数据 # [English] ### Purpose: - Get… |
| GET |
fetch_general_search_result_api_v1_douyin_app_v3_fetch_general_search_result_get /api/v1/douyin/app/v3/fetch_general_search_result |
# [中文] ### 用途: - 获取指定关键词的综合搜索结果 ### 参数: - keyword: 关键词 - offset: 偏移量 - count: 数量,请保持默认,否则会出现BUG。 - sort_type: 0:综合排序 1:最多点赞 2:最新发布 - publish_time: 0:不限 1:最近一天 7:最近一周 180:最近半年 -… |
| GET |
fetch_user_post_videos_api_v1_douyin_app_v3_fetch_user_post_videos_get /api/v1/douyin/app/v3/fetch_user_post_videos |
# [中文] ### 用途: - 获取用户主页作品数据 ### 参数: - sec_user_id: 用户sec_user_id - max_cursor: 最大游标,用于翻页,第一页为0,第二页为第一次响应中的max_cursor值。 - count: 最大数量 ### 返回: - 用户作品数据 # [English] ### Purpose: -… |
| GET |
fetch_user_following_list_api_v1_douyin_app_v3_fetch_user_following_list_get /api/v1/douyin/app/v3/fetch_user_following_list |
# [中文] ### 用途: - 获取用户关注列表 ### 参数: - sec_user_id: 用户sec_user_id - max_time: 最大时间戳,默认为0,后续从返回数据中获取,用于翻页。 - count: 数量,默认为20,建议保持不变。 ### 返回: - 关注列表 # [English] ### Purpose: - Get… |
| GET |
handler_user_profile_api_v1_douyin_app_v3_handler_user_profile_get /api/v1/douyin/app/v3/handler_user_profile |
# [中文] ### 用途: - 获取指定用户的信息 ### 参数: - sec_user_id: 用户sec_user_id ### 返回: - 用户信息 # [English] ### Purpose: - Get information of specified user ### Parameters: - sec_user_id: User… |
| GET |
fetch_music_detail_api_v1_douyin_app_v3_fetch_music_detail_get /api/v1/douyin/app/v3/fetch_music_detail |
# [中文] ### 用途: - 获取指定音乐的详情数据 ### 参数: - music_id: 音乐id ### 返回: - 音乐详情数据 # [English] ### Purpose: - Get details of specified music ### Parameters: - music_id: Music id ### Return:… |
+ 50 more endpoints on the provider's documentation.
DouYin API pricing
| Plan | Price | Rate limit | Quotas |
|---|---|---|---|
| BASIC | Free | — |
|
| PRO | $29 / month | 10 / second |
|
| ULTRA Recommended | $49 / month | 10 / second |
|
| MEGA | $99 / month | 20 / second |
|