EveryData platform API
Zhihu API
This Zhihu reference organizes Zhihu search results, question answers, article details, and column articles into 4 concrete operations—`search`, `question_answers`, `article_detail` among them—so shared parameter names do not blur object types.
Read matching public results through Zhihu `search` using `keyword`, or fetch answers to a specific question through `question_answers` using `question_id`. Every action follows the same scope separation.
- Endpoint
- POST /api/v1/social
- Capabilities
- 4
- Per 1,000
- $0.556
Available capabilities
Compare the Zhihu actions by required input, returned data, and price. Use the action identifier exactly as shown in your request.
| Action | Required | Optional | Delivery | Limit | Per 1,000 | Response fields |
|---|---|---|---|---|---|---|
searchSearch Search public results on Zhihu. Accepts these parameters: | keyword | — | Sync delivery | Catalog value: maxLimit=3. Check the action notes before treating it as a final row count. | $0.56 per 1,000 requests | id · type · url · title · text · vote_count · comment_count · favorite_count · answer_count · posted_at · question_id · platform |
question_answersAnswers to a question Use the | question_id | id | Sync delivery | Catalog value: maxLimit=10. Check the action notes before treating it as a final row count. | $0.56 per 1,000 requests | id · type · url · question_id · question_title · question_url · text · content · vote_count · comment_count · favorite_count · thanks_count · posted_at · updated_at · platform · author_name · author_url_token · author_url · author_headline · author_follower_count · author_is_org |
article_detailArticle details Retrieve article details from Zhihu. Accepts these parameters: | article_id | id | Sync delivery | — | $0.56 per 1,000 requests | id · type · url · title · text · content · vote_count · comment_count · favorite_count · posted_at · updated_at · ip_location · platform |
column_listColumn articles Use the | column_id | column, slug | Sync delivery | Catalog value: maxLimit=5. Check the action notes before treating it as a final row count. | $0.56 per 1,000 requests | id · type · url · title · text · content · vote_count · comment_count · favorite_count · posted_at · column_url · platform · author_name · author_url_token · author_url · author_headline · author_follower_count · author_is_org |
What does each Zhihu action accept?
Each answer below pairs one callable action with its real inputs. Parameter meanings and allowed values are action-specific; a familiar name does not carry the same meaning across every platform.
Official sources are linked only to clarify the platform term beside them. They do not imply platform authorization or endorsement, and they do not add official-site features to the EveryInfra API contract.
What do the Zhihu search parameters mean?
Search public results on Zhihu. Accepts these parameters: keyword. Returns these fields: comment_count, title, vote_count, and answer_count.
keywordRequired- The content search term for the Zhihu search action. Do not pass question IDs, author handles, or column IDs to this parameter.
What do the Zhihu question_answers parameters mean?
Use the question_answers action on Zhihu. Accepts these parameters: question_id and id. Returns these fields: thanks_count, author_is_org, question_id, and updated_at.
question_idRequired- The numeric question ID required by question_answers, extracted from the zhihu.com/question/ URL path. Returns answers belonging to the specified question rather than a single answer ID.Zhihu: Rights and Usage Rules for Answers and ArticlesThe Zhihu agreement distinguishes original user content like answers and articles, requiring separate author authorization for off-site republication; it also restricts automated collection and content usage. Reading content through this API does not constitute receiving platform permission or content usage rights.Checked
idOptional- A fallback input for question or article IDs, resolved based on the specified action. Prefer using question_id or article_id directly to avoid ambiguous targeting.
What do the Zhihu article_detail parameters mean?
Retrieve article details from Zhihu. Accepts these parameters: article_id and id. Returns these fields: content, comment_count, type, and favorite_count.
article_idRequired- The numeric article ID required by article_detail, extracted from the zhuanlan.zhihu.com/p/ URL path. This parameter does not accept standard question or answer IDs.Zhihu: Public Articles Are Not Granted for Arbitrary Republication or Model TrainingIntellectual property terms in the Zhihu agreement require verifying relevant authorizations from the author and platform, while restricting unauthorized scraping, commercial use, and AI model development or training. Obtaining the content field does not replace these permissions, nor does it indicate an endorsement by Zhihu.Checked
idOptional- A fallback input for question or article IDs, resolved based on the specified action. Prefer using question_id or article_id directly to avoid ambiguous targeting.
What do the Zhihu column_list parameters mean?
Use the column_list action on Zhihu. Accepts these parameters: column_id, column, and slug. Returns these fields: type, author_name, author_follower_count, and title.
column_idRequired- The column path slug required by column_list, extracted from URLs like zhuanlan.zhihu.com/column-slug. This value is typically non-numeric; do not pass article IDs.Zhihu: Usage Boundaries for Content Included in ColumnsThe Zhihu agreement covers original content such as articles, answers, and columns; inclusion in a column does not change underlying content ownership. Organizing items is distinct from full-text republication, redistribution, or model training, and each usage requires separate authorization verification.Checked
columnOptional- A compatibility fallback for specifying a column path slug, evaluated with lower precedence than column_id or columnId. Do not pass the column display title.
slugOptional- A compatibility fallback for specifying a column path slug, evaluated with lower precedence than column.
How to use the Zhihu API
- 01Read the public catalog and choose a platform action.
- 02Send the platform, action, and required parameters to POST /api/v1/social.
- 03Handle a synchronous result or poll the returned job ID when the selected action is asynchronous.
- 04Store the structured response fields needed by your application.
curl -X POST https://api.everyinfra.com/api/v1/social \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{"platform":"zhihu","action":"search","params":{"keyword":"<keyword>"}}'
Zhihu API questions
What can I retrieve with the Zhihu API?
Set platform to zhihu. The current catalog lists search, answers to a question, article details, and column articles. These action names identify different Zhihu objects or views; they are not interchangeable search modes.
Which input starts a Zhihu `search` request?
The content search term for the Zhihu search action. Do not pass question IDs, author handles, or column IDs to this parameter. Send it as keyword inside params.
Which fields can Zhihu `search` return?
Its declared schema includes type, title, text, and vote_count. A declared field can still be absent from an individual source record, and every other action has its own field list.
Does every Zhihu action return immediately?
No assumption is needed: this page labels each action's delivery mode. The current catalog contains sync delivery; poll a returned job ID only for an action labeled asynchronous.