answer_idstringобязательно
Answer ID
https://api.sandbase.ai/v1/api/zhihu/web/comment-v5Get the comments on a Zhihu answer: comment text, author, time, like and reply counts, with sorting and pagination.
[
{
"data": {
"ad_plugin_infos": [],
"atmosphere_voting_config": {
"daily_frequency": 1,
"detail": [
{
"emoji_level": "dissatisfied",
"normal_icon": "https://picx.zhimg.com/v2-1d5d094f0cd71f7da08e7e54d037c0b5.png",
"selected_icon": "https://picx.zhimg.com/v2-9af3c8aa46b63f2f840138b0ee6b0a99.png",
"title": "不满"
},
{
"emoji_level": "fair",
"normal_icon": "https://pica.zhimg.com/v2-706985b9364429bc4842b1027a8217ed.png",
"selected_icon": "https://picx.zhimg.com/v2-1e8b3f0e735d3f2a98d4b43bfe793118.png",
"title": "一般"
},
{
"emoji_level": "satisfied",
"normal_icon": "https://pic1.zhimg.com/v2-b376d3b93058da535fbd47a79eb37d14.png",
"selected_icon": "https://pic1.zhimg.com/v2-626660f8a645e0a9af99e6b2ab7a1d44.png",
"title": "满意"
}
],
"frequency_interval": 3,
"location": 3,
"min_num_of_root_comment": 10,
"title": "你对该内容下的评论氛围是否满意?"
},
"comment_status": {
"induce_text": "",
"text": "",
"type": 0
},
"counts": {
"collapsed_counts": 0,
"reviewing_counts": 0,
"segment_comment_counts": 0,
"total_counts": 241
},
"data": [
{
"_": null,
"author": {
"avatar_url": "https://pic1.zhimg.com/v2-27bc715d780ecfc2402e01ada9c0e98f_l.jpg?source=06d4cd63",
"avatar_url_template": "https://pic1.zhimg.com/v2-27bc715d780ecfc2402e01ada9c0e98f_l.jpg?source=06d4cd63",
"badge_v2": {
"detail_badges": null,
"merged_badges": null,
"title": ""
},
"exposed_medal": {
"avatar_url": "https://pic1.zhimg.com/v2-0cbfd5688630e180e5732c71b9935608_r.jpg?source=06d4cd63",
"can_click": true,
"description": "赞同 30 次",
"medal_avatar_frame": "",
"medal_id": "972460827463282688",
"medal_name": "表示赞同",
"mini_avatar_url": "https://pic1.zhimg.com/v2-0cbfd5688630e180e5732c71b9935608_r.jpg?source=06d4cd63"
},
"gender": 1,
"headline": "",
"id": "318f3f9198703cf6aff20e05b75ca635",
"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/318f3f9198703cf6aff20e05b75ca635",
"url_token": "ma-nong-yi-mei-76",
"user_type": "people",
"vip_info": {
"is_vip": true,
"target_url": null,
"vip_icon": {
"night_mode_url": "https://picx.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": 60,
"child_comment_next_offset": "1775451613_11455252749_0",
"child_comments": [
{
"_": null,
"author": {
"avatar_url": "https://pic1.zhimg.com/1b215b61f_l.jpg?source=06d4cd63",
"avatar_url_template": "https://pica.zhimg.com/1b215b61f_l.jpg?source=06d4cd63",
"badge_v2": {
"detail_badges": null,
"merged_badges": null,
"title": ""
},
"exposed_medal": {
"avatar_url": "https://picx.zhimg.com/v2-eb56655cce39587eedeacb2824f6a116_r.jpg?source=06d4cd63",
"can_click": true,
"description": "获得 50 个赞同",
"medal_avatar_frame": "",
"medal_id": "972475023013875712",
"medal_name": "有口皆碑",
"mini_avatar_url": "https://picx.zhimg.com/v2-eb56655cce39587eedeacb2824f6a116_r.jpg?source=06d4cd63"
},
"gender": 2,
"headline": "初次见面的感觉",
"id": "4af6cd69234d800fdc8b3158746931ea",
"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/4af6cd69234d800fdc8b3158746931ea",
"url_token": "zhou-yu-meng-45",
"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,
"collapsed": false,
"comment_tag": [
{
"color": "#999999",
"has_border": false,
"night_color": "#999999",
"text": "四川",
"type": "ip_info"
}
],
"comment_type": 0,
"content": "人和人的理解力差距已经很大了,你和爱因斯坦、钱学森比这里面的鸿沟差不多跟跨物种没什么区别。至于你感觉大模型算不算理解,就看你定义智能是什么了。很遗憾按主流的定义,和大众的期望它远远达不到。",
"content_tag": [],
"created_time": 1775410085,
"disclaimer_info": null,
"dislike_count": 0,
"disliked": false,
"hot": false,
"id": "11455071967",
"is_author": false,
"is_author_top": false,
"is_delete": false,
"is_gift": false,
"is_visible_only_to_myself": false,
"level_tag": 3,
"like_count": 90,
"liked": false,
"member_id": 4728658,
"reply_author_tag": [],
"reply_comment_id": "11454716173",
"reply_root_comment_id": "11454716173",
"resource_type": "answer",
"reviewing": false,
"score": 0,
"top": false,
"type": "comment",
"url": "https://www.zhihu.com/api/v4/comment_v5/comments/11455071967"
},
{
"_": null,
"author": {
"avatar_url": "https://picx.zhimg.com/v2-e9a2b85a0e23effcb5c54feb44bcd351_l.jpg?source=06d4cd63",
"avatar_url_template": "https://picx.zhimg.com/v2-e9a2b85a0e23effcb5c54feb44bcd351_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": 2,
"headline": "",
"id": "e00d5ae52b341e835bc07681c722f5ec",
"is_advertiser": false,
"is_anonymous": false,
"is_org": false,
"kvip_info": {
"is_vip": false,
"target_url": null
},
"level_info": null,
"name": "j10jkol",
"ring_info": null,
"type": "people",
"url": "https://www.zhihu.com/api/v4/comment_v5/people/e00d5ae52b341e835bc07681c722f5ec",
"url_token": "yin-dan-6-67",
"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,
"collapsed": false,
"comment_tag": [
{
"color": "#999999",
"has_border": false,
"night_color": "#999999",
"text": "浙江",
"type": "ip_info"
}
],
"comment_type": 0,
"content": "开始自定义理解了[大笑]",
"content_tag": [],
"created_time": 1775451613,
"disclaimer_info": null,
"dislike_count": 1,
"disliked": false,
"hot": false,
"id": "11455252749",
"is_author": false,
"is_author_top": false,
"is_delete": false,
"is_gift": false,
"is_visible_only_to_myself": false,
"level_tag": 2,
"like_count": 42,
"liked": false,
"member_id": 16530177,
"reply_author_tag": [],
"reply_comment_id": "11454716173",
"reply_root_comment_id": "11454716173",
"resource_type": "answer",
"reviewing": false,
"score": 0,
"top": false,
"type": "comment",
"url": "https://www.zhihu.com/api/v4/comment_v5/comments/11455252749"
}
],
"collapsed": false,
"comment_tag": [
{
"color": "#999999",
"has_border": false,
"night_color": "#999999",
"text": "上海",
"type": "ip_info"
}
],
"comment_type": 0,Выберите пример, чтобы загрузить его входные данные и результат в playground.
Returns the top-level comments on a Zhihu answer, each with its text, author, creation time, like and dislike counts, and a few preview replies. It needs an answer_id. Paging and sort order are optional.
counts.total_counts over time.curl -X POST "https://api.sandbase.ai/v1/api/zhihu/web/comment-v5" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"answer_id": "2023560406912770519"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
answer_id | string | Yes | Answer ID |
limit | string | No | Number of comments per page |
offset | string | No | Offset/Page Number |
order_by | string | No | Sort |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"ad_plugin_infos": [],
"atmosphere_voting_config": {
"daily_frequency": 1,
"detail": [
{
"emoji_level": "dissatisfied",
"normal_icon": "https://picx.zhimg.com/v2-1d5d094f0cd71f7da08e7e54d037c0b5.png",
"selected_icon": "https://picx.zhimg.com/v2-9af3c8aa46b63f2f840138b0ee6b0a99.png",
"title": "不满"
}
],
"frequency_interval": 3,
"location": 3,
"min_num_of_root_comment": 10,
"title": "你对该内容下的评论氛围是否满意?"
},
"comment_status": {
"induce_text": "",
"text": "",
"type": 0
},
"counts": {
"collapsed_counts": 0,
"reviewing_counts": 0,
"segment_comment_counts": 0,
"total_counts": 269
},
"data": [
{
"_": null,
"author": {
"avatar_url": "https://picx.zhimg.com/v2-27bc715d780ecfc2402e01ada9c0e98f_l.jpg?source=06d4cd63",
"avatar_url_template": "https://pic1.zhimg.com/v2-27bc715d780ecfc2402e01ada9c0e98f_l.jpg?source=06d4cd63",
"badge_v2": {
"detail_badges": null,
"merged_badges": null,
"title": ""
},
"exposed_medal": {
"avatar_url": "https://pica.zhimg.com/v2-0cbfd5688630e180e5732c71b9935608_r.jpg?source=06d4cd63",
"can_click": true,
"description": "赞同 30 次",
"medal_avatar_frame": "",
"medal_id": "972460827463282688",
"medal_name": "表示赞同",
"mini_avatar_url": "https://pica.zhimg.com/v2-0cbfd5688630e180e5732c71b9935608_r.jpg?source=06d4cd63"
},
"gender": 1,
"headline": "",
"id": "318f3f9198703cf6aff20e05b75ca635",
"is_advertiser": false
},
"author_tag": [],
"can_annotation": false,
"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
}
],
"edit_status": {
"can_reply": true,
"toast": "彼此欣赏让讨论更加充实"
},
"header": [],
"is_content_author": false,
"is_content_rewardable": true,
"paging": {
"is_end": false,
"is_start": true,
"next": "https://www.zhihu.com/api/v4/comment_v5/answers/2023560406912770519/root_comment…",
"previous": "https://www.zhihu.com/api/v4/comment_v5/answers/2023560406912770519/root_comment…",
"totals": 269
},
"sorter": [
{
"text": "默认",
"type": "score"
}
]
}
| Field | Meaning |
|---|---|
counts.total_counts | Total number of comments on the answer. |
data[].id | ID of the comment, as a string. |
data[].content | Comment text. Some comments contain HTML such as <p> and <a> tags. |
data[].created_time | Time the comment was created, as a Unix timestamp in seconds. |
data[].like_count / dislike_count | Number of likes and dislikes on the comment. |
data[].child_comment_count | Number of replies under the comment. |
data[].child_comments[] | A short preview of replies to the comment. Each item has the same shape as a top-level comment. |
data[].child_comment_next_offset | Cursor value for the next page of replies to this comment. |
data[].author.id / author.headline | ID and profile headline of the comment author. |
data[].comment_tag[].text | Tag shown on the comment. Tags with type set to ip_info hold a place name such as 上海. |
paging.is_end | false when more pages of comments are available. |
answer_id from a Zhihu answer URL, or from Zhihu Question Answers.limit and offset to page through comments. paging.is_end shows whether you have reached the last page.$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
Начните разработку
Конечная точка платформенного API с единообразной аутентификацией и учётом использования.
curl -X POST "https://api.sandbase.ai/v1/api/zhihu/web/comment-v5" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"answer_id": "2023560406912770519"
}'Укажите свой ключ SandBase API в окружении сервера. Запросы используют аутентификацию Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Храните ключ на сервере. Не раскрывайте его в коде браузера.
answer_idstringобязательноAnswer ID
limitstringNumber of comments per page
offsetstringOffset/Page Number
order_bystringSort
Сохранённый пример ответа для этого API; при просмотре живой запрос не выполняется.
[
{
"data": {
"ad_plugin_infos": [],
"atmosphere_voting_config": {
"daily_frequency": 1,
"detail": [
{
"emoji_level": "dissatisfied",
"normal_icon": "https://picx.zhimg.com/v2-1d5d094f0cd71f7da08e7e54d037c0b5.png",
"selected_icon": "https://picx.zhimg.com/v2-9af3c8aa46b63f2f840138b0ee6b0a99.png",
"title": "不满"
},
{
"emoji_level": "fair",
"normal_icon": "https://pica.zhimg.com/v2-706985b9364429bc4842b1027a8217ed.png",
"selected_icon": "https://picx.zhimg.com/v2-1e8b3f0e735d3f2a98d4b43bfe793118.png",
"title": "一般"
},
{
"emoji_level": "satisfied",
"normal_icon": "https://pic1.zhimg.com/v2-b376d3b93058da535fbd47a79eb37d14.png",
"selected_icon": "https://pic1.zhimg.com/v2-626660f8a645e0a9af99e6b2ab7a1d44.png",
"title": "满意"
}
],
"frequency_interval": 3,
"location": 3,
"min_num_of_root_comment": 10,
"title": "你对该内容下的评论氛围是否满意?"
},
"comment_status": {
"induce_text": "",
"text": "",
"type": 0
},
"counts": {
"collapsed_counts": 0,
"reviewing_counts": 0,
"segment_comment_counts": 0,
"total_counts": 241
},
"data": [
{
"_": null,
"author": {
"avatar_url": "https://pic1.zhimg.com/v2-27bc715d780ecfc2402e01ada9c0e98f_l.jpg?source=06d4cd63",
"avatar_url_template": "https://pic1.zhimg.com/v2-27bc715d780ecfc2402e01ada9c0e98f_l.jpg?source=06d4cd63",
"badge_v2": {
"detail_badges": null,
"merged_badges": null,
"title": ""
},
"exposed_medal": {
"avatar_url": "https://pic1.zhimg.com/v2-0cbfd5688630e180e5732c71b9935608_r.jpg?source=06d4cd63",
"can_click": true,
"description": "赞同 30 次",
"medal_avatar_frame": "",
"medal_id": "972460827463282688",
"medal_name": "表示赞同",
"mini_avatar_url": "https://pic1.zhimg.com/v2-0cbfd5688630e180e5732c71b9935608_r.jpg?source=06d4cd63"
},
"gender": 1,
"headline": "",
"id": "318f3f9198703cf6aff20e05b75ca635",
"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/318f3f9198703cf6aff20e05b75ca635",
"url_token": "ma-nong-yi-mei-76",
"user_type": "people",
"vip_info": {
"is_vip": true,
"target_url": null,
"vip_icon": {
"night_mode_url": "https://picx.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": 60,
"child_comment_next_offset": "1775451613_11455252749_0",
"child_comments": [
{
"_": null,
"author": {
"avatar_url": "https://pic1.zhimg.com/1b215b61f_l.jpg?source=06d4cd63",
"avatar_url_template": "https://pica.zhimg.com/1b215b61f_l.jpg?source=06d4cd63",
"badge_v2": {
"detail_badges": null,
"merged_badges": null,
"title": ""
},
"exposed_medal": {
"avatar_url": "https://picx.zhimg.com/v2-eb56655cce39587eedeacb2824f6a116_r.jpg?source=06d4cd63",
"can_click": true,
"description": "获得 50 个赞同",
"medal_avatar_frame": "",
"medal_id": "972475023013875712",
"medal_name": "有口皆碑",
"mini_avatar_url": "https://picx.zhimg.com/v2-eb56655cce39587eedeacb2824f6a116_r.jpg?source=06d4cd63"
},
"gender": 2,
"headline": "初次见面的感觉",
"id": "4af6cd69234d800fdc8b3158746931ea",
"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/4af6cd69234d800fdc8b3158746931ea",
"url_token": "zhou-yu-meng-45",
"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,
"collapsed": false,
"comment_tag": [
{
"color": "#999999",
"has_border": false,
"night_color": "#999999",
"text": "四川",
"type": "ip_info"
}
],
"comment_type": 0,
"content": "人和人的理解力差距已经很大了,你和爱因斯坦、钱学森比这里面的鸿沟差不多跟跨物种没什么区别。至于你感觉大模型算不算理解,就看你定义智能是什么了。很遗憾按主流的定义,和大众的期望它远远达不到。",
"content_tag": [],
"created_time": 1775410085,
"disclaimer_info": null,
"dislike_count": 0,
"disliked": false,
"hot": false,
"id": "11455071967",
"is_author": false,
"is_author_top": false,
"is_delete": false,
"is_gift": false,
"is_visible_only_to_myself": false,
"level_tag": 3,
"like_count": 90,
"liked": false,
"member_id": 4728658,
"reply_author_tag": [],
"reply_comment_id": "11454716173",
"reply_root_comment_id": "11454716173",
"resource_type": "answer",
"reviewing": false,
"score": 0,
"top": false,
"type": "comment",
"url": "https://www.zhihu.com/api/v4/comment_v5/comments/11455071967"
},
{
"_": null,
"author": {
"avatar_url": "https://picx.zhimg.com/v2-e9a2b85a0e23effcb5c54feb44bcd351_l.jpg?source=06d4cd63",
"avatar_url_template": "https://picx.zhimg.com/v2-e9a2b85a0e23effcb5c54feb44bcd351_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": 2,
"headline": "",
"id": "e00d5ae52b341e835bc07681c722f5ec",
"is_advertiser": false,
"is_anonymous": false,
"is_org": false,
"kvip_info": {
"is_vip": false,
"target_url": null
},
"level_info": null,
"name": "j10jkol",
"ring_info": null,
"type": "people",
"url": "https://www.zhihu.com/api/v4/comment_v5/people/e00d5ae52b341e835bc07681c722f5ec",
"url_token": "yin-dan-6-67",
"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,
"collapsed": false,
"comment_tag": [
{
"color": "#999999",
"has_border": false,
"night_color": "#999999",
"text": "浙江",
"type": "ip_info"
}
],
"comment_type": 0,
"content": "开始自定义理解了[大笑]",
"content_tag": [],
"created_time": 1775451613,
"disclaimer_info": null,
"dislike_count": 1,
"disliked": false,
"hot": false,
"id": "11455252749",
"is_author": false,
"is_author_top": false,
"is_delete": false,
"is_gift": false,
"is_visible_only_to_myself": false,
"level_tag": 2,
"like_count": 42,
"liked": false,
"member_id": 16530177,
"reply_author_tag": [],
"reply_comment_id": "11454716173",
"reply_root_comment_id": "11454716173",
"resource_type": "answer",
"reviewing": false,
"score": 0,
"top": false,
"type": "comment",
"url": "https://www.zhihu.com/api/v4/comment_v5/comments/11455252749"
}
],
"collapsed": false,
"comment_tag": [
{
"color": "#999999",
"has_border": false,
"night_color": "#999999",
"text": "上海",
"type": "ip_info"
}
],
"comment_type": 0,
"content": "人的理解能力也就那么回事,为啥非得高估人类呢,为啥感觉大模型不算理解呢?",
"content_tag": [],
"created_time": 1775378836,
"disclaimer_info": null,
"dislike_count": 8,
"disliked": false,
"hot": false,
"id": "11454716173",
"is_author": false,
"is_author_top": false,
"is_delete": false,
"is_gift": false,
"is_visible_only_to_myself": false,
"level_tag": 2,
"like_count": 118,
"liked": false,
"member_id": 280923460,
"reply_author_tag": [],
"reply_comment_id": "0",
"reply_root_comment_id": "11454716173",
"resource_type": "answer",
"reviewing": false,
"score": 0,
"top": false,
"type": "comment",
"url": "https://www.zhihu.com/api/v4/comment_v5/comments/11454716173"
},
{
"_": null,
"attached_info": "Oi3yAyRlODJlNTk5Mi00YzFhLTQzOWQtODQzYi1mODQxODVhOGNjNmaiBANMTE0=",
"author": {
"avatar_url": "https://picx.zhimg.com/v2-a8179f05a313f9163b0131a8754af741_l.jpg?source=06d4cd63",
"avatar_url_template": "https://pic1.zhimg.com/v2-a8179f05a313f9163b0131a8754af741_l.jpg?source=06d4cd63",
"badge_v2": {
"detail_badges": null,
"merged_badges": null,
"title": ""
},
"exposed_medal": {
"avatar_url": "https://picx.zhimg.com/v2-ae0ef9685f799322052458ed4481c176_r.jpg?source=06d4cd63",
"can_click": true,
"description": "回答 2 个问题",
"medal_avatar_frame": "",
"medal_id": "972440607604559872",
"medal_name": "知无不言",
"mini_avatar_url": "https://picx.zhimg.com/v2-ae0ef9685f799322052458ed4481c176_r.jpg?source=06d4cd63"
},
"gender": 2,
"headline": "Software Engineer",
"id": "c31d2c9a43891cf3c435a441d3db28f7",
"is_advertiser": false,
"is_anonymous": false,
"is_org": false,
"kvip_info": {
"is_vip": false,
"target_url": null
},
"level_info": null,
"name": "woodfox",
"ring_info": null,
"type": "people",
"url": "https://www.zhihu.com/api/v4/comment_v5/people/c31d2c9a43891cf3c435a441d3db28f7",
"url_token": "woodfox123",
"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": 23,
"child_comment_next_offset": "1775668303_11457177003_0",
"child_comments": [
{
"_": null,
"author": {
"avatar_url": "https://pica.zhimg.com/v2-7f9979105fa2614272c21f0fdfb9fee5_l.jpg?source=06d4cd63",
"avatar_url_template": "https://picx.zhimg.com/v2-7f9979105fa2614272c21f0fdfb9fee5_l.jpg?source=06d4cd63",
"badge_v2": {
"detail_badges": null,
"merged_badges": null,
"title": ""
},
"exposed_medal": {
"avatar_url": "https://picx.zhimg.com/v2-55022c0a3791b632877fb084eb557f72_r.jpg?source=06d4cd63",
"can_click": true,
"description": "完成 1 次圆环挑战即可获得",
"medal_avatar_frame": "",
"medal_id": "1721585988709650432",
"medal_name": "圆环挑战 2024",
"mini_avatar_url": "https://picx.zhimg.com/v2-55022c0a3791b632877fb084eb557f72_r.jpg?source=06d4cd63"
},
"gender": 2,
"headline": "春风秋雨等闲过,月寒日暖慢蹉跎",
"id": "f0769647ce3b9d67b5f9f323d11d04c0",
"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/f0769647ce3b9d67b5f9f323d11d04c0",
"url_token": "shi-hao-9-77",
"user_type": "people",
"vip_info": {
"is_vip": false,
"target_url": null
}
},
"author_tag": [
{
"border_color": "#D3D3D3",
"border_night_color": "#2E2E2E",
"color": "#999999",
"has_border": true,
"night_color": "#999999",
"text": "作者",
"type": "content_author"
}
],
"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,
"collapsed": false,
"comment_tag": [
{
"color": "#999999",
"has_border": false,
"night_color": "#999999",
"text": "江西",
"type": "ip_info"
}
],
"comment_type": 0,
"content": "说中文屋理论,可能还隔了一层,我举个另外的假设吧:<br><br>外星文本数据假设。<br><br>假设人类,不经意间,得到了另一个宇宙的某外星文明的“语言文字”,要多少给多少(类似互联网文本数据一样的量)<br><br>这些语言文字,在人类眼中就跟乱码一样,乍看之下,完全看不懂。<br><br>人类从这些语言文字中,根据统计学,发现了一些规律,比如出现了某些串码时,一般后面会跟着相应另外的串码。(预测下一个 token)<br><br>并找出来了一系列的统计规律,知道出现了什么串码,就大概率应该回复什么串码。<br><br>那么人类能够从这些文字,破译出外宇宙的真实面貌吗?<br><br>并且能根据这些乱码,继续研究出外宇宙的新的规律吗?<br>补充:<br>那个外宇宙,和本宇宙的差别极大。<br><br>所有物理规律全部不一样。<br><br>没有光也没有暗,<br><br>没有日月星辰,<br><br>也没有上下左右之分。<br><br>甚至外宇宙,里面的生物,也没有“你我他”这种分别(只有一个超级个体存在,外宇宙的其他事物,都是这超级个体的延伸器官,人类获得的流传出来的文字,其实就类似是它沟通身体各器官之间,互相交流的自身的神经信号,但这点,人类也不知道,人类只认为是偶然获得的文字)。<br><br>而且那外星生物,也只是比较聪明的个体,不是全知全能的,因此它创造的数据中,…",
"content_tag": [],
"created_time": 1775668303,
"disclaimer_info": null,
"dislike_count": 0,
"disliked": false,
"hot": false,
"id": "11457177003",
"is_author": false,
"is_author_top": false,
"is_delete": false,
"is_gift": false,
"is_visible_only_to_myself": false,
"level_tag": 3,
"like_count": 13,
"liked": false,
"member_id": 1808234,
"reply_author_tag": [],
"reply_comment_id": "11455477595",
"reply_root_comment_id": "11455477595",
"resource_type": "answer",
"reviewing": false,
"score": 0,
"top": false,
"type": "comment",
"url": "https://www.zhihu.com/api/v4/comment_v5/comments/11457177003"
}
],
"collapsed": false,
"comment_tag": [
{
"color": "#999999",
"has_border": false,
"night_color": "#999999",
"text": "上海",
"type": "ip_info"
}
],
"comment_type": 0,
"content": "<p>中文屋这个比喻已经不适合作为类比来解释 <a href=\"https://www.zhihu.com/search?comment_id=11455477595&comment_type=COMMENT&content_id=775991336&content_type=answer&q=LLM&request_click_id=e82e5992-4c1a-439d-843b-f84185a8cc6f&search_source=CommentEntity\" class=\"search_word\">LLM</a> 的工作原理了,LLM 不是简单的查表。<br>事实上 LLM 通过大量语料的训练,已经将显性的知识内化成了隐性的参数化推理引擎。<br>可以说 LLM 是有很强的 problem solving 能力的。<br>所以即使是面对没有在训练语料中出现过的问题,只要是可以被语言表示的,reasonable 的,大多数时候它仍然可以通过推理得到合适的答案。</p>",
"content_tag": [],
"created_time": 1775410448,
"disclaimer_info": null,
"dislike_count": 1,
"disliked": false,
"hot": false,
"id": "11455477595",
"is_author": false,
"is_author_top": false,
"is_delete": false,
"is_gift": false,
"is_visible_only_to_myself": false,
"level_tag": 3,
"like_count": 79,
"liked": false,
"member_id": 579269,
"reply_author_tag": [],
"reply_comment_id": "0",
"reply_root_comment_id": "11455477595",
"resource_type": "answer",
"reviewing": false,
"score": 0,
"top": false,
"type": "comment",
"url": "https://www.zhihu.com/api/v4/comment_v5/comments/11455477595"
},
{
"_": null,
"author": {
"avatar_url": "https://picx.zhimg.com/v2-abed1a8c04700ba7d72b45195223e0ff_l.jpg?source=06d4cd63",
"avatar_url_template": "https://pic1.zhimg.com/v2-abed1a8c04700ba7d72b45195223e0ff_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": "e65086c94a3291db7747a8507e52565c",
"is_advertiser": false,
"is_anonymous": false,
"is_org": false,
"kvip_info": {
"is_vip": false,
"target_url": null
},
"level_info": null,
"name": "bjxcfyt",
"ring_info": null,
"type": "people",
"url": "https://www.zhihu.com/api/v4/comment_v5/people/e65086c94a3291db7747a8507e52565c",
"url_token": "bjxcfyt",
"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": 11,
"child_comment_next_offset": "1775668049_11457495593_0",
"child_comments": [
{
"_": null,
"author": {
"avatar_url": "https://pica.zhimg.com/v2-7f9979105fa2614272c21f0fdfb9fee5_l.jpg?source=06d4cd63",
"avatar_url_template": "https://pic1.zhimg.com/v2-7f9979105fa2614272c21f0fdfb9fee5_l.jpg?source=06d4cd63",
"badge_v2": {
"detail_badges": null,
"merged_badges": null,
"title": ""
},
"exposed_medal": {
"avatar_url": "https://picx.zhimg.com/v2-55022c0a3791b632877fb084eb557f72_r.jpg?source=06d4cd63",
"can_click": true,
"description": "完成 1 次圆环挑战即可获得",
"medal_avatar_frame": "",
"medal_id": "1721585988709650432",
"medal_name": "圆环挑战 2024",
"mini_avatar_url": "https://picx.zhimg.com/v2-55022c0a3791b632877fb084eb557f72_r.jpg?source=06d4cd63"
},
"gender": 2,
"headline": "春风秋雨等闲过,月寒日暖慢蹉跎",
"id": "f0769647ce3b9d67b5f9f323d11d04c0",
"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/f0769647ce3b9d67b5f9f323d11d04c0",
"url_token": "shi-hao-9-77",
"user_type": "people",
"vip_info": {
"is_vip": false,
"target_url": null
}
},
"author_tag": [
{
"border_color": "#D3D3D3",
"border_night_color": "#2E2E2E",
"color": "#999999",
"has_border": true,
"night_color": "#999999",
"text": "作者",
"type": "content_author"
}
],
"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,
"collapsed": false,
"comment_tag": [
{
"color": "#999999",
"has_border": false,
"night_color": "#999999",
"text": "江西",
"type": "ip_info"
}
],
"comment_type": 0,
"content": "说中文屋理论,可能还隔了一层,我举个另外的假设吧:<br><br>外星文本数据假设。<br><br>假设人类,不经意间,得到了另一个宇宙的某外星文明的“语言文字”,要多少给多少(类似互联网文本数据一样的量)<br><br>这些语言文字,在人类眼中就跟乱码一样,乍看之下,完全看不懂。<br><br>人类从这些语言文字中,根据统计学,发现了一些规律,比如出现了某些串码时,一般后面会跟着相应另外的串码。(预测下一个 token)<br><br>并找出来了一系列的统计规律,知道出现了什么串码,就大概率应该回复什么串码。<br><br>那么人类能够从这些文字,破译出外宇宙的真实面貌吗?<br><br>并且能根据这些乱码,继续研究出外宇宙的新的规律吗?<br>补充:<br>那个外宇宙,和本宇宙的差别极大。<br><br>所有物理规律全部不一样。<br><br>没有光也没有暗,<br><br>没有日月星辰,<br><br>也没有上下左右之分。<br><br>甚至外宇宙,里面的生物,也没有“你我他”这种分别(只有一个超级个体存在,外宇宙的其他事物,都是这超级个体的延伸器官,人类获得的流传出来的文字,其实就类似是它沟通身体各器官之间,互相交流的自身的神经信号,但这点,人类也不知道,人类只认为是偶然获得的文字)。<br><br>而且那外星生物,也只是比较聪明的个体,不是全知全能的,因此它创造的数据中,…",
"content_tag": [],
"created_time": 1775668049,
"disclaimer_info": null,
"dislike_count": 0,
"disliked": false,
"hot": false,
"id": "11457495593",
"is_author": false,
"is_author_top": false,
"is_delete": false,
"is_gift": false,
"is_visible_only_to_myself": false,
"level_tag": 3,
"like_count": 2,
"liked": false,
"member_id": 1808234,
"reply_author_tag": [],
"reply_comment_id": "11456529036",
"reply_root_comment_id": "11456529036",
"resource_type": "answer",
"reviewing": false,
"score": 0,
"top": false,
"type": "comment",
"url": "https://www.zhihu.com/api/v4/comment_v5/comments/11457495593"
}
],
"collapsed": false,
"comment_tag": [
{
"color": "#999999",
"has_border": false,
"night_color": "#999999",
"text": "北京",
"type": "ip_info"
}
],
"comment_type": 0,
"content": "<p>其实LLM已经脱离了中文屋理论了,最有力的证据就是即使递进来的纸条内容,在字典上没有被提及,LLM仍然会推理出相对合理的答案,也就是所谓的“涌现”。<br> 就比如学习外语,学英语的时候常常学习语法,可是大家都知道,语法并不是掌握英语的必要条件。毕竟英语母语者不需要了解语法就能学会日常用语,LLM能生成“语法合规”的英文句子,但它不需要学习英文语法,都是靠“推理”得出的。<br> 从另个角度说,LLM会出现幻觉,可人类也不是理解的全对。LLM语料库会被投毒污染,人类也会被洗脑……人类又凭什么说LLM不如自己“懂”中文呢</p>",
"content_tag": [],
"created_time": 1775550439,
"disclaimer_info": null,
"dislike_count": 0,
"disliked": false,
"hot": false,
"id": "11456529036",
"is_author": false,
"is_author_top": false,
"is_delete": false,
"is_gift": false,
"is_visible_only_to_myself": false,
"level_tag": 3,
"like_count": 38,
"liked": false,
"member_id": 855105581,
"reply_author_tag": [],
"reply_comment_id": "0",
"reply_root_comment_id": "11456529036",
"resource_type": "answer",
"reviewing": false,
"score": 0,
"top": false,
"type": "comment",
"url": "https://www.zhihu.com/api/v4/comment_v5/comments/11456529036"
},
"… 7 more items in the full response"
],
"edit_status": {
"can_reply": true,
"toast": "彼此欣赏让讨论更加充实"
},
"header": [],
"is_content_author": false,
"is_content_rewardable": true,
"paging": {
"is_end": false,
"is_start": true,
"next": "https://www.zhihu.com/api/v4/comment_v5/answers/2023560406912770519/root_comment?answer_id=2023560406912770519&limit=10&offset=523980432_11455800743_0&order_by=score",
"previous": "https://www.zhihu.com/api/v4/comment_v5/answers/2023560406912770519/root_comment?answer_id=2023560406912770519&limit=10&offset=1142169112_11454716173_1&order_by=score",
"totals": 241
},
"sorter": [
{
"text": "默认",
"type": "score"
},
{
"text": "最新",
"type": "ts"
}
]
}
}
]Посмотреть больше
| API | Цена | Ответ |
|---|---|---|
Zhihu Answer CommentsЭтот 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
Вопросы
Отправьте POST-запрос на https://api.sandbase.ai/v1/api/zhihu/web/comment-v5, указав ключ SandBase API в заголовке Authorization (Bearer), а параметры — в теле JSON. Вы также можете попробовать это в Playground на этой странице без написания кода.
$0.001 за вызов, списывается с баланса SandBase. Оплата взимается только за сделанные вызовы; подписка не требуется.
Обязательные: answer_id (string). Необязательные: limit (string), offset (string) и order_by (string). В таблице Parameters и в Playground на этой странице перечислены все поля.
JSON-ответ, возвращаемый в том же HTTP-запросе (синхронно). В README на этой странице приведен пример ответа.
Нет. Zhihu Answer Comments работает через SandBase, поэтому один API key SandBase покрывает этот endpoint и все остальные API и модели в каталоге. Вам не нужно отдельно запрашивать доступ к API Zhihu.