desktopstring
Is it a desktop
Par défaut : "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.
Votre sortie apparaîtra ici
Complétez les entrées, puis cliquez sur Exécuter.
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.
Commencer à construire
Point de terminaison de l'API de la plateforme avec authentification unifiée et suivi de l'utilisation.
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"
}'Définissez votre clé API SandBase dans l'environnement de votre serveur. Les requêtes utilisent l'authentification Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Conservez votre clé côté serveur. Ne l'exposez pas dans le code du navigateur.
desktopstringIs it a desktop
Par défaut : "true"
limitstringNumber of articles per page
Par défaut : "50"
Exemple de réponse enregistré pour cette API ; aucune requête en direct n'est effectuée lors de l'affichage.
Aucune réponse enregistrée n'a été publiée. Exécutez l'API dans Playground pour inspecter sa réponse.
Explorer plus
| API | Prix | Réponse |
|---|---|---|
Zhihu Hot ListCette API Zhihu | $0.001 par appel | JSON |
Zhihu | $0.005 par appel | JSON |
Zhihu | $0.001 par appel | JSON |
Zhihu | $0.001 par appel | JSON |
Zhihu | $0.001 par appel | JSON |
Zhihu | $0.001 par appel | JSON |
Questions
Envoyez une requête POST à https://api.sandbase.ai/v1/api/zhihu/web/hot-list avec votre clé API SandBase dans l’en-tête Authorization (Bearer) et les paramètres dans un corps JSON. Vous pouvez aussi l’essayer dans le Playground sur cette page sans écrire de code.
$0.001 par appel. Chaque organisation bénéficie de 100 appels gratuits par jour UTC, partagés entre les API SandBase éligibles, y compris celle-ci ; au-delà, chaque appel est facturé à ce tarif depuis votre solde SandBase. Aucun abonnement.
Aucun paramètre n’est requis. Facultatif : desktop (string) et limit (string). Le tableau des paramètres et le Playground sur cette page listent tous les champs.
Une réponse JSON renvoyée dans la même requête HTTP (synchrone). Le README sur cette page inclut un exemple de réponse.
Non. Zhihu Hot List fonctionne via SandBase, donc une seule clé API SandBase couvre ce point de terminaison ainsi que toutes les autres API et tous les modèles du catalogue. Vous n’avez pas besoin de demander un accès API Zhihu séparément.
Non. Ce schéma déclare des chaînes optionnelles avec les valeurs par défaut "true" et "50". Le README documente une requête vide. Son extrait d’une seule ligne ne prouve ni une réponse complète de 50 éléments ni des valeurs par défaut nouvellement exécutées.
Non. target.created correspond à la date de création de la question, et detail_text est le texte de chaleur brut du fournisseur. Les compteurs de réponses et d’abonnés à la question sont des métriques séparées. Les preuves actuelles se limitent à un extrait de README sans date et sans exécution complète enregistrée.
Pas de façon sûre pour cette référence : 2099419745036650047 dépasse la plage des entiers sûrs. Utilisez un parsing sans perte avant la conversion. Les titres et IDs de plateformes différentes n’établissent ni un même événement ni un classement commun.