Zhihu Article Search
Search Zhihu content by keyword. `keyword` is required. Optional parameters: `offset` (starting position, default `0`), `limit` (page size, default `20`), `show_all_topics` (`0` hides topics; `1` shows them), and `search_source` (`Normal` for normal results or `Filter` to apply filtering parameters). `search_hash_id` can be used to filter duplicate search results. `vertical` can narrow the content type (`answer`, `article`, or `zvideo`); `sort` supports `upvoted_count` or `created_time`; `time_interval` supports `a_day`, `a_week`, `a_month`, `three_months`, `half_a_year`, or `a_year`. Leave optional string filters empty for their default or unrestricted behavior. The search payload is returned in `data`; the response may also include status, request parameters, timestamps, request ID, or cache metadata. The exact structure of the search payload may vary.
Pricing
| Condition | Charge |
|---|---|
| Each call | 2.07 credits/call |
Each call incurs a fixed charge of 2.07 credits. Charges are per query. A successful query is billed even if it returns no results.
Parameters
Optional parameters use the platform defaults when omitted.
| Parameter | Type | Required | Description | Default |
|---|---|---|---|---|
sort | string | No | 排序/Sort | "" |
limit | string | No | 每页文章数量/Number of articles per page | 20 |
offset | string | No | 偏移量/Offset | 0 |
keyword | string | Yes | 搜索关键词/Search Keywords | — |
vertical | string | No | 垂类/Vertical Type | "" |
search_source | string | No | 搜索来源/Search Source | Normal |
time_interval | string | No | 时间间隔/Time Interval | "" |
vertical_info | string | No | 垂类信息/Vertical Info | "" |
search_hash_id | string | No | 搜索哈希ID/Search Hash ID | "" |
show_all_topics | integer | No | 显示所有主题/Show all topics | 0 |
Invocation example
Copy the request and explore its response example.
/agent-api/v1/tool/executeX-Api-Keycurl --request POST \
--url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_zhihu_article_search' \
--header "X-Api-Key: $AGENTEARTH_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"params": {
"keyword": "INMO"
}
}'{
"detail": {
"code": 400,
"message": "Request failed. Please retry. Check the docs below to verify your parameters, test with the default demo parameters, and send the response JSON to support. You won't be charged for this request.",
"message_zh": "请求失败,请重试。请查看下方文档核对参数,使用默认演示参数测试,并将响应 JSON 提交给支持团队。本次请求不会被扣费。",
"request_id": "7d284bb0-0893-4143-8e6f-f03a4b444036"
}
}This example shows part of the response. Copied content is valid JSON.

