Skip to main content

GET /v1/zhihu/comment/answer_comments_v1

Zhihu Answer Comments API (V1)

stable · 20 credits per success

Retrieve the comments on a Zhihu answer, with hottest or newest sorting and offset pagination. Use it to read the discussion on a known answer and page through further comments.

Sign up for 500 credits and run with your own API key. Sign up free

Request

curl
curl -s 'https://api.wellbyte.net/v1/zhihu/comment/answer_comments_v1?offset=demo&orderBy=score&answerId=demo' \
  -H "Authorization: Bearer dg_live_…"

Response

Sample captured 2026-09-23

data{
code:0
data{
data[ 2 items ]
counts{ 4 items }
header[ 0 items ]
paging{ 5 items }
sorter[ 2 items ]
edit_status{ 2 items }
comment_status{ 3 items }
ad_plugin_infos[ 0 items ]
is_content_author:false
is_content_rewardable:false
atmosphere_voting_config{ 6 items }
}
meta{
endpoint:"zhihu.comment.answer_comments_v1"
cache_hit:false
elapsed_ms:0
request_id:"req_sample"
credits_charged:0
}
message:"ok"
}

No calls yet. Get one green run first, then switch to your own data.

    Request parameters

    NameTypeInRequiredDescriptionExample
    offsetstringqueryno从上一结果的分页偏移量。demo
    orderBystringqueryno评论的排序顺序。 可用值: - `score`:按最高分排序。 - `ts`:按最新时间排序。score
    answerIdstringqueryyesAnswer IDdemo

    Response fields

    Field dictionary coming soon — the executable panel shows the live shape.

    Errors

    codeHTTPMeaningBilled
    40001400Invalid parametersno
    40102401Invalid or revoked API Keyno
    40201402Insufficient creditsno
    40402404Resource not foundno
    42201422Quality gate failedno
    42901429Rate limit exceededno
    50401504Upstream timeoutno
    50201502Upstream errorno

    Billing

    Success costs 20 credits. Any failure — including a 200 that fails the quality gate — costs 0.

    All Zhihu endpoints →

    Search

    Search endpoints and docs