搜索长尾关键词
POST
/api/douyin/search_sug请求参数
Body 参数application/json
keyword
string
搜索关键词
proxy
可选
代理(http或socks5)
Any of
为空使用程序默认代理
示例
{
"keyword": "datangg"
}
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
integer
必需
msg
string
必需
data
object
必需
sug_list
array [object {5}]
必需
sug_virtual_list
null
必需
status_code
integer
必需
status_msg
string
必需
rid
string
必需
words_query_record
object
必需
extra
object
必需
log_pb
object
必需
time_cost
object
必需
words_lists
array[string]
必需
cache_conf
object
必需
示例
{
"code": 0,
"msg": "string",
"data": {
"sug_list": [
{
"pos": [
{
"begin": 0,
"end": 0
}
],
"content": "string",
"sug_type": "string",
"word_record": {
"group_id": "string",
"words_position": 0,
"words_content": "string",
"words_source": "string"
},
"extra_info": {
"client_server_extra": "string",
"poi_id": "string",
"poi_location_recall_log_id": "string",
"search_params": "string",
"rich_sug_avatar_uri": "string",
"rich_sug_cert_name": "string",
"rich_sug_match_type": "string",
"rich_sug_nickname": "string",
"rich_sug_sec_uid": "string",
"rich_sug_short_id": "string",
"rich_sug_type": "string",
"rich_sug_user_id": "string",
"rich_sug_user_type": "string",
"special_type": "string"
}
}
],
"sug_virtual_list": null,
"status_code": 0,
"status_msg": "string",
"rid": "string",
"words_query_record": {
"info": "string",
"words_source": "string",
"query_id": "string"
},
"extra": {
"now": 0,
"logid": "string",
"fatal_item_ids": [
"string"
],
"search_request_id": "string"
},
"log_pb": {
"impr_id": "string"
},
"time_cost": {
"stream_inner": "string",
"server_engine_cost": "string"
},
"words_lists": [
"string"
],
"cache_conf": {
"enable": true
}
}
}
最后修改时间: 1 个月前