Zhihu Comments

2.07 credits/call
ae_zhihu_comments

### Purpose Retrieve comments for a specific Zhihu answer. ### Parameters - `answer_id` (required): The answer ID. - `order_by` (optional, default `score`): Sort order. Use `score` for hottest first or `ts` for latest first. - `limit` (optional, default `20`): Number of comments per page. - `offset` (optional, default empty): Pagination offset. ### Returns Comment result data along with response metadata.

Social
2.07 credits/call

Pricing

2.07 credits/call
ConditionCharge
Each call2.07 credits/call

2.07 credits/call Charges are per query. A successful query is billed even if it returns no results.

Parameters

Optional parameters use the platform defaults when omitted.

ParameterTypeRequiredDescriptionDefault
limitstringNo每页评论数量/Number of comments per page20
offsetstringNo偏移量/Offset""
order_bystringNo排序/Sortscore
answer_idstringYes回答ID/Answer ID—

Invocation example

Copy the request and explore its response example.

POST/agent-api/v1/tool/executeX-Api-Key
Request coderequest.sh
curl --request POST \
  --url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_zhihu_comments' \
  --header "X-Api-Key: $AGENTEARTH_API_KEY" \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "params": {
    "answer_id": "2098830493567415627",
    "limit": "3",
    "order_by": "ts"
  }
}'
Response exampleresponse.json
JSONPartial content
{
  "code": 200,
  "data": {
    "atmosphere_voting_config": {
      "daily_frequency": 1,
      "detail": [
        {
          "emoji_level": "dissatisfied",
          "normal_icon": "https://picx.zhimg.com/v2-1d5d094f0cd71f7da08e7e54d037c0b5.png",
          "selected_icon": "https://picx.zhimg.com/v2-9af3c8aa46b63f2f840138b0ee6b0a99.png",
          "title": "不满"
        }
      ],
      "frequency_interval": 3,
      "location": 3,
      "min_num_of_root_comment": 10,
      "title": "你对该内容下的评论氛围是否满意?"
    },
    "comment_status": {
      "text": "评论由作者筛选后显示",
      "type": 2
    },
    "counts": {
      "collapsed_counts": 0,
      "reviewing_counts": 0,
      "segment_comment_counts": 0,
      "total_counts": 0
    },
    "edit_status": {
      "can_reply": true,
      "toast": "评论由作者筛选后显示"
    },
    "is_content_author": false,
    "is_content_rewardable": false
  },
  "docs": "https://api.tikhub.io/#/Zhihu-Web-API/fetch_comment_v5_api_v1_zhihu_web_fetch_comment_v5_get",
  "message": "Request successful. This request will incur a charge."
}

This example shows part of the response. Copied content is valid JSON.