知乎
    知乎
    • 更多接口API
    • 搜索结果
      GET
    • 搜索推荐
      GET
    • 回答列表
      GET
    • 评论列表
      GET
    • 二级评论
      GET
    • 话题简介
      GET
    • 话题讨论列表
      GET
    • 话题精华列表
      GET
    • 话题视频列表
      GET
    • 话题等待回答列表
      GET

      回答列表

      GET
      http://42.194.182.133:5656/api/open/zh/answers

      请求参数

      Query 参数
      qid
      string 
      必需
      questionID问题ID
      示例值:
      465172769
      sortType
      integer 
      必需
      排列方式:1.默认 2.最新
      示例值:
      2
      pageIndex
      string 
      页数
      必需
      示例值:
      1
      nextUrl
      string 
      可选
      请求链接,从第一页获取的下一页请求链接,当pageIndex>1时必传
      示例值:
      https://www.zhihu.com/api/v4/questions/465172769/feeds?cursor=04745bc36064f9f1c3d903f59551a7dd&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_count%2Ccan_comment%2Ccontent%2Ceditable_content%2Cattachment%2Cvoteup_count%2Creshipment_settings%2Ccomment_permission%2Ccreated_time%2Cupdated_time%2Creview_info%2Crelevant_info%2Cquestion%2Cexcerpt%2Cis_labeled%2Cpaid_info%2Cpaid_info_content%2Creaction_instruction%2Crelationship.is_authorized%2Cis_author%2Cvoting%2Cis_thanked%2Cis_nothelp%3Bdata%5B%2A%5D.mark_infos%5B%2A%5D.url%3Bdata%5B%2A%5D.author.follower_count%2Cvip_info%2Cbadge%5B%2A%5D.topics%3Bdata%5B%2A%5D.settings.table_of_content.enabled&limit=5&offset=0&order=default&platform=desktop&session_id=1695102091215988539
      token
      string 
      令牌
      必需
      示例值:
      {{token}}
      cookie
      string 
      必需
      量大需要自备cookie池
      默认值:
      _zap=03b6bf9a-ccc0-44fe-93ff-025b18103bf9; d_c0=AICTV_mcqxePTiA9vLcZ9czZ7O8tFwx4Ynk=|1699433756; __snaker__id=CgSs87QGdGZOnZ0v; gdxidpyhxdE=z7y%2FvQD3kd%2BkGJ4md19JJCSoGWGIWiarlqpUQVnedks3%2FgTNwYhof1E9%2BDE%2BAXl9h%5Cnep7RjhecXVLnSpAkMVLJhJHxvbgktZ5r55LzBVo7uKqyMXLUOw%5CcrpYYiVXrgEDCoU2JkTONkphZeCnbncl6DLNqZU%2F67ES4sgLfdD2eOn7%2B%5C%3A1699434656339; YD00517437729195%3AWM_NI=xdGGq8dsBSXLtHq%2Btm%2BZUPKnuEGE%2BK%2BP%2B4EF9FATqS9OOn5K9Ln%2FPv4lfeuMFBZW5b0tDhOnoXLX0V1Yg3E00iFbI4ERtKNZQ2iXXKUH1aHvIAqQn1BHWuyZC8ui%2FLOES20%3D; YD00517437729195%3AWM_NIKE=9ca17ae2e6ffcda170e2e6ee82e234b8eba9d6f862939a8ba3d45b939e8bb0c873b8eec0a4d24794ababa6dc2af0fea7c3b92abcbc89a8f434a8ad8eb4db48b898bfccf767e9869bb1ca66b79b89a6aa41e990e5d5c84efb9a8fb5f459fb91818fb841fb94a2d0d37ef8b4aa86f847869e96b8b86af4ac8c89ce66ad8884b9b35ef387a9d4c83cf4b78a83cc40878ebcaccd5293eea7b9db419798ff82cb7e8b9fbfb2ed3b82989996fc5281e8bb8aae488d9b9dd3b337e2a3; YD00517437729195%3AWM_TID=W6LqKZBArylAEAUERAbFmo24CHcPrLVd; captcha_session_v2=2|1:0|10:1699433761|18:captcha_session_v2|88:MzdCSVNrMWt3cCtIdE5FYkFISDJWeHM3Wmk2U29CTU1Ta2F4V0psNmdURnpsOTVDMlQ0UUEvUlFKeUQ2dkZIVA==|ae193b709f07fde82c048cb358dd6825bf5182cf4705b29ff99bcc98a4721467; q_c1=a80882f0f41947138f0d6d17b88d4b2b|1699433790000|1699433790000; tst=r; z_c0=2|1:0|10:1699437955|4:z_c0|92:Mi4xdHhYTEFnQUFBQUFBZ0pOWC1aeXJGeVlBQUFCZ0FsVk5QWnM0WmdESnA5X1FvVEpIV2h3dWoxdjlHX3ZXcTdPb0pB|04a386eb0568ecc2688d6534fe6ad068bf3011ba8958a46218f8fdc0617d7756; _xsrf=b4322c29-7583-4f78-bbdb-fe426a73804d; KLBRSID=f48cb29c5180c5b0d91ded2e70103232|1700039048|1700037431

      示例代码

      Shell
      JavaScript
      Java
      Swift
      Go
      PHP
      Python
      HTTP
      C
      C#
      Objective-C
      Ruby
      OCaml
      Dart
      R
      请求示例请求示例
      Shell
      JavaScript
      Java
      Swift
      curl --location -g --request GET 'http://42.194.182.133:5656/api/open/zh/answers?qid=465172769&sortType=2&pageIndex=1&nextUrl=https://www.zhihu.com/api/v4/questions/465172769/feeds?cursor=04745bc36064f9f1c3d903f59551a7dd%26include=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_count%2Ccan_comment%2Ccontent%2Ceditable_content%2Cattachment%2Cvoteup_count%2Creshipment_settings%2Ccomment_permission%2Ccreated_time%2Cupdated_time%2Creview_info%2Crelevant_info%2Cquestion%2Cexcerpt%2Cis_labeled%2Cpaid_info%2Cpaid_info_content%2Creaction_instruction%2Crelationship.is_authorized%2Cis_author%2Cvoting%2Cis_thanked%2Cis_nothelp%3Bdata%5B%2A%5D.mark_infos%5B%2A%5D.url%3Bdata%5B%2A%5D.author.follower_count%2Cvip_info%2Cbadge%5B%2A%5D.topics%3Bdata%5B%2A%5D.settings.table_of_content.enabled%26limit=5%26offset=0%26order=default%26platform=desktop%26session_id=1695102091215988539&token=ddd0b3ebc9f3a52e170281fdf13c97fa&cookie='

      返回响应

      🟢200成功
      text/html
      Body
      object {0}
      示例
      {
          "code": 0,
          "data": {
              "initialState": {
                  "readStatus": {},
                  "wallE": {
                      "protectHistory": {
                          "total": 0,
                          "pages": {},
                          "entities": {}
                      }
                  },
                  "creatorSalt": {
                      "restContributionNumber": "-",
                      "domains": {},
                      "previewPageTitle": "",
                      "sites": [],
                      "hasRecored": false,
                      "bannerList": [],
                      "hasClaim": false,
                      "hasContributedList": [],
                      "notContributedList": [],
                      "claimBannerList": [],
                      "recommendQuestionList": [],
                      "previewPageContent": ""
                  },
                  "specials": {
                      "all": {
                          "isLoading": false,
                          "data": [],
                          "paging": {}
                      },
                      "entities": {}
                  },
                  "upload": {},
                  "creationRanking": {},
                  "commentsV2": {
                      "parent": {},
                      "conversationMore": {},
                      "pagination": {},
                      "notificationsComments": {},
                      "commentWithPicPermission": {},
                      "collapsed": {},
                      "reviewing": {},
                      "stickers": [],
                      "reverse": {},
                      "conversation": {}
                  },
                  "switches": {},
                  "answers": {
                      "simpleConcernedUpvoters": {},
                      "settings": {},
                      "entityWords": {},
                      "voters": {},
                      "paidContent": {},
                      "copyrightApplicants": {},
                      "favlists": {},
                      "concernedUpvoters": {},
                      "newAnswer": {}
                  },
                  "eduSections": {
                      "eduSectionState": {}
                  },
                  "publicEditPermission": {},
                  "shareTexts": {},
                  "notification": {},
                  "mcnActivity": {
                      "household": {
                          "rankList": {
                              "yesterday": {},
                              "total": {}
                          },
                          "products": {}
                      }
                  },
                  "captcha": {
                      "captchaNeeded": false,
                      "captchaValidated": false
                  },
                  "collections": {
                      "collectionFeeds": {},
                      "hot": {
                          "isLoading": false,
                          "data": [],
                          "paging": {}
                      }
                  },
                  "me": {
                      "columnContributions": []
                  },
                  "host": {
                      "special": {
                          "censorHistory": {},
                          "drafts": {},
                          "applications": {
                              "total": 0,
                              "pages": {},
                              "entities": {}
                          }
                      },
                      "roundtable": {
                          "includedResource": {},
                          "hotQuestions": {},
                          "applies": {},
                          "subjects": {},
                          "online": {
                              "total": 0
                          },
                          "details": {},
                          "batchInclude": {},
                          "warmupContents": {},
                          "applications": {
                              "total": 0
                          }
                      }
                  },
                  "mcn": {
                      "bindInfo": {},
                      "memberCategoryList": [],
                      "lists": {},
                      "protocolStatus": {
                          "isAgreedOld": true,
                          "isAgreedNew": true
                      },
                      "categoryList": [],
                      "producerList": [],
                      "banners": {},
                      "probationCountdownDays": 0
                  },
                  "brand": {
                      "contentPlugin": {}
                  },
                  "guide": {
                      "guide": {
                          "isFetching": false,
                          "isShowGuide": false
                      }
                  },
                  "settings": {
                      "notification": {},
                      "laboratory": {},
                      "blockedFollowees": {
                          "data": [],
                          "isFetching": false,
                          "paging": {
                              "pageNo": 1,
                              "pageSize": 6
                          }
                      },
                      "blockedUsers": {
                          "data": [],
                          "isFetching": false,
                          "paging": {
                              "pageNo": 1,
                              "pageSize": 6
                          }
                      },
                      "ignoredTopics": {
                          "data": [],
                          "isFetching": false,
                          "paging": {
              
      修改于 2023-11-08 09:05:50
      上一页
      搜索推荐
      下一页
      评论列表
      Built with