Sand AISand AI MAGI-2MAGI-2 が SandBase に登場しました: ネイティブ音声付き 1080p 動画今すぐ試す

Zhihu Sub Comments

APIドキュメント
https://api.sandbase.ai/v1/api/zhihu/web/sub-comment-v5

Returns replies to a specific Zhihu comment. Supports pagination through limit and offset parameters alongside custom sorting options.

料金
$0.001USD / 回
メソッド
POST
レスポンス
JSON
パラメータ
必須 1 件 · 任意 3 件

プレイグラウンド

入力
Comment ID
Number of comments per page
Offset/Page Number
Sort
出力例
レスポンスoutputs · 15.2 KB · 461 行
[
  {
    "data": {
      "counts": {
        "total_counts": 9
      },
      "data": [
        {
          "_": null,
          "author": {
            "avatar_url": "https://picx.zhimg.com/v2-a920d6fdf8e27002e44e0367da7de141_l.jpg?source=06d4cd63",
            "avatar_url_template": "https://picx.zhimg.com/v2-a920d6fdf8e27002e44e0367da7de141_l.jpg?source=06d4cd63",
            "badge_v2": {
              "detail_badges": null,
              "merged_badges": null,
              "title": ""
            },
            "exposed_medal": {
              "avatar_url": "",
              "can_click": false,
              "description": "",
              "medal_avatar_frame": "",
              "medal_id": "",
              "medal_name": ""
            },
            "gender": 0,
            "headline": "",
            "id": "70263c589b6d93323c10910de02de88c",
            "is_advertiser": false,
            "is_anonymous": false,
            "is_org": false,
            "kvip_info": {
              "is_vip": false,
              "target_url": null
            },
            "level_info": null,
            "name": "同学你好阿",
            "ring_info": null,
            "type": "people",
            "url": "https://www.zhihu.com/api/v4/comment_v5/people/70263c589b6d93323c10910de02de88c",
            "url_token": "chen-tong-xue-43",
            "user_type": "people",
            "vip_info": {
              "is_vip": false,
              "target_url": null
            }
          },
          "author_tag": [],
          "can_author_top": false,
          "can_collapse": false,
          "can_delete": false,
          "can_dislike": true,
          "can_hot": false,
          "can_like": true,
          "can_more": true,
          "can_reply": true,
          "can_share": true,
          "can_truncate": false,
          "can_unfold": false,
          "child_comment_count": 0,
          "child_comment_next_offset": null,
          "child_comments": [],
          "collapsed": false,
          "comment_tag": [
            {
              "color": "#999999",
              "has_border": false,
              "night_color": "#999999",
              "text": "广东",
              "type": "ip_info"
            }
          ],
          "comment_type": 0,
          "content": "蚌埠住了 发现个乐乐[飙泪笑]",
          "content_tag": [],
          "created_time": 1790683178,
          "disclaimer_info": null,
          "dislike_count": 0,
          "disliked": false,
          "hot": false,
          "id": "11587165392",
          "is_author": false,
          "is_author_top": false,
          "is_delete": false,
          "is_gift": false,
          "is_visible_only_to_myself": false,
          "level_tag": 2,
          "like_count": 31,
          "liked": false,
          "member_id": 71563078,
          "reply_author_tag": [],
          "reply_comment_id": "11587136266",
          "reply_root_comment_id": "11586819658",
          "reply_to_author": {
            "avatar_url": "https://pic1.zhimg.com/v2-10b20470e80a6274affe25aeba407dce_l.jpg?source=06d4cd63",
            "avatar_url_template": "https://picx.zhimg.com/v2-10b20470e80a6274affe25aeba407dce_l.jpg?source=06d4cd63",
            "badge_v2": {
              "detail_badges": null,
              "merged_badges": null,
              "title": ""
            },
            "exposed_medal": {
              "avatar_url": "https://pic1.zhimg.com/v2-7565d834d652a9960da0cedd8d7952ee_r.jpg?source=06d4cd63",
              "can_click": true,
              "description": "被 100 个人关注",
              "medal_avatar_frame": "",
              "medal_id": "972477022068568064",
              "medal_name": "备受瞩目",
              "mini_avatar_url": "https://pic1.zhimg.com/v2-7565d834d652a9960da0cedd8d7952ee_r.jpg?source=06d4cd63"
            },
            "gender": 0,
            "headline": "供需",
            "id": "1c02017df9db841ddd0ac7f55dfa5ec2",
            "is_advertiser": false,
            "is_anonymous": false,
            "is_org": false,
            "kvip_info": {
              "is_vip": false,
              "target_url": null
            },
            "level_info": null,
            "name": "MODERN丶",
            "ring_info": null,
            "type": "people",
            "url": "https://www.zhihu.com/api/v4/comment_v5/people/1c02017df9db841ddd0ac7f55dfa5ec2",
            "url_token": "henry-54-78",
            "user_type": "people",
            "vip_info": {
              "is_vip": true,
              "target_url": null,
              "vip_icon": {
                "night_mode_url": "https://pic1.zhimg.com/v2-c9686ff064ea3579730756ac6c289978.jpg?source=88ceefae",
                "url": "https://picx.zhimg.com/v2-4812630bc27d642f7cafcd6cdeca3d7a.jpg?source=88ceefae"
              }
            }
          },
          "resource_type": "answer",
          "reviewing": false,
          "score": 0,
          "top": false,
          "type": "comment",
          "url": "https://www.zhihu.com/api/v4/comment_v5/comments/11587165392"
        },
        {
          "_": null,
          "author": {
            "avatar_url": "https://pic1.zhimg.com/v2-c7b310cf5fd3863f31c38e44bca4885c_l.jpg?source=06d4cd63",
            "avatar_url_template": "https://pic1.zhimg.com/v2-c7b310cf5fd3863f31c38e44bca4885c_l.jpg?source=06d4cd63",
            "badge_v2": {
              "detail_badges": null,
              "merged_badges": null,
              "title": ""
            },
            "exposed_medal": {
              "avatar_url": "",
              "can_click": false,
              "description": "",
              "medal_avatar_frame": "",
              "medal_id": "",
              "medal_name": ""
            },
            "gender": 0,
            "headline": "",
            "id": "bcdad20c8e2b7a21e7d44349dedd50f1",
            "is_advertiser": false,
            "is_anonymous": false,
            "is_org": false,
            "kvip_info": {
              "is_vip": false,
              "target_url": null
            },
            "level_info": null,
            "name": "小看山yb8y4rx",
            "ring_info": null,
            "type": "people",
            "url": "https://www.zhihu.com/api/v4/comment_v5/people/bcdad20c8e2b7a21e7d44349dedd50f1",
            "url_token": "yb8y4rx",
            "user_type": "people",
            "vip_info": {
              "is_vip": false,
              "target_url": null
            }
          },
          "author_tag": [],
          "can_author_top": false,
          "can_collapse": false,
          "can_delete": false,
          "can_dislike": true,
          "can_hot": false,
          "can_like": true,
          "can_more": true,
          "can_reply": true,
          "can_share": true,
          "can_truncate": false,
          "can_unfold": false,
          "child_comment_count": 0,
          "child_comment_next_offset": null,
          "child_comments": [],
          "collapsed": false,
          "comment_tag": [
            {
              "color": "#999999",
              "has_border": false,
              "night_color": "#999999",
              "text": "四川",
              "type": "ip_info"
            }
          ],
          "comment_type": 0,
          "content": "<p>感觉跟买手机一样,涨价再打折,和没有一样</p>",
          "content_tag": [],
          "created_time": 1790680647,
          "disclaimer_info": null,
          "dislike_count": 0,
          "disliked": false,
          "hot": false,
          "id": "11587164381",
          "is_author": false,
          "is_author_top": false,
          "is_delete": false,
          "is_gift": false,
          "is_visible_only_to_myself": false,
          "level_tag": 2,
          "like_count": 24,
          "liked": false,
          "member_id": 1348697378,
          "reply_author_tag": [],
          "reply_comment_id": "11586819658",
          "reply_root_comment_id": "11586819658",
          "resource_type": "answer",
          "reviewing": false,
          "score": 0,
          "top": false,
          "type": "comment",
          "url": "https://www.zhihu.com/api/v4/comment_v5/comments/11587164381"
        },
        {
          "_": null,
          "author": {
            "avatar_url": "https://picx.zhimg.com/v2-10b20470e80a6274affe25aeba407dce_l.jpg?source=06d4cd63",
            "avatar_url_template": "https://picx.zhimg.com/v2-10b20470e80a6274affe25aeba407dce_l.jpg?source=06d4cd63",
            "badge_v2": {
              "detail_badges": null,
              "merged_badges": null,
              "title": ""
            },
            "exposed_medal": {
              "avatar_url": "https://pica.zhimg.com/v2-7565d834d652a9960da0cedd8d7952ee_r.jpg?source=06d4cd63",
              "can_click": true,
              "description": "被 100 个人关注",
              "medal_avatar_frame": "",
              "medal_id": "972477022068568064",
              "medal_name": "备受瞩目",
              "mini_avatar_url": "https://pica.zhimg.com/v2-7565d834d652a9960da0cedd8d7952ee_r.jpg?source=06d4cd63"
            },
            "gender": 0,
            "headline": "供需",
            "id": "1c02017df9db841ddd0ac7f55dfa5ec2",
            "is_advertiser": false,
            "is_anonymous": false,
            "is_org": false,
            "kvip_info": {
              "is_vip": false,
              "target_url": null
            },
            "level_info": null,
            "name": "MODERN丶",
            "ring_info": null,
            "type": "people",
            "url": "https://www.zhihu.com/api/v4/comment_v5/people/1c02017df9db841ddd0ac7f55dfa5ec2",
            "url_token": "henry-54-78",
            "user_type": "people",
            "vip_info": {
              "is_vip": true,
              "target_url": null,
              "vip_icon": {
                "night_mode_url": "https://pic1.zhimg.com/v2-c9686ff064ea3579730756ac6c289978.jpg?source=88ceefae",
                "url": "https://picx.zhimg.com/v2-4812630bc27d642f7cafcd6cdeca3d7a.jpg?source=88ceefae"
              }
            }
          },
          "author_tag": [],
          "can_author_top": false,
          "can_collapse": false,
          "can_delete": false,
          "can_dislike": true,
          "can_hot": false,
          "can_like": true,
          "can_more": true,
          "can_reply": true,
          "can_share": true,
          "can_truncate": false,
          "can_unfold": false,
          "child_comment_count": 0,
          "child_comment_next_offset": null,
          "child_comments": [],
          "collapsed": false,
          "comment_tag": [
            {
              "color": "#999999",

例

例を選択すると、その入力と結果がプレイグラウンドに読み込まれます。

API README

Zhihu Sub Comments API

Fetch reply threads for a specific Zhihu comment by passing comment_id. You can configure sorting and pagination with order_by, limit, and offset.

Use cases

  • Read nested replies under a specific Zhihu comment.
  • Track discussion threads within popular discussion topics.
  • Collect detailed sub-comment interactions for sentiment analysis.

Request

curl -X POST "https://api.sandbase.ai/v1/api/zhihu/web/sub-comment-v5" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"comment_id": "<comment_id>"}'

Parameters

NameTypeRequiredDescription
comment_idstringYesComment ID
limitstringNoNumber of comments per page
offsetstringNoOffset/Page Number
order_bystringNoSort

Notes

  • comment_id is required to specify the parent comment.
  • Use limit and offset to manage pagination.
  • Use order_by to control the sort order of sub-comments.

Pricing

Flat price per call. Failed calls, including lookups whose target does not exist, are not charged.

さらに探索

関連 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

Zhihu Sub Comments API はどのように使いますか?

Authorization ヘッダー(Bearer)に SandBase API key を指定し、パラメータを JSON ボディで送信して https://api.sandbase.ai/v1/api/zhihu/web/sub-comment-v5 に POST リクエストを送ります。このページの Playground で、コードを書かずに試すこともできます。

Zhihu Sub Comments API の料金はいくらですか?

1回あたり $0.001、SandBase 残高から課金されます。課金対象はご利用分のみで、サブスクリプションはありません。

Zhihu Sub Comments API はどのパラメータを受け付けますか?

必須: comment_id (string)。 任意: limit (string), offset (string) と order_by (string)。 このページの Parameters テーブルと Playground に、すべてのフィールドが一覧表示されています。

Zhihu Sub Comments API は何を返しますか?

同じ HTTP リクエスト内で返される JSON レスポンスです(同期)。

Zhihu の開発者アカウントまたは API key は必要ですか?

いいえ。Zhihu Sub Comments は SandBase 経由で動作するため、SandBase の API key 1つでこのエンドポイントと、カタログ内の他のすべての API とモデルを利用できます。Zhihu の API アクセスを別途申請する必要はありません。