morigraph Start free

Data APIs ยท Zhihu

Zhihu data APIs for AI agents

morigraph has 5 Zhihu data APIs that Claude, ChatGPT, Cursor, Codex or your own code can call, including profile, answer, article search and question. You need no Zhihu developer account or API key, only one morigraph connection. A call costs 0.024 credits, about $2.40 for 1,000 calls, paid from one balance.

APIs
5
Price
0.024 credits a call
Call it from
MCP, command line and HTTP API
Needs
One morigraph connection. No Zhihu account or API key

Three ways to call it

Every data API is run by one tool, data_api, with the API's id and its arguments. The example is Zhihu Profile.

In your assistant (MCP). Connect once, then ask in plain words

claude mcp add --transport http --scope user morigraph https://morigraph.com/mcp

Use morigraph's Zhihu Profile data API with {"userToken":"ming-he-43-93"} and summarise what comes back.

From a terminal or script (CLI)

npx @morigraph/cli@latest login
morigraph call data_api --json-args '{"api":"zhihu.profile","input":{"userToken":"ming-he-43-93"}}'

From your own code (HTTP API)

curl https://api.morigraph.com/v1/tools/data_api \
  -H "Authorization: Bearer $MORIGRAPH_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"api":"zhihu.profile","input":{"userToken":"ming-he-43-93"}}'

5 Zhihu data APIs

APIIdPrice
Zhihu Profilezhihu.profile0.024 credits a call
Zhihu Answerzhihu.answer0.024 credits a call
Zhihu Article Searchzhihu.search_articles0.024 credits a call
Zhihu Questionzhihu.question0.024 credits a call
Zhihu Question Answerszhihu.question_answers0.024 credits a call

Zhihu Profile

zhihu.profile0.024 credits a call (about $2.40 for 1,000)

Fetch a public Zhihu profile with normalized identity and audience data.

ArgumentTypeRequiredWhat it is
userTokenstringyesZhihu user URL token.

Returns answers articles followers gender headline id image ipLocation name organization url userToken

The call

data_api({"api":"zhihu.profile","input":{"userToken":"ming-he-43-93"}})

Zhihu Answer

zhihu.answer0.024 credits a call (about $2.40 for 1,000)

Fetch a public Zhihu answer with normalized author and question data.

ArgumentTypeRequiredWhat it is
answerIdstringyesZhihu answer identifier.

Returns authorHeadline authorImage authorName authorToken authorUrl authorUserId createdUtc excerpt id questionId questionTitle text updatedUtc url

The call

data_api({"api":"zhihu.answer","input":{"answerId":"2054145988235880002"}})

Zhihu Article Search

zhihu.search_articles0.024 credits a call (about $2.40 for 1,000)

Search public Zhihu articles by keyword with normalized author and engagement data.

ArgumentTypeRequiredWhat it is
limitstringnoNumber of articles requested per page. Default "20".
offsetstringnoResult offset returned as nextOffset in the previous response. Default "0".
querystringyesSearch keyword.
searchHashIdstringnoSearch hash identifier returned in the previous response. Default "".
showAllTopicsintegernoWhether to include all topics: 0 excludes them and 1 includes them. Default 0.
sort | upvoted_count | created_timenoArticle ordering: comprehensive, most upvoted, or newest. Default "".
timeInterval | a_day | a_week | a_month | three_months | half_a_year | a_yearnoOptional publication-time filter. Default "".
verticalInfostringnoArticle-search vertical continuation state returned as nextVerticalInfo in the previous response. Default "0,0,0,0,0,0,0,0,0,2,0,0".

Returns articles authorImage authorName authorToken authorUrl authorUserId comments createdUtc excerpt id isEnd nextOffset nextVerticalInfo saves searchHashId text title updatedUtc url votes

The call

data_api({"api":"zhihu.search_articles","input":{"limit":"20","query":"deepseek","showAllTopics":0}})

Zhihu Question

zhihu.question0.024 credits a call (about $2.40 for 1,000)

Fetch a public Zhihu question with normalized text and engagement statistics.

ArgumentTypeRequiredWhat it is
questionIdstringyesZhihu question identifier.

Returns answers comments createdUtc description excerpt followers id title updatedUtc url views

The call

data_api({"api":"zhihu.question","input":{"questionId":"37811449"}})

Zhihu Question Answers

zhihu.question_answers0.024 credits a call (about $2.40 for 1,000)

List the first page of public answers to a Zhihu question with normalized authors and engagement data. Pagination is not supported.

ArgumentTypeRequiredWhat it is
limitintegernoNumber of answers requested on the first page. Pagination is not supported. Default 5.
orderdefault | updatednoAnswer ordering: default ranking or recently updated.
questionIdstringyesZhihu question identifier.

Returns answers authorHeadline authorImage authorName authorToken authorUrl authorUserId comments createdUtc excerpt id questionId questionTitle saves text thanks updatedUtc url votes

The call

data_api({"api":"zhihu.question_answers","input":{"limit":5,"order":"default","questionId":"37811449"}})

Good to know

When to choose something else

Choose a provider that specialises in Zhihu data when you need it at high volume, on a schedule, or as bulk exports: you will get volume pricing and more control. Choose the platform's official API when you need data from your own account. These APIs are for an agent that needs an answer now, alongside other tools on the same balance.

Questions

Do I need a Zhihu API key or developer account?

No. morigraph supplies the access. You connect morigraph once to your assistant, or use one morigraph API key from your own code, and call any of the 5 APIs on this page.

What does Zhihu data cost through morigraph?

0.024 credits a call, where a credit is about 10 cents. That is from about $2.40 for 1,000 calls. You pay per call from one balance, with no separate subscription.

Can Claude, ChatGPT or Cursor get Zhihu data?

Yes. Add morigraph as an MCP server, sign in once, then ask in plain words. Your assistant finds the right API with one search and runs it with one call.

Which Zhihu data APIs are available?

Zhihu Profile, Zhihu Answer, Zhihu Article Search, Zhihu Question and Zhihu Question Answers.

Prices and availability read from the production service on . A credit is about 10 cents of tool use; see pricing. Your assistant can quote the exact cost before a paid call.