Sand AISand AI MAGI-2MAGI-2 ist jetzt auf SandBase: 1080p-Video mit nativem AudioJetzt testen

Zhihu Column Article Detail

API-Dokumentation
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.

Preis
$0.001USD / Aufruf
Methode
POST
Antwort
JSON
Parameter
1 erforderlich · 0 optional
100 kostenlose Aufrufe / TagDie ersten 100 Aufrufe pro Tag kostenlos (organisationsweit geteilt) · Zurücksetzung um 00:00 UTC. Danach Abrechnung pro Aufruf.

Playground

Eingabe
Article ID
AusgabeBeispiel
Antwortoutputs · 15.4 KB · 450 Zeilen
[
  {
    "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",

Beispiele

Wählen Sie ein Beispiel aus, um seine Eingaben und das Ergebnis in den Playground zu laden.

API-README

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.

Mehr entdecken

Verwandte APIs

Alle APIs
APIPreisAntwort
Zhihu$0.001 pro AufrufJSON
Zhihu$0.005 pro AufrufJSON
Zhihu$0.001 pro AufrufJSON
Zhihu$0.001 pro AufrufJSON
Zhihu$0.001 pro AufrufJSON
Zhihu$0.001 pro AufrufJSON

Anleitungen:Best Zhihu API in 2026: Pricing Compared

Fragen

FAQ

Wie verwende ich die Zhihu Column Article Detail API?

Senden Sie eine POST-Anfrage an https://api.sandbase.ai/v1/api/zhihu/web/column-article-detail mit Ihrem SandBase API-Schlüssel im Authorization-Header (Bearer) und den Parametern als JSON-Body. Sie können das auch ohne Code direkt auf dieser Seite im Playground testen.

Was kostet die Zhihu Column Article Detail API?

$0.001 pro Aufruf. Jede Organisation erhält 100 kostenlose Aufrufe pro UTC-Tag, gemeinsam über alle berechtigten SandBase APIs einschließlich dieser hier; danach wird jeder Aufruf zu diesem Preis von Ihrem SandBase-Guthaben abgerechnet. Es gibt kein Abo.

Welche Parameter akzeptiert die Zhihu Column Article Detail API?

Erforderlich: article_id (string). Die Parametertabelle und der Playground auf dieser Seite listen jedes Feld auf.

Was gibt die Zhihu Column Article Detail API zurück?

Eine JSON-Antwort, die in derselben HTTP-Anfrage zurückgegeben wird (synchron). Die README auf dieser Seite enthält eine Beispielantwort.

Benötige ich ein Zhihu-Entwicklerkonto oder einen API-Schlüssel?

Nein. Zhihu Column Article Detail läuft über SandBase, daher deckt ein SandBase API-Schlüssel diesen Endpunkt und jede andere API sowie jedes Modell im Katalog ab. Sie müssen keinen separaten Zugang für Zhihu API beantragen.