Explore our Marketplace to buy and sell APIs, services, and social media solutions. Connect with a vibrant community of developers, businesses, and creators!
config + items + pagination)。offset 传 0、page 传 1,search_id 与 backtrace 传空字符串。data.pagination 里的 offset、search_id、backtrace 原样传回,并把 page 加 1。data.pagination.has_more 为 0 表示已经到最后一页。page 上限为 200,超出会返回参数错误。payload = {
"keyword": "猫咪",
"offset": 0,
"page": 1,
"search_id": "",
"backtrace": ""
}config: 本次搜索的配置信息(透传)items[]: 视频列表(已按卡片类型解包)aweme_id: 视频IDdesc: 视频描述create_time: 发布时间(时间戳)author: 作者信息(uid、sec_uid、nickname、avatar_thumb.url_list 等)video: 播放信息(play_addr.url_list、cover.url_list、duration 等)statistics: 互动数据(digg_count、comment_count、share_count、play_count)share_url: 视频分享链接pagination: 翻页信息offset: 下一页的翻页游标(原样传回)cursor: 同 offsetsearch_id: 下一页的搜索ID(原样传回)backtrace: 下一页的回溯标识(原样传回)has_more: 是否还有更多数据(1=有,0=无)next_page: 下一页页码(没有更多数据时为 null)config + items + pagination).offset to 0, page to 1, and search_id / backtrace to empty strings.offset, search_id and backtrace from data.pagination of thepage by 1.data.pagination.has_more = 0 means the last page has been reached.page is capped at 200;payload = {
"keyword": "cat",
"offset": 0,
"page": 1,
"search_id": "",
"backtrace": ""
}config: Search configuration returned by the upstream (passed through)items[]: Video list (already unwrapped by card type)aweme_id: Video IDdesc: Video descriptioncreate_time: Publish timestampauthor: Author info (uid, sec_uid, nickname, avatar_thumb.url_list, etc.)video: Playback info (play_addr.url_list, cover.url_list, duration, etc.)statistics: Interaction data (digg_count, comment_count, share_count, play_count)share_url: External share linkpagination: Pagination infooffset: Offset cursor for the next page (pass back as-is)cursor: Same as offsetsearch_id: Search ID for the next page (pass back as-is)backtrace: Backtrace for the next page (pass back as-is)has_more: Whether more results are available (1=Yes, 0=No)next_page: Next page number (null when there are no more results)Authorization: Bearer ********************curl --location 'https://api.tikhub.io/api/v1/douyin/search/fetch_video_search_v5' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"keyword": "猫咪",
"offset": 0,
"page": 1,
"search_id": "",
"backtrace": ""
}'{
"code": 200,
"request_id": "string",
"message": "Request successful. This request will incur a charge.",
"message_zh": "请求成功,本次请求将被计费。",
"support": "Discord: https://discord.gg/aMEAS8Xsvz",
"time": "string",
"time_stamp": 0,
"time_zone": "America/Los_Angeles",
"docs": "string",
"cache_message": "string",
"cache_message_zh": "string",
"cache_url": "string",
"router": "",
"params": {},
"data": null
}