Zhihu Scraper
Pricing
from $0.80 / 1,000 results
Zhihu Scraper
Search Zhihu by keyword and export answers, questions, articles, comments, replies and creator profiles with full text, votes, comment counts, authors and timestamps. No login or cookies.
Pricing
from $0.80 / 1,000 results
Rating
0.0
(0)
Developer
Automation Lab
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
6 days ago
Last modified
Categories
Features
Share
Zhihu Scraper (知乎) — Search, Answers, Comments & Profiles
What does Zhihu Scraper do?
Zhihu Scraper searches Zhihu (知乎) by keyword and exports answers, questions, Zhuanlan articles, comments, comment replies and creator profiles. Each row has the text, author, upvotes, comment count, topics and timestamps. You can also paste answer, question, article and profile URLs. It needs no Zhihu account, cookies or API key, and it reads Zhihu directly: no third-party data API.
Use it to follow Chinese-language discussion of brands, products, markets and creators week after week. Export to JSON, CSV or Excel, or connect it to your pipeline through the Apify API.
Who is it for?
- Brand and market researchers who track how Chinese consumers talk about a brand, product category or competitor, and want the same keyword report every week.
- China market analysts and consultants who read long-form expert answers to understand an industry, policy or trend.
- Creator and influencer teams who compare Zhihu creators by followers, answers and upvotes before a partnership.
- Data and AI teams who need clean Chinese-language Q&A text with authors and engagement for analysis or RAG datasets.
What can it collect?
| Input | What you get |
|---|---|
| Keywords (Chinese or English) | Matching answers, questions and Zhuanlan articles, each with full details; filter by content type and publication period, sort by relevance, upvotes or newest |
| Answer URL | The full answer text and HTML, author, upvotes, comments, favorites, thanks, question title and topics |
| Question URL | The question (views, followers, answer count, topics) plus the answers Zhihu shows on its public page |
Article URL (zhuanlan.zhihu.com/p/...) | Title, text, author, upvotes, likes, comments, topics |
Profile URL (zhihu.com/people/...) | Followers, following, answers, articles, questions, upvotes and thanks received, headline, IP location, employments and education |
| Include comments / replies | Top-level comments for each answer, article or question, and replies under each comment, linked by parentId |
How to use it
- Enter one or more Search keywords, or paste Zhihu URLs, or both.
- Set Maximum results for the whole run. Comments and replies count too.
- Optional: choose Content type, Published within and Sort results for keyword search.
- Optional: turn on Include comments and Include replies.
- Click Start and download the dataset.
Example: the 20 most-upvoted answers about camping gear from the past year, with 10 comments each:
{"keywords": ["露营装备"],"searchContentType": "answer","searchTimeRange": "year","sortBy": "upvotes","maxResultsPerKeyword": 20,"includeComments": true,"maxCommentsPerContent": 10,"maxItems": 300}
Example: comments and replies on a known answer:
{"urls": ["https://www.zhihu.com/question/2105936986515171184/answer/2106711882195392168"],"includeComments": true,"includeReplies": true,"maxCommentsPerContent": 50,"maxItems": 200}
Output
Every row has a type: answer, article, question, comment, reply or profile. Fields that do not apply to a type are null. The dataset has four views: all results, content, comments and replies, and creator profiles.
{"type": "answer","id": "2106711882195392168","url": "https://www.zhihu.com/question/2105936986515171184/answer/2106711882195392168","title": "为什么大家这么关注APEC会议?","contentText": "G7这种覆盖面小,没有中+global south ...","contentTruncated": false,"authorName": "张议潮","authorUrl": "https://www.zhihu.com/people/wuqk-26","voteupCount": 1374,"commentCount": 132,"favoriteCount": 76,"thanksCount": 84,"topics": ["经济", "APEC"],"ipLocation": "北京","createdAt": "2026-11-19T03:34:13.000Z","questionId": "2105936986515171184","parentType": "question","searchKeyword": null,"scrapedAt": "2026-11-19T08:10:00.000Z"}
A comment row:
{"type": "comment","id": "11620914468","contentText": "韩国饭圈的那种邪教崇拜做法绝对不能解禁 ...","authorName": "换一个时空","likeCount": 2,"replyCount": 3,"ipLocation": "福建","createdAt": "2026-11-19T07:27:44.000Z","parentType": "answer","parentId": "2106711882195392168","parentUrl": "https://www.zhihu.com/question/2105936986515171184/answer/2106711882195392168"}
How much does it cost to scrape Zhihu?
You pay a small start fee per run, one price per saved row whatever its type (answer, article, question, comment, reply or profile), and, for keyword search only, a fee per Google results page read to find Zhihu content. Each search page gives about nine Zhihu links. On the Starter (Bronze) plan:
| Event | Price |
|---|---|
| Start (once per run) | $0.002 |
| Result (one saved row) | $0.001 |
| Search page (keyword search only) | $0.014 |
Higher Apify plans pay less: Gold and above pay $0.0008 per result and $0.0112 per search page. Proxy and compute costs are included.
Examples on Bronze:
- 100 rows from answer, question and article URLs with their comments: $0.002 + 100 × $0.001 = $0.102.
- A keyword search giving 20 answers, questions and articles from 3 search pages: $0.002 + 20 × $0.001 + 3 × $0.014 = $0.064.
- A past-year, answers-only search giving 11 answers from 6 search pages (many indexed pages fall outside the period): $0.002 + 11 × $0.001 + 6 × $0.014 = $0.097.
A run that finds nothing is charged only the start fee and the search pages it read, and a run with invalid input is free. A past-day, week or month search can read several search pages and still find few recent posts, so try it with a low Results per keyword first.
Use Maximum results to cap the cost of a run. Comments and replies are often the bulk of a run, so keep Comments per item low when you only need the content.
Use it through the API
Start a run and get the results from any language. Python example with the apify-client package:
from apify_client import ApifyClientclient = ApifyClient("<YOUR_APIFY_TOKEN>")run = client.actor("automation-lab/zhihu-scraper").call(run_input={"keywords": ["新能源汽车"],"searchTimeRange": "year","maxResultsPerKeyword": 20,"includeComments": True,"maxCommentsPerContent": 10,"maxItems": 200,})for row in client.dataset(run["defaultDatasetId"]).iterate_items():print(row["type"], row["title"], row["voteupCount"])
Node.js example with the apify-client package:
import { ApifyClient } from 'apify-client';const client = new ApifyClient({ token: '<YOUR_APIFY_TOKEN>' });const run = await client.actor('automation-lab/zhihu-scraper').call({urls: ['https://www.zhihu.com/question/2105936986515171184'],includeComments: true,maxCommentsPerContent: 20,maxItems: 100,});const { items } = await client.dataset(run.defaultDatasetId).listItems();console.log(items.length, items[0]);
cURL example that runs the Actor and returns the rows in one request:
curl -X POST "https://api.apify.com/v2/acts/automation-lab~zhihu-scraper/run-sync-get-dataset-items?token=<YOUR_APIFY_TOKEN>" \-H "Content-Type: application/json" \-d '{"keywords": ["露营装备"], "maxResultsPerKeyword": 10, "maxItems": 50}'
The same works with the Apify CLI (apify call automation-lab/zhihu-scraper). You can also connect it to Make, Zapier, n8n, Google Sheets or a webhook from the Integrations tab.
Use with MCP and AI agents
Add the Actor-scoped Apify MCP endpoint to Claude Code:
claude mcp add --transport http apify \"https://mcp.apify.com?tools=automation-lab/zhihu-scraper"
For Claude Desktop, Cursor, or VS Code, add this MCP JSON configuration:
{"mcpServers": {"apify": {"url": "https://mcp.apify.com?tools=automation-lab/zhihu-scraper"}}}
Example prompts:
- "Search Zhihu for 新能源汽车 answers from the past year and summarize what people complain about most."
- "Get the top 50 comments under this Zhihu answer and group them by sentiment."
- "Compare these three Zhihu creators by followers, answers and upvotes."
Is it legal to scrape Zhihu?
The Actor collects only content that Zhihu shows publicly to visitors who are not logged in. It does not log in, bypass paywalls or collect private messages. Public posts can still contain personal data such as display names, so check that your use complies with the GDPR, China's Personal Information Protection Law (PIPL) and other rules that apply to you, and with Zhihu's terms. If in doubt, ask a lawyer. This Actor is not affiliated with or endorsed by Zhihu.
Data handling
No AI models or external enrichment services are used. Keywords are sent to Google Search through Apify's Google SERP proxy to find Zhihu pages, and Zhihu pages are fetched through Apify residential proxy in Taiwan and Hong Kong. Failed operations also send sanitized diagnostic input, exceptions, and Actor/build/run IDs to our private GlitchTip service for repair; secret fields are removed and diagnostic reports are retained for 30 days. Apify hosts runtime, logs and the run's default dataset under your storage settings. The anonymous Zhihu cookie lives only for the run. Delete run storage in Console or through the Apify API when you no longer need it.
Limits you should know
- Keyword search uses Google's index of Zhihu. Zhihu's own search only works for logged-in accounts, so keywords are matched through Google's index of zhihu.com. Every result is then read directly from Zhihu, so counts and text are current. Results are the pages Google has indexed, which can differ from Zhihu's in-app search, and a very new post may not appear yet. Published within keeps only answers and articles published in that period (a question counts when it was created or updated in it). Google indexes few fresh Zhihu pages, so a dated search can return fewer results than requested: a past-year search often returns most of them, and a past-day, week or month search can return few or none for a niche keyword. Search results that do not mention the keyword are skipped, and deleted posts are left out.
- Long Zhuanlan articles are cut by Zhihu. Zhihu shows visitors who are not logged in only the opening part of most Zhuanlan articles (about 500 to 1,000 characters). Those rows have
contentTruncated: true. Answers come with their full text. - Question pages show a few answers. A question URL returns the answers Zhihu shows publicly on the page (usually 3 to 5), not every answer. Paste answer URLs to get specific answers.
- Creator article lists are not available. Zhihu now requires a login for a creator's list of articles and answers. Profile URLs return the profile itself.
- Private, deleted or login-only content is skipped with a log message.
FAQ
Do I need a Zhihu account or cookies? No. The Actor uses only public pages.
Why are some runs slower than others? Zhihu limits automated traffic, so the Actor uses Taiwan and Hong Kong residential connections and retries blocked requests on a fresh connection. A search of 20 results with comments usually takes 2 to 5 minutes.
Can I monitor a keyword every week? Yes. Save your input as a task and schedule it weekly. Because Google indexes new Zhihu pages with a delay, set Published within to Past year (or Past month for busy keywords), sort by Newest, and keep only recordId values you have not seen before.
English keywords? They work, but Zhihu is a Chinese-language site, so Chinese keywords find far more results.
Support
Found a problem or need a field that is missing? Open an issue on the Issues tab with the input you used and the run link, and we will look at it.
Related scrapers
- Bilibili Scraper for Bilibili videos and comments
- Douyin Search Scraper for Douyin videos by keyword
- Reddit Scraper for English-language community discussion