SocialToAIStart freeConsole

Does Zhihu have an API?

Yes: Zhihu's data open platform offers search, the hot list and answers, with a daily free quota and paid calls beyond it. SocialToAI reads its publicly visible answers, comments, accounts and trends without a Zhihu developer account: 16 interfaces from 2 credits a call (≈ $0.004–$0.0067), and failed calls are free. Official facts checked 2026-10-17.

The short answer

Yes: Zhihu's data open platform offers search, the hot list and answers, with a daily free quota and paid calls beyond it.

What the official API allows

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 own developer documentation, checked 2026-10-17. What a platform allows changes; its own pages are the authority.

Reading Zhihu's public data with SocialToAI

SocialToAI is an API and MCP server for publicly visible content and account information. You need no Zhihu account and no app review: one SocialToAI key, or signing in from Claude, ChatGPT, Claude Code, Cursor and Codex. Each call costs a fixed number of credits, and a failed call costs nothing.

InterfaceWhat it returnsPrice keyCredits
SearchFind answers by keyword: text, author, likes, comment count and publish time.zhihu.search2
Search · type=userFind accounts by keyword: name, bio and followers.zhihu.search:user2
TrendingWhat is trending now: title, rank and heat.zhihu.trending2
DetailOne answer by ID or link: text, author and publish time.zhihu.detail2
Detail · type=questionOne answer by ID or link: text, comment count, views and publish time.zhihu.detail:question2
Detail · type=articleOne answer by ID or link: text, author, likes, comment count and publish time.zhihu.detail:article2
Detail · type=pinOne answer by ID or link: text, author, likes, comment count and publish time.zhihu.detail:pin2
CommentsThe comments under one answer: text, likes, reply count and time.zhihu.comments2
Comments · reply_ofThe comments under one answer: text, likes, reply count and time.zhihu.comments:replies2
User ProfileOne account: name, bio and followers.zhihu.user_profile2
User PostsThe recent answers of one account.zhihu.user_posts2
User Posts · type=answerThe recent answers of one account.zhihu.user_posts:answers2

4 more on the Zhihu API page.

One call: Search
curl https://api.socialtoai.com/v1/search \  -H "Authorization: Bearer $SOCIALTOAI_KEY" \  -H "Idempotency-Key: $(uuidgen)" \  -H "Content-Type: application/json" \  -d '{    "platform": "zhihu",    "query": "咖啡机推荐"  }'
  • No Zhihu account, cookie or developer approval on your side.
  • What comes back is what the platform shows publicly; commenters are anonymised.
  • Every platform answers in the same response format, so the same code reads Zhihu and the others.
  • Prepaid credits from 2 credits a call; 100 free credits on sign-up, no card.

Sources

Last updated: