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 |
问题
向 https://api.sandbase.ai/v1/api/zhihu/web/hot-list 发送 POST 请求,在 Authorization 请求头中使用您的 SandBase API key(Bearer),并将参数作为 JSON 请求体传入。您也可以直接在本页的 Playground 中试用,无需编写代码。
每次调用 $0.001。每个组织在每个 UTC 日可获得 100 次免费调用,适用于包括此接口在内的所有符合条件的 SandBase APIs;超过后,每次调用将按此价格从您的 SandBase 余额中扣费。无需订阅。
无需参数。 可选:desktop (string) 和 limit (string)。 Parameters 表和本页的 Playground 列出了每个字段。
在同一个 HTTP 请求中返回的 JSON 响应(同步)。 本页的 README 包含一个示例响应。
不需要。Zhihu Hot List 通过 SandBase 运行,因此一个 SandBase API key 即可覆盖此端点以及目录中的其他所有 API 和模型。您无需单独申请 Zhihu API 访问权限。
不是。这个 schema 声明的是带默认值“true”和“50”的可选字符串。README 记录的是一个空请求。其单行片段并不能证明返回了完整的 50 项结果,也不能证明默认值已在新执行中生效。
不能。target.created 是问题创建时间,detail_text 是原始提供方的热度文本。问题的回答数/关注者数是单独的指标。目前证据只是一个未标注日期的 README 片段,没有完整保存的执行记录。
对这个参考来说不能安全转换:2099419745036650047 超出了安全整数范围。转换前请使用无损解析。来自不同平台的标题和 ID 并不能证明它们属于同一个事件或同一个排名。