Zhihu (知乎)
Overview
Chinese Q&A knowledge-sharing platform (Quora archetype). Users ask questions, write answers, publish articles, and follow topics.
Workflows
Discover answers by search
searchContent(q) → data[].object.author.url_token
getMember(url_token) → author profile
getUserAnswers(url_token) → user's answers
Explore a user's network
getMember(url_token) → profile with url_token
listMemberMutuals(url_token) → mutual followers with url_token
listMemberActivities(url_token) → recent activity
Find related content
searchContent(q) → data[].object.question.id
listSimilarQuestions(id) → related questions
listQuestionFollowers(id) → users following the question
Upvote an answer
searchContent(q) → data[].object.id → answer_id
upvoteAnswer(answer_id)
Follow a user
searchContent(q) → data[].object.author.url_token
getMember(url_token) → confirm user → url_token
followUser(url_token)
Follow a question
searchContent(q) → data[].object.question.id → question_id
followQuestion(question_id)
Undo engagement
cancelUpvote(answer_id) — reverse of upvoteAnswer
unfollowUser(url_token) — reverse of followUser
unfollowQuestion(question_id) — reverse of followQuestion
Operations
| Operation |
Intent |
Key Input |
Key Output |
Notes |
| searchContent |
Search questions/answers/articles |
q |
data[].object.{id, question, author, excerpt} |
Entry point |
| getHotSearch |
Trending search terms |
— |
hot_search_queries[].{query, hot_show} |
Entry point |
| getFeedRecommend |
Personalized homepage feed |
— |
data[].target.{question, author, voteup_count} |
Entry point |
| getMe |
Current user info |
— |
id, name, follower_count, answer_count |
Entry point |
| getMember |
User profile details |
url_token ← searchContent author |
name, headline, follower_count, answer_count |
pass include for full fields |
| getUserAnswers |
List user's answers |
url_token ← getMember |
data[].{question, voteup_count, content, excerpt} |
|
| listMemberActivities |
User's recent activity |
url_token ← getMember |
data[].{verb, target.{title, author}} |
|
| listMemberMutuals |
Mutual followers |
url_token ← getMember |
data[].{name, url_token, answer_count} |
|
| listQuestionFollowers |
Users following a question |
id ← searchContent question |
data[].{name, url_token, headline} |
|
| listSimilarQuestions |
Related questions |
id ← searchContent question |
data[].{title, answer_count, follower_count} |
|
| getEntityWord |
Answer annotations |
token (answer ID) |
search_words[].{name, link, entity_class} |
|
| upvoteAnswer |
Upvote an answer |
answer_id ← searchContent |
voting status |
write/caution |
| followUser |
Follow a user |
url_token ← getMember |
is_following |
write/caution |
| followQuestion |
Follow a question |
question_id ← searchContent |
is_following |
write/caution |
| cancelUpvote |
Cancel an upvote |
answer_id ← searchContent |
voting, voteup_count |
write/caution |
| unfollowUser |
Unfollow a user |
url_token ← getMember |
follower_count |
write/caution |
| unfollowQuestion |
Unfollow a question |
question_id ← searchContent |
(empty, 204) |
write/caution |
Quick Start
# Search questions and answers
openweb zhihu exec searchContent '{"q": "人工智能"}'
# Get trending hot search terms
openweb zhihu exec getHotSearch '{}'
# Get user profile (url_token from search results)
openweb zhihu exec getMember '{"url_token": "excited-vczh"}'
# List user's answers
openweb zhihu exec getUserAnswers '{"url_token": "excited-vczh"}'
# Get recommended feed
openweb zhihu exec getFeedRecommend '{}'
# Get current user info
openweb zhihu exec getMe '{}'
1---2name: zhihu3description: Zhihu (知乎)4---5# Zhihu (知乎)67## Overview8Chinese Q&A knowledge-sharing platform (Quora archetype). Users ask questions, write answers, publish articles, and follow topics.910## Workflows1112### Discover answers by search131. `searchContent(q)` → `data[].object.author.url_token`142. `getMember(url_token)` → author profile153. `getUserAnswers(url_token)` → user's answers1617### Explore a user's network181. `getMember(url_token)` → profile with `url_token`192. `listMemberMutuals(url_token)` → mutual followers with `url_token`203. `listMemberActivities(url_token)` → recent activity2122### Find related content231. `searchContent(q)` → `data[].object.question.id`242. `listSimilarQuestions(id)` → related questions253. `listQuestionFollowers(id)` → users following the question2627### Upvote an answer281. `searchContent(q)` → `data[].object.id` → `answer_id`292. `upvoteAnswer(answer_id)`3031### Follow a user321. `searchContent(q)` → `data[].object.author.url_token`332. `getMember(url_token)` → confirm user → `url_token`343. `followUser(url_token)`3536### Follow a question371. `searchContent(q)` → `data[].object.question.id` → `question_id`382. `followQuestion(question_id)`3940### Undo engagement411. `cancelUpvote(answer_id)` — reverse of `upvoteAnswer`422. `unfollowUser(url_token)` — reverse of `followUser`433. `unfollowQuestion(question_id)` — reverse of `followQuestion`4445## Operations4647| Operation | Intent | Key Input | Key Output | Notes |48|-----------|--------|-----------|------------|-------|49| **searchContent** | Search questions/answers/articles | `q` | data[].object.{id, question, author, excerpt} | Entry point |50| **getHotSearch** | Trending search terms | — | hot_search_queries[].{query, hot_show} | Entry point |51| **getFeedRecommend** | Personalized homepage feed | — | data[].target.{question, author, voteup_count} | Entry point |52| **getMe** | Current user info | — | id, name, follower_count, answer_count | Entry point |53| **getMember** | User profile details | `url_token` ← searchContent author | name, headline, follower_count, answer_count | pass `include` for full fields |54| **getUserAnswers** | List user's answers | `url_token` ← getMember | data[].{question, voteup_count, content, excerpt} |55| **listMemberActivities** | User's recent activity | `url_token` ← getMember | data[].{verb, target.{title, author}} |56| **listMemberMutuals** | Mutual followers | `url_token` ← getMember | data[].{name, url_token, answer_count} |57| **listQuestionFollowers** | Users following a question | `id` ← searchContent question | data[].{name, url_token, headline} |58| **listSimilarQuestions** | Related questions | `id` ← searchContent question | data[].{title, answer_count, follower_count} |59| **getEntityWord** | Answer annotations | `token` (answer ID) | search_words[].{name, link, entity_class} |60| **upvoteAnswer** | Upvote an answer | `answer_id` ← searchContent | voting status | write/caution |61| **followUser** | Follow a user | `url_token` ← getMember | is_following | write/caution |62| **followQuestion** | Follow a question | `question_id` ← searchContent | is_following | write/caution |63| **cancelUpvote** | Cancel an upvote | `answer_id` ← searchContent | voting, voteup_count | write/caution |64| **unfollowUser** | Unfollow a user | `url_token` ← getMember | follower_count | write/caution |65| **unfollowQuestion** | Unfollow a question | `question_id` ← searchContent | (empty, 204) | write/caution |6667## Quick Start6869```bash70# Search questions and answers71openweb zhihu exec searchContent '{"q": "人工智能"}'7273# Get trending hot search terms74openweb zhihu exec getHotSearch '{}'7576# Get user profile (url_token from search results)77openweb zhihu exec getMember '{"url_token": "excited-vczh"}'7879# List user's answers80openweb zhihu exec getUserAnswers '{"url_token": "excited-vczh"}'8182# Get recommended feed83openweb zhihu exec getFeedRecommend '{}'8485# Get current user info86openweb zhihu exec getMe '{}'87```