Discover/Zhihu API
live

Zhihu APIzhihu.com

Retrieve Zhihu's 热榜 (hot list) by category. Get up to 50 ranked trending questions with heat scores, answer counts, follower counts, and excerpts.

This API takes change requests — .
Endpoint health
verified 3h ago
get_hot_list
1/1 passing latest checkself-healing
Endpoints
1
Updated
3h ago

What is the Zhihu API?

The Zhihu API exposes one endpoint — get_hot_list — that returns up to 50 ranked entries from Zhihu's 热榜 (hot list) across multiple topic categories. Each entry includes a heat score, answer count, follower count, and a text excerpt, giving you a structured snapshot of what questions and discussions are trending on China's largest Q&A platform at any given moment.

This call costs1 credit / call— charged only on success
Try it
Maximum number of items to return. Clamped to 50.
Hot list category to retrieve. Omitting returns the general/total hot list.
api.parse.bot/scraper/99d8dd43-e1da-4d01-878a-c42c17fd0b78/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Call it over HTTPgrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/99d8dd43-e1da-4d01-878a-c42c17fd0b78/get_hot_list?category=total' \
  -H 'X-API-Key: $PARSE_API_KEY'
Python SDK · recommended

Typed, relational, agent-ready

A generated client with real types, enums, and the links between objects — the structure a flat JSON response can't carry. Autocompletes in your editor and reads cleanly to coding agents.

  • Fully typed · autocompletes
  • Objects link to objects
  • Typed errors & pagination

Typed Python client. Set up the SDK in your uv project, then pull this API’s typed client:

uv add parse-sdk
uv run parse init
uv run parse add --marketplace zhihu-com-api

uv run parse add --marketplace pulls a pinned snapshot of this canonical API — it won’t change underneath you. To customize it, subscribe and swap to your own copy.

"""Walkthrough: Zhihu Hot List — browse trending topics across categories."""
from parse_apis.zhihu_com_api import Zhihu, Category, InputFormatInvalid

client = Zhihu()

# List top trending topics from the general hot list, capped at 5.
for topic in client.topics.list(category=Category.TOTAL, limit=5):
    print(f"#{topic.rank} {topic.title} — {topic.detail_text}")

# Drill into a specific category and grab the first item.
top_science = client.topics.list(category=Category.SCIENCE, limit=1).first()
if top_science is not None:
    print(f"Top science topic: {top_science.title}")
    print(f"  Answers: {top_science.answer_count}, Followers: {top_science.follower_count}")
    print(f"  URL: {top_science.url}")

# Demonstrate typed error handling for an invalid category value.
try:
    client.topics.list(category="invalid_cat", limit=1).first()
except InputFormatInvalid as e:
    print(f"Caught expected error: {e.message}")

print("exercised: topics.list (TOTAL) / topics.list (SCIENCE) / InputFormatInvalid")
All endpoints · 1 totalmissing one? ·

Retrieve the current Zhihu hot list (热榜) for a given category. Returns up to 50 ranked trending questions with metadata including heat score, answer count, follower count, and excerpt. Each category returns approximately 30 items. The list refreshes periodically throughout the day.

Input
ParamTypeDescription
limitintegerMaximum number of items to return. Clamped to 50.
categorystringHot list category to retrieve. Omitting returns the general/total hot list.
Response
{
  "type": "object",
  "fields": {
    "items": "Array of hot list entries, ranked by heat",
    "total": "Number of items returned",
    "category": "The category that was queried",
    "fresh_text": "Update status text from the platform"
  },
  "sample": {
    "data": {
      "items": [
        {
          "url": "https://www.zhihu.com/question/2070596968058041957",
          "rank": 1,
          "debut": false,
          "title": "小龙虾线下堂食遇冷,杭州一小龙虾店日销从五百斤跌到一百斤,小龙虾卖不动了吗?为什么会出现这一变化?",
          "trend": 0,
          "excerpt": "夏天的餐桌上最不缺的应该就是小龙虾...",
          "detail_text": "413 万热度",
          "question_id": 2070596968058041900,
          "answer_count": 139,
          "follower_count": 236
        }
      ],
      "total": 30,
      "category": "total",
      "fresh_text": "热榜已更新"
    },
    "status": "success"
  }
}

About the Zhihu API

What the API Returns

The get_hot_list endpoint returns an array of ranked trending items under the items field, along with a total count, the queried category, and a fresh_text string indicating when the list was last updated by the platform. Each entry in the array represents a question or topic currently trending on Zhihu, ordered by heat.

Parameters and Filtering

Two optional inputs control what you get. The category parameter selects which Zhihu hot list to query — omitting it returns the general (全站) hot list. The limit parameter caps the number of returned items up to a maximum of 50; most category lists contain approximately 30 items. The list refreshes periodically throughout the day, so repeated calls at different times will reflect updated rankings.

Response Fields and Coverage

Each item in the items array carries metadata you can use for trend analysis: a numeric heat score indicating relative popularity, the total number of answers submitted to the question, the number of users following the question, and a short excerpt summarizing the topic. The fresh_text field surfaces the platform's own update-status text, which is useful for knowing how stale or current the snapshot is.

Data Scope

The API covers Zhihu's category-specific hot lists, making it suitable for tracking topic trends across different subject areas — from technology and finance to entertainment and current events. Individual question details, user profiles, full answer content, and comment threads are outside the current scope of this endpoint.

Reliability & maintenanceVerified

The Zhihu API is a managed, monitored endpoint for zhihu.com — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when zhihu.com changes and a check fails, the API is automatically queued for repair and re-verified. It is built to keep working as the site underneath it changes.

This isn't an official zhihu.com API — it's an independent, maintained REST wrapper over public data. Where the source has no official API (or only a limited one), Parse gives you a stable contract over a source that never promised one, and keeps it current. Need a new endpoint or field? You can revise it yourself in plain English and the agent rebuilds it against the live site in minutes — contributing the change back to the shared API is free.

Last verified
3h ago
Latest check
1/1 endpoint passing
Maintenance
Monitored & self-healing
Will this API break when the source site changes?+
It's built not to. Every endpoint is health-checked on a schedule with automated test probes. When the source site changes and a check fails, the API is automatically queued for repair and re-verified — that's the self-healing layer. Each API page shows when its endpoints were last verified. And because marketplace APIs are shared, any fix reaches everyone using it.
Is this an official API from the source site?+
No — Parse APIs are independent, managed REST wrappers over publicly available data. That is the point: where a site has no official API (or only a limited one), Parse gives you a maintained, monitored endpoint for that data and keeps it working as the site changes — so you get a stable contract over a source that never promised one.
Can I fix or extend this API myself if I need a new endpoint or field?+
Yes — and you don't have to wait on us. This API was generated by the Parse agent, which stays attached. Describe the change in plain English ("add an endpoint that returns reviews", "fix the price field") in the revise box on the API page or via the revise_api MCP tool, and the agent rebuilds it against the live site in minutes. Contributing the change back to the public API is free.
What happens if I call an endpoint that has an issue?+
Errors are machine-readable: a bad call returns a clean status with the list of available endpoints and a repair hint, so an agent (or you) can recover or trigger a fix instead of failing silently. Confirmed failures feed the automatic repair queue.
Common use cases
  • Track daily trending topics in China by monitoring heat score changes across Zhihu categories.
  • Feed the category parameter to compare trending questions across different subject areas simultaneously.
  • Use follower counts and answer counts from items to gauge audience depth behind a trending question.
  • Build a Chinese social trend dashboard by polling get_hot_list at intervals and storing the fresh_text timestamp.
  • Filter high-heat questions by heat score to identify breakout topics for content or market research.
  • Aggregate trending question excerpts across categories to detect cross-domain topic spikes.
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo2005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000100 req/min
Team$300/mo20,000300 req/min
Company$1,000/mo100,000500 req/min

Each endpoint has a fixed posted price per successful call — most fall between 1 and 10 credits — shown on this API's page before you run it. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does Zhihu have an official public developer API?+
Zhihu does not offer a publicly documented developer API for general use. The platform's developer programs have historically been restricted to business partners, and no open API portal is currently available to independent developers.
What does the `fresh_text` field contain?+
fresh_text is a string returned by the platform alongside the hot list, indicating the recency or update status of the current list snapshot — for example, text like '3 minutes ago'. It reflects when the hot list was last refreshed, not when your API call was made.
Which categories can I query with the `category` parameter?+
The API does not enumerate a fixed category list in its inputs — the category parameter accepts the category identifiers Zhihu uses for its hot list sections (such as technology, entertainment, or finance topics). Omitting the parameter returns the general 全站 hot list. You can test which category slugs are active by querying and checking the returned category field in the response.
Can I retrieve the full answer content or comments for a trending question?+
Not currently. The API returns metadata per trending item — heat score, answer count, follower count, and a short excerpt — but does not fetch full answer text, individual answers, or comment threads. You can fork this API on Parse and revise it to add an endpoint that retrieves full question or answer content.
Is there pagination for browsing beyond the top 50 items?+
The limit parameter is clamped at 50, and the API does not expose pagination or offset parameters for scrolling further through the hot list. The hot list itself is also capped at approximately 30 items per category on the platform side. You can fork this API on Parse and revise it to expose additional list pages if the underlying source supports them.
Page content last updated . Spec covers 1 endpoint from zhihu.com.
Related APIs in Social MediaSee all →
top.baidu.com API
Access real-time trending search data from Baidu's Top platform. Retrieve ranked hot search terms, novels, movies, and TV dramas, with support for genre and category filtering across all board tabs.
toutiao.com API
Browse personalized news feeds, discover trending articles and hot topics, search content across categories, view detailed articles with comments, and explore author profiles on Toutiao. Access video feeds and stay updated with the latest news and trending stories all in one place.
qq.com API
Access the latest news, articles, stock indices, and sports schedules from QQ.com's homepage, and search across multiple news categories to stay informed on hot topics and evening reports. Get real-time data including homepage content, images, links, and live sports schedules all from one unified service.
bilibili.com API
Discover and monitor trending videos on Bilibili with access to video metadata, uploader information, and engagement statistics. Stay updated on what's popular across the platform to find the latest viral content and emerging creators.
explodingtopics.com API
Discover rapidly growing trends, emerging startups, and top-performing websites by filtering through trending topics by category and volatility. Programmatically access detailed trend analysis, related topics, blog coverage, and curated highlights to stay ahead of market movements.
sina.com API
Stay informed with real-time news from Sina.com.cn by retrieving article feeds organized by category and module, complete with titles, full content, and publication timestamps. Access comprehensive article details whenever you need to dive deeper into specific stories.
jiqizhixin.com API
Access the latest AI articles, detailed content, and state-of-the-art (SOTA) AI project information from Jiqizhixin, including the ability to browse article lists, search specific projects, and discover trending content from the homepage feed. Stay updated on cutting-edge artificial intelligence research and developments with comprehensive project details and in-depth article coverage.
jinse.cn API
Access Jinse Finance's latest cryptocurrency and blockchain news, including flash news alerts, detailed articles, and trending stories across multiple categories. Search through news content, explore hot topics, and stay updated with real-time financial news from the Jinse Finance platform.