- 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
/api/douyin/search_user
请求参数
Body 参数application/json
keyword
string
搜索关键词
cursor
string
下一页锚点
示例
{
"keyword": "爱他美",
"cursor": "0"
}
示例代码
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/search_user' \
--header 'Content-Type: application/json' \
--data-raw '{
"keyword":"爱他美",
"cursor":"0"
}'
返回响应
🟢200成功
application/json
Body
code
integer
必需
msg
string
必需
data
object
必需
has_more
integer
是否有下一页
cursor
integer
下一页锚点
user_list
array [object] | null
可选
示例
{
"code": 200,
"msg": "请求成功",
"data": {
"type": 0,
"user_list": [
{
"user_info": {
"uid": "106099364523",
"short_id": "1702689207",
"nickname": "古风",
"signature": "相遇即是缘\n相逢何必曾相识\n有缘千里来相会\n感谢关注\n感谢抖音让我们相遇!",
"avatar_thumb": {
"uri": "100x100/aweme-avatar/tos-cn-avt-0015_519396a578dcdc3be2944ab1b1784107",
"url_list": [
"https://p3-pc.douyinpic.com/aweme/100x100/aweme-avatar/tos-cn-avt-0015_519396a578dcdc3be2944ab1b1784107.jpeg?from=2956013662"
],
"width": 720,
"height": 720
},
"follow_status": 0,
"follower_count": 456111,
"total_favorited": 15916757,
"custom_verify": "",
"unique_id": "bgm.show",
"room_id": 0,
"enterprise_verify_reason": "",
"followers_detail": null,
"platform_sync_info": null,
"secret": 0,
"geofencing": null,
"follower_status": 0,
"cover_url": null,
"item_list": null,
"new_story_cover": null,
"type_label": null,
"ad_cover_url": null,
"relative_users": null,
"cha_list": null,
"sec_uid": "MS4wLjABAAAAJzjxy_k_nF2IxKoDfSbk7uxd6Xj8PDtn09cZE2XU3qQ",
"need_points": null,
"homepage_bottom_toast": null,
"room_data": "",
"can_set_geofencing": null,
"white_cover_url": null,
"user_tags": [],
"ban_user_functions": null,
"versatile_display": "抖音号:bgm.show",
"card_entries": null,
"display_info": null,
"card_entries_not_display": null,
"card_sort_priority": null,
"interest_tags": null,
"link_item_list": null,
"user_permissions": null,
"offline_info_list": null,
"signature_extra": null,
"personal_tag_list": null,
"cf_list": null,
"im_role_ids": null,
"not_seen_item_id_list": null,
"follower_list_secondary_information_struct": null,
"endorsement_info_list": null,
"text_extra": null,
"contrail_list": null,
"data_label_list": null,
"not_seen_item_id_list_v2": null,
"special_people_labels": null,
"familiar_visitor_user": null,
"avatar_schema_list": null,
"profile_mob_params": null
},
"position": null,
"uniqid_position": null,
"effects": null,
"musics": null,
"items": null,
"mix_list": null,
"challenges": null,
"product_info": null,
"product_list": null,
"is_red_uniqueid": false,
"baikes": null,
"userSubLightApp": null,
"shop_product_info": null,
"user_service_info": null
}
],
"challenge_list": null,
"music_list": null,
"cursor": 15,
"has_more": 1,
"status_code": 0,
"qc": "",
"myself_user_id": "100293811161",
"rid": "202311302133071610F9AC699D2C275A68",
"log_pb": {
"impr_id": "202311302133071610F9AC699D2C275A68"
},
"extra": {
"now": 1701351188000,
"logid": "202311302133071610F9AC699D2C275A68",
"fatal_item_ids": [],
"search_request_id": ""
},
"input_keyword": "古风",
"global_doodle_config": {
"keyword": "古风"
},
"path": "/aweme/v1/web/discover/search/"
}
}
修改于 2024-09-25 17:15:56