Sand AISand AI MAGI-2MAGI-2 अब SandBase पर है: 1080p वीडियो, नेटीव ऑडियो के साथअभी आज़माएँ

Zhihu Question Answers

API दस्तावेज़
https://api.sandbase.ai/v1/api/zhihu/web/question-answers

Returns a list of answers for a specified Zhihu question. Supports pagination through cursor or offset parameters and sorting by time or default rank.

मूल्य
$0.001USD / कॉल
मेथड
POST
प्रतिक्रिया
JSON
पैरामीटर
1 आवश्यक · 5 वैकल्पिक
100 निःशुल्क कॉल / दिनपहली 100 कॉल प्रति दिन निःशुल्क (organization के लिए साझा) · 00:00 UTC पर रीसेट होता है। उसके बाद प्रति कॉल भुगतान करें।

प्लेग्राउंड

इनपुट
Question ID
Pagination cursor for next page, extracted from response fields
Number of answers per page, default 5
Offset, default 0
Sort order, default=default sort, updated=sort by time
Session ID for pagination state, extracted from response fields
आउटपुटउदाहरण
प्रतिक्रियाoutputs · 17.4 KB · 362 पंक्तियाँ
[
  {
    "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 &gt; 3nm</p><p data-pid=\"uBi7d6j6\">突然想起当年被人嘲笑的 14nm+14nm &gt; 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 &gt; 3nm 突然想起当年被人嘲笑的 14nm+14nm &gt; 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,

उदाहरण

प्लेग्राउंड में इसके इनपुट और परिणाम लोड करने के लिए कोई उदाहरण चुनें।

API README

Zhihu Question Answers API

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.

Use cases

  • Collect the top answers to a Zhihu question and list the authors who wrote them.
  • Compare the follower counts and credentials of the people answering a question.
  • Page through all answers to a question in time order with order set to updated.
  • Find answer IDs to pass to an answer detail lookup.

Request

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.

Parameters

NameTypeRequiredDescription
question_idstringYesQuestion ID
cursorstringNoPagination cursor for next page, extracted from response fields
limitintegerNoNumber of answers per page, default 5
offsetintegerNoOffset, default 0
orderstringNoSort order, default=default sort, updated=sort by time
session_idstringNoSession ID for pagination state, extracted from response fields

Example response

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"
  }
}

Response fields

FieldMeaning
data[]One feed item per answer. The target_type value is answer and the answer itself sits under target.
data[].cursorCursor string for this item. Pass it as cursor to continue from this position.
data[].target.answer_typeType of the answer, for example normal.
data[].target.can_comment.statusWhether commenting is open on the answer. reason is empty when comments are allowed.
data[].target.author.headlineShort bio line the answerer set on their profile.
data[].target.author.follower_countNumber of followers the answer's author has.
data[].target.author.badge[].descriptionVerified 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_nameName of the medal the author shows on their profile. It is empty when no medal is shown.
paging.is_end / paging.page / paging.nextWhether 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.idSession ID for this paging run. Pass it as session_id on later requests.

Notes

  • The 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.
  • To get the next page, send the 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.
  • The response also carries an ad_info block with an ad entry. You can ignore it when you only need answers.
  • To read one answer in full, call Zhihu Answer Details.

Pricing

$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

Read the first answer page for a known question

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.

Give your agent a selected question and one request

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.

और जानें

संबंधित APIs

सभी APIs
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

गाइड्स:Best Zhihu API in 2026: Pricing Compared

प्रश्न

FAQ

Zhihu Question Answers API का उपयोग कैसे करें?

https://api.sandbase.ai/v1/api/zhihu/web/question-answers पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।

Zhihu Question Answers API की लागत कितनी है?

$0.001 प्रति call। हर organization को प्रति UTC day 100 निःशुल्क calls मिलती हैं, जो इस सहित योग्य SandBase APIs के बीच साझा होती हैं; उसके बाद हर call का बिल आपकी SandBase balance से इस कीमत पर लिया जाता है। कोई subscription नहीं है।

Zhihu Question Answers API कौन-से parameters स्वीकार करती है?

आवश्यक: question_id (string)। वैकल्पिक: cursor (string), limit (integer), offset (integer), order (string) और session_id (string)। Parameters table और इस पेज का Playground हर field सूचीबद्ध करते हैं।

Zhihu Question Answers API क्या लौटाती है?

एक JSON response जो उसी HTTP request में लौटाया जाता है (synchronous)। इस पेज का README एक sample response शामिल करता है।

क्या मुझे एक Zhihu developer account या API key चाहिए?

नहीं। Zhihu Question Answers SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से Zhihu API access के लिए आवेदन करने की आवश्यकता नहीं है।

पहले answer-page example में क्या भेजा जाता है?

selected question_id, limit 5, offset 0 और order default उपयोग करें, cursor और session_id को छोड़कर। ये स्पष्ट teaching values हैं; saved Playground request अलग से सुरक्षित है। code एक request के बाद रुक जाता है।

क्या मैं सिर्फ offset बढ़ाकर pagination कर सकता हूँ?

ऐसा मानकर न चलें। current reference में response-derived cursor और session.id state तथा paging.is_end भी वर्णित हैं। यह update continuation की पुष्टि नहीं करता, missing tokens को फिर से नहीं बनाता, और अपने-आप अगला page अनुरोध नहीं करता।

पूरी response में answer list कहाँ है?

business payload outputs[0].data है, और उसका data property observed feed-card array है। answer cards के लिए target_type को answer के बराबर जाँचें और target पढ़ें। उपयोग से पहले array और records validate करें। अलग ad_info block answer नहीं है; missing data array का मतलब answers नहीं, बल्कि error है।