Zhihu API guide

zhihu.com

Search Zhihu for questions, answers, and articles, read threaded discussions, and save useful posts to an existing collection.

Actions and inputs

zhihu search

Search Zhihu by keyword and content type.

Inputs Query, optional content type and result limit

zhihu answer-comments

Read comments and their replies on an answer.

Inputs Answer target, optional sort order, comment limit, replies per comment

zhihu collection

View the posts in one of your favorite collections.

Inputs Collection ID, optional result limit

zhihu favorite

Add an answer or article to an existing favorite collection.

Inputs Answer or article target, collection name or ID, execution confirmation

Zhihu favorite collection

Create

Create a favorite collection on Zhihu.

Inputs Collection name

Read

View the answers and articles in your collection.

Inputs Collection ID

Update

Add an answer or article to your existing collection.

Inputs Answer or article target, collection name or ID

Delete

Delete your favorite collection without deleting the original posts.

Inputs Collection ID