Zhihu Sub Comments

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.

Price
$0.0015USD / callFirst 100 calls per day free (shared per organization)
Method
POST
Response
JSON
Parameters
1 required · 3 optional
Production route

Try the model

Playground

Open playground
Input
Comment ID
Number of comments per page
Offset/Page Number
Sort
OutputExample
Responseoutputs · 42.2 KB · 1,223 lines
[
  {
    "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",

Examples

Select an example to load its inputs and result into the playground.

Model card

Specifications

Pricing

Base price
$0.0015 / run
Daily free calls
First 100 calls per day free (shared per organization)

Request & response

Method
POST
Request body
application/json
Response
application/json
Execution
sync

Parameters

comment_id
string · required
limit
string · optional
offset
string · optional
order_by
string · optional

Access

Provider
Zhihu
API
Platform API
Base URL
https://api.sandbase.ai
Endpoint
/v1/api/zhihu/web/sub-comment-v5
Authentication
Bearer API key

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.

Related APIs

  • Zhihu AI Search Stream: Returns streaming AI search results from Zhihu based on a query prompt.
  • Zhihu Answer Details: Retrieves detailed information for a specific Zhihu answer using its numeric ID, including answer text, timestamps, and share links.
  • Zhihu Article Search: Search Zhihu articles and answers by keyword and get titles, excerpts, authors, vote and comment counts, with sorting, content type and time filters plus offse…

Start building

Send your first request

Platform API endpoint with unified authentication and usage tracking.

Production API
Platform API endpoint
https://api.sandbase.ai/v1/api/zhihu/web/sub-comment-v5
Authorization header
Authorization: Bearer $SANDBASE_API_KEY
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
  -X POST "https://api.sandbase.ai/v1/api/zhihu/web/sub-comment-v5" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  --data-binary @- <<'SANDBASE_JSON'
{
  "comment_id": "11586819658"
}
SANDBASE_JSON
)
printf '%s\n' "$result"

Explore more

Related APIs

All APIs
APIPriceResponseReleased
Zhihu$0.0015 per callJSONJul 31, 2026
Zhihu$0.0075 per callJSONJul 31, 2026
Zhihu$0.0015 per callJSONJul 31, 2026
Zhihu$0.0015 per callJSONJul 31, 2026
Zhihu$0.0015 per callJSONJul 31, 2026
Zhihu$0.0015 per callJSONJul 31, 2026

Questions

FAQ

How do I use the Zhihu Sub Comments API?

Send a POST request to https://api.sandbase.ai/v1/api/zhihu/web/sub-comment-v5 with your SandBase API key in the Authorization header (Bearer) and the parameters as a JSON body. You can also try it in the Playground on this page without writing code.

How much does the Zhihu Sub Comments API cost?

$0.0015 per call. Every organization gets 100 free calls per UTC day, shared across eligible SandBase APIs including this one; after that each call is billed at this price from your SandBase balance. There is no subscription.

What parameters does the Zhihu Sub Comments API accept?

Required: comment_id (string). Optional: limit (string), offset (string) and order_by (string). The Parameters table and the Playground on this page list every field.

What does the Zhihu Sub Comments API return?

A JSON response returned in the same HTTP request (synchronous).

Do I need a Zhihu developer account or API key?

No. Zhihu Sub Comments runs through SandBase, so one SandBase API key covers this endpoint and every other API and model in the catalog. You do not need to apply for Zhihu API access separately.