Zhihu scraper API
The InsightSocial Zhihu API has 5 endpoints, from 10 credits a call. A question call costs 10 credits, about $0.01 on Pro, and your first 10 calls up to 100 credits each are free.
The Zhihu scraper API for questions, answers, public profiles and article search, as JSON records you can store. No Access Secret and no per-capability quota.
5 endpoints · from 10 credits a call · 10 free calls up to 100 credits each · no credit card
curl "https://api.insightsocial.app/v1/zhihu/question?question_id=12345678" \-H "x-api-key: $INSIGHTSOCIAL_API_KEY"
What Zhihu data can you get?
Public Zhihu data only, returned in the same JSON envelope as every other platform.
Questions
A question's title, views, comments, answer and follower counts, and when it was asked.
Answers
Up to 20 answers to a question, by Zhihu's ranking or most recently updated, and one answer by id, each with text, author, votes, comments and saves.
Profiles and articles
A public account's name, headline, followers and how many answers and articles it wrote, and column articles by keyword.
Zhihu API endpoints
All 5 Zhihu endpoints and their price in credits. Every one has a fixed price.
| Endpoint | Credits | What it returns |
|---|---|---|
| /answer | 10 | Returns one Zhihu answer: its text, author, the question it answers and its publish and update times. |
| /question | 10 | Returns a Zhihu question: its title, views, comments, answer and follower counts, and when it was asked. |
| /question/answers | 10 | Returns up to 20 answers to a question, each with its text, author, votes, comments, saves and times. |
| /profile | 10 | Returns a public Zhihu account: name, headline, avatar, follower count, and how many answers and articles it wrote. |
| /search/articles | 10 | Returns Zhihu column articles matching a keyword, each with title, text, author, votes and comments. |
Parameters, response fields and examples for each endpoint are in the Zhihu API reference.
InsightSocial vs the official Zhihu API
Zhihu's Data Open Platform gives developers search, Zhida answers, the hot list and knowledge-base tools for AI apps, with an Access Secret and a quota Zhihu sets.
| InsightSocial API | Official Zhihu API | |
|---|---|---|
| Setup | Sign in and copy a key | Zhihu account and an Access Secret |
| Limits | Your credit balance | A quota Zhihu sets per capability |
| Built for | Question, answer, profile and article records | Search, Zhida answers and the hot list for AI apps |
| Cost per call | 10 credits | Quota set by Zhihu; no public per-call price |
The official API is the right tool for posting, messaging or managing accounts you own. This one is read-only public data.
How much does the Zhihu API cost?
Zhihu calls start at 10 credits. Every endpoint's price is in the table above and in the free GET /v1/endpoints catalogue, so you know the cost before you call. Pro's 10,000 monthly credits cover about 1,000 questions at 10 credits each.
Failed calls are free
A call that errors or finds nothing costs 0 credits.
Repeats and retries
A repeat call is charged again: the full price when it fetches new data, 2 credits when the answer comes from the shared cache. Add fresh=1 to force a new read. Only a retry with the same Idempotency-Key is free.
One balance
API calls and Chrome extension exports share the same credits. The free plan includes 500 a month.
Not writing code?
Connect InsightSocial to Claude or ChatGPT and ask for Zhihu data in plain English. Same account, same credits.
Zhihu API: frequently asked questions
Zhihu runs a Data Open Platform at developer.zhihu.com with search, Zhida answers, the hot list and knowledge-base tools, used with an Access Secret under a quota Zhihu sets. The InsightSocial API returns questions, answers, profiles and articles as structured records by id or keyword, on the same key as other platforms.
/v1/zhihu/question/answers returns up to 20 answers in one page, ranked by Zhihu or most recently updated first. It does not page further. For a specific answer you already have, /v1/zhihu/answer returns it by id.
Yes. /v1/zhihu/search/articles returns column articles for a keyword with title, text, author, votes and comments, page by page. Sort by most upvoted or newest, and limit it to a day, week, month or longer.
The ones in the URL: question_id from zhihu.com/question/<id>, answer_id from an answer link, and handle from zhihu.com/people/<handle> for /v1/zhihu/profile.
Every Zhihu endpoint is 10 credits a call, including up to 20 answers or a page of article search. Calls that fail or find nothing are free.
No. There is no Zhihu app, OAuth flow or review. One API key in the x-api-key header works for Zhihu and the other 60 platforms.
Yes. Your first 10 calls priced at 100 credits or less are free, and the free plan includes 500 credits every month. No credit card is needed to get a key.
60 requests a minute and 10 requests in flight at once, per API key. Going over either returns a 429 with a Retry-After header, and a rejected request costs nothing. There is no daily quota: past those two limits, your credit balance is what bounds volume.
List endpoints return rows in data.items and a pagination object with next_cursor and has_more. Send next_cursor back unchanged as the cursor parameter for the next page, and stop when has_more is false. A handful of endpoints page with their own parameter instead; their reference pages name it.
No. A call that errors or finds nothing costs 0 credits. A live fetch costs the endpoint's price, or for a metered endpoint what it actually read. A repeat call is charged again: the full price when it fetches new data, 2 credits when the answer comes from the shared cache. Add fresh=1 to force a new read. Only a retry with the same Idempotency-Key is free.
A call fetches live unless a recent copy is in the shared cache, and every response says which with the cached field; a cached answer costs 2 credits. Add fresh=1 or send Cache-Control: no-cache to skip the cache; that call is charged at the normal price.
Collecting publicly available data is generally treated differently from accessing private data, but the answer depends on your jurisdiction, Zhihu's terms and what you do with personal data afterwards. The API reads public data only. Talk to a lawyer for anything commercial.
Zhihu API guides
The same key works for 60 more platforms
- TikTok scraper API
- LinkedIn scraper API
- Twitter/X scraper API
- YouTube scraper API
- Reddit scraper API
- Pinterest scraper API
- Bluesky scraper API
- Truth Social scraper API
- Snapchat scraper API
- Telegram scraper API
- Twitch scraper API
- Kick scraper API
- Rumble scraper API
- Kwai scraper API
- Douyin scraper API
- Xiaohongshu (RedNote) scraper API
- Quora scraper API
- TikTok Shop scraper API
- Weibo scraper API
- Substack scraper API
- Nextdoor scraper API
- Amazon scraper API
- App Store scraper API
- Apple Music scraper API
- Behance scraper API
- Dailymotion scraper API
- Deezer scraper API
- DEV Community scraper API
- Discord scraper API
- Dribbble scraper API
- Fandom scraper API
- Flickr scraper API
- GitHub scraper API
- Google Ads Transparency scraper API
- Google News scraper API
- Google Trends scraper API
- Gumroad scraper API
- Hacker News scraper API
- Hugging Face scraper API
- Ko-fi scraper API
- Lemmy scraper API
- Letterboxd scraper API
- Linktree scraper API
- Lnk.Bio scraper API
- Mastodon scraper API
- Medium scraper API
- MyAnimeList scraper API
- npm scraper API
- Polymarket scraper API
- Product Hunt scraper API
- Shopify scraper API
- SoundCloud scraper API
- Spotify scraper API
- Stack Overflow scraper API
- Stan Store scraper API
- Steam scraper API
- Vimeo scraper API
- Wikipedia scraper API
- Yahoo Finance scraper API
- Yelp scraper API