Skip to content
Eden Engine

Zhihu Answer Comments by Answer ID (Default Order, First Page)

omnial/zhihu-web-fetch-comment

Given a Zhihu answer ID, returns the first page of that answer's comments in Zhihu's default order (10 top-level comments in testing) and the answer's total comment count. For each comment: its ID, plain text with links and markup removed, posting time, like count, reply count, and the commenter's ID, handle and display name; each comment also carries the replies shown under it, with the same fields plus the ID of the comment replied to. A flag says whether further pages exist; no later page is offered.

activeper callv1

Price

Up to $0.00205 per call; you pay what the call used

The price shown is the price you pay. No monthly minimum. Top-ups start at $5.

Data source

Zhihu

Data from Zhihu.

Use it

Five steps: search, inspect, learn, run, settle. No per-tool setup; your agent reaches this tool through the meta-tools it already has.

agent
// 1. search: find the tool
omnial_search({ query: "what you need" })

// 2. inspect: price and input schema
omnial_inspect({ tool: "omnial/zhihu-web-fetch-comment" })

// 3. learn: read the usage guide at runtime
omnial_learn({ tool: "omnial/zhihu-web-fetch-comment" })

// 4. run: price the exact call first, then run it
omnial_execute({ tool: "omnial/zhihu-web-fetch-comment", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "omnial/zhihu-web-fetch-comment", input: { /* ... */ } })

// 5. settle: the call is charged when it finishes, nothing to do

Not connected yet? Point your MCP client at https://mcp.eden-engine.com/mcp, then copy a config for your client.

Pricing

Every charge this tool can incur.

ChargePrice
Per call
$0.00205
Updated
Oct 15, 2026

Input and output schemas

Input schema
input_schema.json
{
  "type": "object",
  "required": [
    "answer_id",
    "order_by",
    "limit"
  ],
  "properties": {
    "limit": {
      "enum": [
        "20"
      ],
      "type": "string",
      "default": "20",
      "description": "The page size sent to Zhihu. Only 20 is offered; the captured call returned 10 top-level comments."
    },
    "order_by": {
      "enum": [
        "score"
      ],
      "type": "string",
      "default": "score",
      "description": "The comment order. Only score (Zhihu's default order) is offered."
    },
    "answer_id": {
      "type": "string",
      "minLength": 1,
      "description": "The numeric ID of a Zhihu answer (the digits after /answer/ in its link)."
    }
  },
  "additionalProperties": false
}
Output schema
output_schema.json
{
  "type": "object",
  "properties": {
    "data": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "The comment's ID."
          },
          "author": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "description": "The commenter's Zhihu member ID."
              },
              "name": {
                "type": "string",
                "description": "The commenter's display name."
              },
              "url_token": {
                "type": "string",
                "description": "The commenter's public Zhihu handle."
              }
            }
          },
          "content": {
            "type": [
              "string",
              "null"
            ],
            "description": "The comment's text with links and markup removed; null if nothing clean is left."
          },
          "like_count": {
            "type": "number",
            "description": "How many likes the comment has."
          },
          "created_time": {
            "type": "number",
            "description": "When the comment was posted, as a Unix timestamp in seconds."
          },
          "child_comments": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "description": "The reply's ID."
                },
                "author": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "description": "The replier's Zhihu member ID."
                    },
                    "name": {
                      "type": "string",
                      "description": "The replier's display name."
                    },
                    "url_token": {
                      "type": "string",
                      "description": "The replier's public Zhihu handle."
                    }
                  }
                },
                "content": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The reply's text with links and markup removed."
                },
                "like_count": {
                  "type": "number",
                  "description": "How many likes the reply has."
                },
                "created_time": {
                  "type": "number",
                  "description": "When the reply was posted, as a Unix timestamp in seconds."
                },
                "reply_comment_id": {
                  "type": "string",
                  "description": "The ID of the comment this reply answers."
                }
              }
            },
            "description": "The replies shown under the comment (a few at most; may be empty)."
          },
          "child_comment_count": {
            "type": "number",
            "description": "How many replies the comment has in all."
          }
        }
      },
      "description": "The top-level comments on this page (10 in the capture)."
    },
    "counts": {
      "type": "object",
      "properties": {
        "total_counts": {
          "type": "number",
          "description": "The answer's total comment count, as Zhihu reports it."
        }
      }
    },
    "paging": {
      "type": "object",
      "properties": {
        "is_end": {
          "type": "boolean",
          "description": "False when more comments exist beyond this page."
        }
      }
    }
  },
  "description": "The answer's first page of comments, as returned after shaping."
}