# Zhihu Answer Details API

> Retrieves detailed information for a specific Zhihu answer using its numeric ID, including answer text, timestamps, and share links.

Source: https://www.sandbase.ai/apis/zhihu/web/answer-detail
API reference: https://www.sandbase.ai/apis/zhihu/web/answer-detail/docs

## Facts

- Provider: Zhihu
- Type: Data API
- Endpoint: `POST https://api.sandbase.ai/v1/api/zhihu/web/answer-detail`
- 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/answer-detail` with `Authorization: Bearer $SANDBASE_API_KEY` and the parameters as a JSON body.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `answer_id` | string | yes |  |

## FAQ

### How do I use the Zhihu Answer Details API?

Send a POST request to https://api.sandbase.ai/v1/api/zhihu/web/answer-detail 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 Answer Details 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 Answer Details API accept?

Required: answer_id (string). The Parameters table and the Playground on this page list every field.

### What does the Zhihu Answer Details API return?

A JSON response returned in the same HTTP request (synchronous). The README on this page includes a sample response.

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

No. Zhihu Answer Details 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 Answer Details API

Retrieves full content and metadata for an individual Zhihu answer using `answer_id`. It returns details such as the body text, timestamps, and answer URL.

#### Use cases

- Extract the full text content of a Zhihu response.
- Retrieve posting timestamps and URLs for archiving purposes.
- Collect answer metadata for content analysis.

#### Request

```bash
curl -X POST "https://api.sandbase.ai/v1/api/zhihu/web/answer-detail" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"answer_id": "2054145988235880002"}'
```

#### Parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `answer_id` | string | Yes | Answer ID (the numeric id in the page URL .../answer/{answer_id}) |

#### Example response

Real response for the request above, trimmed to the main fields. User names and long IDs are masked.

```json
{
  "answer_type": "normal",
  "content": "我哥是万年老二，再一次输给傅寒澈，他说他得了绝症。「妹！哥没多少日子了，哥这辈子就想赢傅寒澈一次，就一次！」看着我哥省吃俭用刚给我买的限量款包包，我咽了咽口水。「哥，您说话！」我…",
  "content_need_truncated": false,
  "created_time": 1782526567,
  "id": "2054145988235880002",
  "share_text": "有没有一上来就很刺激的甜文！? - 回答作者: 白泽丧葬用品店 https://zhihu.com/question/5721660615/answer/205414598823…",
  "type": "answer",
  "updated_time": 1782526567,
  "url": "https://www.zhihu.com/api/v4/answers/2054145988235880002"
}
```

#### Notes

- Locate the `answer_id` from the numeric segment in the Zhihu answer URL path.

#### 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 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…
- [Zhihu Column Article Detail](/model/zhihu/web/column-article-detail): Returns detailed information and metadata for a specific Zhihu column article, including author profile details, using a provided article ID.
