zhihu

Zhihu content search

Get a page of Zhihu answers and articles matching a search; either kind alone, by relevance, newest or most upvoted.

Price: $0.002 per call.

18 items on a usual page, 20 at most. A cursor is valid for 3600 seconds.

get/v1/zhihu/posts/search

Request

  • Base URL
    https://api.dataxapi.com
  • Auth
    HTTP bearer

Query parameters

querystring required

Search terms

type'answer' | 'article'

Answers only, or articles only; both when left out

sort'relevance' | 'latest' | 'popular'

By relevance, newest first, or most upvoted first

cursorstring

The next_cursor of the previous page. A new page is a new call.

view'compact' | 'standard' | 'full'

How much of each item: compact (the most used fields, long text cut short), standard, or full (adds ext).

fieldsstring[]

Return only these fields of each item, by path (author.name).

Response

OK

code'ok' required
request_idstring uuid required

Changes

No recorded changes to this operation across all 1 revision of this API.