DataNavoAPI / APIS / ZHIHU

Zhihu content search

Zhihu content search: inspect inputs, post fields, pagination and limits, then run a local simulated request.

LOCAL SIMULATIONAll displayed records are fictional fixtures. Live APIs, payments and external email are disabled.中文版 ↗
01

What this capability does

Zhihu content search uses /v1/zhihu/posts/search; GET returns data.items with post objects.

This is a local simulation. Program-generated samples are not live platform data and do not establish provider availability.

  • Capability: zhihu.posts.search
  • Pagination: use the signed cursor from the response and request each page explicitly.
02

Input contract

Inspect meanings, examples and conditional rules for the selected method. view and fields control the response without changing the TEST unit price.

  • Only send fields defined for this method; unknown fields are rejected before execution.
MethodFieldTypeRequirementMeaningEnum or boundExample
GETquerystringRequiredSearch terms—"咖啡机推荐"
GETtypestringOptional / conditionalAnswers only, or articles only; both when left out["answer","article"]—
GETsortstringOptional / conditionalBy relevance, newest first, or most upvoted first["relevance","latest","popular"]—
GETcursorstringOptional / conditionalThe `next_cursor` of the previous page. A new page is a new call.——
GETviewstringOptional / conditionalHow much of each item: compact (the most used fields, long text cut short), standard, or full (adds `ext`).["compact","standard","full"]—
GETfieldsarrayOptional / conditionalReturn only these fields of each item, by path (`author.name`).maxItems: 64—
03

Try it locally

Use demo to inspect the fields, then explicitly select simulated with a customer test key to exercise settlement. Never put a customer key in a URL.

json
{
  "capability": "zhihu.posts.search",
  "method": "GET",
  "params": {
    "query": "咖啡机推荐"
  }
}
04

Output fields and interpretation

The post object permits missing or null values; do not replace missing measurements with zero. This table shows the main structure; the object reference covers nested fields.

FieldTypeMeaningSource scope
idstring | nullID; pass it unchanged to the get endpointZhihu
urlstring | nullLink that opens the postZhihu
typestring | nullContent formatZhihu
titlestring | nullTitleZhihu
textstring | nullBody textZhihu
langstring | nullLanguage of the text (standard view and up)Zhihu
published_atstring | nullWhen it was publishedZhihu
authorobject | nullAuthorZhihu
author.idstring | nullAuthor's account IDZhihu
author.usernamestring | nullAuthor's handleZhihu
author.namestring | nullAuthor's display nameZhihu
author.avatar_urlstring | nullAuthor's avatar (standard view and up)Zhihu
author.verifiedboolean | nullWhether the author is verified (standard view and up)Zhihu
author.followersinteger | nullAuthor's follower count (standard view and up)Zhihu
metricsobject | nullEngagement countsZhihu
metrics.likesinteger | nullLikesZhihu
metrics.commentsinteger | nullCommentsZhihu
metrics.sharesinteger | nullSharesZhihu
metrics.favoritesinteger | nullSavesZhihu
metrics.viewsinteger | nullViewsZhihu
metrics.repostsinteger | nullRepostsZhihu
imagesarray | nullImage addresses (standard view and up)Zhihu
hashtagsarray | nullHashtags, without the # (standard view and up)Zhihu
mentionsarray | nullAccounts mentioned in the text (standard view and up)Zhihu
mentions[].idstring | nullAccount ID (standard view and up)Zhihu
mentions[].usernamestring | nullHandle (standard view and up)Zhihu
mentions[].namestring | nullDisplay name (standard view and up)Zhihu
is_pinnedboolean | nullWhether the author pinned it (standard view and up)Zhihu
post_idstring | nullID of the thread's root post when this is a reply; otherwise nullZhihu
parent_idstring | nullID of the item it replies to directly; otherwise nullZhihu
root_idstring | nullID of the first-level reply its thread hangs underZhihu
approximatearray | nullWhich numbers of this item are approximate or lower bounds; absent when all are exactZhihu
approximate[].fieldstring | nullPath of the field, such as metrics.viewsZhihu
approximate[].kindstring | nullApproximate, or a lower boundZhihu
extobjectThe platform's own fields (full view).Zhihu
ext.answersinteger | nullAnswers the question has (full view)Zhihu
ext.followersinteger | nullPeople following the question (full view)Zhihu
05

Unavailable fields

These published contract notes describe the capability boundary; fixtures do not establish live availability.

FieldReason
langcapability
author.verifiedcapability
metrics.sharesplatform
metrics.viewscapability
metrics.repostsplatform
imagescapability
hashtagscapability
mentionscapability
is_pinnedcapability
root_idplatform
06

Limits and checks

A successful request does not establish full coverage. Preserve the request ID, observation time, parameters and cursor, and inspect the returned items before analysis.

Local simulation uses TEST credits only. Real provider calls, real payments and external email are disabled. Historical reference-site prices are not DataNavoAPI prices.

  • Verify media URLs, counts and optional fields individually.
TRY THE CONTRACT

Clear inputs. Inspectable output.

Each click runs a local fixture. Advanced JSON inputs are checked against the selected method. Editing does not execute a request.

Copying does not execute. CLI quote is read-only and needs a local customer TEST key. Configure MCP in demo mode first. GET and POST batches both return only fictional local fixtures.

Download contract example (no execution) ↗

For TEST budgets, Key scopes or failure scenarios, open the account console. Customer sandbox ↗