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 传空字符串。data.pagination 里的 offset 与 search_id 原样传回,并把 page 加 1。data.pagination.has_more 为 0 表示已经到最后一页。page 上限为 200,超出会返回参数错误。payload = {
"keyword": "游戏",
"offset": 0,
"page": 1,
"search_id": ""
}config: 本次搜索的配置信息(透传)items[]: 直播间列表(已按卡片类型解包)title: 直播标题user_count: 当前在线观众数owner: 主播信息(昵称、头像、抖音号等)cover.url_list: 直播间封面图stream_url: 拉流信息flv_pull_url: 不同清晰度的 FLV 拉流地址(SD1 标清 / SD2 高清 / HD1 超清 / FULL_HD1 蓝光 / ORIGION 原画)hls_pull_url: HLS 播放地址(部分直播间才有)stats: 直播间统计数据pagination: 翻页信息offset: 下一页的翻页游标(原样传回)cursor: 同 offsetsearch_id: 下一页的搜索ID(原样传回)has_more: 是否还有更多数据(1=有,0=无)next_page: 下一页页码(没有更多数据时为 null)config + items + pagination).offset to 0, page to 1, and search_id to an empty string.offset and search_id from data.pagination of the previouspage by 1.data.pagination.has_more = 0 means the last page has been reached.page is capped at 200;payload = {
"keyword": "games",
"offset": 0,
"page": 1,
"search_id": ""
}config: Search configuration returned by the upstream (passed through)items[]: Live room list (already unwrapped by card type)title: Live titleuser_count: Current viewer countowner: Streamer info (nickname, avatar, Douyin ID, etc.)cover.url_list: Room cover imagesstream_url: Stream infoflv_pull_url: FLV stream URLs by quality (SD1 / SD2 / HD1 / FULL_HD1 / ORIGION)hls_pull_url: HLS stream URL (only for some rooms)stats: Live room statisticspagination: 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)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_live_search_v3' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"keyword": "游戏",
"offset": 0,
"page": 1,
"search_id": ""
}'{
"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
}