跳到主内容

GET /v1/zhihu/search/search_v1

知乎关键词搜索 API (V1)

stable · 39 credits / 次(成功才计)

按关键词搜索知乎,可选的搜索结果类型、排序、时间间隔、话题显示和偏移量控制。用于查找相关的回答、文章或视频。

注册即送 500 credits,用自己的 Key 试调。 免费注册

请求

curl
curl -s 'https://api.wellbyte.net/v1/zhihu/search/search_v1?sort=upvoted_count&offset=0&keyword=%E5%92%96%E5%95%A1&vertical=answer&timeInterval=a_day&showAllTopics=FALSE' \
  -H "Authorization: Bearer dg_live_…"

响应

示例采集于 2026-09-23

data{
code:0
data{
data[ 2 items ]
paging{ 2 items }
pendant:null
warning:""
ab_params:
"dm_isocial=0;dm_test=1;bt_vertical_mem=1;dm_pre_docs=2;dm_pr_lc=0;dm_ai_search_s..."
hit_labels:null
domain_info{ 1 item }
filter_items:null
is_koc_words:false
item_in_view[ 2 items ]
is_brand_word:false
sensitive_level:-1
strategy_res_list[ 2 items ]
search_action_info{ 4 items }
related_search_result[ 0 items ]
}
meta{
endpoint:"zhihu.search.search_v1"
cache_hit:false
elapsed_ms:0
request_id:"req_sample"
credits_charged:0
}
message:"ok"
}

请求历史

打开完整日志

还没有调用记录。先跑通一次,再换成你的数据。

    请求参数

    参数类型位置必填说明示例
    sortstringquery否排序条件。 可选值: - `upvoted_count`: 最多点赞。 - `created_time`: 最新发布。upvoted_count
    offsetintegerquery否起始偏移量,从0开始。0
    keywordstringquery是搜索关键词。咖啡
    verticalstringquery否结果类型筛选。 可选值: - `answer`: 仅回答。 - `article`: 仅文章。 - `zvideo`: 仅视频。answer
    timeIntervalstringquery否发布时间间隔筛选。 可选值: - `a_day`: 一天内。 - `a_week`: 一周内。 - `a_month`: 一个月内。 - `three_months`: 三个月内。 - `half_a_year`: 半年内。 - `a_…a_day
    showAllTopicsstringquery否是否显示所有话题。 可选值: - `FALSE`: 不显示话题。 - `TRUE`: 显示所有话题。FALSE

    响应字段

    字段字典待补 —— 右侧可执行区可直接看到真实结构。

    错误码

    codeHTTP含义是否计费
    40001400参数缺失或格式错误否
    40102401API Key 无效或已吊销否
    40201402余额不足,请充值否
    40402404目标资源不存在否
    42201422质量门槛未通过否
    42901429超出速率限制否
    50401504上游超时否
    50201502上游返回异常否

    计费

    成功扣 39 credits;任何失败(含返回 200 但未过质量门槛)扣 0。

    全部知乎端点 →

    搜索

    搜索端点与文档