From the hot list or a keyword to an author's page, in four steps
hot_list and search both return content urls: answers and articles go to content_detail and content_comments, questions to question_answers, and any comment with reply_count above 0 hands its id to comment_replies.
- 1
Find content with hot_list and search
hot_listsearch
hot_list needs no parameters and returns the 30 entries of the hot list with rank, hot_value, answer count and follower count. For search, keyword is a content term, not a link or username; content_type takes answer, article or video, and sort takes upvote_count_descending or time_descending. You get 20 by default, up to 100.
- 2
Read answers with question_answers and content_detail
question_answerscontent_detail
question_answers takes a question link, an answer link under that question, or the numeric question ID; sort is default or updated, with up to 20 per call and sometimes fewer than limit. content_detail reads one answer, article or video in full with its upvotes, comments and saves; it doesn't take question pages.
- 3
Read comments with content_comments and comment_replies
content_commentscomment_replies
content_comments takes an answer, article or video link and returns 20 comments by default, up to 100, each with like_count and reply_count. For a comment with reply_count above 0, pass its id as comment_id, together with the same url, to comment_replies.
- 4
Profile the author with profile and user_answers
profileuser_answers
profile takes a zhihu.com/people/ link and returns followers, answer and article counts, upvotes received in received_upvote_count, and the verification label. user_answers also accepts the bare username slug and returns 20 answers per page, newest first; pass next_page_token back as page_token for the next page. With only a nickname, start with user_search.