question_idstring必填
Question ID
https://api.sandbase.ai/v1/api/zhihu/web/question-answersReturns a list of answers for a specified Zhihu question. Supports pagination through cursor or offset parameters and sorting by time or default rank.
[
{
"data": {
"ad_info": {
"ad": {
"ad_verb": "",
"brand": {
"id": 0,
"logo": "https://pic3.zhimg.com/v2-aaf27fb675bed966caa5640a36857f2f_xl.png?source=d6434cab",
"name": "创作者小助手"
},
"category": 1,
"click_tracks": [
"https://sugar.zhihu.com/plutus_adreaper?pdi=1622544656706943&t=4&ft=8&idi=100010065&qmlag=0&pf=4&btm=1&qmls=0&bn=0&ri=39218db4-ab3e-402f-be79-f3d51a9db38b&rui=39218db4-ab3e-402f-be79-f3d51a9db38b&pty=1&s=a403e48f-84b0-4f4b-87ab-d71edbbdc32d&di=tower&qetl=0&nt=0&qpt=0&qpw=0&qmag=3&atp=0&ed=CjEEfh4wM3…"
],
"close_track": "https://sugar.zhihu.com/plutus_adreaper?pty=1&qmlag=0&ft=8&qetl=0&qpw=0&bn=0&anis=0&qmls=0&idi=100010065&ri=39218db4-ab3e-402f-be79-f3d51a9db38b&qpt=0&di=tower&s=a403e48f-84b0-4f4b-87ab-d71edbbdc32d&t=7&nt=0&ar=3862136&btm=1&qmag=3&rui=39218db4-ab3e-402f-be79-f3d51a9db38b&pdi=1622544656706943&atp=0&…",
"close_tracks": [
"https://sugar.zhihu.com/plutus_adreaper?pty=1&qmlag=0&ft=8&qetl=0&qpw=0&bn=0&anis=0&qmls=0&idi=100010065&ri=39218db4-ab3e-402f-be79-f3d51a9db38b&qpt=0&di=tower&s=a403e48f-84b0-4f4b-87ab-d71edbbdc32d&t=7&nt=0&ar=3862136&btm=1&qmag=3&rui=39218db4-ab3e-402f-be79-f3d51a9db38b&pdi=1622544656706943&atp=0&…"
],
"conversion_tracks": [
"https://sugar.zhihu.com/plutus_adreaper?qetl=0&qmlag=0&qmls=0&ed=CjEEfx4wM316FGNRA2ApBUZ2AC8Lbm4jeUR_XggxKB0Ocgt5ACBvdCgcNAIXMTYNWXYPbFkqPn19HWJfAmd_FhssBHgPem11exJ0BFhtfwhddwh5DmU5NHMXdARebXkATSdJdwtzamYiUG9VBmd-Alp0AXMMdHw1JxhjUQV-dQJFcgxkCXJqZjpWb1YGaX0AWHEBegxlOShzFXQGRG14AVJ3CGxIIjN9fgMmFF5tfRY…"
],
"creatives": [
{
"app_promotion_url": "",
"brand": {
"id": 0,
"logo": "https://pic3.zhimg.com/v2-aaf27fb675bed966caa5640a36857f2f_xl.png?source=d6434cab",
"name": "创作者小助手"
},
"cta": {
"value": "查看详情"
},
"description": "欢迎每一位维权成功的知友现身说法,贡献真实的维权经历,参与站内回答讨论。维权信息真实、过程完整、对其他创作者有帮助的回答,将有机会获得 10000 盐粒、最新款知乎刘看山周边!",
"footer": {
"value": ""
},
"image": "",
"landing_url": "https://zhuanlan.zhihu.com/p/2086147741097223605?spu=biz%3D0%26ci%3D3862136%26si%3D39218db4-ab3e-402f-be79-f3d51a9db38b%26ts%3D1791034804%26zid%3D236",
"title": "有奖征集|欢迎分享「站外维权」真实经历!",
"video_watch_num": 13365
}
],
"debug_tracks": [
"https://sugar.zhihu.com/plutus_adreaper?ri=39218db4-ab3e-402f-be79-f3d51a9db38b&atp=0&qpw=0&ar=3862136&ft=8&di=tower&qetl=0&s=a403e48f-84b0-4f4b-87ab-d71edbbdc32d&pdi=1622544656706943&rui=39218db4-ab3e-402f-be79-f3d51a9db38b&qpt=0&ed=CjEEcx4wM316FGNRA2ApBUZ2AC8Lbm4jeUR_XggxKB0Ocgt5ACBvdCgcNAIXMTYNWX…"
],
"download_silent": false,
"experiment_info": "{}",
"id": 3808373,
"impression_tracks": [
"https://sugar.zhihu.com/plutus_adreaper?qetl=0&ri=39218db4-ab3e-402f-be79-f3d51a9db38b&t=2&s=a403e48f-84b0-4f4b-87ab-d71edbbdc32d&atp=0&qmls=0&idi=100010065&qpw=0&pdi=1622544656706943&rui=39218db4-ab3e-402f-be79-f3d51a9db38b&btm=1&ar=3862136&ft=8&qmlag=0&bn=0&di=tower&pty=1&qpt=0&pf=4&nt=0&qmag=3&an…"
],
"is_new_webview": true,
"is_speeding": false,
"name": "",
"native_prefetch": true,
"party_id": -2,
"revert_close_track": "https://sugar.zhihu.com/plutus_adreaper?qetl=0&rui=39218db4-ab3e-402f-be79-f3d51a9db38b&s=a403e48f-84b0-4f4b-87ab-d71edbbdc32d&btm=1&di=tower&qmag=3&ri=39218db4-ab3e-402f-be79-f3d51a9db38b&qpt=0&anis=0&nt=0&qpw=0&atp=0&ed=CjEEch4wM316FGNRA2ApBUZ2AC8Lbm4jeUR_XggxKB0Ocgt5ACBvdCgcNAIXMTYNWXYPbFkqPn19HW…",
"template": "web_word",
"view_track": "https://sugar.zhihu.com/plutus_adreaper?s=a403e48f-84b0-4f4b-87ab-d71edbbdc32d&pdi=1622544656706943&idi=100010065&qmls=0&rui=39218db4-ab3e-402f-be79-f3d51a9db38b&di=tower&ft=8&qmag=3&qmlag=0&pf=4&nt=0&qpt=0&bn=0&ar=3862136&ri=39218db4-ab3e-402f-be79-f3d51a9db38b&ed=CjEEeR4wM316FGNRA2ApBUZ2AC8Lbm4jeU…",
"view_tracks": [
"https://sugar.zhihu.com/plutus_adreaper?s=a403e48f-84b0-4f4b-87ab-d71edbbdc32d&pdi=1622544656706943&idi=100010065&qmls=0&rui=39218db4-ab3e-402f-be79-f3d51a9db38b&di=tower&ft=8&qmag=3&qmlag=0&pf=4&nt=0&qpt=0&bn=0&ar=3862136&ri=39218db4-ab3e-402f-be79-f3d51a9db38b&ed=CjEEeR4wM316FGNRA2ApBUZ2AC8Lbm4jeU…"
],
"za_ad_info": "CPW46AEQ7AEiATFdC4LVTmD43OsB",
"za_ad_info_json": "{\"ad_id\":3808373,\"ad_zone_id\":236,\"category\":\"1\",\"timestamp\":1791034800,\"creative_id\":3862136}"
},
"adjson": "{\"ads\":[{\"id\":3808373,\"ad_zone_id\":236,\"template\":\"web_word\",\"impression_tracks\":[\"https://sugar.zhihu.com/plutus_adreaper?qmlag=0\\u0026qmag=3\\u0026ft=8\\u0026qetl=0\\u0026rui=39218db4-ab3e-402f-be79-f3d51a9db38b\\u0026ar=3862136\\u0026btm=1\\u0026anis=0\\u0026pf=4\\u0026di=tower\\u0026pty=1\\u0026t=2\\u0026a…",
"position": 3
},
"data": [
{
"cursor": "ffcc6c94e0ee6359bbc418ffe38d5858",
"is_jump_native": false,
"position": 0,
"skip_count": false,
"target": {
"admin_closed_comment": false,
"allow_segment_interaction": 1,
"annotation_action": null,
"answer_type": "normal",
"attached_info": "ogEYCAQQAxiJr+OM8fr8/xwg7OXf5Oe7xf8ckgIuCgk3OTk5NjI2NjISEzIwODk2NTY4NTcxNjE5NDcwMTcYBCIKSU1BR0VfVEVYVA==",
"author": {
"avatar_url": "https://pic1.zhimg.com/v2-b48d3f940ee72286974998c6c350b96d_l.jpg?source=1def8aca",
"avatar_url_template": "https://picx.zhimg.com/v2-b48d3f940ee72286974998c6c350b96d.jpg?source=1def8aca",
"badge": [
{
"description": "优秀答主",
"topics": "… 4 items in the full response",
"type": "best_answerer"
}
],
"badge_v2": {
"detail_badges": [
"…"
],
"icon": "https://picx.zhimg.com/v2-4a07bc69c4bb04444721f35b32125c75_l.png?source=32738c0c",
"merged_badges": [
"…"
],
"night_icon": "https://picx.zhimg.com/v2-4a07bc69c4bb04444721f35b32125c75_l.png?source=32738c0c",
"title": "汽车行业等 5 个话题下的优秀答主"
},
"exposed_medal": {
"avatar_url": "https://pic1.zhimg.com/v2-b9c90b8615a3f2e45b30d4e33d1f6e7b_l.png?source=1def8aca",
"description": "成为「优秀答主」即可获得",
"medal_avatar_frame": "",
"medal_id": "972466021521641472",
"medal_name": "优秀答主",
"mini_avatar_url": "https://pica.zhimg.com/v2-b9c90b8615a3f2e45b30d4e33d1f6e7b_r.png?source=1def8aca"
},
"follower_count": 124007,
"gender": 1,
"headline": "5G坚定支持者",
"id": "6510a670dfd27b294d2337287642d59a",
"is_advertiser": false,
"is_followed": false,
"is_following": false,
"is_org": false,
"is_privacy": false,
"name": "现实主义理想者",
"type": "people",
"url": "https://www.zhihu.com/api/v4/people/6510a670dfd27b294d2337287642d59a",
"url_token": "lcqaz777",
"user_type": "people",
"vip_info": {
"is_vip": true,
"vip_icon": {
"night_mode_url": "https://picx.zhimg.com/v2-c9686ff064ea3579730756ac6c289978.jpg?source=88ceefae",
"url": "https://picx.zhimg.com/v2-4812630bc27d642f7cafcd6cdeca3d7a.jpg?source=88ceefae"
}
}
},
"business_type": "normal",
"can_comment": {
"reason": "",
"status": true
},
"collapse_reason": "",
"collapsed_by": "nobody",
"comment_count": 101,
"comment_permission": "all",
"content": "<p data-pid=\"RpDx4uHf\">先说一句题外话,除非某些有关部门认为关键时间点过了亦或者单纯转变了工作思路,否则极客湾这期视频是迄今为止最危险的一期。</p><p data-pid=\"FupztT7y\">尤其是视频前半段的韬芯片设计和逻辑折叠工艺解析,极客湾图文并茂,深入浅出,甚至连Die Shot相关信息都一闪而过。</p><p data-pid=\"PEFyzDeA\">(我知道这些海外都会做,但按照以往的工作思路,Die Shot相关是被有关部门点名的敏感信息,包括极客湾在内的多位大小博主都亲口确认过这一点)。</p><p data-pid=\"YVXbg2pU\">虽然不排除是上…",
"content_mark": {},
"content_need_truncated": false,
"created_time": 1790993018,
"decorative_labels": [],
"editable_content": "",
"endorsements": [
{
"action_url": "https://www.zhihu.com/people/d3422a49c2c0a11a734e99af32896d63",
"background_color": {
"alpha": 0.1,
"group": "GBL01A"
},
"elements": [
"…",
"…"
],
"sub_elements": [],
"sub_elements_type": "DESCRIPTION",
"za": {
"block_text": "ThanksForInvitingLabel",
"text": "",
"type": "text"
}
}
],
"excerpt": "先说一句题外话,除非某些有关部门认为关键时间点过了亦或者单纯转变了工作思路,否则极客湾这期视频是迄今为止最危险的一期。 尤其是视频前半段的韬芯片设计和逻辑折叠工艺解析,极客湾图文并茂,深入浅出,甚至连Die Shot相关信息都一闪而过。 (我知道这些海外都会做,但按照以往的工作思路,Die Shot相关是被有关部门点名的敏感信息,包括极客湾在内的多位大小博主都亲口确认过这一点)。 虽然不排除是上头确认放行了极客湾…",
"extras": "",
"favlists_count": 124,
"force_login_when_click_read_more": false,
"has_publishing_draft": false,
"id": "2089656857161947017",
"is_collapsed": false,
"is_copyable": true,
"is_jump_native": false,
"is_mine": false,
"is_navigator": false,
"is_normal": true,
"is_sticky": false,
"is_visible": true,
"link_card_info": {
"https://www.zhihu.com/question/2044558340752158944/answer/2045111051637740240": "{\"card_type\":\"card_1\",\"display\":{\"title\":\"如何评价知乎著名博主赵泠将华为“韬定律”定性为商业广告?\",\"card_open_url\":\"https://www.zhihu.com/question/2044558340752158944/answer/2045111051637740240\",\"desc\":\"459 赞同 · 48 评论 \\u003ca class=\\\"tag type_a\\\"\\u003e回答\\u003c/a\\u003e\",\"content\":\"\\u003ca class=\\\"text normal/bold\\\" data-color=…"
},
"matrix_tips": "835 赞同 · 124 收藏 · 101 评论",
"navigator_vote": false,
"question": {
"created": 1790934830,
"id": "2089412797440455404",
"question_type": "normal",
"relationship": null,
"title": "如何评价极客湾最新视频《逻辑折叠深度解析!华为Mate 90系列韬定律芯片有多强?》?",
"type": "question",
"updated_time": 1790934830,
"url": "https://www.zhihu.com/api/v4/questions/2089412797440455404"
},
"reaction": {
"relation": {
"faved": false,
"liked": false
},
"statistics": {
"down_vote_count": 74,
"favorites": 124,
"like_count": 59
}
},
"reaction_instruction": {},
"relationship": {
"is_author": false,
"is_authorized": false,
"is_favorited": false,
"is_nothelp": false,
"is_thanked": false,
"upvoted_followees": [],
"voting": 0
},
"…": "14 more fields in the full response"
},
"target_type": "answer",
"type": "question_feed_card"
},
{
"cursor": "ffcc6c94e0ee63594ace18ffe38d5858",
"is_jump_native": false,
"position": 0,
"skip_count": false,
"target": {
"admin_closed_comment": false,
"allow_segment_interaction": 1,
"annotation_action": null,
"answer_type": "normal",
"attached_info": "ogEYCAQQAxiCwOaO04L+/xwg7OXf5Oe7xf8ckgIuCgk3OTk5NjQzNzUSEzIwODk2NjE1MjIwMzc1NDcwMTAYBCIKSU1BR0VfVEVYVA==",
"author": {
"avatar_url": "https://picx.zhimg.com/bc676fb4a7f7973afe5399796b78ff3d_l.jpg?source=1def8aca",
"avatar_url_template": "https://picx.zhimg.com/bc676fb4a7f7973afe5399796b78ff3d.jpg?source=1def8aca",
"badge": [],
"badge_v2": {
"detail_badges": [],
"icon": "",
"merged_badges": [],
"night_icon": "",
"title": ""
},
"exposed_medal": {
"avatar_url": "https://picx.zhimg.com/v2-548f815c48c8286768f921116785873d_l.png?source=1def8aca",
"description": "评论 1000 次",
"medal_avatar_frame": "",
"medal_id": "972462538273792000",
"medal_name": "乐于交流",
"mini_avatar_url": "https://pic1.zhimg.com/v2-548f815c48c8286768f921116785873d_r.png?source=1def8aca"
},
"follower_count": 37429,
"gender": 1,
"headline": "非典型游戏策划……新冠感染次数:1",
"id": "652769e677b0375285ea58a2e2e3354d",
"is_advertiser": false,
"is_followed": false,
"is_following": false,
"is_org": false,
"is_privacy": false,
"name": "DeepSky",
"type": "people",
"url": "https://www.zhihu.com/api/v4/people/652769e677b0375285ea58a2e2e3354d",
"url_token": "zsydeepsky",
"user_type": "people",
"vip_info": {
"is_vip": true,
"vip_icon": {
"night_mode_url": "https://picx.zhimg.com/v2-c9686ff064ea3579730756ac6c289978.jpg?source=88ceefae",
"url": "https://pic1.zhimg.com/v2-4812630bc27d642f7cafcd6cdeca3d7a.jpg?source=88ceefae"
}
}
},
"business_type": "normal",
"can_comment": {
"reason": "",
"status": true
},
"collapse_reason": "",
"collapsed_by": "nobody",
"comment_count": 18,
"comment_permission": "all",
"content": "<p data-pid=\"kuvGVKuI\">没想到是N+3叠N+2最后干翻了Google,等于是 7nm+6nm > 3nm</p><p data-pid=\"uBi7d6j6\">突然想起当年被人嘲笑的 14nm+14nm > 7nm (而且当年我都是嘲笑这句话的一份子)</p><p data-pid=\"vbeS9Kcv\">没想到居然还超额完成目标了……</p><p data-pid=\"POKZZgBY\">果然人还是要保持思想开放,不然就算提前有人把答案都告诉你了,也白搭……</p>",
"content_mark": {},
"content_need_truncated": false,
"created_time": 1790994130,
"decorative_labels": [],
"editable_content": "",
"excerpt": "没想到是N+3叠N+2最后干翻了Google,等于是 7nm+6nm > 3nm 突然想起当年被人嘲笑的 14nm+14nm > 7nm (而且当年我都是嘲笑这句话的一份子) 没想到居然还超额完成目标了… 果然人还是要保持思想开放,不然就算提前有人把答案都告诉你了,也白搭…",
"extras": "",
"favlists_count": 12,
"force_login_when_click_read_more": false,
"has_publishing_draft": false,
"id": "2089661522037547010",
"is_collapsed": false,
"is_copyable": true,
"is_jump_native": false,
"is_mine": false,
"is_navigator": false,选择一个示例,将其输入和结果加载到 playground 中。
Returns a page of answers for one Zhihu question, with each answer's author details and a cursor for the next page. It needs a question_id, and you can sort by default rank or by update time.
order set to updated.curl -X POST "https://api.sandbase.ai/v1/api/zhihu/web/question-answers" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"question_id": "19550225"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
question_id | string | Yes | Question ID |
cursor | string | No | Pagination cursor for next page, extracted from response fields |
limit | integer | No | Number of answers per page, default 5 |
offset | integer | No | Offset, default 0 |
order | string | No | Sort order, default=default sort, updated=sort by time |
session_id | string | No | Session ID for pagination state, extracted from response fields |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"ad_info": {
"ad": {
"ad_verb": "",
"brand": {
"id": 0,
"logo": "https://pic1.zhimg.com/v2-6dc7efaea43f291bbafdc2b7a9eabfb7_xl.jpg?source=d6434ca…",
"name": "知乎日报"
},
"category": 1,
"click_tracks": [
"https://sugar.zhihu.com/plutus_adreaper?qetl=0&idi=100010063&bn=0&pty=1&qmls=0&r…"
],
"close_track": "https://sugar.zhihu.com/plutus_adreaper?pdi=1585291053080156&qetl=0&di=tower&qma…",
"close_tracks": [
"https://sugar.zhihu.com/plutus_adreaper?pdi=1585291053080156&qetl=0&di=tower&qma…"
],
"conversion_tracks": [
"https://sugar.zhihu.com/plutus_adreaper?ft=8&qmag=3&anis=0&di=tower&ri=0d727a67-…"
],
"creatives": [
{
"app_promotion_url": "",
"brand": {
"id": 0,
"logo": "https://pic1.zhimg.com/v2-6dc7efaea43f291bbafdc2b7a9eabfb7_xl.jpg?source=d6434ca…",
"name": "知乎日报"
},
"cta": {
"value": "查看详情"
},
"description": "有没有哪一刻,你突然读懂了那句「今月曾经照古人」?或许是站在应县木塔下抬头的那一刻,是站在安岳茗山寺凝望的那一刻。这个秋天,想邀请你一起出发——走过古建、石窟、…",
"footer": {
"value": ""
},
"image": "",
"landing_url": "https://www.zhihu.com/parker/campaign/2085797272877523769?zh_hide_nav_bar=true&s…",
"title": "带着今天的问题 走近一座古建 一处古迹"
}
],
"debug_tracks": [
"https://sugar.zhihu.com/plutus_adreaper?rui=0d727a67-b463-4c9b-985a-ca0458530b1e…"
],
"download_silent": false,
"experiment_info": "{}",
"id": 3809965
},
"adjson": "{\"ads\":[{\"id\":3809965,\"ad_zone_id\":236,\"template\":\"web_word\",\"impression_tracks\"…",
"position": 3
},
"data": [
{
"cursor": "c49443398f92ae92f26a14c9ce1cdaad",
"is_jump_native": false,
"position": 0,
"skip_count": false,
"target": {
"admin_closed_comment": false,
"allow_segment_interaction": 1,
"annotation_action": null,
"answer_type": "normal",
"attached_info": "ogETCAQQAxj369CgzOng0RsgkaCpCZICLgoJNzY0MTM3NTA4EhMxOTkxNTc5ODI1OTU4MzAzMjIzGAQi…",
"author": {
"avatar_url": "https://pic1.zhimg.com/v2-bfe6200c1c029aa5b8281ea360a74e23_l.jpg?source=1def8aca",
"avatar_url_template": "https://pica.zhimg.com/v2-bfe6200c1c029aa5b8281ea360a74e23.jpg?source=1def8aca",
"badge": [
{
"description": "上海交通大学 材料科学与工程博士",
"topics": [],
"type": "identity"
}
],
"badge_v2": {
"detail_badges": [
{
"description": "新知答主",
"detail_type": "zhihu_yearly_answerer",
"icon": "https://picx.zhimg.com/v2-4a07bc69c4bb04444721f35b32125c75_l.png?source=32738c0c",
"night_icon": "https://picx.zhimg.com/v2-4a07bc69c4bb04444721f35b32125c75_l.png?source=32738c0c",
"sources": [
{
"avatar_path": "",
"avatar_url": "",
"description": "",
"id": "2024",
"name": "",
"priority": 2024,
"token": "",
"type": "year"
}
],
"title": "年度新知答主",
"type": "reward",
"url": "https://www.zhihu.com/question/510340037"
}
],
"icon": "https://pic1.zhimg.com/v2-27bfcba90e66db79ce8768ab807e017e_l.png?source=32738c0c",
"merged_badges": [
{
"description": "新知答主",
"detail_type": "best",
"icon": "",
"night_icon": "",
"sources": [],
"title": "年度新知答主",
"type": "best",
"url": "https://www.zhihu.com/question/510340037"
}
],
"night_icon": "https://pic1.zhimg.com/v2-27bfcba90e66db79ce8768ab807e017e_l.png?source=32738c0c",
"title": "新知答主"
},
"exposed_medal": {
"avatar_url": "https://picx.zhimg.com/v2-f8f0ec3b12c813410945335044af18bd_l.png?source=1def8aca",
"description": "",
"medal_avatar_frame": "",
"medal_id": "2062582789959169574",
"medal_name": "高考 2026",
"mini_avatar_url": "https://picx.zhimg.com/v2-f8f0ec3b12c813410945335044af18bd_r.png?source=1def8aca"
},
"follower_count": 31313,
"gender": 1,
"headline": "高校教师·研究生导师·多本SCI期刊编辑编委。讲论文写作、研究生培养、学术避坑的落地方法。新书《科研全攻略》筹备中,关注我,把读研读博讲成能上手的事。\n(公众号…"
},
"business_type": "normal",
"can_comment": {
"reason": "",
"status": true
}
},
"target_type": "answer",
"type": "question_feed_card"
}
],
"finished_reading_filtered_count": 0,
"paging": {
"is_end": false,
"need_force_login": false,
"next": "https://www.zhihu.com/api/v4/questions/19550225/feeds?cursor=c49443398f92ae92f2b…",
"page": 1
},
"session": {
"id": "1793692133874449509"
}
}
| Field | Meaning |
|---|---|
data[] | One feed item per answer. The target_type value is answer and the answer itself sits under target. |
data[].cursor | Cursor string for this item. Pass it as cursor to continue from this position. |
data[].target.answer_type | Type of the answer, for example normal. |
data[].target.can_comment.status | Whether commenting is open on the answer. reason is empty when comments are allowed. |
data[].target.author.headline | Short bio line the answerer set on their profile. |
data[].target.author.follower_count | Number of followers the answer's author has. |
data[].target.author.badge[].description | Verified identity text for the author, such as a school and degree. The list is empty when the author has no badge. |
data[].target.author.badge_v2.detail_badges[] | Detailed badges of the author, with title, description and type such as identity or reward. |
data[].target.author.exposed_medal.medal_name | Name of the medal the author shows on their profile. It is empty when no medal is shown. |
paging.is_end / paging.page / paging.next | Whether this is the last page, the current page number, and the URL of the next page. The next URL contains the cursor for the following request. |
session.id | Session ID for this paging run. Pass it as session_id on later requests. |
question_id is the number at the end of a Zhihu question URL, such as 19550225. Zhihu Question Detail returns details for the same question.cursor from paging.next (or from the last item in data) together with session.id as session_id. Stop when paging.is_end is true.ad_info block with an ad entry. You can ignore it when you only need answers.$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
Use question_id with explicit limit 5, offset 0 and order default for this bounded teaching request. The parameter descriptions give default limit 5 and offset 0 and describe default versus updated ordering. Omit cursor and session_id at the start. A saved example can request 20; the teaching plan uses 5 while retaining the saved Playground snapshot.
Inside outputs[0].data, the reference exposes a data array plus paging and session objects. Require an array before processing it. The reference wraps answers in feed cards: check data[].target_type equals answer and read the answer from data[].target, rather than treating the wrapper as the answer. Inspect available fields before use. Keep answer IDs and source links with any text excerpts. The separate ad_info block is not an answer. A valid empty array differs from a missing array, and one page does not establish coverage of the entire discussion.
Later pages require response-derived state: the reference describes a cursor and session.id used as session_id, along with paging.is_end. Do not follow the old suggestion to increment offset while ignoring response state, copy a truncated sample token, or fetch a provider paging.next URL with your SandBase key. This first-request guide stops after one page and does not claim continuation was tested.
Need the question's own title and counts instead? Use Question Detail independently. Answer order and votes are observations of a sample; they are not proof of truth or a representative audience survey.
Already have a SandBase key? Reuse SANDBASE_API_KEY in your local environment and the API tab's POST /v1/api/ route with Bearer authentication. An already connected agent only needs the exact endpoint and question ID. For a new project, share the setup Skill, Markdown quickstart and your research question. Ask for one response before choosing any expansion.
Require a completed SandBase response and read outputs[0].data, then validate this endpoint's shape. Question detail is a question object; Question Answers has its own data array inside the business payload. Missing records, malformed arrays and provider errors are not empty findings. Do not silently substitute an empty dictionary or use a legacy output field.
Pricing checked on 2026-11-08: each selected endpoint lists $0.001 per call and eligibility for 100 daily calls shared across eligible data APIs in the organization, resetting at 00:00 UTC. Eligibility does not show remaining allowance. Inspect current pricing and quota before executing. No new business request or pagination roundtrip was run for this revision. The Zhihu Python first-request tutorial distinguishes current code from older research examples.
开始构建
具备统一身份验证和使用情况跟踪的平台 API 端点。
curl -X POST "https://api.sandbase.ai/v1/api/zhihu/web/question-answers" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"question_id": "2089412797440455404",
"limit": 5,
"offset": 0,
"order": "default"
}'将您的 SandBase API 密钥设置到服务器环境中。请求使用 Bearer 身份验证。
export SANDBASE_API_KEY="YOUR_API_KEY"请将密钥保存在服务器端。不要在浏览器代码中暴露它。
question_idstring必填Question ID
cursorstringPagination cursor for next page, extracted from response fields
limitintegerNumber of answers per page, default 5
offsetintegerOffset, default 0
orderstringSort order, default=default sort, updated=sort by time
session_idstringSession ID for pagination state, extracted from response fields
这是该 API 保存的示例响应;查看时不会发起实时请求。
[
{
"data": {
"ad_info": {
"ad": {
"ad_verb": "",
"brand": {
"id": 0,
"logo": "https://pic3.zhimg.com/v2-aaf27fb675bed966caa5640a36857f2f_xl.png?source=d6434cab",
"name": "创作者小助手"
},
"category": 1,
"click_tracks": [
"https://sugar.zhihu.com/plutus_adreaper?pdi=1622544656706943&t=4&ft=8&idi=100010065&qmlag=0&pf=4&btm=1&qmls=0&bn=0&ri=39218db4-ab3e-402f-be79-f3d51a9db38b&rui=39218db4-ab3e-402f-be79-f3d51a9db38b&pty=1&s=a403e48f-84b0-4f4b-87ab-d71edbbdc32d&di=tower&qetl=0&nt=0&qpt=0&qpw=0&qmag=3&atp=0&ed=CjEEfh4wM3…"
],
"close_track": "https://sugar.zhihu.com/plutus_adreaper?pty=1&qmlag=0&ft=8&qetl=0&qpw=0&bn=0&anis=0&qmls=0&idi=100010065&ri=39218db4-ab3e-402f-be79-f3d51a9db38b&qpt=0&di=tower&s=a403e48f-84b0-4f4b-87ab-d71edbbdc32d&t=7&nt=0&ar=3862136&btm=1&qmag=3&rui=39218db4-ab3e-402f-be79-f3d51a9db38b&pdi=1622544656706943&atp=0&…",
"close_tracks": [
"https://sugar.zhihu.com/plutus_adreaper?pty=1&qmlag=0&ft=8&qetl=0&qpw=0&bn=0&anis=0&qmls=0&idi=100010065&ri=39218db4-ab3e-402f-be79-f3d51a9db38b&qpt=0&di=tower&s=a403e48f-84b0-4f4b-87ab-d71edbbdc32d&t=7&nt=0&ar=3862136&btm=1&qmag=3&rui=39218db4-ab3e-402f-be79-f3d51a9db38b&pdi=1622544656706943&atp=0&…"
],
"conversion_tracks": [
"https://sugar.zhihu.com/plutus_adreaper?qetl=0&qmlag=0&qmls=0&ed=CjEEfx4wM316FGNRA2ApBUZ2AC8Lbm4jeUR_XggxKB0Ocgt5ACBvdCgcNAIXMTYNWXYPbFkqPn19HWJfAmd_FhssBHgPem11exJ0BFhtfwhddwh5DmU5NHMXdARebXkATSdJdwtzamYiUG9VBmd-Alp0AXMMdHw1JxhjUQV-dQJFcgxkCXJqZjpWb1YGaX0AWHEBegxlOShzFXQGRG14AVJ3CGxIIjN9fgMmFF5tfRY…"
],
"creatives": [
{
"app_promotion_url": "",
"brand": {
"id": 0,
"logo": "https://pic3.zhimg.com/v2-aaf27fb675bed966caa5640a36857f2f_xl.png?source=d6434cab",
"name": "创作者小助手"
},
"cta": {
"value": "查看详情"
},
"description": "欢迎每一位维权成功的知友现身说法,贡献真实的维权经历,参与站内回答讨论。维权信息真实、过程完整、对其他创作者有帮助的回答,将有机会获得 10000 盐粒、最新款知乎刘看山周边!",
"footer": {
"value": ""
},
"image": "",
"landing_url": "https://zhuanlan.zhihu.com/p/2086147741097223605?spu=biz%3D0%26ci%3D3862136%26si%3D39218db4-ab3e-402f-be79-f3d51a9db38b%26ts%3D1791034804%26zid%3D236",
"title": "有奖征集|欢迎分享「站外维权」真实经历!",
"video_watch_num": 13365
}
],
"debug_tracks": [
"https://sugar.zhihu.com/plutus_adreaper?ri=39218db4-ab3e-402f-be79-f3d51a9db38b&atp=0&qpw=0&ar=3862136&ft=8&di=tower&qetl=0&s=a403e48f-84b0-4f4b-87ab-d71edbbdc32d&pdi=1622544656706943&rui=39218db4-ab3e-402f-be79-f3d51a9db38b&qpt=0&ed=CjEEcx4wM316FGNRA2ApBUZ2AC8Lbm4jeUR_XggxKB0Ocgt5ACBvdCgcNAIXMTYNWX…"
],
"download_silent": false,
"experiment_info": "{}",
"id": 3808373,
"impression_tracks": [
"https://sugar.zhihu.com/plutus_adreaper?qetl=0&ri=39218db4-ab3e-402f-be79-f3d51a9db38b&t=2&s=a403e48f-84b0-4f4b-87ab-d71edbbdc32d&atp=0&qmls=0&idi=100010065&qpw=0&pdi=1622544656706943&rui=39218db4-ab3e-402f-be79-f3d51a9db38b&btm=1&ar=3862136&ft=8&qmlag=0&bn=0&di=tower&pty=1&qpt=0&pf=4&nt=0&qmag=3&an…"
],
"is_new_webview": true,
"is_speeding": false,
"name": "",
"native_prefetch": true,
"party_id": -2,
"revert_close_track": "https://sugar.zhihu.com/plutus_adreaper?qetl=0&rui=39218db4-ab3e-402f-be79-f3d51a9db38b&s=a403e48f-84b0-4f4b-87ab-d71edbbdc32d&btm=1&di=tower&qmag=3&ri=39218db4-ab3e-402f-be79-f3d51a9db38b&qpt=0&anis=0&nt=0&qpw=0&atp=0&ed=CjEEch4wM316FGNRA2ApBUZ2AC8Lbm4jeUR_XggxKB0Ocgt5ACBvdCgcNAIXMTYNWXYPbFkqPn19HW…",
"template": "web_word",
"view_track": "https://sugar.zhihu.com/plutus_adreaper?s=a403e48f-84b0-4f4b-87ab-d71edbbdc32d&pdi=1622544656706943&idi=100010065&qmls=0&rui=39218db4-ab3e-402f-be79-f3d51a9db38b&di=tower&ft=8&qmag=3&qmlag=0&pf=4&nt=0&qpt=0&bn=0&ar=3862136&ri=39218db4-ab3e-402f-be79-f3d51a9db38b&ed=CjEEeR4wM316FGNRA2ApBUZ2AC8Lbm4jeU…",
"view_tracks": [
"https://sugar.zhihu.com/plutus_adreaper?s=a403e48f-84b0-4f4b-87ab-d71edbbdc32d&pdi=1622544656706943&idi=100010065&qmls=0&rui=39218db4-ab3e-402f-be79-f3d51a9db38b&di=tower&ft=8&qmag=3&qmlag=0&pf=4&nt=0&qpt=0&bn=0&ar=3862136&ri=39218db4-ab3e-402f-be79-f3d51a9db38b&ed=CjEEeR4wM316FGNRA2ApBUZ2AC8Lbm4jeU…"
],
"za_ad_info": "CPW46AEQ7AEiATFdC4LVTmD43OsB",
"za_ad_info_json": "{\"ad_id\":3808373,\"ad_zone_id\":236,\"category\":\"1\",\"timestamp\":1791034800,\"creative_id\":3862136}"
},
"adjson": "{\"ads\":[{\"id\":3808373,\"ad_zone_id\":236,\"template\":\"web_word\",\"impression_tracks\":[\"https://sugar.zhihu.com/plutus_adreaper?qmlag=0\\u0026qmag=3\\u0026ft=8\\u0026qetl=0\\u0026rui=39218db4-ab3e-402f-be79-f3d51a9db38b\\u0026ar=3862136\\u0026btm=1\\u0026anis=0\\u0026pf=4\\u0026di=tower\\u0026pty=1\\u0026t=2\\u0026a…",
"position": 3
},
"data": [
{
"cursor": "ffcc6c94e0ee6359bbc418ffe38d5858",
"is_jump_native": false,
"position": 0,
"skip_count": false,
"target": {
"admin_closed_comment": false,
"allow_segment_interaction": 1,
"annotation_action": null,
"answer_type": "normal",
"attached_info": "ogEYCAQQAxiJr+OM8fr8/xwg7OXf5Oe7xf8ckgIuCgk3OTk5NjI2NjISEzIwODk2NTY4NTcxNjE5NDcwMTcYBCIKSU1BR0VfVEVYVA==",
"author": {
"avatar_url": "https://pic1.zhimg.com/v2-b48d3f940ee72286974998c6c350b96d_l.jpg?source=1def8aca",
"avatar_url_template": "https://picx.zhimg.com/v2-b48d3f940ee72286974998c6c350b96d.jpg?source=1def8aca",
"badge": [
{
"description": "优秀答主",
"topics": "… 4 items in the full response",
"type": "best_answerer"
}
],
"badge_v2": {
"detail_badges": [
"…"
],
"icon": "https://picx.zhimg.com/v2-4a07bc69c4bb04444721f35b32125c75_l.png?source=32738c0c",
"merged_badges": [
"…"
],
"night_icon": "https://picx.zhimg.com/v2-4a07bc69c4bb04444721f35b32125c75_l.png?source=32738c0c",
"title": "汽车行业等 5 个话题下的优秀答主"
},
"exposed_medal": {
"avatar_url": "https://pic1.zhimg.com/v2-b9c90b8615a3f2e45b30d4e33d1f6e7b_l.png?source=1def8aca",
"description": "成为「优秀答主」即可获得",
"medal_avatar_frame": "",
"medal_id": "972466021521641472",
"medal_name": "优秀答主",
"mini_avatar_url": "https://pica.zhimg.com/v2-b9c90b8615a3f2e45b30d4e33d1f6e7b_r.png?source=1def8aca"
},
"follower_count": 124007,
"gender": 1,
"headline": "5G坚定支持者",
"id": "6510a670dfd27b294d2337287642d59a",
"is_advertiser": false,
"is_followed": false,
"is_following": false,
"is_org": false,
"is_privacy": false,
"name": "现实主义理想者",
"type": "people",
"url": "https://www.zhihu.com/api/v4/people/6510a670dfd27b294d2337287642d59a",
"url_token": "lcqaz777",
"user_type": "people",
"vip_info": {
"is_vip": true,
"vip_icon": {
"night_mode_url": "https://picx.zhimg.com/v2-c9686ff064ea3579730756ac6c289978.jpg?source=88ceefae",
"url": "https://picx.zhimg.com/v2-4812630bc27d642f7cafcd6cdeca3d7a.jpg?source=88ceefae"
}
}
},
"business_type": "normal",
"can_comment": {
"reason": "",
"status": true
},
"collapse_reason": "",
"collapsed_by": "nobody",
"comment_count": 101,
"comment_permission": "all",
"content": "<p data-pid=\"RpDx4uHf\">先说一句题外话,除非某些有关部门认为关键时间点过了亦或者单纯转变了工作思路,否则极客湾这期视频是迄今为止最危险的一期。</p><p data-pid=\"FupztT7y\">尤其是视频前半段的韬芯片设计和逻辑折叠工艺解析,极客湾图文并茂,深入浅出,甚至连Die Shot相关信息都一闪而过。</p><p data-pid=\"PEFyzDeA\">(我知道这些海外都会做,但按照以往的工作思路,Die Shot相关是被有关部门点名的敏感信息,包括极客湾在内的多位大小博主都亲口确认过这一点)。</p><p data-pid=\"YVXbg2pU\">虽然不排除是上…",
"content_mark": {},
"content_need_truncated": false,
"created_time": 1790993018,
"decorative_labels": [],
"editable_content": "",
"endorsements": [
{
"action_url": "https://www.zhihu.com/people/d3422a49c2c0a11a734e99af32896d63",
"background_color": {
"alpha": 0.1,
"group": "GBL01A"
},
"elements": [
"…",
"…"
],
"sub_elements": [],
"sub_elements_type": "DESCRIPTION",
"za": {
"block_text": "ThanksForInvitingLabel",
"text": "",
"type": "text"
}
}
],
"excerpt": "先说一句题外话,除非某些有关部门认为关键时间点过了亦或者单纯转变了工作思路,否则极客湾这期视频是迄今为止最危险的一期。 尤其是视频前半段的韬芯片设计和逻辑折叠工艺解析,极客湾图文并茂,深入浅出,甚至连Die Shot相关信息都一闪而过。 (我知道这些海外都会做,但按照以往的工作思路,Die Shot相关是被有关部门点名的敏感信息,包括极客湾在内的多位大小博主都亲口确认过这一点)。 虽然不排除是上头确认放行了极客湾…",
"extras": "",
"favlists_count": 124,
"force_login_when_click_read_more": false,
"has_publishing_draft": false,
"id": "2089656857161947017",
"is_collapsed": false,
"is_copyable": true,
"is_jump_native": false,
"is_mine": false,
"is_navigator": false,
"is_normal": true,
"is_sticky": false,
"is_visible": true,
"link_card_info": {
"https://www.zhihu.com/question/2044558340752158944/answer/2045111051637740240": "{\"card_type\":\"card_1\",\"display\":{\"title\":\"如何评价知乎著名博主赵泠将华为“韬定律”定性为商业广告?\",\"card_open_url\":\"https://www.zhihu.com/question/2044558340752158944/answer/2045111051637740240\",\"desc\":\"459 赞同 · 48 评论 \\u003ca class=\\\"tag type_a\\\"\\u003e回答\\u003c/a\\u003e\",\"content\":\"\\u003ca class=\\\"text normal/bold\\\" data-color=…"
},
"matrix_tips": "835 赞同 · 124 收藏 · 101 评论",
"navigator_vote": false,
"question": {
"created": 1790934830,
"id": "2089412797440455404",
"question_type": "normal",
"relationship": null,
"title": "如何评价极客湾最新视频《逻辑折叠深度解析!华为Mate 90系列韬定律芯片有多强?》?",
"type": "question",
"updated_time": 1790934830,
"url": "https://www.zhihu.com/api/v4/questions/2089412797440455404"
},
"reaction": {
"relation": {
"faved": false,
"liked": false
},
"statistics": {
"down_vote_count": 74,
"favorites": 124,
"like_count": 59
}
},
"reaction_instruction": {},
"relationship": {
"is_author": false,
"is_authorized": false,
"is_favorited": false,
"is_nothelp": false,
"is_thanked": false,
"upvoted_followees": [],
"voting": 0
},
"…": "14 more fields in the full response"
},
"target_type": "answer",
"type": "question_feed_card"
},
{
"cursor": "ffcc6c94e0ee63594ace18ffe38d5858",
"is_jump_native": false,
"position": 0,
"skip_count": false,
"target": {
"admin_closed_comment": false,
"allow_segment_interaction": 1,
"annotation_action": null,
"answer_type": "normal",
"attached_info": "ogEYCAQQAxiCwOaO04L+/xwg7OXf5Oe7xf8ckgIuCgk3OTk5NjQzNzUSEzIwODk2NjE1MjIwMzc1NDcwMTAYBCIKSU1BR0VfVEVYVA==",
"author": {
"avatar_url": "https://picx.zhimg.com/bc676fb4a7f7973afe5399796b78ff3d_l.jpg?source=1def8aca",
"avatar_url_template": "https://picx.zhimg.com/bc676fb4a7f7973afe5399796b78ff3d.jpg?source=1def8aca",
"badge": [],
"badge_v2": {
"detail_badges": [],
"icon": "",
"merged_badges": [],
"night_icon": "",
"title": ""
},
"exposed_medal": {
"avatar_url": "https://picx.zhimg.com/v2-548f815c48c8286768f921116785873d_l.png?source=1def8aca",
"description": "评论 1000 次",
"medal_avatar_frame": "",
"medal_id": "972462538273792000",
"medal_name": "乐于交流",
"mini_avatar_url": "https://pic1.zhimg.com/v2-548f815c48c8286768f921116785873d_r.png?source=1def8aca"
},
"follower_count": 37429,
"gender": 1,
"headline": "非典型游戏策划……新冠感染次数:1",
"id": "652769e677b0375285ea58a2e2e3354d",
"is_advertiser": false,
"is_followed": false,
"is_following": false,
"is_org": false,
"is_privacy": false,
"name": "DeepSky",
"type": "people",
"url": "https://www.zhihu.com/api/v4/people/652769e677b0375285ea58a2e2e3354d",
"url_token": "zsydeepsky",
"user_type": "people",
"vip_info": {
"is_vip": true,
"vip_icon": {
"night_mode_url": "https://picx.zhimg.com/v2-c9686ff064ea3579730756ac6c289978.jpg?source=88ceefae",
"url": "https://pic1.zhimg.com/v2-4812630bc27d642f7cafcd6cdeca3d7a.jpg?source=88ceefae"
}
}
},
"business_type": "normal",
"can_comment": {
"reason": "",
"status": true
},
"collapse_reason": "",
"collapsed_by": "nobody",
"comment_count": 18,
"comment_permission": "all",
"content": "<p data-pid=\"kuvGVKuI\">没想到是N+3叠N+2最后干翻了Google,等于是 7nm+6nm > 3nm</p><p data-pid=\"uBi7d6j6\">突然想起当年被人嘲笑的 14nm+14nm > 7nm (而且当年我都是嘲笑这句话的一份子)</p><p data-pid=\"vbeS9Kcv\">没想到居然还超额完成目标了……</p><p data-pid=\"POKZZgBY\">果然人还是要保持思想开放,不然就算提前有人把答案都告诉你了,也白搭……</p>",
"content_mark": {},
"content_need_truncated": false,
"created_time": 1790994130,
"decorative_labels": [],
"editable_content": "",
"excerpt": "没想到是N+3叠N+2最后干翻了Google,等于是 7nm+6nm > 3nm 突然想起当年被人嘲笑的 14nm+14nm > 7nm (而且当年我都是嘲笑这句话的一份子) 没想到居然还超额完成目标了… 果然人还是要保持思想开放,不然就算提前有人把答案都告诉你了,也白搭…",
"extras": "",
"favlists_count": 12,
"force_login_when_click_read_more": false,
"has_publishing_draft": false,
"id": "2089661522037547010",
"is_collapsed": false,
"is_copyable": true,
"is_jump_native": false,
"is_mine": false,
"is_navigator": false,
"is_normal": true,
"is_sticky": false,
"is_visible": true,
"matrix_tips": "319 赞同 · 12 收藏 · 18 评论",
"navigator_vote": false,
"question": {
"created": 1790934830,
"id": "2089412797440455404",
"question_type": "normal",
"relationship": null,
"title": "如何评价极客湾最新视频《逻辑折叠深度解析!华为Mate 90系列韬定律芯片有多强?》?",
"type": "question",
"updated_time": 1790934830,
"url": "https://www.zhihu.com/api/v4/questions/2089412797440455404"
},
"reaction": {
"relation": {
"faved": false,
"liked": false
},
"statistics": {
"down_vote_count": 9,
"favorites": 11,
"like_count": 2
}
},
"reaction_instruction": {},
"relationship": {
"is_author": false,
"is_authorized": false,
"is_favorited": false,
"is_nothelp": false,
"is_thanked": false,
"upvoted_followees": [],
"voting": 0
},
"relevant_info": {
"is_relevant": false,
"relevant_text": "",
"relevant_type": ""
},
"reshipment_settings": "allowed",
"…": "12 more fields in the full response"
},
"target_type": "answer",
"type": "question_feed_card"
},
"… 18 more items in the full response"
],
"finished_reading_filtered_count": 0,
"paging": {
"is_end": false,
"need_force_login": false,
"next": "https://www.zhihu.com/api/v4/questions/2089412797440455404/feeds?cursor=ffcc6c94e0ee6359a54b1bffe38d5858&include=data%5B%2A%5D.is_normal%2Cadmin_closed_comment%2Creward_info%2Cis_collapsed%2Cannotation_action%2Cannotation_detail%2Ccollapse_reason%2Cis_sticky%2Ccollapsed_by%2Csuggest_edit%2Ccomment_c…",
"page": 1
},
"session": {
"id": "1791034803835810020"
}
}
}
]探索更多
| 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/question-answers 发送 POST 请求,在 Authorization 请求头中使用您的 SandBase API key(Bearer),并将参数作为 JSON 请求体传入。您也可以直接在本页的 Playground 中试用,无需编写代码。
每次调用 $0.001。每个组织在每个 UTC 日可获得 100 次免费调用,适用于包括此接口在内的所有符合条件的 SandBase APIs;超过后,每次调用将按此价格从您的 SandBase 余额中扣费。无需订阅。
必填:question_id (string)。 可选:cursor (string), limit (integer), offset (integer), order (string) 和 session_id (string)。 Parameters 表和本页的 Playground 列出了每个字段。
在同一个 HTTP 请求中返回的 JSON 响应(同步)。 本页的 README 包含一个示例响应。
不需要。Zhihu Question Answers 通过 SandBase 运行,因此一个 SandBase API key 即可覆盖此端点以及目录中的其他所有 API 和模型。您无需单独申请 Zhihu API 访问权限。
使用选定的 question_id、limit 5、offset 0 和默认 order,同时省略 cursor 和 session_id。这些是明确的教学值;保存的 Playground 请求会单独保留。代码会在一次请求后停止。
不要这样假设。当前参考还描述了响应派生的 cursor、session.id 状态以及 paging.is_end。本次更新未验证连续请求、重建缺失 token 或自动请求下一页。
业务载荷是 outputs[0].data,而其 data 属性是观察到的 feed-card 数组。对于答案卡片,请检查 target_type 是否等于 answer,并读取 target。使用前请先验证数组和记录。单独的 ad_info 块不是答案;缺失 data 数组属于错误,而不是没有答案。