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 |
問題
使用 POST 請求將您的 SandBase API 金鑰放在 Authorization 標頭(Bearer)中,並以 JSON 主體傳入參數,即可呼叫 https://api.sandbase.ai/v1/api/zhihu/web/hot-list。您也可以直接在本頁的 Playground 試用,不必撰寫程式碼。
每次 $0.001。每個組織每個 UTC 日可免費呼叫 100 次,並可在包含此 API 在內的所有符合資格之 SandBase APIs 間共用;超過後,每次呼叫都會從您的 SandBase 餘額中以此價格計費。沒有訂閱方案。
不需要任何參數。 選填:desktop (string) 和 limit (string)。 本頁的 Parameters 表格與 Playground 會列出每個欄位。
在同一個 HTTP 請求中回傳的 JSON 回應(同步)。 本頁的 README 包含範例回應。
不需要。Zhihu Hot List 是透過 SandBase 運作,因此一組 SandBase API 金鑰即可使用此端點以及目錄中的其他所有 API 和模型。您不需要另外申請 Zhihu API 存取權。
否。這個 schema 宣告的是可選字串,預設值為 "true" 與 "50"。README 文件描述的是空白請求。它那段單列片段不足以證明完整的 50 筆回應或新執行的預設值。
否。target.created 是問題建立時間,而 detail_text 是原始 provider 的 heat 文字。問題回覆/追蹤者數量是獨立指標。目前的證據是一段未標註日期的 README 片段,沒有完整保存的執行結果。
對這個參考而言,不安全:2099419745036650047 超出安全整數範圍。請先使用無損解析,再進行轉換。來自不同平台的標題與 ID 無法證明是同一事件或共同排序。