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=无)business_data[]
: 直播房间列表,每个房间包含:type
: 类型标识(固定999)data
:card_type_name
: 卡片布局类型(如 "vertical_normal_living_room")aweme_list[]
: 直播内容列表aweme_id
: 直播内容IDgroup_id
: 分组IDauthor
:uid
: 主播用户IDnickname
: 主播昵称short_id
: 短IDsec_uid
: 加密用户IDavatar_thumb.url_list
: 小图头像avatar_medium.url_list
: 中图头像avatar_larger.url_list
: 高清头像room_id
: 当前直播间IDroom_cover.url_list
: 直播封面图URLrawdata
(解析后主要字段):title
: 直播间标题user_count
: 当前观看人数cover.url_list
: 直播间封面stream_url
:flv_pull_url
: 拉流地址列表(不同清晰度)FULL_HD1
: 蓝光HD1
: 超清SD1
: 标清SD2
: 高清hls_pull_url
: HLS地址(可用于移动端播放)default_resolution
: 默认播放清晰度candidate_resolution[]
: 备选清晰度列表stats.total_user
: 当前直播间在线人数owner.nickname
: 主播昵称owner.avatar_thumb.url_list
: 主播缩略头像size
: 分辨率(如 1280x720)extra
:now
: 当前服务器时间戳search_request_id
: 本次搜索请求IDcursor
to 0 and search_id
to an empty string for the first request.cursor
and search_id
from the last response.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 more results exist (1=Yes, 0=No)business_data[]
: List of live roomstype
: Type indicator (fixed 999)data
:card_type_name
: Card layout styleaweme_list[]
: List of live stream contentaweme_id
: Content IDgroup_id
: Group IDauthor
:uid
: Streamer's user IDnickname
: Streamer's nicknameshort_id
: Streamer's short IDsec_uid
: Encrypted user IDavatar_thumb.url_list
: Thumbnail avatar URLsavatar_medium.url_list
: Medium size avatar URLsavatar_larger.url_list
: Large size avatar URLsroom_id
: Live room IDroom_cover.url_list
: Room cover imagesrawdata
:title
: Live room titleuser_count
: Viewer countcover.url_list
: Cover imagestream_url
:flv_pull_url
: FLV stream URLshls_pull_url
: HLS stream URLdefault_resolution
: Default resolutioncandidate_resolution[]
: Available resolutionsstats.total_user
: Total number of viewersowner.nickname
: Streamer's nicknameowner.avatar_thumb.url_list
: Streamer's thumbnail avatarsize
: Resolution size (e.g., 1280x720)extra
:now
: Server timestampsearch_request_id
: Search request unique 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_v2' \
--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
}