# Zhihu Pin Detail API

> Retrieves the full content and details of a single Zhihu pin using its unique pin identifier. Returns parsed text blocks, links, and formatting metadata.

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

## Facts

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

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

## FAQ

### How do I use the Zhihu Pin Detail API?

Send a POST request to https://api.sandbase.ai/v1/api/zhihu/web/pin-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 Pin Detail 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 Pin Detail API accept?

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

### What does the Zhihu Pin Detail 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 Pin Detail 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 Pin Detail API

Retrieves complete details for a specific Zhihu pin by supplying its `pin_id`. The response includes text sections, formatting attributes, and link types.

#### Use cases

- Retrieve full text and links from a Zhihu pin.
- Display Zhihu pin content within external monitoring dashboards.
- Archive pin discussions and educational posts for research.

#### Request

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

#### Parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `pin_id` | string | Yes | Pin ID |

#### Example response

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

```json
{
  "content": [
    {
      "content": "普通人学AI，建议死磕这10个油管博主 | ① Andrej Karpathy｜AI界传奇人物主要分享：大模型原理、GPT训练过程、神经网络、AI未来趋势② Jeff Su｜AI…",
      "fold_type": "raw",
      "own_text": "普通人学AI，建议死磕这10个油管博主 | ① Andrej Karpathy｜AI界传奇人物主要分享：大模型原理、GPT训练过程、神经网络、AI未来趋势② Jeff Su｜AI…",
      "text_link_type": "internal",
      "type": "text"
    }
  ]
}
```

#### Notes

- Provide the unique post identifier in `pin_id`.

#### 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…
