# Zhihu Sub Comments API

> Returns replies to a specific Zhihu comment. Supports pagination through limit and offset parameters alongside custom sorting options.

Source: https://www.sandbase.ai/model/zhihu/web/sub-comment-v5
API reference: https://www.sandbase.ai/model/zhihu/web/sub-comment-v5/docs

## Facts

- Provider: Zhihu
- Type: Data API
- Endpoint: `POST https://api.sandbase.ai/v1/api/zhihu/web/sub-comment-v5`
- Price: $0.0015 per call
- Free allowance: 100 calls per organization per UTC day, shared across eligible APIs
- Capabilities: api, zhihu
- Billing: pay per use from one SandBase balance; no provider account or subscription needed

## Call it

`POST https://api.sandbase.ai/v1/api/zhihu/web/sub-comment-v5` with `Authorization: Bearer $SANDBASE_API_KEY` and the parameters as a JSON body.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `comment_id` | string | yes |  |
| `limit` | string | no |  |
| `offset` | string | no |  |
| `order_by` | string | no |  |

## FAQ

### How do I use the Zhihu Sub Comments API?

Send a POST request to https://api.sandbase.ai/v1/api/zhihu/web/sub-comment-v5 with your SandBase API key in the Authorization header (Bearer) and the parameters as a JSON body. You can also try it in the Playground on this page without writing code.

### How much does the Zhihu Sub Comments API cost?

$0.0015 per call. Every organization gets 100 free calls per UTC day, shared across eligible SandBase APIs including this one; after that each call is billed at this price from your SandBase balance. There is no subscription.

### What parameters does the Zhihu Sub Comments API accept?

Required: comment_id (string). Optional: limit (string), offset (string) and order_by (string). The Parameters table and the Playground on this page list every field.

### What does the Zhihu Sub Comments API return?

A JSON response returned in the same HTTP request (synchronous).

### Do I need a Zhihu developer account or API key?

No. Zhihu Sub Comments runs through SandBase, so one SandBase API key covers this endpoint and every other API and model in the catalog. You do not need to apply for Zhihu API access separately.

## README

### Zhihu Sub Comments API

Fetch reply threads for a specific Zhihu comment by passing `comment_id`. You can configure sorting and pagination with `order_by`, `limit`, and `offset`.

#### Use cases

- Read nested replies under a specific Zhihu comment.
- Track discussion threads within popular discussion topics.
- Collect detailed sub-comment interactions for sentiment analysis.

#### Request

```bash
curl -X POST "https://api.sandbase.ai/v1/api/zhihu/web/sub-comment-v5" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"comment_id": "<comment_id>"}'
```

#### Parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `comment_id` | string | Yes | Comment ID |
| `limit` | string | No | Number of comments per page |
| `offset` | string | No | Offset/Page Number |
| `order_by` | string | No | Sort |

#### Notes

- `comment_id` is required to specify the parent comment.
- Use `limit` and `offset` to manage pagination.
- Use `order_by` to control the sort order of sub-comments.

#### Related APIs

- [Zhihu AI Search Stream](/model/zhihu/web/ai-search-stream): Returns streaming AI search results from Zhihu based on a query prompt.
- [Zhihu Answer Details](/model/zhihu/web/answer-detail): Retrieves detailed information for a specific Zhihu answer using its numeric ID, including answer text, timestamps, and share links.
- [Zhihu Article Search](/model/zhihu/web/article-search-v3): Search Zhihu articles and answers by keyword and get titles, excerpts, authors, vote and comment counts, with sorting, content type and time filters plus offse…
