SocialToAIStart freeConsole

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.

6 of 6actions available
From 2 creditsper call
Same formatas every other call

Last tested: Last updated:

POST/v1/search200 OK2 credits
platform: "zhihu" · query: "咖啡机推荐"
@…·10,699 followers·
likes 224comments 3shares nullcollects 0views null
Always null here:author.verifiedmetrics.sharesmetrics.viewsmetrics.reposts+3
pageNext pagecursor
billingThis call2 credits
Sample data1 of the 17 items recorded

6 actions.
Plus 3 only Zhihu has.

Open a row to see its request. Its full parameters and response fields are on its own page.

ActionsCredits per call
SearchFind answers by keyword: text, author, likes, comment count and publish time./v1/search2 credits≈ $0.0067
You send
platformquery+2 optional
type=useraccounts instead of posts2 credits
Zhihu Search API: All parameters and response fields
Sign in to run2 creditsOpens this call in the Playground after you sign in. It never runs by itself, and a failed call is not charged.
cURL
curl 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 header
TrendingWhat is trending now: title, rank and heat./v1/trending2 credits≈ $0.0067
You send
platform+1 optional
Zhihu Trending API: All parameters and response fields
Sign in to run2 creditsOpens this call in the Playground after you sign in. It never runs by itself, and a failed call is not charged.
cURL
curl 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 header
DetailOne answer by ID or link: text, author and publish time./v1/detail2 credits≈ $0.0067
You send
platformid or url
type=questiona question2 credits
type=articlean article2 credits
type=pinshort posts (pins)2 credits
Zhihu Detail API: All parameters and response fields
Sign in to run2 creditsOpens this call in the Playground after you sign in. It never runs by itself, and a failed call is not charged.
cURL
curl 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 header
CommentsThe comments under one answer: text, likes, reply count and time./v1/comments2 credits≈ $0.0067
You send
platformid
reply_ofthe replies under one comment2 credits
Zhihu Comments API: All parameters and response fields
Sign in to run2 creditsOpens this call in the Playground after you sign in. It never runs by itself, and a failed call is not charged.
cURL
curl 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 header
User ProfileOne account: name, bio and followers./v1/user_profile2 credits≈ $0.0067
You send
platformusername
Zhihu User Profile API: All parameters and response fields
Sign in to run2 creditsOpens this call in the Playground after you sign in. It never runs by itself, and a failed call is not charged.
cURL
curl 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 header
User PostsThe recent answers of one account./v1/user_posts2 credits≈ $0.0067
You send
platformusername
type=answeranswers2 credits
type=pinshort posts (pins)2 credits
Zhihu User Posts API: All parameters and response fields
Sign in to run2 creditsOpens this call in the Playground after you sign in. It never runs by itself, and a failed call is not charged.
cURL
curl 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 header

Compared with WeChat Articles: Zhihu answers also give author followers, comments, reposts, views and images; its accounts also give bio and followers.

Only on Zhihu · Content and accountsCredits per call
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 url
Zhihu question answers API: All parameters and response fields
Sign in to run2 creditsOpens this call in the Playground after you sign in. It never runs by itself, and a failed call is not charged.
cURL
curl 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 header
Column 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.

id
Zhihu column articles API: All parameters and response fields
Sign in to run2 creditsOpens this call in the Playground after you sign in. It never runs by itself, and a failed call is not charged.
cURL
curl 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 header
User 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.

username
Zhihu user followers API: All parameters and response fields
Sign in to run2 creditsOpens this call in the Playground after you sign in. It never runs by itself, and a failed call is not charged.
cURL
curl 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 header

What a whole job costs.

The jobHow it adds upCreditsAbout
Search 1,000 results on Zhihuusually 18 a page, 56 pages112 creditsabout $0.37
Read 1,000 Zhihu commentsusually 10 a page, 100 pages200 creditsabout $0.67
Backfill one Zhihu account: a list of 200 answers and 20 in full10 list pages + 20 full reads60 creditsabout $0.20
Watch 1 Zhihu account daily, at most a month10 credits × 31 days310 creditsabout $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.

You ask01

Which is bigger on Zhihu this week: home coffee or matcha?

Your AI calls
  • search“home coffee”2 credits
  • search“matcha”2 credits
Total4 credits
You ask02

Read the comments on this Zhihu answer and tell me what people complain about.

Your AI calls
  • detailthe answer you pasted2 credits
  • commentsfirst 3 pages6 credits
Total8 credits
You ask03

Find five Zhihu accounts that post about camping coffee and show me what they posted lately.

Your AI calls
  • searchaccounts · “camping coffee”2 credits
  • user_posts5 accounts10 credits
Total12 credits

Zhihu MCP Server

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.

Zhihudetail · 2 credits
{  "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}
Null on Zhihu:author.verifiedauthor.followersmetrics.likesmetrics.commentsmetrics.sharesmetrics.collectsmetrics.viewsmetrics.repostsimageshashtagsis_pinned
TikTokdetail · 2 credits
{  "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}
Null on TikTok:titleauthor.verifiedmetrics.repostsimagesis_pinned
Sample dataThe fields are always there; only the values differ.

5 tools read Zhihu.

All tools

Does 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

Zhihu official API: access, prices and limits

The same calls work on 17 more.

All platforms and prices

Your AI is one URL away
from all of social media.

100 credits on sign-up, no card needed