How to find Zhihu question and answer ids (2026)
A question's ID is the digits after zhihu.com/question/; an answer's, the digits after /answer/; a column article's, the digits after zhuanlan.zhihu.com/p/; a user is the handle after zhihu.com/people/ (url_token). DataXAPI's Zhihu endpoints take the ID or the link pasted as it is, at $0.0020 a call. DataXAPI reads Zhihu with 16 endpoints, from $0.0020 a call; a failed call is not charged, and the free trial covers up to 333 calls.
Updated 2026-11-06
Where is each ID?
An answer's link carries both the question's ID and the answer's.
| ID | In the link | Used by |
|---|---|---|
| Question ID | zhihu.com/question/55043447 | zhihu.questions.get, zhihu.questions.answers.list |
| Answer ID | …/question/…/answer/2430879961 | zhihu.answers.get, zhihu.answers.comments.list |
| Article ID | zhuanlan.zhihu.com/p/… | zhihu.articles.get |
| Handle (url_token) | zhihu.com/people/zhihuadmin | zhihu.users.get, zhihu.users.answers.list |
IDs from the hot list and search
Each zhihu.trends.list item's ID is a question ID, ready for zhihu.questions.answers.list; an answer from zhihu.posts.search carries parent_id, its question's ID.
Why DataXAPI
- Steady: endpoints were available 100% of the last 30 days, on a public status page you can check.
- Fast: a paid call took 1.7 seconds at the median over the last 7 days (counted 2026-11-06).
- Fewer tokens: across 16 endpoints on Zhihu, one recorded real response each, the platform's own JSON comes to 712k tokens and what an AI reads through DataXAPI's MCP server to 63k, 91% fewer; the JSON of a direct API call is 73% fewer too (counted 2026-11-06). Every platform answers in one shape: the author in
author, counts inmetrics, the next page inpage.next_cursor, so another platform needs no new parser. - See before you pay: every endpoint's page shows a recorded real response, field by field.
- Spending you control: a failed call is not charged; each key can have a limit,
X-Max-Pricecaps one call, and the sameIdempotency-Keywithin 24 hours is never charged twice. - Ready for AI: a remote MCP server listed in the official MCP registry as
com.dataxapi/mcp, usable from Claude, Cursor and ChatGPT. - Free trial of up to 333 calls, no card.
Endpoints
Each with its price; every page has the parameters, the fields and a recorded response.
Start with one key.
230 endpoints on 21 platforms, from $0.0003 a call. Errors and timeouts are not charged.