搜索用户/Search user
TikTokapi
About
搜索用户/Search user
Documentation
搜索用户/Search user
[中文]
用途:
- 搜索用户
参数:
- keyword: 搜索关键词
- cursor: 翻页游标,第一次请求时为0,第二次请求时从上一次请求的返回响应中获取,一般这个值的关键字为offset或者cursor。
- search_id: 搜索id,第一次请求时为空,第二次翻页时需要提供,需要从上一次请求的返回响应中获取。
- 例如: search_id = "20240828035554C02011379EBB6A00E00B"
- JSON Path-1 : $.data.extra.logid
- JSON Path-2 : $.data.log_pb.impr_id
- cookie: 用户cookie(如果你需要使用自己的账号搜索,或者遇到接口报错,可以自行提供cookie,默认不需要提供)
返回:
- 用户列表
备注:
- 如果接口响应的
data字段中的status_code不为0,说明搜索请求未成功,此时请检查响应里的异常,有可能你在搜索 TikTok 不允许的关键词,或者搜索了敏感内容,请更换关键词重试。
[English]
Purpose:
- Search user
Parameters:
- keyword: Search keyword
- cursor: Page cursor, 0 for the first request, need to provide for the second paging, generally the keyword of this value is offset or cursor.
- search_id: Search id, empty for the first request, need to provide for the second paging, need to get it from the return response of the last request.
- For example: search_id = "20240828035554C02011379EBB6A00E00B"
- JSON Path-1 : $.data.extra.logid
- JSON Path-2 : $.data.log_pb.impr_id
- cookie: User cookie (If you need to search with your own account, or encounter an interface error, you can provide the cookie yourself, default is not required)
Return:
- User list
Note:
- If the
status_codein thedatafield of the interface response is not 0, it means that the search request was not successful. Please check the exceptions in the response. You may be searching for keywords that TikTok does not allow, or searching for sensitive content. Please change the keywords and try again.
[示例/Example]
keyword = "TikTok" cursor = 0 search_id = ""
Imported from a validated TikHub OpenAPI document. Pricing must be reviewed before enabling.
Try 搜索用户/Search user
Test this model in the Sandbase Playground with your own prompts.
Open in PlaygroundRelated Models
提取列表作品id/Extract list video idTikTokapi提取列表用户sec_user_id/Extract list user sec_user_idTikTokapi获取列表unique_id/Get list unique_idTikTokapi提取单个作品id/Extract single video idTikTokapi批量直播间开播状态检测/Batch live room start status checkTikTokapi直播间开播状态检测/Live room start status checkTikTokapi解密strData/Decrypt strDataTikTokapi设备注册/Register device for TikTok WebTikTokapi