Zhihu API
Answers, comments, accounts, trends.
The Zhihu API lets you search answers and read answer details, comments, account profiles, an account's answers and the trending list, with no Zhihu account or login. Each call costs 2 credits ($0.004 to $0.0067); failed calls are free. Use it over HTTP with an API key, or through MCP from your AI client. Last tested 2026-11-05.
Last tested: Last updated:
/v1/search200 OK2 creditsplatform: "zhihu" · query: "咖啡机推荐"nullcollects 0views nullauthor.verifiedmetrics.sharesmetrics.viewsmetrics.reposts+36 actions.
Plus 3 only Zhihu has.
Open a row to see its request. Its full parameters and response fields are on its own page.
SearchFind answers by keyword: text, author, likes, comment count and publish time./v1/search2 credits≈ $0.0067
platformquery+2 optionaltype=useraccounts instead of posts2 creditscurl https://api.socialtoai.com/v1/search \ -H "Authorization: Bearer $SOCIALTOAI_API_KEY" \ -H "Idempotency-Key: $(uuidgen)" \ -H "Content-Type: application/json" \ -d '{ "platform": "zhihu", "query": "咖啡机推荐" }'POST /v1/searchYour key goes in the Authorization headerTrendingWhat is trending now: title, rank and heat./v1/trending2 credits≈ $0.0067
platform+1 optionalcurl https://api.socialtoai.com/v1/trending \ -H "Authorization: Bearer $SOCIALTOAI_API_KEY" \ -H "Idempotency-Key: $(uuidgen)" \ -H "Content-Type: application/json" \ -d '{ "platform": "zhihu" }'POST /v1/trendingYour key goes in the Authorization headerDetailOne answer by ID or link: text, author and publish time./v1/detail2 credits≈ $0.0067
platformid or urltype=questiona question2 creditstype=articlean article2 creditstype=pinshort posts (pins)2 creditscurl https://api.socialtoai.com/v1/detail \ -H "Authorization: Bearer $SOCIALTOAI_API_KEY" \ -H "Idempotency-Key: $(uuidgen)" \ -H "Content-Type: application/json" \ -d '{ "platform": "zhihu", "id": "2430879961" }'POST /v1/detailYour key goes in the Authorization headerCommentsThe comments under one answer: text, likes, reply count and time./v1/comments2 credits≈ $0.0067
platformidreply_ofthe replies under one comment2 creditscurl https://api.socialtoai.com/v1/comments \ -H "Authorization: Bearer $SOCIALTOAI_API_KEY" \ -H "Idempotency-Key: $(uuidgen)" \ -H "Content-Type: application/json" \ -d '{ "platform": "zhihu", "id": "2509154330" }'POST /v1/commentsYour key goes in the Authorization headerUser ProfileOne account: name, bio and followers./v1/user_profile2 credits≈ $0.0067
platformusernamecurl https://api.socialtoai.com/v1/user_profile \ -H "Authorization: Bearer $SOCIALTOAI_API_KEY" \ -H "Idempotency-Key: $(uuidgen)" \ -H "Content-Type: application/json" \ -d '{ "platform": "zhihu", "username": "zhihuadmin" }'POST /v1/user_profileYour key goes in the Authorization headerUser PostsThe recent answers of one account./v1/user_posts2 credits≈ $0.0067
platformusernametype=answeranswers2 creditstype=pinshort posts (pins)2 creditscurl https://api.socialtoai.com/v1/user_posts \ -H "Authorization: Bearer $SOCIALTOAI_API_KEY" \ -H "Idempotency-Key: $(uuidgen)" \ -H "Content-Type: application/json" \ -d '{ "platform": "zhihu", "username": "zhihuadmin" }'POST /v1/user_postsYour key goes in the Authorization headerCompared with WeChat Articles: Zhihu answers also give author followers, comments, reposts, views and images; its accounts also give bio and followers.
Question answersGet the first 20 answers to a Zhihu question by ID or link, in Zhihu's own order.zhihu.question_answers2 credits≈ $0.0067
Get the first 20 answers to a Zhihu question by ID or link, in Zhihu's own order: text, author, upvotes, comment and save counts. One page only.
id or urlcurl https://api.socialtoai.com/v1/call/zhihu.question_answers \ -H "Authorization: Bearer $SOCIALTOAI_API_KEY" \ -H "Idempotency-Key: $(uuidgen)" \ -H "Content-Type: application/json" \ -d '{ "id": "55043447" }'POST /v1/call/zhihu.question_answersYour key goes in the Authorization headerColumn articlesGet a page of the articles in a Zhihu column by the column's ID.zhihu.column_articles2 credits≈ $0.0067
Get a page of the articles in a Zhihu column by the column's ID: title, text, author, time published, upvotes, comment count.
idcurl https://api.socialtoai.com/v1/call/zhihu.column_articles \ -H "Authorization: Bearer $SOCIALTOAI_API_KEY" \ -H "Idempotency-Key: $(uuidgen)" \ -H "Content-Type: application/json" \ -d '{ "id": "intelligentunit" }'POST /v1/call/zhihu.column_articlesYour key goes in the Authorization headerUser followersGet a page of the accounts following a Zhihu user, 20 a page.zhihu.followers2 credits≈ $0.0067
Get a page of the accounts following a Zhihu user, 20 a page: name, headline, avatar, follower count, answer and article counts.
usernamecurl https://api.socialtoai.com/v1/call/zhihu.followers \ -H "Authorization: Bearer $SOCIALTOAI_API_KEY" \ -H "Idempotency-Key: $(uuidgen)" \ -H "Content-Type: application/json" \ -d '{ "username": "zhihuadmin" }'POST /v1/call/zhihu.followersYour key goes in the Authorization headerWhat a whole job costs.
| The job | How it adds up | Credits | About |
|---|---|---|---|
| Search 1,000 results on Zhihu | usually 18 a page, 56 pages | 112 credits | about $0.37 |
| Read 1,000 Zhihu comments | usually 10 a page, 100 pages | 200 credits | about $0.67 |
| Backfill one Zhihu account: a list of 200 answers and 20 in full | 10 list pages + 20 full reads | 60 credits | about $0.20 |
| Watch 1 Zhihu account daily, at most a month | 10 credits × 31 days | 310 credits | about $1.03 |
Priced at the $10 pack; larger purchases bring it down. A watch runs only while it is on, and you can pause it at any time. There is no subscription.
Or skip the parameters.
Just ask.
Connect SocialToAI once over MCP. Your AI picks the calls, and you see what each one cost.
Which is bigger on Zhihu this week: home coffee or matcha?
- search“home coffee”2 credits
- search“matcha”2 credits
Read the comments on this Zhihu answer and tell me what people complain about.
- detailthe answer you pasted2 credits
- commentsfirst 3 pages6 credits
Find five Zhihu accounts that post about camping coffee and show me what they posted lately.
- searchaccounts · “camping coffee”2 credits
- user_posts5 accounts10 credits
Same shape on every platform.
Learn it once.
A Zhihu answer and a TikTok video come back with the same field names. What a platform cannot give comes back as null.
{ "platform": "zhihu", "id": "…", "ref": "…", "approx": [], "type": "content", "url": "https://example.com/…", "format": "text", "title": "…", "text": "…", "published_at": "2022-04-09T05:50:28.000Z", "author": { "id": "…", "username": "…", "name": "…", "verified": null, "followers": null }, "metrics": { "likes": null, "comments": null, "shares": null, "collects": null, "views": null, "reposts": null }, "images": null, "hashtags": null, "is_pinned": null}author.verifiedauthor.followersmetrics.likesmetrics.commentsmetrics.sharesmetrics.collectsmetrics.viewsmetrics.repostsimageshashtagsis_pinned{ "platform": "tiktok", "id": "…", "ref": "…", "approx": [], "type": "content", "url": "https://example.com/…", "format": "video", "title": null, "text": "…", "published_at": "2026-10-08T13:12:22.000Z", "author": { "id": "…", "username": "…", "name": "…", "verified": null, "followers": 2060936 }, "metrics": { "likes": 67877, "comments": 524, "shares": 2472, "collects": 5331, "views": 449259, "reposts": null }, "images": null, "hashtags": [], "is_pinned": null}titleauthor.verifiedmetrics.repostsimagesis_pinned5 tools read Zhihu.
All toolsDoes Zhihu have an official API?
Zhihu runs an official data open platform with APIs for searching Zhihu content, the hot list and answers under a question. Any Zhihu user can create an access key; there is a daily free quota, after which calls are paid per use.
Source: Zhihu's developer documentation, checked 2026-10-17.
1,000 answers here: about 56 zhihu.search calls (typically 18 a page), 112 credits, $0.37 at the first pack. Estimate your cost
- Comments API, every platformWhich platforms give comments, how many a page, at what price.
- Zhihu MCP serverLet your AI read Zhihu.