InsightSocial

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"
200 OKJSON
{
"success": true,
"platform": "zhihu",
"endpoint": "/v1/zhihu/question",
"schema_version": "2",
"data": {
"post": {
"id": "12345678",
"url": "https://www.zhihu.com/question/12345678",
"kind": "text",
"content": {
"text": "How do small teams evaluate open-source language models?",
"media_urls": null,
"thumbnail_url": null,
"duration_seconds": null
},
"author": {
"id": null,
"username": null,
"display_name": null,
"avatar_url": null,
"verified": null
},
"engagement": {
"views": 284000,
"likes": null,
"comments": 36,
"shares": null,
"saves": null
},
"flags": {
"nsfw": null,
"spoiler": null,
"pinned": null,
"deleted": false,
"likes_hidden": null,
"comments_hidden": null,
"shares_hidden": null,
"views_hidden": null,
"saves_hidden": null
},
"published_at": "2025-11-03T02:40:00.000Z",
"language": null,
"ext": {
"title": "How do small teams evaluate open-source language models?",
"answer_count": 142,
"follower_count": 2310,
"updated_at": "2026-09-28T11:05:00.000Z"
}
}
},
"unavailable": [],
"credits_used": 0,
"charge_reason": "miss",
"free_call": true
}

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.

EndpointCreditsWhat it returns
/answer10Returns one Zhihu answer: its text, author, the question it answers and its publish and update times.
/question10Returns a Zhihu question: its title, views, comments, answer and follower counts, and when it was asked.
/question/answers10Returns up to 20 answers to a question, each with its text, author, votes, comments, saves and times.
/profile10Returns a public Zhihu account: name, headline, avatar, follower count, and how many answers and articles it wrote.
/search/articles10Returns 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 APIOfficial Zhihu API
SetupSign in and copy a keyZhihu account and an Access Secret
LimitsYour credit balanceA quota Zhihu sets per capability
Built forQuestion, answer, profile and article recordsSearch, Zhida answers and the hot list for AI apps
Cost per call10 creditsQuota 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.

Use it from Claude or ChatGPT

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.