Skip to content

Files

Latest commit

2d1a552 · Mar 9, 2025

History

History
2948 lines (1698 loc) · 140 KB

TikTokWebAPIApi.md

File metadata and controls

2948 lines (1698 loc) · 140 KB

\TikTokWebAPIApi

All URIs are relative to http://localhost

Method HTTP request Description
DouyinLiveRoomApiV1TiktokWebTiktokLiveRoomGet Get /api/v1/tiktok/web/tiktok_live_room 提取直播间弹幕/Extract live room danmaku
DouyinLiveRoomApiV1TiktokWebTiktokLiveRoomGet_0 Get /api/v1/tiktok/web/tiktok_live_room 提取直播间弹幕/Extract live room danmaku
FetchCheckLiveAliveApiV1TiktokWebFetchCheckLiveAliveGet Get /api/v1/tiktok/web/fetch_check_live_alive 直播间开播状态检测/Live room start status check
FetchCheckLiveAliveApiV1TiktokWebFetchCheckLiveAliveGet_0 Get /api/v1/tiktok/web/fetch_check_live_alive 直播间开播状态检测/Live room start status check
FetchExplorePostApiV1TiktokWebFetchExplorePostGet Get /api/v1/tiktok/web/fetch_explore_post 获取探索作品数据/Get explore video data
FetchExplorePostApiV1TiktokWebFetchExplorePostGet_0 Get /api/v1/tiktok/web/fetch_explore_post 获取探索作品数据/Get explore video data
FetchGeneralSearchApiV1TiktokWebFetchGeneralSearchGet Get /api/v1/tiktok/web/fetch_general_search 获取综合搜索列表/Get general search list
FetchGeneralSearchApiV1TiktokWebFetchGeneralSearchGet_0 Get /api/v1/tiktok/web/fetch_general_search 获取综合搜索列表/Get general search list
FetchHomeFeedApiV1TiktokWebFetchHomeFeedPost Post /api/v1/tiktok/web/fetch_home_feed 首页推荐作品/Home Feed
FetchHomeFeedApiV1TiktokWebFetchHomeFeedPost_0 Post /api/v1/tiktok/web/fetch_home_feed 首页推荐作品/Home Feed
FetchLiveRecommendApiV1TiktokWebFetchLiveRecommendGet Get /api/v1/tiktok/web/fetch_live_recommend 获取直播间首页推荐列表/Get live room homepage recommendation list
FetchLiveRecommendApiV1TiktokWebFetchLiveRecommendGet_0 Get /api/v1/tiktok/web/fetch_live_recommend 获取直播间首页推荐列表/Get live room homepage recommendation list
FetchPostCommentApiV1TiktokWebFetchPostCommentGet Get /api/v1/tiktok/web/fetch_post_comment 获取作品的评论列表/Get video comments
FetchPostCommentApiV1TiktokWebFetchPostCommentGet_0 Get /api/v1/tiktok/web/fetch_post_comment 获取作品的评论列表/Get video comments
FetchPostCommentReplyApiV1TiktokWebFetchPostCommentReplyGet Get /api/v1/tiktok/web/fetch_post_comment_reply 获取作品的评论回复列表/Get video comment replies
FetchPostCommentReplyApiV1TiktokWebFetchPostCommentReplyGet_0 Get /api/v1/tiktok/web/fetch_post_comment_reply 获取作品的评论回复列表/Get video comment replies
FetchPostDetailApiV1TiktokWebFetchPostDetailGet Get /api/v1/tiktok/web/fetch_post_detail 获取单个作品数据/Get single video data
FetchPostDetailApiV1TiktokWebFetchPostDetailGet_0 Get /api/v1/tiktok/web/fetch_post_detail 获取单个作品数据/Get single video data
FetchSearchKeywordSuggestApiV1TiktokWebFetchSearchKeywordSuggestGet Get /api/v1/tiktok/web/fetch_search_keyword_suggest 搜索关键字推荐/Search keyword suggest
FetchSearchKeywordSuggestApiV1TiktokWebFetchSearchKeywordSuggestGet_0 Get /api/v1/tiktok/web/fetch_search_keyword_suggest 搜索关键字推荐/Search keyword suggest
FetchSearchLiveApiV1TiktokWebFetchSearchLiveGet Get /api/v1/tiktok/web/fetch_search_live 搜索直播/Search live
FetchSearchLiveApiV1TiktokWebFetchSearchLiveGet_0 Get /api/v1/tiktok/web/fetch_search_live 搜索直播/Search live
FetchSearchUserApiV1TiktokWebFetchSearchUserGet Get /api/v1/tiktok/web/fetch_search_user 搜索用户/Search user
FetchSearchUserApiV1TiktokWebFetchSearchUserGet_0 Get /api/v1/tiktok/web/fetch_search_user 搜索用户/Search user
FetchSearchVideoApiV1TiktokWebFetchSearchVideoGet Get /api/v1/tiktok/web/fetch_search_video 搜索视频/Search video
FetchSearchVideoApiV1TiktokWebFetchSearchVideoGet_0 Get /api/v1/tiktok/web/fetch_search_video 搜索视频/Search video
FetchTagDetailApiV1TiktokWebFetchTagDetailGet Get /api/v1/tiktok/web/fetch_tag_detail Tag详情/Tag Detail
FetchTagDetailApiV1TiktokWebFetchTagDetailGet_0 Get /api/v1/tiktok/web/fetch_tag_detail Tag详情/Tag Detail
FetchTagPostApiV1TiktokWebFetchTagPostGet Get /api/v1/tiktok/web/fetch_tag_post Tag作品/Tag Post
FetchTagPostApiV1TiktokWebFetchTagPostGet_0 Get /api/v1/tiktok/web/fetch_tag_post Tag作品/Tag Post
FetchTiktokLiveDataApiV1TiktokWebFetchTiktokLiveDataGet Get /api/v1/tiktok/web/fetch_tiktok_live_data 通过直播链接获取直播间信息/Get live room information via live link
FetchTiktokLiveDataApiV1TiktokWebFetchTiktokLiveDataGet_0 Get /api/v1/tiktok/web/fetch_tiktok_live_data 通过直播链接获取直播间信息/Get live room information via live link
FetchTrendingPostApiV1TiktokWebFetchTrendingPostGet Get /api/v1/tiktok/web/fetch_trending_post 获取每日热门内容作品数据/Get daily trending video data
FetchTrendingPostApiV1TiktokWebFetchTrendingPostGet_0 Get /api/v1/tiktok/web/fetch_trending_post 获取每日热门内容作品数据/Get daily trending video data
FetchUserCollectApiV1TiktokWebFetchUserCollectGet Get /api/v1/tiktok/web/fetch_user_collect 获取用户的收藏列表/Get user favorites
FetchUserCollectApiV1TiktokWebFetchUserCollectGet_0 Get /api/v1/tiktok/web/fetch_user_collect 获取用户的收藏列表/Get user favorites
FetchUserFansApiV1TiktokWebFetchUserFansGet Get /api/v1/tiktok/web/fetch_user_fans 获取用户的粉丝列表/Get user followers
FetchUserFansApiV1TiktokWebFetchUserFansGet_0 Get /api/v1/tiktok/web/fetch_user_fans 获取用户的粉丝列表/Get user followers
FetchUserFollowApiV1TiktokWebFetchUserFollowGet Get /api/v1/tiktok/web/fetch_user_follow 获取用户的关注列表/Get user followings
FetchUserFollowApiV1TiktokWebFetchUserFollowGet_0 Get /api/v1/tiktok/web/fetch_user_follow 获取用户的关注列表/Get user followings
FetchUserLikeApiV1TiktokWebFetchUserLikeGet Get /api/v1/tiktok/web/fetch_user_like 获取用户的点赞列表/Get user likes
FetchUserLikeApiV1TiktokWebFetchUserLikeGet_0 Get /api/v1/tiktok/web/fetch_user_like 获取用户的点赞列表/Get user likes
FetchUserMixApiV1TiktokWebFetchUserMixGet Get /api/v1/tiktok/web/fetch_user_mix 获取用户的合辑列表/Get user mix list
FetchUserMixApiV1TiktokWebFetchUserMixGet_0 Get /api/v1/tiktok/web/fetch_user_mix 获取用户的合辑列表/Get user mix list
FetchUserPlayListApiV1TiktokWebFetchUserPlayListGet Get /api/v1/tiktok/web/fetch_user_play_list 获取用户的播放列表/Get user play list
FetchUserPlayListApiV1TiktokWebFetchUserPlayListGet_0 Get /api/v1/tiktok/web/fetch_user_play_list 获取用户的播放列表/Get user play list
FetchUserPostApiV1TiktokWebFetchUserPostGet Get /api/v1/tiktok/web/fetch_user_post 获取用户的作品列表/Get user posts
FetchUserPostApiV1TiktokWebFetchUserPostGet_0 Get /api/v1/tiktok/web/fetch_user_post 获取用户的作品列表/Get user posts
FetchUserProfileApiV1TiktokWebFetchUserProfileGet Get /api/v1/tiktok/web/fetch_user_profile 获取用户的个人信息/Get user profile
FetchUserProfileApiV1TiktokWebFetchUserProfileGet_0 Get /api/v1/tiktok/web/fetch_user_profile 获取用户的个人信息/Get user profile
GenerateRealMsTokenApiV1TiktokWebGenerateRealMsTokenGet Get /api/v1/tiktok/web/generate_real_msToken 生成真实msToken/Generate real msToken
GenerateRealMsTokenApiV1TiktokWebGenerateRealMsTokenGet_0 Get /api/v1/tiktok/web/generate_real_msToken 生成真实msToken/Generate real msToken
GenerateTtwidApiV1TiktokWebGenerateTtwidGet Get /api/v1/tiktok/web/generate_ttwid 生成ttwid/Generate ttwid
GenerateTtwidApiV1TiktokWebGenerateTtwidGet_0 Get /api/v1/tiktok/web/generate_ttwid 生成ttwid/Generate ttwid
GenerateXbogusApiV1TiktokWebGenerateXbogusPost Post /api/v1/tiktok/web/generate_xbogus 生成xbogus/Generate xbogus
GenerateXbogusApiV1TiktokWebGenerateXbogusPost_0 Post /api/v1/tiktok/web/generate_xbogus 生成xbogus/Generate xbogus
GetAllAwemeIdApiV1TiktokWebGetAllAwemeIdPost Post /api/v1/tiktok/web/get_all_aweme_id 提取列表作品id/Extract list video id
GetAllAwemeIdApiV1TiktokWebGetAllAwemeIdPost_0 Post /api/v1/tiktok/web/get_all_aweme_id 提取列表作品id/Extract list video id
GetAllSecUserIdApiV1TiktokWebGetAllSecUserIdPost Post /api/v1/tiktok/web/get_all_sec_user_id 提取列表用户sec_user_id/Extract list user sec_user_id
GetAllSecUserIdApiV1TiktokWebGetAllSecUserIdPost_0 Post /api/v1/tiktok/web/get_all_sec_user_id 提取列表用户sec_user_id/Extract list user sec_user_id
GetAllUniqueIdApiV1TiktokWebGetAllUniqueIdPost Post /api/v1/tiktok/web/get_all_unique_id 获取列表unique_id/Get list unique_id
GetAllUniqueIdApiV1TiktokWebGetAllUniqueIdPost_0 Post /api/v1/tiktok/web/get_all_unique_id 获取列表unique_id/Get list unique_id
GetAwemeIdApiV1TiktokWebGetAwemeIdGet Get /api/v1/tiktok/web/get_aweme_id 提取单个作品id/Extract single video id
GetAwemeIdApiV1TiktokWebGetAwemeIdGet_0 Get /api/v1/tiktok/web/get_aweme_id 提取单个作品id/Extract single video id
GetLiveRoomIdApiV1TiktokWebGetLiveRoomIdGet Get /api/v1/tiktok/web/get_live_room_id 根据直播间链接提取直播间ID/Extract live room ID from live room link
GetLiveRoomIdApiV1TiktokWebGetLiveRoomIdGet_0 Get /api/v1/tiktok/web/get_live_room_id 根据直播间链接提取直播间ID/Extract live room ID from live room link
GetSecUserIdApiV1TiktokWebGetSecUserIdGet Get /api/v1/tiktok/web/get_sec_user_id 提取用户sec_user_id/Extract user sec_user_id
GetSecUserIdApiV1TiktokWebGetSecUserIdGet_0 Get /api/v1/tiktok/web/get_sec_user_id 提取用户sec_user_id/Extract user sec_user_id
GetUniqueIdApiV1TiktokWebGetUniqueIdGet Get /api/v1/tiktok/web/get_unique_id 获取用户unique_id/Get user unique_id
GetUniqueIdApiV1TiktokWebGetUniqueIdGet_0 Get /api/v1/tiktok/web/get_unique_id 获取用户unique_id/Get user unique_id

DouyinLiveRoomApiV1TiktokWebTiktokLiveRoomGet

ResponseModel DouyinLiveRoomApiV1TiktokWebTiktokLiveRoomGet(ctx, liveRoomUrl, danmakuType)

提取直播间弹幕/Extract live room danmaku

[中文] ### 用途: - 提取直播间弹幕 #### 价格: - 每10条数据消耗0.001$,支持阶梯式计费折扣。 ### 参数: - live_room_url: 直播间链接 - danmaku_type: 消息类型 - WebcastChatMessage: 聊天消息 - WebcastMemberMessage: 成员消息 - WebcastRoomUserSeqMessage: 用户序列消息 - WebcastGiftMessage: 礼物消息 - WebcastSocialMessage: 社交消息 - WebcastLikeMessage: 点赞消息 - WebcastLinkMicFanTicketMethod: 连麦粉丝票方法 - WebcastLinkMicMethod: 连麦方法 ### 返回: - 弹幕数据的WebSocket连接信息,需要使用WebSocket连接获取弹幕数据,此接口不返回弹幕数据。 # [English] ### Purpose: - Extract live room danmaku #### Price: - 0.001$ per 10 data, support tiered billing discount. ### Parameters: - live_room_url: Live room link - danmaku_type: Message type - WebcastChatMessage: Chat message - WebcastMemberMessage: Member message - WebcastRoomUserSeqMessage: User sequence message - WebcastGiftMessage: Gift message - WebcastSocialMessage: Social message - WebcastLikeMessage: Like message - WebcastLinkMicFanTicketMethod: Link Mic Fan Ticket Method - WebcastLinkMicMethod: Link Mic Method ### Return: - WebSocket connection information of the danmaku data, you need to use WebSocket connection to get the danmaku data, this interface does not return the danmaku data.

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
liveRoomUrl string 直播间链接/Live room link
danmakuType string 消息类型/Message type

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

DouyinLiveRoomApiV1TiktokWebTiktokLiveRoomGet_0

ResponseModel DouyinLiveRoomApiV1TiktokWebTiktokLiveRoomGet_0(ctx, liveRoomUrl, danmakuType)

提取直播间弹幕/Extract live room danmaku

[中文] ### 用途: - 提取直播间弹幕 #### 价格: - 每10条数据消耗0.001$,支持阶梯式计费折扣。 ### 参数: - live_room_url: 直播间链接 - danmaku_type: 消息类型 - WebcastChatMessage: 聊天消息 - WebcastMemberMessage: 成员消息 - WebcastRoomUserSeqMessage: 用户序列消息 - WebcastGiftMessage: 礼物消息 - WebcastSocialMessage: 社交消息 - WebcastLikeMessage: 点赞消息 - WebcastLinkMicFanTicketMethod: 连麦粉丝票方法 - WebcastLinkMicMethod: 连麦方法 ### 返回: - 弹幕数据的WebSocket连接信息,需要使用WebSocket连接获取弹幕数据,此接口不返回弹幕数据。 # [English] ### Purpose: - Extract live room danmaku #### Price: - 0.001$ per 10 data, support tiered billing discount. ### Parameters: - live_room_url: Live room link - danmaku_type: Message type - WebcastChatMessage: Chat message - WebcastMemberMessage: Member message - WebcastRoomUserSeqMessage: User sequence message - WebcastGiftMessage: Gift message - WebcastSocialMessage: Social message - WebcastLikeMessage: Like message - WebcastLinkMicFanTicketMethod: Link Mic Fan Ticket Method - WebcastLinkMicMethod: Link Mic Method ### Return: - WebSocket connection information of the danmaku data, you need to use WebSocket connection to get the danmaku data, this interface does not return the danmaku data.

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
liveRoomUrl string 直播间链接/Live room link
danmakuType string 消息类型/Message type

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

FetchCheckLiveAliveApiV1TiktokWebFetchCheckLiveAliveGet

ResponseModel FetchCheckLiveAliveApiV1TiktokWebFetchCheckLiveAliveGet(ctx, roomId)

直播间开播状态检测/Live room start status check

[中文] ### 用途: - 直播间开播状态检测 - 如果当前直播间不存在或已下播,则返回空。 ### 参数: - room_id: 直播间ID ### 返回: - 直播间开播状态 # [English] ### Purpose: - Live room start status check - If the current live room does not exist or has ended, it will return empty. ### Parameters: - room_id: Live room ID ### Return: - Live room start status # [示例/Example] room_id = "7381444193462078214"

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
roomId string 直播间ID/Live room ID

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

FetchCheckLiveAliveApiV1TiktokWebFetchCheckLiveAliveGet_0

ResponseModel FetchCheckLiveAliveApiV1TiktokWebFetchCheckLiveAliveGet_0(ctx, roomId)

直播间开播状态检测/Live room start status check

[中文] ### 用途: - 直播间开播状态检测 - 如果当前直播间不存在或已下播,则返回空。 ### 参数: - room_id: 直播间ID ### 返回: - 直播间开播状态 # [English] ### Purpose: - Live room start status check - If the current live room does not exist or has ended, it will return empty. ### Parameters: - room_id: Live room ID ### Return: - Live room start status # [示例/Example] room_id = "7381444193462078214"

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
roomId string 直播间ID/Live room ID

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

FetchExplorePostApiV1TiktokWebFetchExplorePostGet

ResponseModel FetchExplorePostApiV1TiktokWebFetchExplorePostGet(ctx, optional)

获取探索作品数据/Get explore video data

[中文] ### 用途: - 获取探索作品数据 ### 参数: - categoryType: 作品分类 - 100: 动画与漫画 - 101: 表演 - 102: 美容护理 - 103: 游戏 - 104: 喜剧 - 105: 日常生活 - 106: 家庭 - 107: 情感关系 - 108: 戏剧 - 109: 穿搭 - 110: 对口型 - 111: 美食 - 112: 运动 - 113: 动物 - 114: 社会 - 115: 汽车 - 116: 教育 - 117: 健身和健康 - 118: 科技 - 119: 唱歌跳舞 - 120: 全部 - count: 每页数量 ### 返回: - 作品数据 # [English] ### Purpose: - Get explore video data ### Parameters: - categoryType: Video category - 100: Animation and comics - 101: Performance - 102: Beauty care - 103: Game - 104: Comedy - 105: Daily life - 106: Family - 107: Emotional relationship - 108: Drama - 109: Dress up - 110: Dubbing - 111: Food - 112: Sports - 113: Animals - 114: Society - 115: Car - 116: Education - 117: Fitness and health - 118: Technology - 119: Singing and dancing - 120: All - count: Number per page ### Return: - Video data # [示例/Example] categoryType = "120" count = 16

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
optional *FetchExplorePostApiV1TiktokWebFetchExplorePostGetOpts optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a pointer to a FetchExplorePostApiV1TiktokWebFetchExplorePostGetOpts struct

Name Type Description Notes
categoryType optional.String 作品分类/Video category [default to 120]
count optional.Int32 每页数量/Number per page [default to 16]

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

FetchExplorePostApiV1TiktokWebFetchExplorePostGet_0

ResponseModel FetchExplorePostApiV1TiktokWebFetchExplorePostGet_0(ctx, optional)

获取探索作品数据/Get explore video data

[中文] ### 用途: - 获取探索作品数据 ### 参数: - categoryType: 作品分类 - 100: 动画与漫画 - 101: 表演 - 102: 美容护理 - 103: 游戏 - 104: 喜剧 - 105: 日常生活 - 106: 家庭 - 107: 情感关系 - 108: 戏剧 - 109: 穿搭 - 110: 对口型 - 111: 美食 - 112: 运动 - 113: 动物 - 114: 社会 - 115: 汽车 - 116: 教育 - 117: 健身和健康 - 118: 科技 - 119: 唱歌跳舞 - 120: 全部 - count: 每页数量 ### 返回: - 作品数据 # [English] ### Purpose: - Get explore video data ### Parameters: - categoryType: Video category - 100: Animation and comics - 101: Performance - 102: Beauty care - 103: Game - 104: Comedy - 105: Daily life - 106: Family - 107: Emotional relationship - 108: Drama - 109: Dress up - 110: Dubbing - 111: Food - 112: Sports - 113: Animals - 114: Society - 115: Car - 116: Education - 117: Fitness and health - 118: Technology - 119: Singing and dancing - 120: All - count: Number per page ### Return: - Video data # [示例/Example] categoryType = "120" count = 16

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
optional *FetchExplorePostApiV1TiktokWebFetchExplorePostGet_3Opts optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a pointer to a FetchExplorePostApiV1TiktokWebFetchExplorePostGet_3Opts struct

Name Type Description Notes
categoryType optional.String 作品分类/Video category [default to 120]
count optional.Int32 每页数量/Number per page [default to 16]

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

FetchGeneralSearchApiV1TiktokWebFetchGeneralSearchGet

ResponseModel FetchGeneralSearchApiV1TiktokWebFetchGeneralSearchGet(ctx, keyword, optional)

获取综合搜索列表/Get general search list

[中文] ### 用途: - 获取综合搜索列表 ### 参数: - keyword: 搜索关键词 - offset: 翻页游标,第一次请求时为0,第二次请求时从上一次请求的返回响应中获取,一般这个值的关键字为offset或者cursor。 - search_id: 搜索id,第一次请求时为空,第二次翻页时需要提供,需要从上一次请求的返回响应中获取。 - 例如: search_id = "20240828035554C02011379EBB6A00E00B" - JSON Path-1 : . d a t a . e x t r a . l o g i d J S O N P a t h 2 : .data.log_pb.impr_id - cookie: 用户cookie(如果你需要使用自己的账号搜索,或者遇到接口报错,可以自行提供cookie,默认不需要提供) ### 返回: - 综合搜索列表 # [English] ### Purpose: - Get general search list ### Parameters: - keyword: Search keyword - offset: Page cursor, 0 for the first request, need to provide for the second paging, generally the keyword of this value is offset or cursor. - search_id: Search id, empty for the first request, need to provide for the second paging, need to get it from the return response of the last request. - For example: search_id = "20240828035554C02011379EBB6A00E00B" - JSON Path-1 : . d a t a . e x t r a . l o g i d J S O N P a t h 2 : .data.log_pb.impr_id - cookie: User cookie (If you need to search with your own account, or encounter an interface error, you can provide the cookie yourself, default is not required) ### Return: - General search list # [示例/Example] keyword = "TikTok" offset = 0 search_id = ""

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
keyword string 搜索关键词/Search keyword
optional *FetchGeneralSearchApiV1TiktokWebFetchGeneralSearchGetOpts optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a pointer to a FetchGeneralSearchApiV1TiktokWebFetchGeneralSearchGetOpts struct

Name Type Description Notes

offset | optional.Int32| 翻页游标/Page cursor | [default to 0] searchId | optional.String| 搜索id,翻页时需要提供/Search id, need to provide when paging | [default to ] cookie | optional.String| 用户cookie(按需提供)/User cookie(if needed) |

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

FetchGeneralSearchApiV1TiktokWebFetchGeneralSearchGet_0

ResponseModel FetchGeneralSearchApiV1TiktokWebFetchGeneralSearchGet_0(ctx, keyword, optional)

获取综合搜索列表/Get general search list

[中文] ### 用途: - 获取综合搜索列表 ### 参数: - keyword: 搜索关键词 - offset: 翻页游标,第一次请求时为0,第二次请求时从上一次请求的返回响应中获取,一般这个值的关键字为offset或者cursor。 - search_id: 搜索id,第一次请求时为空,第二次翻页时需要提供,需要从上一次请求的返回响应中获取。 - 例如: search_id = "20240828035554C02011379EBB6A00E00B" - JSON Path-1 : . d a t a . e x t r a . l o g i d J S O N P a t h 2 : .data.log_pb.impr_id - cookie: 用户cookie(如果你需要使用自己的账号搜索,或者遇到接口报错,可以自行提供cookie,默认不需要提供) ### 返回: - 综合搜索列表 # [English] ### Purpose: - Get general search list ### Parameters: - keyword: Search keyword - offset: Page cursor, 0 for the first request, need to provide for the second paging, generally the keyword of this value is offset or cursor. - search_id: Search id, empty for the first request, need to provide for the second paging, need to get it from the return response of the last request. - For example: search_id = "20240828035554C02011379EBB6A00E00B" - JSON Path-1 : . d a t a . e x t r a . l o g i d J S O N P a t h 2 : .data.log_pb.impr_id - cookie: User cookie (If you need to search with your own account, or encounter an interface error, you can provide the cookie yourself, default is not required) ### Return: - General search list # [示例/Example] keyword = "TikTok" offset = 0 search_id = ""

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
keyword string 搜索关键词/Search keyword
optional *FetchGeneralSearchApiV1TiktokWebFetchGeneralSearchGet_4Opts optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a pointer to a FetchGeneralSearchApiV1TiktokWebFetchGeneralSearchGet_4Opts struct

Name Type Description Notes

offset | optional.Int32| 翻页游标/Page cursor | [default to 0] searchId | optional.String| 搜索id,翻页时需要提供/Search id, need to provide when paging | [default to ] cookie | optional.String| 用户cookie(按需提供)/User cookie(if needed) |

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

FetchHomeFeedApiV1TiktokWebFetchHomeFeedPost

ResponseModel FetchHomeFeedApiV1TiktokWebFetchHomeFeedPost(ctx, optional)

首页推荐作品/Home Feed

[中文] ### 用途: - 首页推荐作品 ### 参数: - count: 每页数量 - cookie: 用户自己的cookie,可选参数,用于接口返回数据的个性化推荐。 ### 返回: - 首页推荐作品 # [English] ### Purpose: - Home Feed ### Parameters: - count: Number per page - cookie: User's own cookie, optional parameter, used for personalized recommendations of interface return data. ### Return: - Home Feed # [示例/Example] count = 15 Cookie = "Your_Cookie"

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
optional *FetchHomeFeedApiV1TiktokWebFetchHomeFeedPostOpts optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a pointer to a FetchHomeFeedApiV1TiktokWebFetchHomeFeedPostOpts struct

Name Type Description Notes
uNKNOWNBASETYPE optional.Interface of UNKNOWN_BASE_TYPE

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

FetchHomeFeedApiV1TiktokWebFetchHomeFeedPost_0

ResponseModel FetchHomeFeedApiV1TiktokWebFetchHomeFeedPost_0(ctx, optional)

首页推荐作品/Home Feed

[中文] ### 用途: - 首页推荐作品 ### 参数: - count: 每页数量 - cookie: 用户自己的cookie,可选参数,用于接口返回数据的个性化推荐。 ### 返回: - 首页推荐作品 # [English] ### Purpose: - Home Feed ### Parameters: - count: Number per page - cookie: User's own cookie, optional parameter, used for personalized recommendations of interface return data. ### Return: - Home Feed # [示例/Example] count = 15 Cookie = "Your_Cookie"

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
optional *FetchHomeFeedApiV1TiktokWebFetchHomeFeedPost_5Opts optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a pointer to a FetchHomeFeedApiV1TiktokWebFetchHomeFeedPost_5Opts struct

Name Type Description Notes
uNKNOWNBASETYPE optional.Interface of UNKNOWN_BASE_TYPE

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

FetchLiveRecommendApiV1TiktokWebFetchLiveRecommendGet

ResponseModel FetchLiveRecommendApiV1TiktokWebFetchLiveRecommendGet(ctx, relatedLiveTag)

获取直播间首页推荐列表/Get live room homepage recommendation list

[中文] ### 用途: - 获取直播间首页推荐列表 ### 参数: - related_live_tag: 相关直播标签 ### 返回: - 直播间首页推荐列表 # [English] ### Purpose: - Get live room homepage recommendation list ### Parameters: - related_live_tag: Related live tag ### Return: - Live room homepage recommendation list # [示例/Example] related_live_tag = "VALORANT"

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
relatedLiveTag string 相关直播标签/Related live tag

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

FetchLiveRecommendApiV1TiktokWebFetchLiveRecommendGet_0

ResponseModel FetchLiveRecommendApiV1TiktokWebFetchLiveRecommendGet_0(ctx, relatedLiveTag)

获取直播间首页推荐列表/Get live room homepage recommendation list

[中文] ### 用途: - 获取直播间首页推荐列表 ### 参数: - related_live_tag: 相关直播标签 ### 返回: - 直播间首页推荐列表 # [English] ### Purpose: - Get live room homepage recommendation list ### Parameters: - related_live_tag: Related live tag ### Return: - Live room homepage recommendation list # [示例/Example] related_live_tag = "VALORANT"

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
relatedLiveTag string 相关直播标签/Related live tag

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

FetchPostCommentApiV1TiktokWebFetchPostCommentGet

ResponseModel FetchPostCommentApiV1TiktokWebFetchPostCommentGet(ctx, awemeId, optional)

获取作品的评论列表/Get video comments

[中文] ### 用途: - 获取作品的评论列表 ### 参数: - aweme_id: 作品id - cursor: 翻页游标 - count: 每页数量 - current_region: 当前地区,默认为空。 ### 返回: - 作品的评论列表 # [English] ### Purpose: - Get video comments ### Parameters: - aweme_id: Video id - cursor: Page cursor - count: Number per page - current_region: Current region, default is empty. ### Return: - Video comments # [示例/Eample] aweme_id = "7304809083817774382" cursor = 0 count = 20 current_region = ""

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
awemeId string 作品id/Video id
optional *FetchPostCommentApiV1TiktokWebFetchPostCommentGetOpts optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a pointer to a FetchPostCommentApiV1TiktokWebFetchPostCommentGetOpts struct

Name Type Description Notes

cursor | optional.Int32| 翻页游标/Page cursor | [default to 0] count | optional.Int32| 每页数量/Number per page | [default to 20] currentRegion | optional.String| 当前地区/Current region | [default to ]

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

FetchPostCommentApiV1TiktokWebFetchPostCommentGet_0

ResponseModel FetchPostCommentApiV1TiktokWebFetchPostCommentGet_0(ctx, awemeId, optional)

获取作品的评论列表/Get video comments

[中文] ### 用途: - 获取作品的评论列表 ### 参数: - aweme_id: 作品id - cursor: 翻页游标 - count: 每页数量 - current_region: 当前地区,默认为空。 ### 返回: - 作品的评论列表 # [English] ### Purpose: - Get video comments ### Parameters: - aweme_id: Video id - cursor: Page cursor - count: Number per page - current_region: Current region, default is empty. ### Return: - Video comments # [示例/Eample] aweme_id = "7304809083817774382" cursor = 0 count = 20 current_region = ""

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
awemeId string 作品id/Video id
optional *FetchPostCommentApiV1TiktokWebFetchPostCommentGet_7Opts optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a pointer to a FetchPostCommentApiV1TiktokWebFetchPostCommentGet_7Opts struct

Name Type Description Notes

cursor | optional.Int32| 翻页游标/Page cursor | [default to 0] count | optional.Int32| 每页数量/Number per page | [default to 20] currentRegion | optional.String| 当前地区/Current region | [default to ]

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

FetchPostCommentReplyApiV1TiktokWebFetchPostCommentReplyGet

ResponseModel FetchPostCommentReplyApiV1TiktokWebFetchPostCommentReplyGet(ctx, itemId, commentId, optional)

获取作品的评论回复列表/Get video comment replies

[中文] ### 用途: - 获取作品的评论回复列表 ### 参数: - item_id: 作品id - comment_id: 评论id - cursor: 翻页游标 - count: 每页数量 - current_region: 当前地区,默认为空。 ### 返回: - 作品的评论回复列表 # [English] ### Purpose: - Get video comment replies ### Parameters: - item_id: Video id - comment_id: Comment id - cursor: Page cursor - count: Number per page - current_region: Current region, default is empty. ### Return: - Video comment replies # [示例/Eample] item_id = "7304809083817774382" comment_id = "7304877760886588191" cursor = 0 count = 20 current_region = ""

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
itemId string 作品id/Video id
commentId string 评论id/Comment id
optional *FetchPostCommentReplyApiV1TiktokWebFetchPostCommentReplyGetOpts optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a pointer to a FetchPostCommentReplyApiV1TiktokWebFetchPostCommentReplyGetOpts struct

Name Type Description Notes

cursor | optional.Int32| 翻页游标/Page cursor | [default to 0] count | optional.Int32| 每页数量/Number per page | [default to 20] currentRegion | optional.String| 当前地区/Current region | [default to ]

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

FetchPostCommentReplyApiV1TiktokWebFetchPostCommentReplyGet_0

ResponseModel FetchPostCommentReplyApiV1TiktokWebFetchPostCommentReplyGet_0(ctx, itemId, commentId, optional)

获取作品的评论回复列表/Get video comment replies

[中文] ### 用途: - 获取作品的评论回复列表 ### 参数: - item_id: 作品id - comment_id: 评论id - cursor: 翻页游标 - count: 每页数量 - current_region: 当前地区,默认为空。 ### 返回: - 作品的评论回复列表 # [English] ### Purpose: - Get video comment replies ### Parameters: - item_id: Video id - comment_id: Comment id - cursor: Page cursor - count: Number per page - current_region: Current region, default is empty. ### Return: - Video comment replies # [示例/Eample] item_id = "7304809083817774382" comment_id = "7304877760886588191" cursor = 0 count = 20 current_region = ""

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
itemId string 作品id/Video id
commentId string 评论id/Comment id
optional *FetchPostCommentReplyApiV1TiktokWebFetchPostCommentReplyGet_8Opts optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a pointer to a FetchPostCommentReplyApiV1TiktokWebFetchPostCommentReplyGet_8Opts struct

Name Type Description Notes

cursor | optional.Int32| 翻页游标/Page cursor | [default to 0] count | optional.Int32| 每页数量/Number per page | [default to 20] currentRegion | optional.String| 当前地区/Current region | [default to ]

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

FetchPostDetailApiV1TiktokWebFetchPostDetailGet

ResponseModel FetchPostDetailApiV1TiktokWebFetchPostDetailGet(ctx, itemId)

获取单个作品数据/Get single video data

[中文] ### 用途: - 获取单个作品数据 - 此接口无法用于视频下载,只能获取视频数据,访问此接口返回的视频链接会返回HTTP403报错。 - 如果有视频下载需求,请使用 /api/v1/tiktok/app/v2/fetch_one_video 接口。 ### 参数: - itemId: 作品id ### 返回: - 作品数据 # [English] ### Purpose: - Get single video data - This interface cannot be used for video download, it can only get video data, and accessing the video link returned by this interface will return an HTTP403 error. - If you need to download videos, please use the /api/v1/tiktok/app/v2/fetch_one_video interface. ### Parameters: - itemId: Video id ### Return: - Video data # [示例/Example] itemId = "7339393672959757570"

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
itemId string 作品id/Video id

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

FetchPostDetailApiV1TiktokWebFetchPostDetailGet_0

ResponseModel FetchPostDetailApiV1TiktokWebFetchPostDetailGet_0(ctx, itemId)

获取单个作品数据/Get single video data

[中文] ### 用途: - 获取单个作品数据 - 此接口无法用于视频下载,只能获取视频数据,访问此接口返回的视频链接会返回HTTP403报错。 - 如果有视频下载需求,请使用 /api/v1/tiktok/app/v2/fetch_one_video 接口。 ### 参数: - itemId: 作品id ### 返回: - 作品数据 # [English] ### Purpose: - Get single video data - This interface cannot be used for video download, it can only get video data, and accessing the video link returned by this interface will return an HTTP403 error. - If you need to download videos, please use the /api/v1/tiktok/app/v2/fetch_one_video interface. ### Parameters: - itemId: Video id ### Return: - Video data # [示例/Example] itemId = "7339393672959757570"

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
itemId string 作品id/Video id

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

FetchSearchKeywordSuggestApiV1TiktokWebFetchSearchKeywordSuggestGet

ResponseModel FetchSearchKeywordSuggestApiV1TiktokWebFetchSearchKeywordSuggestGet(ctx, keyword)

搜索关键字推荐/Search keyword suggest

[中文] ### 用途: - 搜索关键字推荐 ### 参数: - keyword: 搜索关键词 ### 返回: - 关键字推荐列表 # [English] ### Purpose: - Search keyword suggest ### Parameters: - keyword: Search keyword ### Return: - Keyword suggest list # [示例/Example] keyword = "TikTok"

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
keyword string 搜索关键词/Search keyword

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

FetchSearchKeywordSuggestApiV1TiktokWebFetchSearchKeywordSuggestGet_0

ResponseModel FetchSearchKeywordSuggestApiV1TiktokWebFetchSearchKeywordSuggestGet_0(ctx, keyword)

搜索关键字推荐/Search keyword suggest

[中文] ### 用途: - 搜索关键字推荐 ### 参数: - keyword: 搜索关键词 ### 返回: - 关键字推荐列表 # [English] ### Purpose: - Search keyword suggest ### Parameters: - keyword: Search keyword ### Return: - Keyword suggest list # [示例/Example] keyword = "TikTok"

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
keyword string 搜索关键词/Search keyword

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

FetchSearchLiveApiV1TiktokWebFetchSearchLiveGet

ResponseModel FetchSearchLiveApiV1TiktokWebFetchSearchLiveGet(ctx, keyword, optional)

搜索直播/Search live

[中文] ### 用途: - 搜索直播 ### 参数: - keyword: 搜索关键词 - count: 每页数量 - offset: 翻页游标,第一次请求时为0,第二次请求时从上一次请求的返回响应中获取,一般这个值的关键字为offset或者cursor。 - search_id: 搜索id,第一次请求时为空,第二次翻页时需要提供,需要从上一次请求的返回响应中获取。 - 例如: search_id = "20240828035554C02011379EBB6A00E00B" - JSON Path-1 : . d a t a . e x t r a . l o g i d J S O N P a t h 2 : .data.log_pb.impr_id - cookie: 用户cookie(如果你需要使用自己的账号搜索,或者遇到接口报错,可以自行提供cookie,默认不需要提供) ### 返回: - 直播列表 # [English] ### Purpose: - Search live ### Parameters: - keyword: Search keyword - count: Number per page - offset: Page cursor, 0 for the first request, need to provide for the second paging, generally the keyword of this value is offset or cursor. - search_id: Search id, empty for the first request, need to provide for the second paging, need to get it from the return response of the last request. - For example: search_id = "20240828035554C02011379EBB6A00E00B" - JSON Path-1 : . d a t a . e x t r a . l o g i d J S O N P a t h 2 : .data.log_pb.impr_id - cookie: User cookie (If you need to search with your own account, or encounter an interface error, you can provide the cookie yourself, default is not required) ### Return: - Live list # [示例/Example] keyword = "TikTok" count = 20 offset = 0 search_id = ""

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
keyword string 搜索关键词/Search keyword
optional *FetchSearchLiveApiV1TiktokWebFetchSearchLiveGetOpts optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a pointer to a FetchSearchLiveApiV1TiktokWebFetchSearchLiveGetOpts struct

Name Type Description Notes

count | optional.Int32| 每页数量/Number per page | [default to 20] offset | optional.Int32| 翻页游标/Page cursor | [default to 0] searchId | optional.String| 搜索id,翻页时需要提供/Search id, need to provide when paging | [default to ] cookie | optional.String| 用户cookie(按需提供)/User cookie(if needed) |

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

FetchSearchLiveApiV1TiktokWebFetchSearchLiveGet_0

ResponseModel FetchSearchLiveApiV1TiktokWebFetchSearchLiveGet_0(ctx, keyword, optional)

搜索直播/Search live

[中文] ### 用途: - 搜索直播 ### 参数: - keyword: 搜索关键词 - count: 每页数量 - offset: 翻页游标,第一次请求时为0,第二次请求时从上一次请求的返回响应中获取,一般这个值的关键字为offset或者cursor。 - search_id: 搜索id,第一次请求时为空,第二次翻页时需要提供,需要从上一次请求的返回响应中获取。 - 例如: search_id = "20240828035554C02011379EBB6A00E00B" - JSON Path-1 : . d a t a . e x t r a . l o g i d J S O N P a t h 2 : .data.log_pb.impr_id - cookie: 用户cookie(如果你需要使用自己的账号搜索,或者遇到接口报错,可以自行提供cookie,默认不需要提供) ### 返回: - 直播列表 # [English] ### Purpose: - Search live ### Parameters: - keyword: Search keyword - count: Number per page - offset: Page cursor, 0 for the first request, need to provide for the second paging, generally the keyword of this value is offset or cursor. - search_id: Search id, empty for the first request, need to provide for the second paging, need to get it from the return response of the last request. - For example: search_id = "20240828035554C02011379EBB6A00E00B" - JSON Path-1 : . d a t a . e x t r a . l o g i d J S O N P a t h 2 : .data.log_pb.impr_id - cookie: User cookie (If you need to search with your own account, or encounter an interface error, you can provide the cookie yourself, default is not required) ### Return: - Live list # [示例/Example] keyword = "TikTok" count = 20 offset = 0 search_id = ""

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
keyword string 搜索关键词/Search keyword
optional *FetchSearchLiveApiV1TiktokWebFetchSearchLiveGet_11Opts optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a pointer to a FetchSearchLiveApiV1TiktokWebFetchSearchLiveGet_11Opts struct

Name Type Description Notes

count | optional.Int32| 每页数量/Number per page | [default to 20] offset | optional.Int32| 翻页游标/Page cursor | [default to 0] searchId | optional.String| 搜索id,翻页时需要提供/Search id, need to provide when paging | [default to ] cookie | optional.String| 用户cookie(按需提供)/User cookie(if needed) |

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

FetchSearchUserApiV1TiktokWebFetchSearchUserGet

ResponseModel FetchSearchUserApiV1TiktokWebFetchSearchUserGet(ctx, keyword, optional)

搜索用户/Search user

[中文] ### 用途: - 搜索用户 ### 参数: - keyword: 搜索关键词 - cursor: 翻页游标,第一次请求时为0,第二次请求时从上一次请求的返回响应中获取,一般这个值的关键字为offset或者cursor。 - search_id: 搜索id,第一次请求时为空,第二次翻页时需要提供,需要从上一次请求的返回响应中获取。 - 例如: search_id = "20240828035554C02011379EBB6A00E00B" - JSON Path-1 : . d a t a . e x t r a . l o g i d J S O N P a t h 2 : .data.log_pb.impr_id - cookie: 用户cookie(如果你需要使用自己的账号搜索,或者遇到接口报错,可以自行提供cookie,默认不需要提供) ### 返回: - 用户列表 # [English] ### Purpose: - Search user ### Parameters: - keyword: Search keyword - cursor: Page cursor, 0 for the first request, need to provide for the second paging, generally the keyword of this value is offset or cursor. - search_id: Search id, empty for the first request, need to provide for the second paging, need to get it from the return response of the last request. - For example: search_id = "20240828035554C02011379EBB6A00E00B" - JSON Path-1 : . d a t a . e x t r a . l o g i d J S O N P a t h 2 : .data.log_pb.impr_id - cookie: User cookie (If you need to search with your own account, or encounter an interface error, you can provide the cookie yourself, default is not required) ### Return: - User list # [示例/Example] keyword = "TikTok" cursor = 0 search_id = ""

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
keyword string 搜索关键词/Search keyword
optional *FetchSearchUserApiV1TiktokWebFetchSearchUserGetOpts optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a pointer to a FetchSearchUserApiV1TiktokWebFetchSearchUserGetOpts struct

Name Type Description Notes

cursor | optional.Int32| 翻页游标/Page cursor | [default to 0] searchId | optional.String| 搜索id,翻页时需要提供/Search id, need to provide when paging | [default to ] cookie | optional.String| 用户cookie(按需提供)/User cookie(if needed) |

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

FetchSearchUserApiV1TiktokWebFetchSearchUserGet_0

ResponseModel FetchSearchUserApiV1TiktokWebFetchSearchUserGet_0(ctx, keyword, optional)

搜索用户/Search user

[中文] ### 用途: - 搜索用户 ### 参数: - keyword: 搜索关键词 - cursor: 翻页游标,第一次请求时为0,第二次请求时从上一次请求的返回响应中获取,一般这个值的关键字为offset或者cursor。 - search_id: 搜索id,第一次请求时为空,第二次翻页时需要提供,需要从上一次请求的返回响应中获取。 - 例如: search_id = "20240828035554C02011379EBB6A00E00B" - JSON Path-1 : . d a t a . e x t r a . l o g i d J S O N P a t h 2 : .data.log_pb.impr_id - cookie: 用户cookie(如果你需要使用自己的账号搜索,或者遇到接口报错,可以自行提供cookie,默认不需要提供) ### 返回: - 用户列表 # [English] ### Purpose: - Search user ### Parameters: - keyword: Search keyword - cursor: Page cursor, 0 for the first request, need to provide for the second paging, generally the keyword of this value is offset or cursor. - search_id: Search id, empty for the first request, need to provide for the second paging, need to get it from the return response of the last request. - For example: search_id = "20240828035554C02011379EBB6A00E00B" - JSON Path-1 : . d a t a . e x t r a . l o g i d J S O N P a t h 2 : .data.log_pb.impr_id - cookie: User cookie (If you need to search with your own account, or encounter an interface error, you can provide the cookie yourself, default is not required) ### Return: - User list # [示例/Example] keyword = "TikTok" cursor = 0 search_id = ""

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
keyword string 搜索关键词/Search keyword
optional *FetchSearchUserApiV1TiktokWebFetchSearchUserGet_12Opts optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a pointer to a FetchSearchUserApiV1TiktokWebFetchSearchUserGet_12Opts struct

Name Type Description Notes

cursor | optional.Int32| 翻页游标/Page cursor | [default to 0] searchId | optional.String| 搜索id,翻页时需要提供/Search id, need to provide when paging | [default to ] cookie | optional.String| 用户cookie(按需提供)/User cookie(if needed) |

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

FetchSearchVideoApiV1TiktokWebFetchSearchVideoGet

ResponseModel FetchSearchVideoApiV1TiktokWebFetchSearchVideoGet(ctx, keyword, optional)

搜索视频/Search video

[中文] ### 用途: - 搜索视频 ### 参数: - keyword: 搜索关键词 - count: 每页数量,建议保持默认值20。 - cursor: 翻页游标,第一次请求时为0,第二次请求时从上一次请求的返回响应中获取,一般这个值的关键字为offset或者cursor。 - search_id: 搜索id,第一次请求时为空,第二次翻页时需要提供,需要从上一次请求的返回响应中获取。 - 例如: search_id = "20240828035554C02011379EBB6A00E00B" - JSON Path-1 : . d a t a . e x t r a . l o g i d J S O N P a t h 2 : .data.log_pb.impr_id - cookie: 用户cookie(如果你需要使用自己的账号搜索,或者遇到接口报错,可以自行提供cookie,默认不需要提供) ### 返回: - 视频列表 # [English] ### Purpose: - Search video ### Parameters: - keyword: Search keyword - count: Number per page, it is recommended to keep the default value 20. - cursor: Page cursor, 0 for the first request, need to provide for the second paging, generally the keyword of this value is offset or cursor. - search_id: Search id, empty for the first request, need to provide for the second paging, need to get it from the return response of the last request. - For example: search_id = "20240828035554C02011379EBB6A00E00B" - JSON Path-1 : . d a t a . e x t r a . l o g i d J S O N P a t h 2 : .data.log_pb.impr_id - offset: Page cursor - cookie: User cookie (If you need to search with your own account, or encounter an interface error, you can provide the cookie yourself, default is not required) ### Return: - Video list # [示例/Example] keyword = "TikTok" count = 20 offset = 0 search_id = ""

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
keyword string 搜索关键词/Search keyword
optional *FetchSearchVideoApiV1TiktokWebFetchSearchVideoGetOpts optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a pointer to a FetchSearchVideoApiV1TiktokWebFetchSearchVideoGetOpts struct

Name Type Description Notes

count | optional.Int32| 每页数量/Number per page | [default to 20] offset | optional.Int32| 翻页游标/Page cursor | [default to 0] searchId | optional.String| 搜索id,翻页时需要提供/Search id, need to provide when paging | [default to ] cookie | optional.String| 用户cookie(按需提供)/User cookie(if needed) |

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

FetchSearchVideoApiV1TiktokWebFetchSearchVideoGet_0

ResponseModel FetchSearchVideoApiV1TiktokWebFetchSearchVideoGet_0(ctx, keyword, optional)

搜索视频/Search video

[中文] ### 用途: - 搜索视频 ### 参数: - keyword: 搜索关键词 - count: 每页数量,建议保持默认值20。 - cursor: 翻页游标,第一次请求时为0,第二次请求时从上一次请求的返回响应中获取,一般这个值的关键字为offset或者cursor。 - search_id: 搜索id,第一次请求时为空,第二次翻页时需要提供,需要从上一次请求的返回响应中获取。 - 例如: search_id = "20240828035554C02011379EBB6A00E00B" - JSON Path-1 : . d a t a . e x t r a . l o g i d J S O N P a t h 2 : .data.log_pb.impr_id - cookie: 用户cookie(如果你需要使用自己的账号搜索,或者遇到接口报错,可以自行提供cookie,默认不需要提供) ### 返回: - 视频列表 # [English] ### Purpose: - Search video ### Parameters: - keyword: Search keyword - count: Number per page, it is recommended to keep the default value 20. - cursor: Page cursor, 0 for the first request, need to provide for the second paging, generally the keyword of this value is offset or cursor. - search_id: Search id, empty for the first request, need to provide for the second paging, need to get it from the return response of the last request. - For example: search_id = "20240828035554C02011379EBB6A00E00B" - JSON Path-1 : . d a t a . e x t r a . l o g i d J S O N P a t h 2 : .data.log_pb.impr_id - offset: Page cursor - cookie: User cookie (If you need to search with your own account, or encounter an interface error, you can provide the cookie yourself, default is not required) ### Return: - Video list # [示例/Example] keyword = "TikTok" count = 20 offset = 0 search_id = ""

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
keyword string 搜索关键词/Search keyword
optional *FetchSearchVideoApiV1TiktokWebFetchSearchVideoGet_13Opts optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a pointer to a FetchSearchVideoApiV1TiktokWebFetchSearchVideoGet_13Opts struct

Name Type Description Notes

count | optional.Int32| 每页数量/Number per page | [default to 20] offset | optional.Int32| 翻页游标/Page cursor | [default to 0] searchId | optional.String| 搜索id,翻页时需要提供/Search id, need to provide when paging | [default to ] cookie | optional.String| 用户cookie(按需提供)/User cookie(if needed) |

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

FetchTagDetailApiV1TiktokWebFetchTagDetailGet

ResponseModel FetchTagDetailApiV1TiktokWebFetchTagDetailGet(ctx, tagName)

Tag详情/Tag Detail

[中文] ### 用途: - Tag详情 ### 参数: - tag_name: Tag名称 ### 返回: - Tag详情 # [English] ### Purpose: - Tag Detail ### Parameters: - tag_name: Tag name ### Return: - Tag Detail # [示例/Example] tag_name = "tiktok"

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
tagName string Tag名称/Tag name

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

FetchTagDetailApiV1TiktokWebFetchTagDetailGet_0

ResponseModel FetchTagDetailApiV1TiktokWebFetchTagDetailGet_0(ctx, tagName)

Tag详情/Tag Detail

[中文] ### 用途: - Tag详情 ### 参数: - tag_name: Tag名称 ### 返回: - Tag详情 # [English] ### Purpose: - Tag Detail ### Parameters: - tag_name: Tag name ### Return: - Tag Detail # [示例/Example] tag_name = "tiktok"

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
tagName string Tag名称/Tag name

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

FetchTagPostApiV1TiktokWebFetchTagPostGet

ResponseModel FetchTagPostApiV1TiktokWebFetchTagPostGet(ctx, challengeID, optional)

Tag作品/Tag Post

[中文] ### 用途: - Tag作品 ### 参数: - challengeID: Tag ID - count: 每页数量 - cursor: 翻页游标 ### 返回: - Tag作品 # [English] ### Purpose: - Tag Post ### Parameters: - challengeID: Tag ID - count: Number per page - cursor: Page cursor ### Return: - Tag Post # [示例/Example] challengeID = "7551" count = 30 cursor = 0

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
challengeID string Tag ID
optional *FetchTagPostApiV1TiktokWebFetchTagPostGetOpts optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a pointer to a FetchTagPostApiV1TiktokWebFetchTagPostGetOpts struct

Name Type Description Notes

count | optional.Int32| 每页数量/Number per page | [default to 30] cursor | optional.Int32| 翻页游标/Page cursor | [default to 0]

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

FetchTagPostApiV1TiktokWebFetchTagPostGet_0

ResponseModel FetchTagPostApiV1TiktokWebFetchTagPostGet_0(ctx, challengeID, optional)

Tag作品/Tag Post

[中文] ### 用途: - Tag作品 ### 参数: - challengeID: Tag ID - count: 每页数量 - cursor: 翻页游标 ### 返回: - Tag作品 # [English] ### Purpose: - Tag Post ### Parameters: - challengeID: Tag ID - count: Number per page - cursor: Page cursor ### Return: - Tag Post # [示例/Example] challengeID = "7551" count = 30 cursor = 0

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
challengeID string Tag ID
optional *FetchTagPostApiV1TiktokWebFetchTagPostGet_15Opts optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a pointer to a FetchTagPostApiV1TiktokWebFetchTagPostGet_15Opts struct

Name Type Description Notes

count | optional.Int32| 每页数量/Number per page | [default to 30] cursor | optional.Int32| 翻页游标/Page cursor | [default to 0]

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

FetchTiktokLiveDataApiV1TiktokWebFetchTiktokLiveDataGet

ResponseModel FetchTiktokLiveDataApiV1TiktokWebFetchTiktokLiveDataGet(ctx, liveRoomUrl)

通过直播链接获取直播间信息/Get live room information via live link

[中文] ### 用途: - 通过直播链接获取直播间信息 - 此接口可获取离线直播间信息 ### 参数: - live_room_url: 直播间链接 ### 返回: - 直播间信息 # [English] ### Purpose: - Get live room information via live link - This interface can get offline live room information ### Parameters: - live_room_url: Live room link ### Return: - Live room information # [示例/Example] live_room_url = "https://www.tiktok.com/@.caseoh_daily/live\"

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
liveRoomUrl string 直播间链接/Live room link

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

FetchTiktokLiveDataApiV1TiktokWebFetchTiktokLiveDataGet_0

ResponseModel FetchTiktokLiveDataApiV1TiktokWebFetchTiktokLiveDataGet_0(ctx, liveRoomUrl)

通过直播链接获取直播间信息/Get live room information via live link

[中文] ### 用途: - 通过直播链接获取直播间信息 - 此接口可获取离线直播间信息 ### 参数: - live_room_url: 直播间链接 ### 返回: - 直播间信息 # [English] ### Purpose: - Get live room information via live link - This interface can get offline live room information ### Parameters: - live_room_url: Live room link ### Return: - Live room information # [示例/Example] live_room_url = "https://www.tiktok.com/@.caseoh_daily/live\"

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
liveRoomUrl string 直播间链接/Live room link

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

FetchTrendingPostApiV1TiktokWebFetchTrendingPostGet

ResponseModel FetchTrendingPostApiV1TiktokWebFetchTrendingPostGet(ctx, )

获取每日热门内容作品数据/Get daily trending video data

[中文] ### 用途: - 获取每日热门内容作品数据 ### 返回: - 作品数据 # [English] ### Purpose: - Get daily trending video data ### Return: - Video data # [示例/Example]

Required Parameters

This endpoint does not need any parameter.

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

FetchTrendingPostApiV1TiktokWebFetchTrendingPostGet_0

ResponseModel FetchTrendingPostApiV1TiktokWebFetchTrendingPostGet_0(ctx, )

获取每日热门内容作品数据/Get daily trending video data

[中文] ### 用途: - 获取每日热门内容作品数据 ### 返回: - 作品数据 # [English] ### Purpose: - Get daily trending video data ### Return: - Video data # [示例/Example]

Required Parameters

This endpoint does not need any parameter.

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

FetchUserCollectApiV1TiktokWebFetchUserCollectGet

ResponseModel FetchUserCollectApiV1TiktokWebFetchUserCollectGet(ctx, cookie, secUid, optional)

获取用户的收藏列表/Get user favorites

[中文] ### 用途: - 获取用户的收藏列表 - 注意: 该接口目前只能获取自己的收藏列表,需要提供自己账号的cookie。 ### 参数: - cookie: 用户cookie - secUid: 用户secUid - cursor: 翻页游标 - count: 每页数量 - coverFormat: 封面格式 ### 返回: - 用户的收藏列表 # [English] ### Purpose: - Get user favorites - Note: This interface can currently only get your own favorites list, you need to provide your account cookie. ### Parameters: - cookie: User cookie - secUid: User secUid - cursor: Page cursor - count: Number per page - coverFormat: Cover format ### Return: - User favorites # [示例/Example] cookie = "Your_Cookie" secUid = "Your_SecUid" cursor = 0 count = 30 coverFormat = 2

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
cookie string 用户cookie/User cookie
secUid string 用户secUid/User secUid
optional *FetchUserCollectApiV1TiktokWebFetchUserCollectGetOpts optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a pointer to a FetchUserCollectApiV1TiktokWebFetchUserCollectGetOpts struct

Name Type Description Notes

cursor | optional.Int32| 翻页游标/Page cursor | [default to 0] count | optional.Int32| 每页数量/Number per page | [default to 30] coverFormat | optional.Int32| 封面格式/Cover format | [default to 2]

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

FetchUserCollectApiV1TiktokWebFetchUserCollectGet_0

ResponseModel FetchUserCollectApiV1TiktokWebFetchUserCollectGet_0(ctx, cookie, secUid, optional)

获取用户的收藏列表/Get user favorites

[中文] ### 用途: - 获取用户的收藏列表 - 注意: 该接口目前只能获取自己的收藏列表,需要提供自己账号的cookie。 ### 参数: - cookie: 用户cookie - secUid: 用户secUid - cursor: 翻页游标 - count: 每页数量 - coverFormat: 封面格式 ### 返回: - 用户的收藏列表 # [English] ### Purpose: - Get user favorites - Note: This interface can currently only get your own favorites list, you need to provide your account cookie. ### Parameters: - cookie: User cookie - secUid: User secUid - cursor: Page cursor - count: Number per page - coverFormat: Cover format ### Return: - User favorites # [示例/Example] cookie = "Your_Cookie" secUid = "Your_SecUid" cursor = 0 count = 30 coverFormat = 2

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
cookie string 用户cookie/User cookie
secUid string 用户secUid/User secUid
optional *FetchUserCollectApiV1TiktokWebFetchUserCollectGet_18Opts optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a pointer to a FetchUserCollectApiV1TiktokWebFetchUserCollectGet_18Opts struct

Name Type Description Notes

cursor | optional.Int32| 翻页游标/Page cursor | [default to 0] count | optional.Int32| 每页数量/Number per page | [default to 30] coverFormat | optional.Int32| 封面格式/Cover format | [default to 2]

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

FetchUserFansApiV1TiktokWebFetchUserFansGet

ResponseModel FetchUserFansApiV1TiktokWebFetchUserFansGet(ctx, secUid, optional)

获取用户的粉丝列表/Get user followers

[中文] ### 用途: - 获取用户的粉丝列表 ### 参数: - secUid: 用户secUid - count: 每页数量 - maxCursor: 最大游标 - minCursor: 最小游标 ### 返回: - 用户的粉丝列表 # [English] ### Purpose: - Get user followers ### Parameters: - secUid: User secUid - count: Number per page - maxCursor: Max cursor - minCursor: Min cursor ### Return: - User followers # [示例/Example] secUid = "MS4wLjABAAAAv7iSuuXDJGDvJkmH_vz1qkDZYo1apxgzaxdBSeIuPiM" count = 30 maxCursor = 0 minCursor = 0

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
secUid string 用户secUid/User secUid
optional *FetchUserFansApiV1TiktokWebFetchUserFansGetOpts optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a pointer to a FetchUserFansApiV1TiktokWebFetchUserFansGetOpts struct

Name Type Description Notes

count | optional.Int32| 每页数量/Number per page | [default to 30] maxCursor | optional.Int32| 最大游标/Max cursor | [default to 0] minCursor | optional.Int32| 最小游标/Min cursor | [default to 0]

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

FetchUserFansApiV1TiktokWebFetchUserFansGet_0

ResponseModel FetchUserFansApiV1TiktokWebFetchUserFansGet_0(ctx, secUid, optional)

获取用户的粉丝列表/Get user followers

[中文] ### 用途: - 获取用户的粉丝列表 ### 参数: - secUid: 用户secUid - count: 每页数量 - maxCursor: 最大游标 - minCursor: 最小游标 ### 返回: - 用户的粉丝列表 # [English] ### Purpose: - Get user followers ### Parameters: - secUid: User secUid - count: Number per page - maxCursor: Max cursor - minCursor: Min cursor ### Return: - User followers # [示例/Example] secUid = "MS4wLjABAAAAv7iSuuXDJGDvJkmH_vz1qkDZYo1apxgzaxdBSeIuPiM" count = 30 maxCursor = 0 minCursor = 0

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
secUid string 用户secUid/User secUid
optional *FetchUserFansApiV1TiktokWebFetchUserFansGet_19Opts optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a pointer to a FetchUserFansApiV1TiktokWebFetchUserFansGet_19Opts struct

Name Type Description Notes

count | optional.Int32| 每页数量/Number per page | [default to 30] maxCursor | optional.Int32| 最大游标/Max cursor | [default to 0] minCursor | optional.Int32| 最小游标/Min cursor | [default to 0]

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

FetchUserFollowApiV1TiktokWebFetchUserFollowGet

ResponseModel FetchUserFollowApiV1TiktokWebFetchUserFollowGet(ctx, secUid, optional)

获取用户的关注列表/Get user followings

[中文] ### 用途: - 获取用户的关注列表 ### 参数: - secUid: 用户secUid - count: 每页数量 - maxCursor: 最大游标 - minCursor: 最小游标 ### 返回: - 用户的关注列表 # [English] ### Purpose: - Get user followings ### Parameters: - secUid: User secUid - count: Number per page - maxCursor: Max cursor - minCursor: Min cursor ### Return: - User followings # [示例/Example] secUid = "MS4wLjABAAAAv7iSuuXDJGDvJkmH_vz1qkDZYo1apxgzaxdBSeIuPiM" count = 30 maxCursor = 0 minCursor = 0

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
secUid string 用户secUid/User secUid
optional *FetchUserFollowApiV1TiktokWebFetchUserFollowGetOpts optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a pointer to a FetchUserFollowApiV1TiktokWebFetchUserFollowGetOpts struct

Name Type Description Notes

count | optional.Int32| 每页数量/Number per page | [default to 30] maxCursor | optional.Int32| 最大游标/Max cursor | [default to 0] minCursor | optional.Int32| 最小游标/Min cursor | [default to 0]

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

FetchUserFollowApiV1TiktokWebFetchUserFollowGet_0

ResponseModel FetchUserFollowApiV1TiktokWebFetchUserFollowGet_0(ctx, secUid, optional)

获取用户的关注列表/Get user followings

[中文] ### 用途: - 获取用户的关注列表 ### 参数: - secUid: 用户secUid - count: 每页数量 - maxCursor: 最大游标 - minCursor: 最小游标 ### 返回: - 用户的关注列表 # [English] ### Purpose: - Get user followings ### Parameters: - secUid: User secUid - count: Number per page - maxCursor: Max cursor - minCursor: Min cursor ### Return: - User followings # [示例/Example] secUid = "MS4wLjABAAAAv7iSuuXDJGDvJkmH_vz1qkDZYo1apxgzaxdBSeIuPiM" count = 30 maxCursor = 0 minCursor = 0

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
secUid string 用户secUid/User secUid
optional *FetchUserFollowApiV1TiktokWebFetchUserFollowGet_20Opts optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a pointer to a FetchUserFollowApiV1TiktokWebFetchUserFollowGet_20Opts struct

Name Type Description Notes

count | optional.Int32| 每页数量/Number per page | [default to 30] maxCursor | optional.Int32| 最大游标/Max cursor | [default to 0] minCursor | optional.Int32| 最小游标/Min cursor | [default to 0]

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

FetchUserLikeApiV1TiktokWebFetchUserLikeGet

ResponseModel FetchUserLikeApiV1TiktokWebFetchUserLikeGet(ctx, secUid, optional)

获取用户的点赞列表/Get user likes

[中文] ### 用途: - 获取用户的点赞列表 - 注意: 该接口需要用户点赞列表为公开状态 ### 参数: - secUid: 用户secUid - cursor: 翻页游标 - count: 每页数量,默认为20,不可变更。 - coverFormat: 封面格式 - post_item_list_request_type: 排序方式 - 0:默认排序 - 1:热门排序 - 2:最旧排序 ### 返回: - 用户的点赞列表 # [English] ### Purpose: - Get user likes - Note: This interface requires that the user's like list be public ### Parameters: - secUid: User secUid - cursor: Page cursor - count: Number per page, default is 20, cannot be changed. - coverFormat: Cover format - post_item_list_request_type: Sort type - 0: Default sort - 1: Hot sort - 2: Oldest sort ### Return: - User likes # [示例/Example] secUid = "MS4wLjABAAAAq1iRXNduFZpY301UkVpJ1eQT60_NiWS9QQSeNqmNQEDJp0pOF8cpleNEdiJx5_IU" cursor = 0 count = 20 coverFormat = 2

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
secUid string 用户secUid/User secUid
optional *FetchUserLikeApiV1TiktokWebFetchUserLikeGetOpts optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a pointer to a FetchUserLikeApiV1TiktokWebFetchUserLikeGetOpts struct

Name Type Description Notes

cursor | optional.Int32| 翻页游标/Page cursor | [default to 0] count | optional.Int32| 每页数量/Number per page | [default to 20] coverFormat | optional.Int32| 封面格式/Cover format | [default to 2] postItemListRequestType | optional.Int32| 排序方式/Sort type | [default to 0]

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

FetchUserLikeApiV1TiktokWebFetchUserLikeGet_0

ResponseModel FetchUserLikeApiV1TiktokWebFetchUserLikeGet_0(ctx, secUid, optional)

获取用户的点赞列表/Get user likes

[中文] ### 用途: - 获取用户的点赞列表 - 注意: 该接口需要用户点赞列表为公开状态 ### 参数: - secUid: 用户secUid - cursor: 翻页游标 - count: 每页数量,默认为20,不可变更。 - coverFormat: 封面格式 - post_item_list_request_type: 排序方式 - 0:默认排序 - 1:热门排序 - 2:最旧排序 ### 返回: - 用户的点赞列表 # [English] ### Purpose: - Get user likes - Note: This interface requires that the user's like list be public ### Parameters: - secUid: User secUid - cursor: Page cursor - count: Number per page, default is 20, cannot be changed. - coverFormat: Cover format - post_item_list_request_type: Sort type - 0: Default sort - 1: Hot sort - 2: Oldest sort ### Return: - User likes # [示例/Example] secUid = "MS4wLjABAAAAq1iRXNduFZpY301UkVpJ1eQT60_NiWS9QQSeNqmNQEDJp0pOF8cpleNEdiJx5_IU" cursor = 0 count = 20 coverFormat = 2

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
secUid string 用户secUid/User secUid
optional *FetchUserLikeApiV1TiktokWebFetchUserLikeGet_21Opts optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a pointer to a FetchUserLikeApiV1TiktokWebFetchUserLikeGet_21Opts struct

Name Type Description Notes

cursor | optional.Int32| 翻页游标/Page cursor | [default to 0] count | optional.Int32| 每页数量/Number per page | [default to 20] coverFormat | optional.Int32| 封面格式/Cover format | [default to 2] postItemListRequestType | optional.Int32| 排序方式/Sort type | [default to 0]

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

FetchUserMixApiV1TiktokWebFetchUserMixGet

ResponseModel FetchUserMixApiV1TiktokWebFetchUserMixGet(ctx, mixId, optional)

获取用户的合辑列表/Get user mix list

[中文] ### 用途: - 获取用户的合辑列表 ### 参数: - mixId: 合辑id - cursor: 翻页游标 - count: 每页数量 ### 返回: - 用户的合辑列表 # [English] ### Purpose: - Get user mix list ### Parameters: - mixId: Mix id - cursor: Page cursor - count: Number per page ### Return: - User mix list # [示例/Eample] mixId = "7101538765474106158" cursor = 0 count = 30

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
mixId string 合辑id/Mix id
optional *FetchUserMixApiV1TiktokWebFetchUserMixGetOpts optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a pointer to a FetchUserMixApiV1TiktokWebFetchUserMixGetOpts struct

Name Type Description Notes

cursor | optional.Int32| 翻页游标/Page cursor | [default to 0] count | optional.Int32| 每页数量/Number per page | [default to 30]

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

FetchUserMixApiV1TiktokWebFetchUserMixGet_0

ResponseModel FetchUserMixApiV1TiktokWebFetchUserMixGet_0(ctx, mixId, optional)

获取用户的合辑列表/Get user mix list

[中文] ### 用途: - 获取用户的合辑列表 ### 参数: - mixId: 合辑id - cursor: 翻页游标 - count: 每页数量 ### 返回: - 用户的合辑列表 # [English] ### Purpose: - Get user mix list ### Parameters: - mixId: Mix id - cursor: Page cursor - count: Number per page ### Return: - User mix list # [示例/Eample] mixId = "7101538765474106158" cursor = 0 count = 30

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
mixId string 合辑id/Mix id
optional *FetchUserMixApiV1TiktokWebFetchUserMixGet_22Opts optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a pointer to a FetchUserMixApiV1TiktokWebFetchUserMixGet_22Opts struct

Name Type Description Notes

cursor | optional.Int32| 翻页游标/Page cursor | [default to 0] count | optional.Int32| 每页数量/Number per page | [default to 30]

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

FetchUserPlayListApiV1TiktokWebFetchUserPlayListGet

ResponseModel FetchUserPlayListApiV1TiktokWebFetchUserPlayListGet(ctx, secUid, optional)

获取用户的播放列表/Get user play list

[中文] ### 用途: - 获取用户的播放列表 ### 参数: - secUid: 用户secUid - cursor: 翻页游标 - count: 每页数量 ### 返回: - 用户的播放列表 # [English] ### Purpose: - Get user play list ### Parameters: - secUid: User secUid - cursor: Page cursor - count: Number per page ### Return: - User play list # [示例/Eample] secUid = "MS4wLjABAAAAv7iSuuXDJGDvJkmH_vz1qkDZYo1apxgzaxdBSeIuPiM" cursor = 0 count = 30

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
secUid string 用户secUid/User secUid
optional *FetchUserPlayListApiV1TiktokWebFetchUserPlayListGetOpts optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a pointer to a FetchUserPlayListApiV1TiktokWebFetchUserPlayListGetOpts struct

Name Type Description Notes

cursor | optional.Int32| 翻页游标/Page cursor | [default to 0] count | optional.Int32| 每页数量/Number per page | [default to 30]

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

FetchUserPlayListApiV1TiktokWebFetchUserPlayListGet_0

ResponseModel FetchUserPlayListApiV1TiktokWebFetchUserPlayListGet_0(ctx, secUid, optional)

获取用户的播放列表/Get user play list

[中文] ### 用途: - 获取用户的播放列表 ### 参数: - secUid: 用户secUid - cursor: 翻页游标 - count: 每页数量 ### 返回: - 用户的播放列表 # [English] ### Purpose: - Get user play list ### Parameters: - secUid: User secUid - cursor: Page cursor - count: Number per page ### Return: - User play list # [示例/Eample] secUid = "MS4wLjABAAAAv7iSuuXDJGDvJkmH_vz1qkDZYo1apxgzaxdBSeIuPiM" cursor = 0 count = 30

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
secUid string 用户secUid/User secUid
optional *FetchUserPlayListApiV1TiktokWebFetchUserPlayListGet_23Opts optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a pointer to a FetchUserPlayListApiV1TiktokWebFetchUserPlayListGet_23Opts struct

Name Type Description Notes

cursor | optional.Int32| 翻页游标/Page cursor | [default to 0] count | optional.Int32| 每页数量/Number per page | [default to 30]

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

FetchUserPostApiV1TiktokWebFetchUserPostGet

ResponseModel FetchUserPostApiV1TiktokWebFetchUserPostGet(ctx, secUid, optional)

获取用户的作品列表/Get user posts

[中文] ### 用途: - 获取用户的作品列表 ### 参数: - secUid: 用户secUid - cursor: 翻页游标 - count: 每页数量,默认为20,不可变更。 - coverFormat: 封面格式 - post_item_list_request_type: 排序方式 - 0:默认排序 - 1:热门排序 - 2:最旧排序 ### 返回: - 用户的作品列表 # [English] ### Purpose: - Get user posts ### Parameters: - secUid: User secUid - cursor: Page cursor - count: Number per page, default is 20, cannot be changed. - coverFormat: Cover format - post_item_list_request_type: Sort type - 0: Default sort - 1: Hot sort - 2: Oldest sort ### Return: - User posts # [示例/Example] secUid = "MS4wLjABAAAAv7iSuuXDJGDvJkmH_vz1qkDZYo1apxgzaxdBSeIuPiM" cursor = 0 count = 20 coverFormat = 2

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
secUid string 用户secUid/User secUid
optional *FetchUserPostApiV1TiktokWebFetchUserPostGetOpts optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a pointer to a FetchUserPostApiV1TiktokWebFetchUserPostGetOpts struct

Name Type Description Notes

cursor | optional.Int32| 翻页游标/Page cursor | [default to 0] count | optional.Int32| 每页数量/Number per page | [default to 20] coverFormat | optional.Int32| 封面格式/Cover format | [default to 2] postItemListRequestType | optional.Int32| 排序方式/Sort type | [default to 0]

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

FetchUserPostApiV1TiktokWebFetchUserPostGet_0

ResponseModel FetchUserPostApiV1TiktokWebFetchUserPostGet_0(ctx, secUid, optional)

获取用户的作品列表/Get user posts

[中文] ### 用途: - 获取用户的作品列表 ### 参数: - secUid: 用户secUid - cursor: 翻页游标 - count: 每页数量,默认为20,不可变更。 - coverFormat: 封面格式 - post_item_list_request_type: 排序方式 - 0:默认排序 - 1:热门排序 - 2:最旧排序 ### 返回: - 用户的作品列表 # [English] ### Purpose: - Get user posts ### Parameters: - secUid: User secUid - cursor: Page cursor - count: Number per page, default is 20, cannot be changed. - coverFormat: Cover format - post_item_list_request_type: Sort type - 0: Default sort - 1: Hot sort - 2: Oldest sort ### Return: - User posts # [示例/Example] secUid = "MS4wLjABAAAAv7iSuuXDJGDvJkmH_vz1qkDZYo1apxgzaxdBSeIuPiM" cursor = 0 count = 20 coverFormat = 2

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
secUid string 用户secUid/User secUid
optional *FetchUserPostApiV1TiktokWebFetchUserPostGet_24Opts optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a pointer to a FetchUserPostApiV1TiktokWebFetchUserPostGet_24Opts struct

Name Type Description Notes

cursor | optional.Int32| 翻页游标/Page cursor | [default to 0] count | optional.Int32| 每页数量/Number per page | [default to 20] coverFormat | optional.Int32| 封面格式/Cover format | [default to 2] postItemListRequestType | optional.Int32| 排序方式/Sort type | [default to 0]

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

FetchUserProfileApiV1TiktokWebFetchUserProfileGet

ResponseModel FetchUserProfileApiV1TiktokWebFetchUserProfileGet(ctx, optional)

获取用户的个人信息/Get user profile

[中文] ### 用途: - 获取用户的个人信息 ### 参数: - secUid: 用户secUid - uniqueId: 用户uniqueId - secUid和uniqueId至少提供一个, 优先使用uniqueId, 也就是用户主页的链接中的用户名。 ### 返回: - 用户的个人信息 # [English] ### Purpose: - Get user profile ### Parameters: - secUid: User secUid - uniqueId: User uniqueId - At least one of secUid and uniqueId is provided, and uniqueId is preferred, that is, the username in the user's homepage link. ### Return: - User profile # [示例/Example] secUid = "MS4wLjABAAAAv7iSuuXDJGDvJkmH_vz1qkDZYo1apxgzaxdBSeIuPiM" uniqueId = "tiktok"

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
optional *FetchUserProfileApiV1TiktokWebFetchUserProfileGetOpts optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a pointer to a FetchUserProfileApiV1TiktokWebFetchUserProfileGetOpts struct

Name Type Description Notes
uniqueId optional.String 用户uniqueId/User uniqueId [default to ]
secUid optional.String 用户secUid/User secUid [default to ]

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

FetchUserProfileApiV1TiktokWebFetchUserProfileGet_0

ResponseModel FetchUserProfileApiV1TiktokWebFetchUserProfileGet_0(ctx, optional)

获取用户的个人信息/Get user profile

[中文] ### 用途: - 获取用户的个人信息 ### 参数: - secUid: 用户secUid - uniqueId: 用户uniqueId - secUid和uniqueId至少提供一个, 优先使用uniqueId, 也就是用户主页的链接中的用户名。 ### 返回: - 用户的个人信息 # [English] ### Purpose: - Get user profile ### Parameters: - secUid: User secUid - uniqueId: User uniqueId - At least one of secUid and uniqueId is provided, and uniqueId is preferred, that is, the username in the user's homepage link. ### Return: - User profile # [示例/Example] secUid = "MS4wLjABAAAAv7iSuuXDJGDvJkmH_vz1qkDZYo1apxgzaxdBSeIuPiM" uniqueId = "tiktok"

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
optional *FetchUserProfileApiV1TiktokWebFetchUserProfileGet_25Opts optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a pointer to a FetchUserProfileApiV1TiktokWebFetchUserProfileGet_25Opts struct

Name Type Description Notes
uniqueId optional.String 用户uniqueId/User uniqueId [default to ]
secUid optional.String 用户secUid/User secUid [default to ]

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

GenerateRealMsTokenApiV1TiktokWebGenerateRealMsTokenGet

ResponseModel GenerateRealMsTokenApiV1TiktokWebGenerateRealMsTokenGet(ctx, )

生成真实msToken/Generate real msToken

[中文] ### 用途: - 生成真实msToken ### 返回: - 真实msToken # [English] ### Purpose: - Generate real msToken ### Return: - Real msToken

Required Parameters

This endpoint does not need any parameter.

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

GenerateRealMsTokenApiV1TiktokWebGenerateRealMsTokenGet_0

ResponseModel GenerateRealMsTokenApiV1TiktokWebGenerateRealMsTokenGet_0(ctx, )

生成真实msToken/Generate real msToken

[中文] ### 用途: - 生成真实msToken ### 返回: - 真实msToken # [English] ### Purpose: - Generate real msToken ### Return: - Real msToken

Required Parameters

This endpoint does not need any parameter.

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

GenerateTtwidApiV1TiktokWebGenerateTtwidGet

ResponseModel GenerateTtwidApiV1TiktokWebGenerateTtwidGet(ctx, cookie)

生成ttwid/Generate ttwid

[中文] ### 用途: - 生成ttwid ### 参数: - cookie: 用户cookie ### 返回: - ttwid # [English] ### Purpose: - Generate ttwid ### Parameters: - cookie: User cookie ### Return: - ttwid # [示例/Example] cookie = "Your_Cookie"

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
cookie string 用户cookie/User cookie

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

GenerateTtwidApiV1TiktokWebGenerateTtwidGet_0

ResponseModel GenerateTtwidApiV1TiktokWebGenerateTtwidGet_0(ctx, cookie)

生成ttwid/Generate ttwid

[中文] ### 用途: - 生成ttwid ### 参数: - cookie: 用户cookie ### 返回: - ttwid # [English] ### Purpose: - Generate ttwid ### Parameters: - cookie: User cookie ### Return: - ttwid # [示例/Example] cookie = "Your_Cookie"

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
cookie string 用户cookie/User cookie

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

GenerateXbogusApiV1TiktokWebGenerateXbogusPost

ResponseModel GenerateXbogusApiV1TiktokWebGenerateXbogusPost(ctx, optional)

生成xbogus/Generate xbogus

[中文] ### 用途: - 生成xbogus ### 参数: - url: 未签名的API URL - user_agent: 用户浏览器User-Agent ### 返回: - xbogus # [English] ### Purpose: - Generate xbogus ### Parameters: - url: Unsigned API URL - user_agent: User browser User-Agent ### Return: - xbogus # [示例/Example] ```json { "url": "https://www.douyin.com/aweme/v1/web/aweme/detail/?aweme_id=7148736076176215311&device_platform=webapp&aid=6383&channel=channel_pc_web&pc_client_type=1&version_code=170400&version_name=17.4.0&cookie_enabled=true&screen_width=1920&screen_height=1080&browser_language=zh-CN&browser_platform=Win32&browser_name=Edge&browser_version=117.0.2045.47&browser_online=true&engine_name=Blink&engine_version=117.0.0.0&os_name=Windows&os_version=10&cpu_core_num=128&device_memory=10240&platform=PC&downlink=10&effective_type=4g&round_trip_time=100\", "user_agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.212 Safari/537.36" }

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
optional *GenerateXbogusApiV1TiktokWebGenerateXbogusPostOpts optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a pointer to a GenerateXbogusApiV1TiktokWebGenerateXbogusPostOpts struct

Name Type Description Notes
xBogusModel optional.Interface of XBogusModel

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

GenerateXbogusApiV1TiktokWebGenerateXbogusPost_0

ResponseModel GenerateXbogusApiV1TiktokWebGenerateXbogusPost_0(ctx, optional)

生成xbogus/Generate xbogus

[中文] ### 用途: - 生成xbogus ### 参数: - url: 未签名的API URL - user_agent: 用户浏览器User-Agent ### 返回: - xbogus # [English] ### Purpose: - Generate xbogus ### Parameters: - url: Unsigned API URL - user_agent: User browser User-Agent ### Return: - xbogus # [示例/Example] ```json { "url": "https://www.douyin.com/aweme/v1/web/aweme/detail/?aweme_id=7148736076176215311&device_platform=webapp&aid=6383&channel=channel_pc_web&pc_client_type=1&version_code=170400&version_name=17.4.0&cookie_enabled=true&screen_width=1920&screen_height=1080&browser_language=zh-CN&browser_platform=Win32&browser_name=Edge&browser_version=117.0.2045.47&browser_online=true&engine_name=Blink&engine_version=117.0.0.0&os_name=Windows&os_version=10&cpu_core_num=128&device_memory=10240&platform=PC&downlink=10&effective_type=4g&round_trip_time=100\", "user_agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.212 Safari/537.36" }

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
optional *GenerateXbogusApiV1TiktokWebGenerateXbogusPost_28Opts optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a pointer to a GenerateXbogusApiV1TiktokWebGenerateXbogusPost_28Opts struct

Name Type Description Notes
xBogusModel optional.Interface of XBogusModel

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

GetAllAwemeIdApiV1TiktokWebGetAllAwemeIdPost

ResponseModel GetAllAwemeIdApiV1TiktokWebGetAllAwemeIdPost(ctx, optional)

提取列表作品id/Extract list video id

[中文] ### 用途: - 提取列表作品id ### 参数: - url: 作品链接 (最多支持20个链接) ### 返回: - 作品id # [English] ### Purpose: - Extract list video id ### Parameters: - url: Video link (Support up to 20 links) ### Return: - Video id # [示例/Example] url = ["https://www.tiktok.com/@owlcitymusic/video/7218694761253735723"]

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
optional *GetAllAwemeIdApiV1TiktokWebGetAllAwemeIdPostOpts optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a pointer to a GetAllAwemeIdApiV1TiktokWebGetAllAwemeIdPostOpts struct

Name Type Description Notes
requestBody optional.Interface of []string

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

GetAllAwemeIdApiV1TiktokWebGetAllAwemeIdPost_0

ResponseModel GetAllAwemeIdApiV1TiktokWebGetAllAwemeIdPost_0(ctx, optional)

提取列表作品id/Extract list video id

[中文] ### 用途: - 提取列表作品id ### 参数: - url: 作品链接 (最多支持20个链接) ### 返回: - 作品id # [English] ### Purpose: - Extract list video id ### Parameters: - url: Video link (Support up to 20 links) ### Return: - Video id # [示例/Example] url = ["https://www.tiktok.com/@owlcitymusic/video/7218694761253735723"]

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
optional *GetAllAwemeIdApiV1TiktokWebGetAllAwemeIdPost_29Opts optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a pointer to a GetAllAwemeIdApiV1TiktokWebGetAllAwemeIdPost_29Opts struct

Name Type Description Notes
requestBody optional.Interface of []string

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

GetAllSecUserIdApiV1TiktokWebGetAllSecUserIdPost

ResponseModel GetAllSecUserIdApiV1TiktokWebGetAllSecUserIdPost(ctx, optional)

提取列表用户sec_user_id/Extract list user sec_user_id

[中文] ### 用途: - 提取列表用户id ### 参数: - url: 用户主页链接(最多支持10个链接)、 ### 返回: - 如果链接成功获取到sec_user_id,则返回sec_user_id,否则返回原始的输入链接,后续可以手动校验链接无法获取sec_user_id的原因。 # [English] ### Purpose: - Extract list user id ### Parameters: - url: User homepage link (Support up to 10 links) ### Return: - If the sec_user_id is successfully obtained, the sec_user_id is returned, otherwise the original input link is returned, and the reason why the sec_user_id cannot be obtained can be manually verified later. # [示例/Example] url = ["https://www.tiktok.com/@tiktok"]

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
optional *GetAllSecUserIdApiV1TiktokWebGetAllSecUserIdPostOpts optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a pointer to a GetAllSecUserIdApiV1TiktokWebGetAllSecUserIdPostOpts struct

Name Type Description Notes
requestBody optional.Interface of []string

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

GetAllSecUserIdApiV1TiktokWebGetAllSecUserIdPost_0

ResponseModel GetAllSecUserIdApiV1TiktokWebGetAllSecUserIdPost_0(ctx, optional)

提取列表用户sec_user_id/Extract list user sec_user_id

[中文] ### 用途: - 提取列表用户id ### 参数: - url: 用户主页链接(最多支持10个链接)、 ### 返回: - 如果链接成功获取到sec_user_id,则返回sec_user_id,否则返回原始的输入链接,后续可以手动校验链接无法获取sec_user_id的原因。 # [English] ### Purpose: - Extract list user id ### Parameters: - url: User homepage link (Support up to 10 links) ### Return: - If the sec_user_id is successfully obtained, the sec_user_id is returned, otherwise the original input link is returned, and the reason why the sec_user_id cannot be obtained can be manually verified later. # [示例/Example] url = ["https://www.tiktok.com/@tiktok"]

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
optional *GetAllSecUserIdApiV1TiktokWebGetAllSecUserIdPost_30Opts optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a pointer to a GetAllSecUserIdApiV1TiktokWebGetAllSecUserIdPost_30Opts struct

Name Type Description Notes
requestBody optional.Interface of []string

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

GetAllUniqueIdApiV1TiktokWebGetAllUniqueIdPost

ResponseModel GetAllUniqueIdApiV1TiktokWebGetAllUniqueIdPost(ctx, optional)

获取列表unique_id/Get list unique_id

[中文] ### 用途: - 获取列表unique_id ### 参数: - url: 用户主页链接 (最多支持20个链接) ### 返回: - unique_id # [English] ### Purpose: - Get list unique_id ### Parameters: - url: User homepage link (Support up to 20 links) ### Return: - unique_id # [示例/Example] url = ["https://www.tiktok.com/@tiktok"]

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
optional *GetAllUniqueIdApiV1TiktokWebGetAllUniqueIdPostOpts optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a pointer to a GetAllUniqueIdApiV1TiktokWebGetAllUniqueIdPostOpts struct

Name Type Description Notes
requestBody optional.Interface of []string

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

GetAllUniqueIdApiV1TiktokWebGetAllUniqueIdPost_0

ResponseModel GetAllUniqueIdApiV1TiktokWebGetAllUniqueIdPost_0(ctx, optional)

获取列表unique_id/Get list unique_id

[中文] ### 用途: - 获取列表unique_id ### 参数: - url: 用户主页链接 (最多支持20个链接) ### 返回: - unique_id # [English] ### Purpose: - Get list unique_id ### Parameters: - url: User homepage link (Support up to 20 links) ### Return: - unique_id # [示例/Example] url = ["https://www.tiktok.com/@tiktok"]

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
optional *GetAllUniqueIdApiV1TiktokWebGetAllUniqueIdPost_31Opts optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a pointer to a GetAllUniqueIdApiV1TiktokWebGetAllUniqueIdPost_31Opts struct

Name Type Description Notes
requestBody optional.Interface of []string

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

GetAwemeIdApiV1TiktokWebGetAwemeIdGet

ResponseModel GetAwemeIdApiV1TiktokWebGetAwemeIdGet(ctx, url)

提取单个作品id/Extract single video id

[中文] ### 用途: - 提取单个作品id ### 参数: - url: 作品链接 ### 返回: - 作品id # [English] ### Purpose: - Extract single video id ### Parameters: - url: Video link ### Return: - Video id # [示例/Example] url = "https://www.tiktok.com/@owlcitymusic/video/7218694761253735723\"

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
url string 作品链接/Video link

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

GetAwemeIdApiV1TiktokWebGetAwemeIdGet_0

ResponseModel GetAwemeIdApiV1TiktokWebGetAwemeIdGet_0(ctx, url)

提取单个作品id/Extract single video id

[中文] ### 用途: - 提取单个作品id ### 参数: - url: 作品链接 ### 返回: - 作品id # [English] ### Purpose: - Extract single video id ### Parameters: - url: Video link ### Return: - Video id # [示例/Example] url = "https://www.tiktok.com/@owlcitymusic/video/7218694761253735723\"

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
url string 作品链接/Video link

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

GetLiveRoomIdApiV1TiktokWebGetLiveRoomIdGet

ResponseModel GetLiveRoomIdApiV1TiktokWebGetLiveRoomIdGet(ctx, liveRoomUrl)

根据直播间链接提取直播间ID/Extract live room ID from live room link

[中文] ### 用途: - 根据直播间链接提取直播间Room ID - 支持短链接,如:https://vt.tiktok.com/ZSjuyJnWQ/ - 支持长链接,如:https://www.tiktok.com/@maksukaracun/live ### 参数: - live_room_url: 直播间链接 ### 返回: - 直播间Room ID # [English] ### Purpose: - Extract live room Room ID from live room link - Support short links, such as: https://vt.tiktok.com/ZSjuyJnWQ/ - Support long links, such as: https://www.tiktok.com/@maksukaracun/live ### Parameters: - live_room_url: Live room link ### Return: - Live room Room ID # [示例/Example] live_room_url = "https://www.tiktok.com/@maksukaracun/live\"

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
liveRoomUrl string 直播间链接/Live room link

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

GetLiveRoomIdApiV1TiktokWebGetLiveRoomIdGet_0

ResponseModel GetLiveRoomIdApiV1TiktokWebGetLiveRoomIdGet_0(ctx, liveRoomUrl)

根据直播间链接提取直播间ID/Extract live room ID from live room link

[中文] ### 用途: - 根据直播间链接提取直播间Room ID - 支持短链接,如:https://vt.tiktok.com/ZSjuyJnWQ/ - 支持长链接,如:https://www.tiktok.com/@maksukaracun/live ### 参数: - live_room_url: 直播间链接 ### 返回: - 直播间Room ID # [English] ### Purpose: - Extract live room Room ID from live room link - Support short links, such as: https://vt.tiktok.com/ZSjuyJnWQ/ - Support long links, such as: https://www.tiktok.com/@maksukaracun/live ### Parameters: - live_room_url: Live room link ### Return: - Live room Room ID # [示例/Example] live_room_url = "https://www.tiktok.com/@maksukaracun/live\"

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
liveRoomUrl string 直播间链接/Live room link

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

GetSecUserIdApiV1TiktokWebGetSecUserIdGet

ResponseModel GetSecUserIdApiV1TiktokWebGetSecUserIdGet(ctx, url)

提取用户sec_user_id/Extract user sec_user_id

[中文] ### 用途: - 提取列表用户id ### 参数: - url: 用户主页链接 ### 返回: - 用户id # [English] ### Purpose: - Extract list user id ### Parameters: - url: User homepage link ### Return: - User id # [示例/Example] url = "https://www.tiktok.com/@tiktok\"

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
url string 用户主页链接/User homepage link

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

GetSecUserIdApiV1TiktokWebGetSecUserIdGet_0

ResponseModel GetSecUserIdApiV1TiktokWebGetSecUserIdGet_0(ctx, url)

提取用户sec_user_id/Extract user sec_user_id

[中文] ### 用途: - 提取列表用户id ### 参数: - url: 用户主页链接 ### 返回: - 用户id # [English] ### Purpose: - Extract list user id ### Parameters: - url: User homepage link ### Return: - User id # [示例/Example] url = "https://www.tiktok.com/@tiktok\"

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
url string 用户主页链接/User homepage link

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

GetUniqueIdApiV1TiktokWebGetUniqueIdGet

ResponseModel GetUniqueIdApiV1TiktokWebGetUniqueIdGet(ctx, url)

获取用户unique_id/Get user unique_id

[中文] ### 用途: - 获取用户unique_id ### 参数: - url: 用户主页链接 ### 返回: - unique_id # [English] ### Purpose: - Get user unique_id ### Parameters: - url: User homepage link ### Return: - unique_id # [示例/Example] url = "https://www.tiktok.com/@tiktok\"

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
url string 用户主页链接/User homepage link

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

GetUniqueIdApiV1TiktokWebGetUniqueIdGet_0

ResponseModel GetUniqueIdApiV1TiktokWebGetUniqueIdGet_0(ctx, url)

获取用户unique_id/Get user unique_id

[中文] ### 用途: - 获取用户unique_id ### 参数: - url: 用户主页链接 ### 返回: - unique_id # [English] ### Purpose: - Get user unique_id ### Parameters: - url: User homepage link ### Return: - unique_id # [示例/Example] url = "https://www.tiktok.com/@tiktok\"

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
url string 用户主页链接/User homepage link

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]