SocialToAIStart freeConsole

Does Zhihu have an API? (2026)

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.

WayWhat it gives and who can use itPrice
Official APIYes: Zhihu's data open platform offers search, the hot list and answers, with a daily free quota and paid calls beyond it.See Zhihu's developer documentation, checked 2026-10-17
Third-party hosted API (this site)Anyone with a key: no Zhihu account, no developer review.From 2 credits a call (≈$0.0067); failed calls free.

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 returnsCredits
Zhihu Search APIFind answers by keyword: text, author, likes, comment count and publish time.2
Zhihu Trending APIWhat is trending now: title, rank and heat.2
Zhihu Detail APIOne answer by ID or link: text, author and publish time.2
Zhihu Comments APIThe comments under one answer: text, likes, reply count and time.2
Zhihu User Profile APIOne account: name, bio and followers.2
Zhihu User Posts APIThe recent answers of one account.2
Zhihu Search API · type=userFind accounts by keyword: name and followers.2
Zhihu Detail API · type=questionOne answer by ID or link: text, comment count, views and publish time.2
Zhihu Detail API · type=articleOne answer by ID or link: text, author, likes, comment count and publish time.2
Zhihu Detail API · type=pinOne answer by ID or link: text, author, likes, comment count and publish time.2
Zhihu Comments API · reply_ofThe comments under one answer: text, likes, reply count and time.2
Zhihu User Posts API · type=answerThe recent answers of one account.2

4 more on the Zhihu API page.

One call: Search
curl https://socialtoai.app/v1/search \  -H "Authorization: Bearer $SOCIALTOAI_API_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.

Reading Zhihu without the official API

There are three ways in, and they differ in what you have to hand over and keep running. These are kinds of tool, not products.

WayWhat you needWhat to watch for
Write your own scraperCode, proxies, and often your own Zhihu login or cookiesRequests made in your account's name can get it limited or banned; pages and signatures change, so the code needs upkeep.
Run an open-source MCP server or script locallyInstall it, then sign in with your account or paste its cookiesIt reads as your account, and stops when the platform changes or your computer is off.
Call a hosted API (SocialToAI)One SocialToAI key, or one MCP address and sign-inNo account of yours is used; you pay from 2 credits a call and nothing for a failed one; keeping up with Zhihu is our job.

FAQ

Can I read Zhihu without a developer account?

Yes. SocialToAI reads its publicly visible answers, comments, accounts and trends for you: 16 interfaces from 2 credits a call (≈$0.0067), and failed calls are free. You need one SocialToAI key, or sign-in from your AI client.

Will reading Zhihu this way get my account banned?

No account of yours is involved: you never sign in to Zhihu, hand over a cookie or install anything, so nothing is read in your account's name.

How much does reading Zhihu cost here?

From 2 credits a call: $0.0067 at the first pack, $6.67 for a thousand such calls. A failed call costs nothing, and every answer states what it charged. 100 free credits on sign-up, no card.

Can Claude and ChatGPT read Zhihu?

Yes: add SocialToAI's MCP address in Claude or ChatGPT, sign in and press Allow, then ask in plain words. Each answer states the credits it used.

Read next

Sources

Last updated: