Zhihu

Keyword Search

Search Zhihu by keyword with optional result-type, sort, time-interval, topic-display, and offset controls. Use it to find relevant answers, articles, or videos.

get/api/zhihu/search/v1

Query parameters

tokenstring required

TOKEN

keywordstring required

Search keywords.

offsetinteger

Start offset, begins with 0.

showAllTopics'FALSE' | 'TRUE'

Zhihu search topic display switch.

Whether to show all topics.

Available Values:

  • FALSE: Do not show topics.
  • TRUE: Show all topics.
vertical'answer' | 'article' | 'zvideo'

Zhihu search result type.

Result type filter.

Available Values:

  • answer: Answers only.
  • article: Articles only.
  • zvideo: Videos only.
sort'upvoted_count' | 'created_time'

Zhihu search sorting criteria.

Sorting criteria.

Available Values:

  • upvoted_count: Most upvoted.
  • created_time: Latest published.
timeInterval'a_day' | 'a_week' | 'a_month' | 'three_months' | 'half_a_year' | 'a_year'

Zhihu search publish time interval.

Publish time interval filter.

Available Values:

  • a_day: Within one day.
  • a_week: Within one week.
  • a_month: Within one month.
  • three_months: Within three months.
  • half_a_year: Within half a year.
  • a_year: Within one year.

Response

OK

code0 | 100 | 101 | 202 | 300 | 301 | 302 | 303 | 400 | 404 | 500 | 503 | 600 | 601 | 602 required
messagestring nullable required
{"stackTrail":"paths:/api/zhihu/search/v1:get:responses:200:content:application/json:schema:properties:data","oasType":"schema","type":"unknown"}
recordTimestring nullable required
requestIdstring

Changes