Explore our Marketplace to buy and sell APIs, services, and social media solutions. Connect with a vibrant community of developers, businesses, and creators!
cursor
传0,search_id
传空字符串。cursor
和 search_id
。0
: 综合排序1
: 最多点赞2
: 最新发布0
: 不限1
: 最近一天7
: 最近一周180
: 最近半年0
: 不限payload = {
"keyword": "游戏",
"cursor": 0,
"sort_type": "0",
"publish_time": "0",
"filter_duration": "0",
"content_type": "1",
"search_id": ""
}
cursor
: 下一页游标has_more
: 是否有更多数据(1=有,0=无)data[]
: 直播房间列表type
: 返回内容类型(固定为1)lives
:aweme_id
: 直播对应的内容IDgroup_id
: 群组ID(与aweme_id类似,可用于跳转)author
:uid
: 主播用户IDnickname
: 主播昵称short_id
: 主播短IDavatar_thumb.url_list
: 缩略头像URL列表avatar_medium.url_list
: 中等头像URL列表avatar_larger.url_list
: 高清头像URL列表room_id
: 当前直播间IDroom_cover.url_list
: 直播封面图URL列表video
:tags[]
: 直播标签(如“游戏”、“聊天”等)title
: 标签标题url.url_list
: 标签图标URL列表rawdata
: 直播详细数据(结构化JSON字符串,可解析得到以下信息)title
: 直播标题user_count
: 当前在线观众数stream_url
: 拉流信息flv_pull_url
: 拉流地址列表(不同清晰度)SD1
: 标清SD2
: 高清HD1
: 超清FULL_HD1
: 蓝光ORIGION
: 原画hls_pull_url
: HLS播放地址(部分直播间可能存在)cover.url_list
: 直播间封面图size
: 分辨率(如1920x1080)stats.total_user
: 在线观众数extra
:now
: 当前服务器时间戳logid
: 请求日志IDsearch_request_id
: 搜索请求唯一IDcursor
to 0 and search_id
to an empty string for the first request.cursor
and search_id
for pagination.0
: Comprehensive1
: Most likes2
: Latest0
: Unlimited1
: Last day7
: Last week180
: Last half year0
: Unlimitedpayload = {
"keyword": "games",
"cursor": 0,
"sort_type": "0",
"publish_time": "0",
"filter_duration": "0",
"content_type": "1",
"search_id": ""
}
cursor
: Cursor for next pagehas_more
: Whether there are more results (1=Yes, 0=No)data[]
: List of live stream roomstype
: Result type (fixed to 1)lives
:aweme_id
: Related content IDgroup_id
: Group IDauthor
:uid
: Streamer's user IDnickname
: Streamer's nicknameshort_id
: Streamer's short IDavatar_thumb.url_list
: Thumbnail avatar URLsavatar_medium.url_list
: Medium avatar URLsavatar_larger.url_list
: Large avatar URLsroom_id
: Room IDroom_cover.url_list
: Room cover image URLsvideo
:tags[]
: Live tags (e.g., "Gaming", "Chatting")title
: Tag titleurl.url_list
: Tag icon URLsrawdata
: Raw live room data (as JSON string)title
: Live titleuser_count
: Current viewer countstream_url
: Stream URLsflv_pull_url
: FLV stream URLs by resolutionhls_pull_url
: HLS stream URL (optional)cover.url_list
: Room cover imagesize
: Resolution (e.g., 1920x1080)stats.total_user
: Viewer countextra
:now
: Current server timestamplogid
: Request log IDsearch_request_id
: Unique search session IDAuthorization: Bearer ********************
{
"keyword": "猫咪",
"cursor": 0,
"sort_type": "0",
"publish_time": "0",
"filter_duration": "0",
"content_type": "0",
"search_id": ""
}
curl --location --request POST 'https://api.tikhub.io/api/v1/douyin/search/fetch_live_search_v1' \
--header 'Content-Type: application/json' \
--data-raw '{
"keyword": "猫咪",
"cursor": 0,
"sort_type": "0",
"publish_time": "0",
"filter_duration": "0",
"content_type": "0",
"search_id": ""
}'
{
"code": 200,
"router": "",
"params": {},
"data": null
}