- MoreAPI接口说明
- 更新记录
- 抖音API
- 获取视频详情POST
- 获取视频详情 V3POST
- 获取视频详情V4POST
- 获取用户信息POST
- 获取用户信息 _V2POST
- 获取用户信息 _V3POST
- 获取用户信息 _V4POST
- 获取直播间信息与视频流直链POST
- 获取视频一级评论POST
- 获取视频子评论POST
- 综合搜索POST
- 获取开放直播间用户列表POST
- 搜索话题POST
- 获取话题视频POST
- 获取视频弹幕POST
- 搜索用户POST
- 搜索用户V2POST
- 搜索用户V3POST
- 搜索直播用户POST
- 搜索直播用户V2POST
- 获取视频短连接POST
- 生成视频抖音码POST
- 获取用户主页发布POST
- 获取直播间商品列表POST
- 搜索视频POST
- 搜索音乐POST
- 获取音乐详情POST
- 获取话题详情POST
- 获取音乐相关视频POST
- 搜索视频V2POST
- 获取用户最新作品V2POST
- 获取用户合集POST
- 获取合集视频列表POST
- 搜索用户指定作品POST
- 用户喜欢的作品POST
- 搜索长尾关键词POST
- 热点讨论POST
- 获取短剧详细信息POST
- 获取短剧视频列表POST
- 获取用户短剧集POST
- 用户橱窗销售信息POST
- 获取合集信息POST
- TikTok
- Lemon8
- 快手API
- 小红书API
- 微博API
- 哔哩哔哩API
- 头条 | 西瓜 API
- 榜单API
- youtube
- cookie池
- 创作者API
综合搜索
正式环境
正式环境
POST
请求参数
Body 参数application/json
keyword
string
关键词
示例值:
藏剑山庄
sort_type
string
必需
示例值:
0
publish_time
string
必需
示例值:
0
filter_duration
string | null
必需
content_type
string
必需
offset
string
下一页锚点
count
string
返回条数
示例
{
"keyword":"左千户",
"sort_type":"0",
"publish_time":"0",
"filter_duration":"",
"content_type":"2",
"offset":"0",
"count":"16"
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/api/douyin/general_search' \
--header 'Content-Type: application/json' \
--data-raw '{
"keyword":"左千户",
"sort_type":"0",
"publish_time":"0",
"filter_duration":"",
"content_type":"2",
"offset":"0",
"count":"16"
}'
返回响应
🟢200成功
application/json
Body
code
integer
必需
msg
string
必需
data
object
返回数据
cursor
integer
下一页锚点
has_more
integer
是否有下一页
data
array [object] | null
返回数据
示例
{ "code": 200, "msg": "请求成功", "data": { "status_code": 0, "data": [ { "type": 3, "music_list": [ { "id": 7236249207434151937, "id_str": "7236249207434151937", "title": "向云端 (选段1)", "author": "小霞&海洋Bo", "album": "向云端", "cover_hd": { "uri": "tos-cn-v-2774c002/37c89588ee9c48318aa3da069c97fccb", "url_list": [ "https://p3.douyinpic.com/aweme/1080x1080/tos-cn-v-2774c002/37c89588ee9c48318aa3da069c97fccb.jpeg", "https://p26.douyinpic.com/aweme/1080x1080/tos-cn-v-2774c002/37c89588ee9c48318aa3da069c97fccb.jpeg" ], "width": 720, "height": 720 }, "cover_large": { "uri": "tos-cn-v-2774c002/37c89588ee9c48318aa3da069c97fccb", "url_list": [ "https://p3.douyinpic.com/aweme/720x720/tos-cn-v-2774c002/37c89588ee9c48318aa3da069c97fccb.jpeg", "https://p26.douyinpic.com/aweme/720x720/tos-cn-v-2774c002/37c89588ee9c48318aa3da069c97fccb.jpeg" ], "width": 720, "height": 720 }, "cover_medium": { "uri": "tos-cn-v-2774c002/37c89588ee9c48318aa3da069c97fccb", "url_list": [ "https://p3.douyinpic.com/aweme/200x200/tos-cn-v-2774c002/37c89588ee9c48318aa3da069c97fccb.jpeg", "https://p26.douyinpic.com/aweme/200x200/tos-cn-v-2774c002/37c89588ee9c48318aa3da069c97fccb.jpeg" ], "width": 720, "height": 720 }, "cover_thumb": { "uri": "tos-cn-v-2774c002/37c89588ee9c48318aa3da069c97fccb", "url_list": [ "https://p3.douyinpic.com/aweme/100x100/tos-cn-v-2774c002/37c89588ee9c48318aa3da069c97fccb.jpeg", "https://p26.douyinpic.com/aweme/100x100/tos-cn-v-2774c002/37c89588ee9c48318aa3da069c97fccb.jpeg" ], "width": 720, "height": 720 }, "play_url": { "uri": "https://sf6-cdn-tos.douyinstatic.com/obj/tos-cn-ve-2774/okmtBbmQNMCFWUPOeAUJsbOq0gDAlBnJkITZ5e", "url_list": [ "https://sf6-cdn-tos.douyinstatic.com/obj/tos-cn-ve-2774/okmtBbmQNMCFWUPOeAUJsbOq0gDAlBnJkITZ5e", "https://sf3-cdn-tos.douyinstatic.com/obj/tos-cn-ve-2774/okmtBbmQNMCFWUPOeAUJsbOq0gDAlBnJkITZ5e" ], "width": 720, "height": 720, "url_key": "7236249207434151937" }, "schema_url": "", "source_platform": 10036, "start_time": 0, "end_time": 0, "duration": 57, "extra": "{\"dsp_switch\":0,\"reviewed\":1,\"beats\":{\"beats_tracker\":\"https://sf3-cdn-tos.douyinstatic.com/obj/tos-cn-v-2774c002/oIARHjNlnIC7yfBeFoeAGrzzECb4KABIDrAVav\",\"energy_trace\":\"https://sf6-cdn-tos.douyinstatic.com/obj/tos-cn-v-2774c002/o4CIaIH5AFeUBWcFzebzjKnCNAvgADay7AQzAf\",\"merged_beats\":\"https://sf3-cdn-tos.douyinstatic.com/obj/tos-cn-v-2774c002/o8frAvnAAIKAeCgeFEbCz0z07HQOHjaCFDB60I\",\"audio_effect_onset\":\"https://sf6-cdn-tos.douyinstatic.com/obj/tos-cn-v-2774c002/oEGWvgbzIQzoaPABDKjARfn18bbAFC7AFQfeAB\"},\"music_tagging\":{\"Languages\":[\"Chinese\"],\"Moods\":[\"Chill\",\"Romantic\"],\"Genres\":[\"Chinese Pop\",\"Pop\"],\"Themes\":[\"Sunny\"],\"AEDs\":[\"Vocal\",\"Female\"],\"SingingVersions\":null,\"Instruments\":null},\"has_edited\":0,\"review_unshelve_reason\":0,\"hotsoon_review_time\":-1,\"is_aed_music\":0,\"schedule_search_time\":0,\"cover_colors\":{\"rgb\":[166,187,179]},\"is_red\":0,\"is_subsidy_exp\":false,\"loudness\":\"-13.62559\",\"douyin_beats_info\":{},\"music_label_id\":1030,\"aggregate_exempt_conf\":[],\"with_aed_model\":0,\"peak\":\"1.0092607\"}", "user_count": 3268457, "position": null, "collect_stat": 0, "status": 1, "offline_desc": "", "owner_nicknam
修改于 2024-09-25 17:15:56