pin_idstringจำเป็น
Pin ID
https://api.sandbase.ai/v1/api/zhihu/web/pin-commentsReturns comments for a Zhihu pin, including author details, like counts, and reply counts. Supports sorting by score or newest timestamp.
[
{
"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": 13
},
"data": [
{
"_": null,
"author": {
"avatar_url": "https://picx.zhimg.com/v2-06e80e5b987155fd91c0b48c35fea502_l.jpg?source=06d4cd63",
"avatar_url_template": "https://pic1.zhimg.com/v2-06e80e5b987155fd91c0b48c35fea502_l.jpg?source=06d4cd63",
"badge_v2": {
"detail_badges": null,
"merged_badges": null,
"title": ""
},
"exposed_medal": {
"avatar_url": "https://picx.zhimg.com/v2-388966b5f4af924b2610a8f9e9001dc4_r.jpg?source=06d4cd63",
"can_click": true,
"description": "连续答题 15 天",
"medal_avatar_frame": "",
"medal_id": "972481762269622272",
"medal_name": "笔耕不辍",
"mini_avatar_url": "https://picx.zhimg.com/v2-388966b5f4af924b2610a8f9e9001dc4_r.jpg?source=06d4cd63"
},
"gender": 0,
"headline": "拥抱AI,做AI知识的传播者,做AI应用的实践者。",
"id": "bee34cad7542c3006331794fb0e69bf6",
"is_advertiser": false,
"is_anonymous": false,
"is_org": false,
"kvip_info": {
"is_vip": false,
"target_url": null
},
"level_info": null,
"name": "AI通俗演绎",
"ring_info": null,
"type": "people",
"url": "https://www.zhihu.com/api/v4/comment_v5/people/bee34cad7542c3006331794fb0e69bf6",
"url_token": "spirit-33-66",
"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": false,
"can_truncate": false,
"can_unfold": false,
"child_comment_count": 0,
"child_comment_next_offset": null,
"child_comments": [],
"collapsed": false,
"comment_second_tag": [
{
"bg_color": "#F5F7FA",
"bg_night_color": "#222429",
"color": "#545962",
"has_border": false,
"night_color": "#C3C7CF",
"text": "作者赞了",
"type": "author_like"
}
],
"comment_tag": [
{
"color": "#999999",
"has_border": false,
"night_color": "#999999",
"text": "北京",
"type": "ip_info"
}
],
"comment_type": 0,
"content": "看过吴恩达老师的课,挺不错的",
"content_tag": [],
"created_time": 1781864418,
"disclaimer_info": null,
"dislike_count": 0,
"disliked": false,
"hot": false,
"id": "11511126051",
"is_author": false,
"is_author_top": false,
"is_delete": false,
"is_gift": false,
"is_visible_only_to_myself": false,
"level_tag": 2,
"like_count": 1,
"liked": false,
"member_id": 58471982,
"reply_author_tag": [],
"reply_comment_id": "0",
"reply_root_comment_id": "11511126051",
"resource_type": "pin",
"reviewing": false,
"score": 0,
"top": false,
"type": "comment",
"url": "https://www.zhihu.com/api/v4/comment_v5/comments/11511126051"
},
{
"_": null,
"author": {
"avatar_url": "https://picx.zhimg.com/v2-efc6e357c969c9048f8570756ac3e417_l.jpg?source=06d4cd63",
"avatar_url_template": "https://pic1.zhimg.com/v2-efc6e357c969c9048f8570756ac3e417_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": "AI|电商、短剧、工具\n\[email protected]",
"id": "23ba0b8511af002349cd585329129ac8",
"is_advertiser": false,
"is_anonymous": false,
"is_org": false,
"kvip_info": {
"is_vip": false,
"target_url": null
},
"level_info": null,
"name": "陆野AI创作室",
"ring_info": null,
"type": "people",
"url": "https://www.zhihu.com/api/v4/comment_v5/people/23ba0b8511af002349cd585329129ac8",
"url_token": "z-73-36-33",
"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": false,
"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": "普通人翻墙都是个问题,后面还有语言问题,虽然有字幕,但是理解上还是会有偏差。普通人用好deepseek、千问就好了。",
"content_tag": [],
"created_time": 1782314492,
"disclaimer_info": null,
"dislike_count": 0,
"disliked": false,
"hot": false,
"id": "11514884190",
"is_author": false,
"is_author_top": false,
"is_delete": false,
"is_gift": false,
"is_visible_only_to_myself": false,
"level_tag": 2,
"like_count": 3,
"liked": false,
"member_id": 24897616098,
"reply_author_tag": [],
"reply_comment_id": "0",
"reply_root_comment_id": "11514884190",
"resource_type": "pin",
"reviewing": false,
"score": 0,
"top": false,
"type": "comment",
"url": "https://www.zhihu.com/api/v4/comment_v5/comments/11514884190"
},
{
"_": null,
"author": {
"avatar_url": "https://picx.zhimg.com/v2-dc201e5f4221bbc5a0acea2e484ecdff_l.jpg?source=06d4cd63",
"avatar_url_template": "https://picx.zhimg.com/v2-dc201e5f4221bbc5a0acea2e484ecdff_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": "fc49ea3d5cacbea988ef0f26fa064366",
"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/fc49ea3d5cacbea988ef0f26fa064366",
"url_token": "yahweh-65",
"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": false,
"can_truncate": false,
"can_unfold": false,
"child_comment_count": 0,
"child_comment_next_offset": null,
"child_comments": [],
"collapsed": false,
"comment_tag": [
{เลือกตัวอย่างเพื่อโหลดอินพุตและผลลัพธ์ลงใน playground
Returns the top-level comments on a Zhihu pin, with author details, like counts, reply counts and creation times. It needs one input, the pin_id of the pin.
score or list the newest ones first with order_by.child_comment_count.curl -X POST "https://api.sandbase.ai/v1/api/zhihu/web/pin-comments" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"pin_id": "2050290260991534603"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
pin_id | string | Yes | Pin ID |
limit | string | No | Number of comments per page |
offset | string | No | Offset, take the cursor from the response for paging |
order_by | string | No | Sort, score=default, ts=newest |
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": 13
},
"data": [
{
"_": null,
"author": {
"avatar_url": "https://pic1.zhimg.com/v2-06e80e5b987155fd91c0b48c35fea502_l.jpg?source=06d4cd63",
"avatar_url_template": "https://picx.zhimg.com/v2-06e80e5b987155fd91c0b48c35fea502_l.jpg?source=06d4cd63",
"badge_v2": {
"detail_badges": null,
"merged_badges": null,
"title": ""
},
"exposed_medal": {
"avatar_url": "https://picx.zhimg.com/v2-388966b5f4af924b2610a8f9e9001dc4_r.jpg?source=06d4cd63",
"can_click": true,
"description": "连续答题 15 天",
"medal_avatar_frame": "",
"medal_id": "972481762269622272",
"medal_name": "笔耕不辍",
"mini_avatar_url": "https://picx.zhimg.com/v2-388966b5f4af924b2610a8f9e9001dc4_r.jpg?source=06d4cd63"
},
"gender": 0,
"headline": "拥抱AI,做AI知识的传播者,做AI应用的实践者。",
"id": "bee34cad7542c3006331794fb0e69bf6",
"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": false,
"paging": {
"is_end": true,
"is_start": true,
"next": "https://www.zhihu.com/api/v4/comment_v5/pins/2050290260991534603/root_comment?li…",
"previous": "https://www.zhihu.com/api/v4/comment_v5/pins/2050290260991534603/root_comment?li…",
"totals": 13
},
"sorter": [
{
"text": "默认",
"type": "score"
}
]
}
| Field | Meaning |
|---|---|
data[].content | Text of the comment. |
data[].id | ID of the comment, as a string. |
data[].created_time | Time the comment was created. The value is 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. child_comments holds the reply items. |
data[].author.id / author.headline | ID and profile headline of the commenter. |
data[].comment_tag[].text | Tag shown with the comment. Items of type ip_info show a place name such as a province or country. |
counts.total_counts | Total number of comments on the pin. |
paging.next / paging.previous | URLs for the next and previous page. The offset value inside each URL is the cursor for paging. |
paging.is_end | Tells you whether this page is the last one. |
pin_id from a pin link or from Zhihu User Pins. Use Zhihu Pin Detail for the pin itself.offset value from paging.next into the offset parameter. Use limit to set the page size.order_by to score for the default ranking or ts for the newest comments. The sorter array lists both options.$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
เริ่มสร้าง
เอ็นด์พอยต์ของ Platform API ที่มีการยืนยันตัวตนและการติดตามการใช้งานแบบรวมศูนย์
curl -X POST "https://api.sandbase.ai/v1/api/zhihu/web/pin-comments" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"limit": "20",
"offset": "",
"pin_id": "2050290260991534603",
"order_by": "score"
}'ตั้งค่า SandBase API key ของคุณในสภาพแวดล้อมฝั่งเซิร์ฟเวอร์ คำขอจะใช้การยืนยันตัวตนแบบ Bearer
export SANDBASE_API_KEY="YOUR_API_KEY"เก็บ key ไว้บนเซิร์ฟเวอร์ อย่าเปิดเผยในโค้ดฝั่งเบราว์เซอร์
pin_idstringจำเป็นPin ID
limitstringNumber of comments per page
ค่าเริ่มต้น: "20"
offsetstringOffset, take the cursor from the response for paging
ค่าเริ่มต้น: ""
order_bystringSort, score=default, ts=newest
ค่าเริ่มต้น: "score"
ค่าที่เป็นไปได้: score, ts
บันทึกตัวอย่างการตอบกลับสำหรับ 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": 13
},
"data": [
{
"_": null,
"author": {
"avatar_url": "https://picx.zhimg.com/v2-06e80e5b987155fd91c0b48c35fea502_l.jpg?source=06d4cd63",
"avatar_url_template": "https://pic1.zhimg.com/v2-06e80e5b987155fd91c0b48c35fea502_l.jpg?source=06d4cd63",
"badge_v2": {
"detail_badges": null,
"merged_badges": null,
"title": ""
},
"exposed_medal": {
"avatar_url": "https://picx.zhimg.com/v2-388966b5f4af924b2610a8f9e9001dc4_r.jpg?source=06d4cd63",
"can_click": true,
"description": "连续答题 15 天",
"medal_avatar_frame": "",
"medal_id": "972481762269622272",
"medal_name": "笔耕不辍",
"mini_avatar_url": "https://picx.zhimg.com/v2-388966b5f4af924b2610a8f9e9001dc4_r.jpg?source=06d4cd63"
},
"gender": 0,
"headline": "拥抱AI,做AI知识的传播者,做AI应用的实践者。",
"id": "bee34cad7542c3006331794fb0e69bf6",
"is_advertiser": false,
"is_anonymous": false,
"is_org": false,
"kvip_info": {
"is_vip": false,
"target_url": null
},
"level_info": null,
"name": "AI通俗演绎",
"ring_info": null,
"type": "people",
"url": "https://www.zhihu.com/api/v4/comment_v5/people/bee34cad7542c3006331794fb0e69bf6",
"url_token": "spirit-33-66",
"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": false,
"can_truncate": false,
"can_unfold": false,
"child_comment_count": 0,
"child_comment_next_offset": null,
"child_comments": [],
"collapsed": false,
"comment_second_tag": [
{
"bg_color": "#F5F7FA",
"bg_night_color": "#222429",
"color": "#545962",
"has_border": false,
"night_color": "#C3C7CF",
"text": "作者赞了",
"type": "author_like"
}
],
"comment_tag": [
{
"color": "#999999",
"has_border": false,
"night_color": "#999999",
"text": "北京",
"type": "ip_info"
}
],
"comment_type": 0,
"content": "看过吴恩达老师的课,挺不错的",
"content_tag": [],
"created_time": 1781864418,
"disclaimer_info": null,
"dislike_count": 0,
"disliked": false,
"hot": false,
"id": "11511126051",
"is_author": false,
"is_author_top": false,
"is_delete": false,
"is_gift": false,
"is_visible_only_to_myself": false,
"level_tag": 2,
"like_count": 1,
"liked": false,
"member_id": 58471982,
"reply_author_tag": [],
"reply_comment_id": "0",
"reply_root_comment_id": "11511126051",
"resource_type": "pin",
"reviewing": false,
"score": 0,
"top": false,
"type": "comment",
"url": "https://www.zhihu.com/api/v4/comment_v5/comments/11511126051"
},
{
"_": null,
"author": {
"avatar_url": "https://picx.zhimg.com/v2-efc6e357c969c9048f8570756ac3e417_l.jpg?source=06d4cd63",
"avatar_url_template": "https://pic1.zhimg.com/v2-efc6e357c969c9048f8570756ac3e417_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": "AI|电商、短剧、工具\n\[email protected]",
"id": "23ba0b8511af002349cd585329129ac8",
"is_advertiser": false,
"is_anonymous": false,
"is_org": false,
"kvip_info": {
"is_vip": false,
"target_url": null
},
"level_info": null,
"name": "陆野AI创作室",
"ring_info": null,
"type": "people",
"url": "https://www.zhihu.com/api/v4/comment_v5/people/23ba0b8511af002349cd585329129ac8",
"url_token": "z-73-36-33",
"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": false,
"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": "普通人翻墙都是个问题,后面还有语言问题,虽然有字幕,但是理解上还是会有偏差。普通人用好deepseek、千问就好了。",
"content_tag": [],
"created_time": 1782314492,
"disclaimer_info": null,
"dislike_count": 0,
"disliked": false,
"hot": false,
"id": "11514884190",
"is_author": false,
"is_author_top": false,
"is_delete": false,
"is_gift": false,
"is_visible_only_to_myself": false,
"level_tag": 2,
"like_count": 3,
"liked": false,
"member_id": 24897616098,
"reply_author_tag": [],
"reply_comment_id": "0",
"reply_root_comment_id": "11514884190",
"resource_type": "pin",
"reviewing": false,
"score": 0,
"top": false,
"type": "comment",
"url": "https://www.zhihu.com/api/v4/comment_v5/comments/11514884190"
},
{
"_": null,
"author": {
"avatar_url": "https://picx.zhimg.com/v2-dc201e5f4221bbc5a0acea2e484ecdff_l.jpg?source=06d4cd63",
"avatar_url_template": "https://picx.zhimg.com/v2-dc201e5f4221bbc5a0acea2e484ecdff_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": "fc49ea3d5cacbea988ef0f26fa064366",
"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/fc49ea3d5cacbea988ef0f26fa064366",
"url_token": "yahweh-65",
"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": false,
"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": "你好歹写一个 claude 啊",
"content_tag": [],
"created_time": 1782656866,
"disclaimer_info": null,
"dislike_count": 0,
"disliked": false,
"hot": false,
"id": "11517789075",
"is_author": false,
"is_author_top": false,
"is_delete": false,
"is_gift": false,
"is_visible_only_to_myself": false,
"level_tag": 2,
"like_count": 2,
"liked": false,
"member_id": 40879214,
"reply_author_tag": [],
"reply_comment_id": "0",
"reply_root_comment_id": "11517789075",
"resource_type": "pin",
"reviewing": false,
"score": 0,
"top": false,
"type": "comment",
"url": "https://www.zhihu.com/api/v4/comment_v5/comments/11517789075"
},
"… 7 more items in the full response"
],
"edit_status": {
"can_reply": true,
"toast": "用心倾听是最好的回应"
},
"header": [],
"is_content_author": false,
"is_content_rewardable": false,
"paging": {
"is_end": true,
"is_start": true,
"next": "https://www.zhihu.com/api/v4/comment_v5/pins/2050290260991534603/root_comment?limit=10&offset=5_11511195072_0&order_by=score",
"previous": "https://www.zhihu.com/api/v4/comment_v5/pins/2050290260991534603/root_comment?limit=10&offset=546438095_11511126051_1&order_by=score",
"totals": 13
},
"sorter": [
{
"text": "默认",
"type": "score"
},
{
"text": "最新",
"type": "ts"
}
]
}
}
]สำรวจเพิ่มเติม
| API | ราคา | การตอบกลับ |
|---|---|---|
Zhihu Pin CommentsAPI นี้ Zhihu | $0.001 ต่อการเรียก | JSON |
Zhihu | $0.005 ต่อการเรียก | JSON |
Zhihu | $0.001 ต่อการเรียก | JSON |
Zhihu | $0.001 ต่อการเรียก | JSON |
Zhihu | $0.001 ต่อการเรียก | JSON |
Zhihu | $0.001 ต่อการเรียก | JSON |
คำถาม
ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/zhihu/web/pin-comments โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด
$0.001 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน
ที่ต้องระบุ: pin_id (string). ตัวเลือก: limit (string), offset (string) และ order_by (หนึ่งใน score, ts). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์
การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ
ไม่จำเป็น Zhihu Pin Comments ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง Zhihu API แยกต่างหาก