Search Zhihu by keyword
justoneapi.x.zhihu-search-v1Search Zhihu by keyword with optional result-type, sort, time-interval, topic-display, and offset controls.
- Price
- $0.02952/successプロバイダー原価
- Success rate
- —成功率データはまだありません成功率データはまだありません
- Latency p50
- ——
- Last verified
- 2026/07/28Verified working
GEThttps://toolswitch.dev/v1/tools/justoneapi.x.zhihu-search-v1?offset=0&keyword=%E4%BA%BA%E5%B7%A5%E6%99%BA%E8%83%BD&showAllTopics=FALSEPreview- Uses platform quota
- Synchronous response
- Reads public data
パラメータ
| パラメータ | 型 | 必須 | 説明 | 例 |
|---|---|---|---|---|
| クエリパラメータ | ||||
sort | 文字列 | 任意 | Sorting criteria. Available Values: - `upvoted_count`: Most upvoted. - `created_time`: Latest published. One of: upvoted_count, created_time. | |
offset | 整数 | 任意 | Start offset, begins with 0. | 0 |
keyword | 文字列 | 必須 | Search keywords. | 人工智能 |
vertical | 文字列 | 任意 | Result type filter. Available Values: - `answer`: Answers only. - `article`: Articles only. - `zvideo`: Videos only. One of: answer, article, zvideo. | |
timeInterval | 文字列 | 任意 | Publish time interval filter. Available Values: - `a_day`: Within one day. - `a_week`: Within one week. - `a_month`: Within one month. - `three_months`: Within three months. - `half_a_year`: Within half a year. - `a_year`: Within one year. One of: a_day, a_week, a_month, three_months, half_a_year, a_year. | |
showAllTopics | 文字列 | 任意 | Whether to show all topics. Available Values: - `FALSE`: Do not show topics. - `TRUE`: Show all topics. One of: FALSE, TRUE. | FALSE |
- クエリパラメータ
sort文字列任意Sorting criteria. Available Values: - `upvoted_count`: Most upvoted. - `created_time`: Latest published. One of: upvoted_count, created_time.
offset整数任意Start offset, begins with 0.
例:
0keyword文字列必須Search keywords.
例:
人工智能vertical文字列任意Result type filter. Available Values: - `answer`: Answers only. - `article`: Articles only. - `zvideo`: Videos only. One of: answer, article, zvideo.
timeInterval文字列任意Publish time interval filter. Available Values: - `a_day`: Within one day. - `a_week`: Within one week. - `a_month`: Within one month. - `three_months`: Within three months. - `half_a_year`: Within half a year. - `a_year`: Within one year. One of: a_day, a_week, a_month, three_months, half_a_year, a_year.
showAllTopics文字列任意Whether to show all topics. Available Values: - `FALSE`: Do not show topics. - `TRUE`: Show all topics. One of: FALSE, TRUE.
例:
FALSE
コード例
$TOOLSWITCH_KEY をコンソールで作成したキーに置き換えてください。
curl -X GET 'https://toolswitch.dev/v1/tools/justoneapi.x.zhihu-search-v1?offset=0&keyword=%E4%BA%BA%E5%B7%A5%E6%99%BA%E8%83%BD&showAllTopics=FALSE' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/justoneapi.x.zhihu-search-v1?offset=0&keyword=%E4%BA%BA%E5%B7%A5%E6%99%BA%E8%83%BD&showAllTopics=FALSE",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/justoneapi.x.zhihu-search-v1?offset=0&keyword=%E4%BA%BA%E5%B7%A5%E6%99%BA%E8%83%BD&showAllTopics=FALSE", {
method: "GET",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
},
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());このゲートウェイ API はプレビュー版です。URL や認証方式は変更される場合があります。 パラメータはサンプルデータです。 呼び出し料金は $0.02952/success です。サービス料を含みます。