# Zhihu answer comments by answer id

Retrieve comments for a Zhihu answer with hottest or latest sorting and offset pagination.

|  |  |
| --- | --- |
| Tool id | `justoneapi.x-zhihu-get-answer-comments-v1` |
| Platform | [Zhihu](https://www.orcarouter.ai/tools/zhihu.md) |
| Capability | [Post comments](https://www.orcarouter.ai/tools/zhihu/post-comments.md) |
| Price | $0.016236 per call |
| Health | OK |
| p50 latency | — |
| Success (7 days) | — |
| Runs (30 days) | — |
| Idempotent | yes |
| Data class | scraped |

## Input

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `answerId` | string | yes | Answer ID |
| `offset` | string | no | Pagination offset from the previous result. |
| `orderBy` | string | no | Sorting order for comments. Available Values: - \`score\`: Sort by highest score. - \`ts\`: Sort by latest time. One of: score, ts. |

## Call it

```bash
curl -sS https://api.orcarouter.ai/v1/tools/justoneapi.x-zhihu-get-answer-comments-v1/run \
  -H "Authorization: Bearer $ORCAROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"answerId":"<answerId>"}}'
```

```python
import os, requests

resp = requests.post(
    "https://api.orcarouter.ai/v1/tools/justoneapi.x-zhihu-get-answer-comments-v1/run",
    headers={"Authorization": f"Bearer {os.environ['ORCAROUTER_API_KEY']}"},
    json={"input":{"answerId":"<answerId>"}},
)
print(resp.json())
```

## FAQ

### How much does Zhihu answer comments by answer id cost?

Zhihu answer comments by answer id costs $0.016236 per call: 1,000 calls cost $16.236.

### What does a $10 budget buy with Zhihu answer comments by answer id?

About 615 calls at $0.016236 per call.

### What inputs does Zhihu answer comments by answer id need?

Required inputs: answerId.

### How do I call Zhihu answer comments by answer id?

Send POST /v1/tools/{id}/run with your OrcaRouter API key and a JSON body {"input": {…}}, where {id} is the tool id POST /v1/tools/discover returns for it.

---

Markdown version of https://www.orcarouter.ai/tools/zhihu/post-comments/x-zhihu-get-answer-comments-v1
