desktopstring
Is it a desktop
デフォルト: "true"
https://api.sandbase.ai/v1/api/zhihu/web/hot-listGet the Zhihu hot list: trending questions with title, excerpt, heat, answer and follower counts, and links.
出力はここに表示されます
入力を完了してから[実行]をクリックしてください。
Returns a Zhihu question-board reference shape with raw heat text, excerpts and question counts. The available response evidence is one undated trimmed README fragment, not a current complete list.
curl -X POST "https://api.sandbase.ai/v1/api/zhihu/web/hot-list" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
desktop | string | No | Is it a desktop |
limit | string | No | Number of articles per page |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"data": [
{
"detail_text": "2160 万热度",
"target": {
"id": 2099419745036650047,
"title": "如何看待10元快剪正暴打全国的「设计总监」?",
"excerpt": "近期,全国多地出现10元快剪排队潮,没有收银员,没有洗头台,没有推销办卡。反观传统理发店则因推销办卡等问题大量关停。此前,理发店因“头衔通胀”、预付卡纠纷频发被…",
"answer_count": 530,
"follower_count": 856,
"created": 1793320672,
"url": "https://api.zhihu.com/questions/2099419745036650047"
}
}
]
}
| Field | Meaning |
|---|---|
data[] | Returned item order. The fragment has no explicit provider-rank field; label any local position separately. |
data[].detail_text | Raw provider display text such as "2160 万热度"; not verified views or a value comparable to other platforms. |
data[].target.id / title / url | Question ID, title and link. |
data[].target.excerpt | Truncated excerpt whose exact source is not established by the fragment; not complete answer text. |
data[].target.answer_count / follower_count | Answers and followers of the question. |
data[].target.created | Question creation time, Unix seconds. |
$0.001 per successful call. Failed calls, including lookups whose target does not exist, are not charged. It is included in the daily free quota of each organization.
This web/hot-list schema has optional desktop and limit strings, defaulting to "true" and "50". An empty object is documented; the generated teaching request may make those defaults explicit. Do not replace them with boolean true or integer 50. There is no declared cursor, offset or time-window input.
There are no full saved examples in the current public capture. The only response evidence is an undated, trimmed README with one retained row. It does not establish a complete 50-item response, successful current execution, freshness or today's ranking. Keep this limitation visible when planning validation.
The documented business object directly contains data as an array of objects; this fragment has no provider code/status field. Validate the outer envelope and selected shape without borrowing Bilibili's code-zero rule. Distinguish a valid empty array from missing or malformed data.
The retained target.id is 2099419745036650047, larger than JavaScript's safe integer range. Preserve exact JSON number evidence and use lossless parsing before deriving a string ID. Converting an already rounded JavaScript number to a string cannot recover it; Python's integer JSON parsing preserves this reference exactly. A selected question ID identifies a question within Zhihu, not a cross-platform event.
The reference's detail_text is 2160 万热度. Keep the original display string; converting its magnitude does not turn it into views or a comparable global heat value. answer_count 530 and follower_count 856 are question counts, not audience reach or heat. Missing counts remain unknown. target.created is question creation time, not board collection or update time.
The excerpt is truncated and does not establish complete answer text or whether every excerpt comes from a top answer. Preserve the API source URL separately from any deliberately derived public question link. This first request does not fetch answers, follow URLs or download media. For an independent other-platform sample, select one Bilibili board.
Give your agent the setup Skill, Markdown quickstart, exact selected endpoint and output question. Keep SANDBASE_API_KEY locally and make one authenticated POST to /v1/api/. Require completed SandBase status and an object exactly at outputs[0].data, then validate that endpoint's business shape. Do not turn absent or malformed lists into empty success, invent a common provider code, or fetch links automatically.
For comparisons, keep platform, endpoint, request parameters, raw rows and local observed_at together. Local observation time is not upstream refresh time. Bilibili heat_score, Zhihu detail_text and Weibo board num have different meanings and scales. They do not form one global score. Preserve missing, null, empty and zero separately.
Title or keyword equality is only a candidate similarity signal, not a stable cross-platform event identity. Keep a local source_index distinct from provider rank. Weibo's saved board contains advertisements with duplicate ranks and missing realpos; do not merge pinned or promotional rows into a supposedly uniform ranking. One snapshot cannot show rank movement, growth, causality or a topic disappearing from a platform.
The Bilibili and Weibo saved references were captured almost two hours apart; Zhihu supplies only an undated README fragment. They are not a synchronized or current dashboard. No new business, paid, pagination, polling, media or clustering calls were made. See the source-aware board Python guide for the earlier design; use this page's current boundaries for a first request.
November 8 inspection lists each selected route at $0.001, eligible for 100 daily calls shared across eligible organization APIs, reset at 00:00 UTC. Eligibility is not remaining allowance or measured charge. Two deliberately selected calls list at $0.002; including a separately selected Weibo board would total $0.003 before quota effects. This arithmetic does not execute multiple calls.
開発を始める
統一認証と使用状況の追跡を備えたプラットフォームAPIエンドポイントです。
curl -X POST "https://api.sandbase.ai/v1/api/zhihu/web/hot-list" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"limit": "50",
"desktop": "true"
}'SandBaseのAPIキーをサーバー環境に設定してください。リクエストはBearer認証を使用します。
export SANDBASE_API_KEY="YOUR_API_KEY"キーはサーバー側で管理してください。ブラウザコードに公開しないでください。
desktopstringIs it a desktop
デフォルト: "true"
limitstringNumber of articles per page
デフォルト: "50"
このAPIの保存済みサンプルレスポンスです。表示時にライブリクエストは行われません。
保存済みレスポンスはまだ公開されていません。PlaygroundでAPIを実行し、レスポンスを確認してください。
さらに探索
| API | 価格 | レスポンス |
|---|---|---|
Zhihu Hot Listこの API Zhihu | $0.001 / 回 | JSON |
Zhihu | $0.005 / 回 | JSON |
Zhihu | $0.001 / 回 | JSON |
Zhihu | $0.001 / 回 | JSON |
Zhihu | $0.001 / 回 | JSON |
Zhihu | $0.001 / 回 | JSON |
質問
Authorization ヘッダー(Bearer)に SandBase API key を指定し、パラメータを JSON ボディで送信して https://api.sandbase.ai/v1/api/zhihu/web/hot-list に POST リクエストを送ります。このページの Playground で、コードを書かずに試すこともできます。
1回あたり $0.001。各組織には UTC 日ごとに 100 回の無料呼び出しが付与され、この API を含む対象の SandBase API 全体で共有されます。それ以降は、各呼び出しが SandBase 残高からこの料金で課金されます。サブスクリプションはありません。
必須パラメータはありません。 任意: desktop (string) と limit (string)。 このページの Parameters テーブルと Playground に、すべてのフィールドが一覧表示されています。
同じ HTTP リクエスト内で返される JSON レスポンスです(同期)。 このページの README にサンプルレスポンスがあります。
いいえ。Zhihu Hot List は SandBase 経由で動作するため、SandBase の API key 1つでこのエンドポイントと、カタログ内の他のすべての API とモデルを利用できます。Zhihu の API アクセスを別途申請する必要はありません。
いいえ。このスキーマは、省略可能な文字列として、既定値が "true" と "50" であることを示しています。README は空のリクエストを記載しています。1行だけの断片は、完全な50件レスポンスや新たに実行された既定値の証拠ではありません。
いいえ。target.created は質問の作成時刻で、detail_text はプロバイダーの生の heat テキストです。質問の回答数/フォロワー数は別の指標です。現在の証拠は、完全に保存された実行結果のない日付なしの README 断片です。
この参照では安全ではありません。2099419745036650047 は安全な整数範囲を超えています。変換の前に、損失のないパースを使ってください。異なるプラットフォームのタイトルと ID から、単一の共有イベントや共通のランキングは導けません。