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.
Request parameters
| Name | Type | In | Required | Description | Example |
|---|---|---|---|---|---|
| offset | string | query | no | 从上一结果的分页偏移量。 | demo |
| orderBy | string | query | no | 评论的排序顺序。 可用值: - `score`:按最高分排序。 - `ts`:按最新时间排序。 | score |
| answerId | string | query | yes | Answer ID | demo |
Response fields
Field dictionary coming soon — the executable panel shows the live shape.
Errors
| code | HTTP | Meaning | Billed |
|---|---|---|---|
| 40001 | 400 | Invalid parameters | no |
| 40102 | 401 | Invalid or revoked API Key | no |
| 40201 | 402 | Insufficient credits | no |
| 40402 | 404 | Resource not found | no |
| 42201 | 422 | Quality gate failed | no |
| 42901 | 429 | Rate limit exceeded | no |
| 50401 | 504 | Upstream timeout | no |
| 50201 | 502 | Upstream error | no |
Billing
Success costs 20 credits. Any failure — including a 200 that fails the quality gate — costs 0.