Sand AISand AI MAGI-2MAGI-2 hiện đã có trên SandBase: video 1080p với âm thanh gốcDùng thử ngay

Zhihu Sub Comments

Tài liệu 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.

Giá
$0.001USD / lượt gọi
Phương thức
POST
Phản hồi
JSON
Tham số
1 bắt buộc · 3 tùy chọn

Phòng thử nghiệm

Đầu vào
Comment ID
Number of comments per page
Offset/Page Number
Sort
Đầu raVí dụ
Phản hồioutputs · 15.2 KB · 461 dòng
[
  {
    "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",

Ví dụ

Chọn một ví dụ để nạp đầu vào và kết quả của nó vào playground.

README API

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.

Khám phá thêm

APIs liên quan

Tất cả APIs
APIGiáPhản hồi
Zhihu$0.001 mỗi lần gọiJSON
Zhihu$0.005 mỗi lần gọiJSON
Zhihu$0.001 mỗi lần gọiJSON
Zhihu$0.001 mỗi lần gọiJSON
Zhihu$0.001 mỗi lần gọiJSON
Zhihu$0.001 mỗi lần gọiJSON

Hướng dẫn:Best Zhihu API in 2026: Pricing Compared

Câu hỏi

FAQ

Làm thế nào để dùng API Zhihu Sub Comments?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/zhihu/web/sub-comment-v5 với khóa API SandBase của bạn trong tiêu đề Authorization (Bearer) và các tham số trong phần thân JSON. Bạn cũng có thể thử trực tiếp trong Playground trên trang này mà không cần viết code.

API Zhihu Sub Comments có giá bao nhiêu?

$0.001 mỗi lần gọi, được tính từ số dư SandBase của bạn. Bạn chỉ bị tính phí cho các lần gọi bạn thực hiện; không có gói đăng ký.

API Zhihu Sub Comments chấp nhận những tham số nào?

Bắt buộc: comment_id (string). Tùy chọn: limit (string), offset (string) và order_by (string). Bảng Parameters và Playground trên trang này liệt kê mọi trường.

API Zhihu Sub Comments trả về gì?

Phản hồi JSON được trả về trong cùng một yêu cầu HTTP (đồng bộ).

Tôi có cần tài khoản nhà phát triển hoặc API key của Zhihu không?

Không. Zhihu Sub Comments chạy thông qua SandBase, nên chỉ cần một API key SandBase là đủ cho endpoint này và mọi API cùng model khác trong danh mục. Bạn không cần đăng ký riêng để có quyền truy cập API của Zhihu.