# 知乎详情 API

知乎详情接口（detail）：每次成功调用 0.2 credits，支持 HTTP 与 Remote MCP，输入、数据来源和计费规则清晰。

规范地址: https://socialtoai.com/zh/zhihu-detail-api/

## 一次请求

成功或空结果每次 0.2 credits，失败不计费。

把 PASTE_PUBLIC 占位符换成受支持的公开标识。这是请求模板，不会自动执行。

```
curl --request POST 'https://api.socialtoai.com/v1/detail' \
  --header "X-API-Key: $SOCIALTOAI_API_KEY" \
  --header 'Content-Type: application/json' \
  --header 'Idempotency-Key: REPLACE_WITH_A_UNIQUE_REQUEST_ID' \
  --data '{"platform":"zhihu","url_or_id":"PASTE_PUBLIC_ITEM_URL_OR_ID"}'
```

## 原生支持

结果类型：item。翻页：不支持。

以上取值来自参考卡。用户查找或特定内容类型可能还有额外限制。请以响应里的 applied_params 和 warnings 为准，不要假定不支持的筛选已生效。

## 经过结构校验的示例

示意结果，只含一条虚构数据和示例试用余额，用来展示响应结构，不是实时结果，也不代表线上可用率。

```
{
  "request_id": "example_only_not_a_live_call",
  "schema_version": "v1",
  "fetched_at": "2026-09-05T00:00:00Z",
  "status": "ok",
  "applied_params": {},
  "warnings": [],
  "items": [
    {
      "kind": "item",
      "id": "EXAMPLE_ITEM_ID",
      "author": {
        "name": "example_author"
      },
      "published_at": "2026-09-01T08:30:00Z",
      "metrics": {
        "likes": 412,
        "comments": 96
      },
      "title": "Illustrative post title",
      "text": "Illustrative excerpt, not real content."
    }
  ],
  "platform": "zhihu",
  "billing": {
    "cost": 0.2,
    "balance": 1.8,
    "unit": "credits",
    "pricing": "standard"
  }
}
```

## 平台限制

内容搜索可能返回问题、回答和文章，不支持按子类型筛选。原生只支持 relevance/all 排序和时间语义。

纯数字的详情 ID 视为回答 ID；问题和文章请使用标准链接。评论只支持回答。

创作者作品目前返回公开文章，不是完整的回答历史。

账号请使用 url_token 或标准主页链接。源页面大小不固定，请使用返回的 cursor 并查看 warnings。

[知乎全部接口 →](https://socialtoai.com/zh/platforms/zhihu/)
