Sand AISand AI MAGI-2MAGI-2 теперь на SandBase: видео 1080p с нативным звукомПопробовать сейчас

Zhihu Column Article Detail

Документация API
https://api.sandbase.ai/v1/api/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.

Цена
$0.001USD / вызов
Метод
POST
Ответ
JSON
Параметры
1 обязательных · 0 необязательных
100 бесплатных вызовов в деньПервые 100 вызовов в день — бесплатно (общий лимит для организации) · Сброс в 00:00 UTC. Далее оплата за каждый вызов.

Песочница

Ввод
Article ID
ВыходПример
Ответoutputs · 15.4 KB · 450 строк
[
  {
    "data": {
      "ab_param": {
        "qa_hidden_voteup": "",
        "rs_interest1": "",
        "zp_zhi_style": ""
      },
      "activity_topping_info": {
        "state": "untopped"
      },
      "admin_closed_comment": false,
      "allow_segment_interaction": 1,
      "annotation_action": [],
      "article_type": "normal",
      "attached_info": "kgIkCgkyMzY4NDQ3NTUSCTY2OTIxNDY3NxgHIgpJTUFHRV9URVhU",
      "author": {
        "avatar_url": "https://picx.zhimg.com/v2-d626957872f9b38fa594394db2d2e6e7_l.jpg?source=172ae18b",
        "avatar_url_template": "https://pic1.zhimg.com/v2-d626957872f9b38fa594394db2d2e6e7.jpg?source=172ae18b",
        "badge": [
          {
            "description": "优秀答主",
            "topics": [
              {
                "id": "19609249",
                "name": "网球",
                "type": "topic",
                "url": "https://www.zhihu.com/topic/19609249"
              },
              {
                "id": "19556423",
                "name": "文学",
                "type": "topic",
                "url": "https://www.zhihu.com/topic/19556423"
              },
              {
                "id": "19557725",
                "name": "绘画",
                "type": "topic",
                "url": "https://www.zhihu.com/topic/19557725"
              },
              "… 6 more items in the full response"
            ],
            "type": "best_answerer"
          }
        ],
        "badge_v2": {
          "detail_badges": [
            {
              "badge_status": "passed",
              "description": "新知答主",
              "detail_type": "zhihu_yearly_answerer",
              "icon": "https://picx.zhimg.com/v2-4a07bc69c4bb04444721f35b32125c75_l.png?source=32738c0c",
              "night_icon": "https://pic1.zhimg.com/v2-4a07bc69c4bb04444721f35b32125c75_l.png?source=32738c0c",
              "sources": [
                {
                  "avatar_path": "",
                  "avatar_url": "",
                  "description": "",
                  "id": "2023",
                  "name": "",
                  "priority": 2023,
                  "token": "",
                  "type": "year",
                  "url": ""
                }
              ],
              "title": "年度新知答主",
              "type": "reward",
              "url": "https://www.zhihu.com/question/510340037"
            },
            {
              "badge_status": "passed",
              "description": "新知答主",
              "detail_type": "zhihu_yearly_answerer",
              "icon": "https://picx.zhimg.com/v2-4a07bc69c4bb04444721f35b32125c75_l.png?source=32738c0c",
              "night_icon": "https://pica.zhimg.com/v2-4a07bc69c4bb04444721f35b32125c75_l.png?source=32738c0c",
              "sources": [
                {
                  "avatar_path": "",
                  "avatar_url": "",
                  "description": "",
                  "id": "2021",
                  "name": "",
                  "priority": 2021,
                  "token": "",
                  "type": "year",
                  "url": ""
                }
              ],
              "title": "年度新知答主",
              "type": "reward",
              "url": "https://www.zhihu.com/question/510340037"
            },
            {
              "badge_status": "passed",
              "description": "新知答主",
              "detail_type": "zhihu_10years_answerer",
              "icon": "https://pic1.zhimg.com/v2-4a07bc69c4bb04444721f35b32125c75_l.png?source=32738c0c",
              "night_icon": "https://pic1.zhimg.com/v2-4a07bc69c4bb04444721f35b32125c75_l.png?source=32738c0c",
              "sources": [],
              "title": "新知答主",
              "type": "reward",
              "url": "https://zhuanlan.zhihu.com/p/344234033"
            },
            "… 3 more items in the full response"
          ],
          "icon": "https://picx.zhimg.com/v2-4a07bc69c4bb04444721f35b32125c75_l.png?source=32738c0c",
          "merged_badges": [
            {
              "badge_status": "passed",
              "description": "新知答主",
              "detail_type": "best",
              "icon": "",
              "night_icon": "",
              "sources": [],
              "title": "年度新知答主",
              "type": "best",
              "url": "https://www.zhihu.com/question/510340037"
            }
          ],
          "night_icon": "https://pic1.zhimg.com/v2-4a07bc69c4bb04444721f35b32125c75_l.png?source=32738c0c",
          "title": "新知答主"
        },
        "description": "",
        "exposed_medal": {
          "avatar_url": "https://pic1.zhimg.com/v2-05b349562f395a352a39342dccbe834f_r.png?source=172ae18b",
          "description": "2023 年度新知答主获得者",
          "medal_avatar_frame": "",
          "medal_id": "1750529444194553856",
          "medal_name": "2023 年度新知答主",
          "mini_avatar_url": "https://picx.zhimg.com/v2-05b349562f395a352a39342dccbe834f_l.png?source=172ae18b"
        },
        "gender": 1,
        "headline": "",
        "id": "f9de84865e3e8455a09af78bfe4d1da5",
        "is_advertiser": false,
        "is_followed": false,
        "is_following": false,
        "is_org": false,
        "name": "张佳玮",
        "type": "people",
        "uid": "26731574460416",
        "url": "https://api.zhihu.com/people/f9de84865e3e8455a09af78bfe4d1da5",
        "url_token": "zhang-jia-wei",
        "user_type": "people"
      },
      "bar_plugins_flip_time": 3000,
      "can_comment": {
        "reason": "因作者设置,评论已关闭",
        "status": false
      },
      "can_reference": false,
      "can_tip": false,
      "column": {
        "accept_submission": true,
        "articles_count": 1541,
        "author": {
          "avatar_url": "https://picx.zhimg.com/v2-d626957872f9b38fa594394db2d2e6e7_l.jpg?source=172ae18b",
          "avatar_url_template": "https://pic1.zhimg.com/v2-d626957872f9b38fa594394db2d2e6e7.jpg?source=172ae18b",
          "badge_v2": {
            "detail_badges": [],
            "icon": "",
            "merged_badges": [],
            "night_icon": "",
            "title": ""
          },
          "description": "",
          "gender": 1,
          "headline": "",
          "id": "f9de84865e3e8455a09af78bfe4d1da5",
          "is_advertiser": false,
          "is_followed": false,
          "is_following": false,
          "is_org": false,
          "name": "张佳玮",
          "type": "people",
          "uid": "26731574460416",
          "url": "https://api.zhihu.com/people/f9de84865e3e8455a09af78bfe4d1da5",
          "url_token": "zhang-jia-wei",
          "user_type": "people"
        },
        "can_manage": false,
        "column_type": "normal",
        "comment_permission": "all",
        "created": 1375082249,
        "description": "",
        "followers": 266578,
        "id": "zhangjiawei",
        "image_url": "https://picx.zhimg.com/b69d8ce81_720w.jpg?source=172ae18b",
        "intro": "",
        "is_following": false,
        "title": "张佳玮写字的地方",
        "type": "column",
        "updated": 1590739841,
        "url": "https://api.zhihu.com/columns/zhangjiawei",
        "url_token": "zhangjiawei"
      },
      "comment_count": 13,
      "comment_permission": "nobody",
      "commercial_info": {
        "is_commercial": false,
        "plugin": {}
      },
      "content": "<p data-pid=\"rydgyn6J\">上世纪最繁华时代的日本,如何将年轻人赶回老家呢?</p><p class=\"ztext-empty-paragraph\"><br/></p><p data-pid=\"68P6bwqf\">话说,有个地产老板。</p><p data-pid=\"XHI-eWmZ\">他指着窗外1980年代的东京,说这是地产的黄金时代,要淘汰旧的,开辟新的。</p><p data-pid=\"ydUzVnL2\">什么个流程呢?</p><p class=\"ztext-empty-paragraph\"><br/></p><p data-pid=\"NltHnxcp\">地价飞涨,物价飞涨,旧楼收不到高房租,租客数量也日益减少:是旧楼主付不起税,被迫卖掉,搬去郊外,甚至回了老家。</p><p data-pid=\"Pt-ughEe\">新开发商买了地,甚至屯了地,盖新房,标高价,随心所欲:买不起也租不起新房的年轻人,也只好回老家去了。</p><p class=\"ztext-empty-paragraph\"><br/></p><p data-pid=\"vkGQ6pBI\">当然咯,这些老板也不是凭空能呼风唤雨。他们有向下的一手,和向上的一手。</p><p data-pid=\"Drorfr79\">向上的一手,是成立幽灵公司,向上头输送利益:上头当然也会还给他们利益。</p><p da…",
      "content_need_truncated": false,
      "contributions": [
        {
          "column": {
            "accept_submission": true,
            "articles_count": 1541,
            "author": {
              "avatar_url": "https://picx.zhimg.com/v2-d626957872f9b38fa594394db2d2e6e7_l.jpg?source=172ae18b",
              "avatar_url_template": "https://pic1.zhimg.com/v2-d626957872f9b38fa594394db2d2e6e7.jpg?source=172ae18b",
              "badge_v2": {
                "detail_badges": [],
                "icon": "",
                "merged_badges": [],
                "night_icon": "",
                "title": ""
              },
              "description": "",
              "gender": 1,
              "headline": "",
              "id": "f9de84865e3e8455a09af78bfe4d1da5",
              "is_advertiser": false,
              "is_followed": false,
              "is_following": false,
              "is_org": false,
              "name": "张佳玮",
              "type": "people",
              "uid": "26731574460416",
              "url": "https://api.zhihu.com/people/f9de84865e3e8455a09af78bfe4d1da5",
              "url_token": "zhang-jia-wei",
              "user_type": "people"
            },
            "can_manage": false,
            "column_type": "normal",
            "comment_permission": "all",
            "created": 1375082249,
            "description": "",
            "followers": 266578,
            "id": "zhangjiawei",
            "image_url": "https://picx.zhimg.com/b69d8ce81_720w.jpg?source=172ae18b",
            "intro": "",
            "is_following": false,
            "title": "张佳玮写字的地方",
            "type": "column",
            "updated": 1590739841,
            "url": "https://api.zhihu.com/columns/zhangjiawei",
            "url_token": "zhangjiawei"
          },
          "id": 47202281,
          "state": "accepted",
          "type": "first_publish"
        }
      ],
      "copyright_permission": "need_review",
      "created": 1701146885,
      "emoji_reaction": {
        "like_count": 44,
        "like_has_set": false
      },
      "endorsements": [
        {
          "action_url": "https://www.zhihu.com/column/zhangjiawei",
          "background_color": {
            "alpha": 0.08,
            "group": "GBL01A"
          },
          "elements": [
            {
              "height": 16,
              "image_color": {
                "alpha": 1,
                "group": "GBL01A"
              },
              "image_key": "zhicon_icon_24_column_fill",
              "type": "IMAGE",
              "width": 16
            },
            {
              "content": "收录于 · 张佳玮写字的地方",
              "font_color": {
                "alpha": 1,
                "group": "GBL01A"
              },
              "font_size": 13,
              "is_bold": false,
              "max_line": 1,
              "type": "TEXT"
            },
            {
              "height": 12,
              "image_color": {
                "alpha": 1,
                "group": "GBL01A"
              },
              "image_key": "zhicon_icon_16_arrow_right",
              "type": "IMAGE",

Примеры

Выберите пример, чтобы загрузить его входные данные и результат в playground.

README по API

Zhihu Column Article Detail API

Returns the details of one Zhihu column article, including its HTML content, engagement counts, author profile and the column it belongs to. It needs one input, the article_id.

Use cases

  • Archive the full HTML body and publish time of a known column article.
  • Read an article's emoji_reaction.like_count, comment_count and favlists_count to compare its engagement with other posts.
  • Collect author details such as author.url_token and expertise badges for a column writer.
  • Find which column an article belongs to and how large that column is.

Request

curl -X POST "https://api.sandbase.ai/v1/api/zhihu/web/column-article-detail" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"article_id": "669214677"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
article_idstringYesArticle ID

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "ab_param": {
    "qa_hidden_voteup": "",
    "rs_interest1": "",
    "zp_zhi_style": ""
  },
  "activity_topping_info": {
    "state": "untopped"
  },
  "admin_closed_comment": false,
  "allow_segment_interaction": 1,
  "annotation_action": [],
  "article_type": "normal",
  "attached_info": "kgIkCgkyMzY4NDQ3NTUSCTY2OTIxNDY3NxgHIgpJTUFHRV9URVhU",
  "author": {
    "avatar_url": "https://picx.zhimg.com/v2-d626957872f9b38fa594394db2d2e6e7_l.jpg?source=172ae18b",
    "avatar_url_template": "https://picx.zhimg.com/v2-d626957872f9b38fa594394db2d2e6e7.jpg?source=172ae18b",
    "badge": [
      {
        "description": "优秀答主",
        "topics": [
          {
            "id": "19609249",
            "name": "网球",
            "type": "topic",
            "url": "https://www.zhihu.com/topic/19609249"
          }
        ],
        "type": "best_answerer"
      }
    ],
    "badge_v2": {
      "detail_badges": [
        {
          "badge_status": "passed",
          "description": "新知答主",
          "detail_type": "zhihu_yearly_answerer",
          "icon": "https://picx.zhimg.com/v2-4a07bc69c4bb04444721f35b32125c75_l.png?source=32738c0c",
          "night_icon": "https://picx.zhimg.com/v2-4a07bc69c4bb04444721f35b32125c75_l.png?source=32738c0c",
          "sources": [
            {
              "avatar_path": "",
              "avatar_url": "",
              "description": "",
              "id": "2023",
              "name": "",
              "priority": 2023,
              "token": "",
              "type": "year"
            }
          ],
          "title": "年度新知答主",
          "type": "reward"
        }
      ],
      "icon": "https://picx.zhimg.com/v2-4a07bc69c4bb04444721f35b32125c75_l.png?source=32738c0c",
      "merged_badges": [
        {
          "badge_status": "passed",
          "description": "新知答主",
          "detail_type": "best",
          "icon": "",
          "night_icon": "",
          "sources": [],
          "title": "年度新知答主",
          "type": "best"
        }
      ],
      "night_icon": "https://picx.zhimg.com/v2-4a07bc69c4bb04444721f35b32125c75_l.png?source=32738c0c",
      "title": "新知答主"
    },
    "description": "",
    "exposed_medal": {
      "avatar_url": "https://pic1.zhimg.com/v2-05b349562f395a352a39342dccbe834f_r.png?source=172ae18b",
      "description": "2023 年度新知答主获得者",
      "medal_avatar_frame": "",
      "medal_id": "1750529444194553856",
      "medal_name": "2023 年度新知答主",
      "mini_avatar_url": "https://pic1.zhimg.com/v2-05b349562f395a352a39342dccbe834f_l.png?source=172ae18b"
    },
    "gender": 1,
    "headline": "",
    "id": "f9de84865e3e8455a09af78bfe4d1da5",
    "is_advertiser": false,
    "is_followed": false,
    "is_following": false
  },
  "bar_plugins_flip_time": 3000,
  "can_comment": {
    "reason": "因作者设置,评论已关闭",
    "status": false
  },
  "can_reference": false,
  "can_tip": false
}

Response fields

FieldMeaning
id / article_typeThe article ID (same as the article_id you sent) and the article type, normal in this example.
content / excerptcontent holds the article body as HTML. excerpt is a shorter HTML preview that may start with an image tag.
createdCreation time of the article as a Unix timestamp in seconds.
emoji_reaction.like_countNumber of likes on the article.
comment_count / favlists_countNumber of comments on the article and the number of favorite lists that saved it.
can_comment.status / can_comment.reasonWhether commenting is allowed. When it is false, reason explains why, for example the author closed comments.
ip_infoLocation label shown for the article, 江苏 in this example.
author.name / author.url_token / author.idThe author's display name, URL slug and ID.
author.badge[].topics[].nameTopics tied to the author's best answerer badge, for example 网球, 文学 and 绘画.
column.title / column.articles_count / column.followersThe column's title, how many articles it holds and how many followers it has.

Notes

  • article_id is the numeric string in the article ID field of the response, such as 669214677.
  • column.url_token and column.id give the column's identifier. Use Zhihu Column Articles to list other articles in a column.
  • created and column.created are Unix timestamps in seconds.
  • author.url_token can be used to look up the writer with Zhihu Web User Profile.

Pricing

$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

Посмотреть больше

Связанные APIs

Все APIs
APIЦенаОтвет
Zhihu$0.001 за запросJSON
Zhihu$0.005 за запросJSON
Zhihu$0.001 за запросJSON
Zhihu$0.001 за запросJSON
Zhihu$0.001 за запросJSON
Zhihu$0.001 за запросJSON

Руководства:Best Zhihu API in 2026: Pricing Compared

Вопросы

FAQ

Как использовать API Zhihu Column Article Detail?

Отправьте POST-запрос на https://api.sandbase.ai/v1/api/zhihu/web/column-article-detail, указав ключ SandBase API в заголовке Authorization (Bearer), а параметры — в теле JSON. Вы также можете попробовать это в Playground на этой странице без написания кода.

Сколько стоит API Zhihu Column Article Detail?

$0.001 за вызов. Каждой организации предоставляется 100 бесплатных вызовов в сутки по UTC, общих для всех подходящих API SandBase, включая этот; после этого каждый вызов тарифицируется по этой цене и списывается с баланса SandBase. Подписка не требуется.

Какие параметры принимает API Zhihu Column Article Detail?

Обязательные: article_id (string). В таблице Parameters и в Playground на этой странице перечислены все поля.

Что возвращает API Zhihu Column Article Detail?

JSON-ответ, возвращаемый в том же HTTP-запросе (синхронно). В README на этой странице приведен пример ответа.

Нужен ли мне аккаунт разработчика Zhihu или API key?

Нет. Zhihu Column Article Detail работает через SandBase, поэтому один API key SandBase покрывает этот endpoint и все остальные API и модели в каталоге. Вам не нужно отдельно запрашивать доступ к API Zhihu.