Sand AISand AI MAGI-2MAGI-2 agora está na SandBase: vídeo em 1080p com áudio nativoExperimente agora

Zhihu Sub Comments

Docs da 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.

Preço
$0.001USD / chamada
Método
POST
Resposta
JSON
Parâmetros
1 obrigatórios · 3 opcionais

Playground

Entrada
Comment ID
Number of comments per page
Offset/Page Number
Sort
SaídaExemplo
Respostaoutputs · 15.2 KB · 461 linhas
[
  {
    "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",

Exemplos

Selecione um exemplo para carregar as entradas e o resultado no playground.

README da 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.

Explorar mais

APIs relacionadas

Todas as APIs
APIPreçoResposta
Zhihu$0.001 por chamadaJSON
Zhihu$0.005 por chamadaJSON
Zhihu$0.001 por chamadaJSON
Zhihu$0.001 por chamadaJSON
Zhihu$0.001 por chamadaJSON
Zhihu$0.001 por chamadaJSON

Guias:Best Zhihu API in 2026: Pricing Compared

Perguntas

FAQ

Como eu uso a API Zhihu Sub Comments?

Envie uma solicitação POST para https://api.sandbase.ai/v1/api/zhihu/web/sub-comment-v5 com sua chave de API da SandBase no cabeçalho Authorization (Bearer) e os parâmetros no corpo JSON. Você também pode testar no Playground desta página sem escrever código.

Quanto custa a API Zhihu Sub Comments?

$0.001 por chamada, cobrado do seu saldo SandBase. Você paga apenas pelas chamadas que fizer; não há assinatura.

Quais parâmetros a API Zhihu Sub Comments aceita?

Obrigatórios: comment_id (string). Opcionais: limit (string), offset (string) e order_by (string). A tabela de Parâmetros e o Playground nesta página listam todos os campos.

O que a API Zhihu Sub Comments retorna?

Uma resposta JSON retornada na mesma solicitação HTTP (síncrona).

Preciso de uma conta de desenvolvedor Zhihu ou de uma chave de API?

Não. Zhihu Sub Comments funciona via SandBase, então uma única chave de API da SandBase cobre este endpoint e todas as outras APIs e modelos do catálogo. Você não precisa solicitar acesso à API do Zhihu separadamente.