GET /v1/kuaishou/app/search_comprehensive
综合搜索
stable · 13 credits / 次(成功才计)
快手综合搜索接口,支持搜索视频、用户等内容,并提供多维度筛选功能。;keyword: 搜索关键词(必填);pcursor: 分页游标,首次请求为空,后续使用响应中的pcursor值;sort_type: 排序方式;- all: 综合排序(默认);- newest: 最新发布;- most_likes: 最多点赞;publish_time: 发布时间筛选;- all: 全部时间(默认);- one_day: 近一日;- one_week: 近一周;- one_month: 近一月;duration: 作品时长筛选;- all: 全部时长(默认);- under_1_min: 1分钟以内;- 1_to_5_min: 1-5分钟;- over_5_min: 5分钟以上;搜索结果数据
请求参数
| 参数 | 类型 | 位置 | 必填 | 说明 | 示例 |
|---|---|---|---|---|---|
| keyword | string | query | 是 | keyword | 汽车之家 |
| pcursor | string | query | 否 | pcursor | demo |
| duration | string | query | 否 | 可选值: all(全部), under_1_min(1分钟以内), 1_to_5_min(1-5分钟), over_5_min(5分钟以上) | demo |
| sort_type | string | query | 否 | 可选值: all(综合排序), newest(最新发布), most_likes(最多点赞) | demo |
| publish_time | string | query | 否 | 可选值: all(全部), one_day(近一日), one_week(近一周), one_month(近一月) | demo |
响应字段
字段字典待补 —— 右侧可执行区可直接看到真实结构。
错误码
| code | HTTP | 含义 | 是否计费 |
|---|---|---|---|
| 40001 | 400 | 参数缺失或格式错误 | 否 |
| 40102 | 401 | API Key 无效或已吊销 | 否 |
| 40201 | 402 | 余额不足,请充值 | 否 |
| 40402 | 404 | 目标资源不存在 | 否 |
| 42201 | 422 | 质量门槛未通过 | 否 |
| 42901 | 429 | 超出速率限制 | 否 |
| 50401 | 504 | 上游超时 | 否 |
| 50201 | 502 | 上游返回异常 | 否 |
计费
成功扣 13 credits;任何失败(含上游 200 但未过质量门槛)扣 0。