Sand AISand AI MAGI-2MAGI-2 ya está en SandBase: video en 1080p con audio nativoPruébalo ahora

Zhihu Sub Comments

Documentación de la 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.

Precio
$0.001USD / llamada
Método
POST
Respuesta
JSON
Parámetros
1 obligatorios · 3 opcionales

Entorno de pruebas

Entrada
Comment ID
Number of comments per page
Offset/Page Number
Sort
SalidaEjemplo
Respuestaoutputs · 15.2 KB · 461 líneas
[
  {
    "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",

Ejemplos

Seleccione un ejemplo para cargar sus entradas y el resultado en el playground.

README de la 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 más

APIs relacionadas

Todas las APIs
APIPrecioRespuesta
Zhihu$0.001 por llamadaJSON
Zhihu$0.005 por llamadaJSON
Zhihu$0.001 por llamadaJSON
Zhihu$0.001 por llamadaJSON
Zhihu$0.001 por llamadaJSON
Zhihu$0.001 por llamadaJSON

Guías:Best Zhihu API in 2026: Pricing Compared

Preguntas

FAQ

¿Cómo uso la API de Zhihu Sub Comments?

Envía una solicitud POST a https://api.sandbase.ai/v1/api/zhihu/web/sub-comment-v5 con tu clave API de SandBase en el encabezado Authorization (Bearer) y los parámetros como un cuerpo JSON. También puedes probarlo en el Playground de esta página sin escribir código.

¿Cuánto cuesta la API de Zhihu Sub Comments?

$0.001 por llamada, facturado desde tu saldo de SandBase. Solo se te cobra por las llamadas que haces; no hay suscripción.

¿Qué parámetros acepta la API de Zhihu Sub Comments?

Requeridos: comment_id (string). Opcionales: limit (string), offset (string) y order_by (string). La tabla de Parámetros y el Playground de esta página enumeran todos los campos.

¿Qué devuelve la API de Zhihu Sub Comments?

Una respuesta JSON devuelta en la misma solicitud HTTP (sincrónica).

¿Necesito una cuenta de desarrollador o una clave API de Zhihu?

No. Zhihu Sub Comments funciona a través de SandBase, así que una sola clave API de SandBase cubre este endpoint y todas las demás APIs y modelos del catálogo. No necesitas solicitar acceso a la API de Zhihu por separado.