FetchPI
Log in
← Browse all APIs

Zhihu article API

Zhihu article data in one REST call — normalized to the stable JSON schema shared across every FetchPI platform.

  • 1 documented endpoints
  • GET /v1/zhihu/articles/{id}

Contract summary (English): Get a normalized Zhihu article (capability zhihu.article)

Normalized response entity
zhihu/post
capability
zhihu.article

Every response also carries freshness (cache / default / live) and billing metadata.

Use cases

  • Feed content-analysis pipelines with structured {{platform}} posts: text, metrics, timestamps and media references.
  • Power moderation, research and monitoring workflows that need the original content plus engagement counts.
  • Archive {{platform}} content as stable, normalized JSON instead of brittle page scraping.

Response fields

Zhihu Post (normalized)

Normalized Zhihu post — the ONLY upper-layer format; provider-private fields are dropped. Serves zhihu.post and the post lists of /v1/zhihu.

FieldTypeRequiredDescription
idstringRequiredPlatform-native post id (BV id / status id / answer or article id).
platform"zhihu"Required—
type"post"Required—
author.idstringRequiredAuthor platform id.
author.usernamestringRequiredAuthor addressing key without leading @.
author.display_namestring | nullRequiredAuthor display name.
author.verifiedbooleanRequired—
titlestring | nullOptionalPost title (the video title, article title or — for zhihu answers — the parent question title).
textstring | nullRequiredPost text (desc/status/excerpt; null for media-only posts).
created_atstringRequiredPost publish time, UTC RFC3339.
metrics.likesintegerRequiredUpvote (voteup) count.
metrics.commentsintegerRequiredComment count.
attachmentsobject[]OptionalMedia attachments (max 8): photo urls and/or the video block.
fetched_atstringRequiredNormalization time of the stored snapshot (UTC).

Field notes are shown in the contract's original English.

Response meta

FieldTypeRequiredDescription
modecache | default | liveRequiredEffective mode after merging param > max_age > source policy (D-004).
age_secondsinteger | nullOptionalAge of served data; null when unknown.
source_layercache | db | upstreamRequiredWhich layer served the response (PRD §10).
stalebooleanOptionalTrue when stale data was served under stale_if_error / SWR (D-004).
billing.amount_creditsintegerRequiredMicro-USD (1e-6 USD) actually charged for this request.
billing.cache_hitbooleanRequired—

Field notes are shown in the contract's original English.

Example request & response

GET/v1/zhihu/articles/{id}
curl -H "Authorization: Bearer $MESHDATA_API_KEY" \
  "https://api.fetchpi.com/v1/zhihu/articles/1842951234567890123"
{
  "data": {
    "id": "8801000000001001",
    "platform": "zhihu",
    "type": "post",
    "author": {
      "id": "9905000122",
      "username": "meshdata-zhihu",
      "display_name": "知乎数据答主",
      "verified": false
    },
    "title": "实体层是如何炼成的?",
    "text": "回答:结构化访问知乎内容。",
    "created_at": "2026-09-16T11:20:00Z",
    "metrics": {
      "likes": 5120,
      "comments": 320
    },
    "fetched_at": "2026-09-21T09:00:00Z"
  },
  "meta": {
    "request_id": "req_01HTXQ8Z9HTQ",
    "freshness": {
      "mode": "default",
      "age_seconds": 0,
      "source_layer": "upstream",
      "stale": false
    },
    "billing": {
      "amount_credits": 100,
      "cache_hit": false
    }
  }
}

Free demo

Create a free account, grab an API key and call this endpoint from the browser-based Playground.

Try it in the Playground

Parameter tables, error codes and response semantics for this endpoint live in the API documentation.

Open the endpoint reference

Frequently asked questions

Which content fields are included?

The normalized content entity — text, author, timestamps, engagement metrics and media references — as documented in the field table below, plus freshness and billing metadata.

Can I try this endpoint for free?

Yes — register an account, grab an API key and call it from the Playground in the console.

How is the article capability billed?

Data API calls are billed per request in credits, with different cache/live freshness multipliers. Current per-capability prices live on the pricing page.

Pricing

Per-request credit billing with cache/live freshness options — current prices live on the pricing page.