status_idstringrequerido
Post ID or Video ID (required)
https://api.sandbase.ai/v1/api/weibo/app/status-commentsReturns the first-level comments for a designated post or video on Weibo. Supports sorting options and cursor-based pagination for browsing discussion threads.
Su salida aparecerá aquí
Complete las entradas y luego haga clic en Ejecutar.
Returns the first-level comments under a Weibo post or video, along with a pagination cursor. It needs the post or video ID as status_id.
max_id cursor.analysis_extra for a quick per-comment summary.curl -X POST "https://api.sandbase.ai/v1/api/weibo/app/status-comments" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"status_id": "5258708168476831"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
status_id | string | Yes | Post ID or Video ID (required) |
max_id | string | No | Pagination cursor, don't pass for first request, use returned max_id for subsequent requests |
sort_type | string | No | Comment sort type |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"config": "{}",
"items": [
{
"category": "detail",
"data": {
"tip_biz_type": 0,
"tip_icon": "https://d.sinaimg.cn/prd/100/1985/2025/09/24/icon.png",
"tip_icon_dark": "https://d.sinaimg.cn/prd/100/1985/2025/09/24/icon_dark.png",
"tip_msg": "查看我的铁粉关系 查看详情",
"tip_scheme": "sinaweibo://cardlist?containerid=231093_-_bigfans&extparam=7480401147",
"tip_state": 0,
"tip_struct": [
{
"color": "#507DAF",
"color_dark": "#6290C3",
"title": "查看详情"
}
],
"tip_type": 3
},
"type": "comment_header_tip"
}
],
"loadedInfo": "{}",
"moreInfo": {
"error": "网络加载失败,请稍后尝试",
"loading": "正在加载更多",
"moreType": "default",
"pagingType": "cursor",
"params": {
"count": 20,
"lastAdInterval": 10,
"max_id": 138889559850779,
"max_id_type": 0,
"recommend_max_id": 0,
"recommend_page": 0
}
},
"pageData": "{}"
}
| Field | Meaning |
|---|---|
items[] | List of cards on the page. The first card can be a header tip and the rest are comments. Check type to tell them apart. |
items[].type | Card kind. comment marks a comment card and comment_header_tip marks a notice shown above the comments. |
items[].data.created_at | Time the comment was posted, as text such as Sun Jan 25 16:55:24 +0800 2026. |
items[].data.floor_number | Floor number of the comment in the thread. |
items[].data.analysis_extra | Pipe-separated text with author_uid, mid (the post ID), page, index and comment_count. |
items[].data.comment_bubble.name / items[].data.comment_bubble.id | Name and ID of the bubble style attached to the comment, for example 金粉专属. |
items[].data.disable_reply | Flag for whether replies are turned off for this comment. 0 is the value in this response. |
moreInfo.params.max_id | Cursor for the next page. Pass it as max_id in the next request. |
moreInfo.params.count | Number of items per page, 20 in this response. |
moreInfo.pagingType | Paging style. The value cursor means pages are fetched with a cursor. |
target not found error instead of an empty list, and the call is not charged. To skip those posts, check comments_count with Weibo Post Detail first.max_id on the first call. For later pages, copy the value from moreInfo.params.max_id.status_id is the numeric post or video ID, such as 5258708168476831. It also appears as mid inside analysis_extra.items. Filter on type equal to comment to keep only comments.$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
Empiece a construir
Endpoint de la API de la plataforma con autenticación unificada y seguimiento de uso.
curl -X POST "https://api.sandbase.ai/v1/api/weibo/app/status-comments" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"max_id": null,
"sort_type": "0",
"status_id": "5258708168476831"
}'Configure su clave de API de SandBase en el entorno de su servidor. Las solicitudes usan autenticación Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Conserve su clave en el servidor. No la exponga en código del navegador.
status_idstringrequeridoPost ID or Video ID (required)
max_idanyPagination cursor, don't pass for first request, use returned max_id for subsequent requests
sort_typestringComment sort type
Valor predeterminado: "0"
Respuesta de ejemplo guardada para esta API; no se realiza ninguna solicitud en vivo al verla.
[
{
"data": {
"config": "{}",
"items": [
{
"category": "detail",
"data": {
"tip_biz_type": 0,
"tip_icon": "https://d.sinaimg.cn/prd/100/1985/2025/09/24/icon.png",
"tip_icon_dark": "https://d.sinaimg.cn/prd/100/1985/2025/09/24/icon_dark.png",
"tip_msg": "查看我的铁粉关系 查看详情",
"tip_scheme": "sinaweibo://cardlist?containerid=231093_-_bigfans&extparam=7480401147",
"tip_state": 0,
"tip_struct": [
{
"color": "#507DAF",
"color_dark": "#6290C3",
"title": "查看详情"
}
],
"tip_type": 3
},
"type": "comment_header_tip"
},
{
"category": "detail",
"data": {
"allow_follow": false,
"analysis_extra": "author_uid:7480401147|mid:5258708168476831|rid:5226234197115875170|page:1|index:1|comment_count:29",
"cmt_ext": "level_type:1",
"comment_bubble": {
"end_color": "#1AFEAD3A",
"end_color_dark": "#33FEAD3A",
"icon_url": "https://h5.sinaimg.cn/upload/100/1720/2023/06/14/commentbubble_jin_FEAD3A.png",
"id": "jin_0001",
"name": "金粉专属",
"obtain_type": 3,
"start_color": "#00FEAD3A",
"start_color_dark": "#00FEAD3A"
},
"created_at": "Sun Jan 25 16:55:24 +0800 2026",
"degrade_type": "normal",
"disable_reply": 0,
"floor_number": 27,
"id": 5259019102978314,
"idstr": "5259019102978314",
"isLikedByMblogAuthor": false,
"item_category": "comment",
"like_counts": 0,
"liked": false,
"match_ai_play_picture": false,
"max_id": 0,
"mid": "5259019102978314",
"more_info_type": 0,
"pic_num": 0,
"readtimetype": "comment",
"report_scheme": "sinaweibo://mpdialog?scheme=sinaweibo%3A%2F%2Fwbox%3Fid%3Dt8wto09182%26page%3Dpages%2Fcomplaint%2Fcomplaint%26comment%3D%25E5%25A4%25A9%25E4%25B8%258B%25E7%25AC%25AC%25E4%25B8%2580%25E5%25B8%2585%255B%25E4%25B9%2588%25E4%25B9%2588%25E5%2593%2592%255D%255B%25E4%25B9%2588%25E4%25B9%2588%25E5%2593%2592%255D%26nickname%3D%25E5%25B0%258F%25E7%258C%25AA%25E7%258C%25AA__%25E5%25B0%258F%25E5%2585%2594%25E5%2585%2594%26ct_type%3D2%26rid%3D5259019102978314%26ct_time%3D1787218665485%26ct_sign%3D909663036%26luicode%3D",
"restrictOperate": 0,
"restrict_state": 0,
"rid": "0_0_0_5226234197115875170_0_0_0",
"rootid": 5259019102978314,
"rootidstr": "5259019102978314",
"scene": "comment_hot",
"source": "<a href=\"\" rel=\"nofollow\">来自 上海</a>",
"source_allowclick": 0,
"source_type": 4,
"sync_generate_level": 1,
"sync_id": 5258708086161627,
"sync_uuid": 5258708086161627,
"text": "天下第一帅[么么哒][么么哒]",
"total_number": 0,
"user": {
"allow_all_act_msg": false,
"allow_all_comment": true,
"audio_ability": 0,
"auth_career": "",
"auth_career_name": "",
"auth_realname": "",
"auth_status": 1,
"avatar_hd": "https://tvax1.sinaimg.cn/crop.0.0.720.720.1024/6d912d3cly8hmr5iu4y7tj20k00k0gmv.jpg?KID=imgbed,tva&Expires=1787229465&ssig=A9ZXKArcig",
"avatar_hd_pid": "6d912d3cly8hmr5iu4y7tj20k00k0gmv",
"avatar_large": "https://tvax1.sinaimg.cn/crop.0.0.720.720.180/6d912d3cly8hmr5iu4y7tj20k00k0gmv.jpg?KID=imgbed,tva&Expires=1787229465&ssig=DLZKAzTcfw",
"avatar_type": 0,
"avatargj_id": "gj_vip_020",
"badge": {
"companion_card": 0,
"hongbaofei_2022": 0,
"shequweiyuan_2021": 0,
"star_crown": 0,
"taobao": 0
},
"bi_followers_count": 53,
"brand_account": 0,
"cardid": "star_1155",
"chaohua_ability": 0,
"city": "1000",
"class": 1,
"cover_image_phone": "https://ww1.sinaimg.cn/crop.0.0.640.640.640/9d44112bjw1f1xl1c10tuj20hs0hs0tw.jpg",
"created_at": "Fri Oct 01 23:17:18 +0800 2010",
"credit_score": 80,
"description": "走走看看",
"domain": "xiaohuliqiao",
"ecommerce_ability": 0,
"extend": {
"mbprivilege": "0000000000000000000000000000000000000000000000000000000004c00208",
"privacy": {
"img_search_disabled": 0,
"mobile": 0
}
},
"favourites_count": 162,
"follow_me": false,
"followers_count": 757,
"followers_count_str": "757",
"following": false,
"friends_count": 634,
"gender": "f",
"geo_enabled": true,
"gongyi_ability": 0,
"green_mode": 0,
"hardfan_ability": 0,
"has_service_tel": false,
"hongbaofei": 0,
"icons": [
{
"actionlog": {
"act_code": 3671,
"ext": "status:fans"
},
"hide": 0,
"length": 2.62,
"name": "vip",
"new_icon": true,
"scheme": "https://page.star.weibo.com/z/bigFans?showmenu=0&blogger_uid=7480401147&fans_uid=1838230844",
"style_type": 0,
"type": "loyal_fans",
"url": "https://h5.sinaimg.cn/upload/114/962/2022/07/08/member_7_bigfan3_1.png"
}
],
"id": 1838230844,
"idstr": "1838230844",
"insecurity": {
"sexual_content": false
},
"interaction_user": 0,
"is_auth": 0,
"is_big": 0,
"is_guardian": 0,
"is_punish": 0,
"is_teenager": 0,
"is_teenager_list": 0,
"lang": "zh-cn",
"level": 2,
"light_ring": false,
"like": false,
"like_display": 0,
"like_me": false,
"live_ability": 0,
"live_status": 0,
"location": "其他",
"mb_expire_time": 1808496000,
"mb_like_privilege": {
"like_desc": "哇~一个大大的赞",
"like_id": "0252"
},
"mbrank": 7,
"mbtype": 12,
"name": "小猪猪__小兔兔",
"newbrand_ability": 0,
"nft_ability": 0,
"online_status": 0,
"pagefriends_count": 37,
"paycolumn_ability": 0,
"pc_new": 0,
"place_ability": 1,
"planet_video": 2,
"profile_image_url": "https://tvax1.sinaimg.cn/crop.0.0.720.720.50/6d912d3cly8hmr5iu4y7tj20k00k0gmv.jpg?KID=imgbed,tva&Expires=1787229465&ssig=cgAqw5hhTJ",
"profile_url": "xiaohuliqiao",
"province": "100",
"ptype": 0,
"remark": "",
"reward_status": 0,
"screen_name": "小猪猪__小兔兔",
"show_auth": 0,
"special_follow": false,
"star": 0,
"status_total_counter": {
"comment_cnt": 5820,
"comment_like_cnt": 29,
"like_cnt": 442,
"repost_cnt": 6014,
"total_cnt": 12305
},
"statuses_count": 18881,
"story_read_state": -1,
"super_topic_not_syn_count": 9,
"svip": 0,
"tab_manage": "[0, 0]",
"type": 1,
"unfollowing_recom_switch": 1,
"urank": 25,
"urisk": 8796093284352,
"url": "",
"user_ability": 2359304,
"user_ability_extend": 68,
"user_limit": 0,
"vclub_member": 0,
"verified": true,
"verified_reason": "超话粉丝钻咖(魔道祖师超话)",
"verified_type": 0,
"verified_type_ext": 0,
"video_mark": 0,
"video_play_count": 0,
"video_status_count": 8,
"video_total_counter": {
"play_cnt": 704
},
"vplus_ability": 0,
"vvip": 0,
"wbcolumn_ability": 0,
"weihao": "",
"wenda_ability": 0
}
},
"type": "comment"
},
{
"category": "detail",
"data": {
"allow_follow": false,
"analysis_extra": "author_uid:7480401147|mid:5258708168476831|rid:5226234197115875170|page:1|index:2|comment_count:29",
"cmt_ext": "level_type:1",
"comment_bubble": {
"end_color": "#1AFEAD3A",
"end_color_dark": "#33FEAD3A",
"icon_url": "https://h5.sinaimg.cn/upload/100/1720/2023/06/14/commentbubble_jin_FEAD3A.png",
"id": "jin_0001",
"name": "金粉专属",
"obtain_type": 3,
"start_color": "#00FEAD3A",
"start_color_dark": "#00FEAD3A"
},
"created_at": "Sat Jan 24 20:20:46 +0800 2026",
"degrade_type": "normal",
"disable_reply": 0,
"floor_number": 1,
"hot_icon": {
"url": "https://h5.sinaimg.cn/upload/100/1640/2022/08/31/detail_comments_icon_firstcomment.png",
"wh_ratio": "1.44"
},
"id": 5258708394969711,
"idstr": "5258708394969711",
"isLikedByMblogAuthor": false,
"item_category": "comment",
"like_counts": 0,
"liked": false,
"mark_type": 1,
"match_ai_play_picture": false,
"max_id": 0,
"mid": "5258708394969711",
"more_info_type": 0,
"pic_num": 0,
"readtimetype": "comment",
"report_scheme": "sinaweibo://mpdialog?scheme=sinaweibo%3A%2F%2Fwbox%3Fid%3Dt8wto09182%26page%3Dpages%2Fcomplaint%2Fcomplaint%26comment%3D%25E5%25A4%25AA%25E6%2599%2592%25E4%25BA%2586%26nickname%3D%25E7%2594%25BB%25E7%2594%25BB%25E7%259A%2584%25E8%258A%25AE%25E6%2589%258B%25E4%25BD%259C%26ct_type%3D2%26rid%3D5258708394969711%26ct_time%3D1787218665485%26ct_sign%3D2714998019%26luicode%3D",
"restrictOperate": 0,
"restrict_state": 0,
"rid": "0_0_0_5226234197115875170_0_0_0",
"rootid": 5258708394969711,
"rootidstr": "5258708394969711",
"scene": "comment_hot",
"source": "<a href=\"\" rel=\"nofollow\">来自 浙江</a>",
"source_allowclick": 0,
"source_type": 4,
"sync_generate_level": 1,
"sync_id": 5258708086161627,
"sync_uuid": 5258708086161627,
"text": "太晒了",
"total_number": 0,
"user": {
"allow_all_act_msg": false,
"allow_all_comment": true,
"audio_ability": 0,
"auth_career": "",
"auth_career_name": "",
"auth_realname": "",
"auth_status": 1,
"avatar_hd": "https://tvax1.sinaimg.cn/crop.0.0.1080.1080.1024/c61deeb8ly8i9p3m9ee6aj20u00u076t.jpg?KID=imgbed,tva&Expires=1787229465&ssig=%2BoJcyyiV91",
"avatar_hd_pid": "c61deeb8ly8i9p3m9ee6aj20u00u076t",
"avatar_large": "https://tvax1.sinaimg.cn/crop.0.0.1080.1080.180/c61deeb8ly8i9p3m9ee6aj20u00u076t.jpg?KID=imgbed,tva&Expires=1787229465&ssig=FD808KGgoh",
"avatar_type": 0,
"badge": {
"companion_card": 0,
"hongbaofei_2022": 0,
"shequweiyuan_2021": 0,
"star_crown": 0,
"taobao": 0
},
"bi_followers_count": 29,
"brand_account": 0,
"chaohua_ability": 0,
"city": "1",
"class": 1,
"cover_image_phone": "https://ww3.sinaimg.cn/crop.0.0.640.640.640/a1d3feabjw1eca1gkmhz8j20hs0hswfn.jpg",
"created_at": "Sun Apr 14 15:35:50 +0800 2013",
"credit_score": 80,
"description": "娃衣下🥚指向标:(🏠v⚡:画画的芮手作)娃衣手作娘 (V⚡.小🍠.痘🦅.x🐟.同名)",
"domain": "",
"ecommerce_ability": 0,
"extend": {
"mbprivilege": "0000000000000000000000000000000000000000000000000000000004c00208",
"privacy": {
"img_search_disabled": 0,
"mobile": 1
}
},
"favourites_count": 0,
"follow_me": false,
"followers_count": 263,
"followers_count_str": "263",
"following": false,
"friends_count": 69,
"gender": "f",
"geo_enabled": true,
"gongyi_ability": 0,
"green_mode": 0,
"hardfan_ability": 1,
"hongbaofei": 0,
"icons": [
{
"actionlog": {
"act_code": 3671,
"ext": "status:fans"
},
"hide": 0,
"length": 2.62,
"name": "vip",
"new_icon": true,
"scheme": "https://page.star.weibo.com/z/bigFans?showmenu=0&blogger_uid=7480401147&fans_uid=3323850424",
"style_type": 0,
"type": "loyal_fans",
"url": "https://h5.sinaimg.cn/upload/114/962/2022/07/08/member_4_bigfan3_1.png"
}
],
"id": 3323850424,
"idstr": "3323850424",
"insecurity": {
"sexual_content": false
},
"interaction_user": 0,
"is_auth": 0,
"is_big": 0,
"is_guardian": 0,
"is_punish": 0,
"is_teenager": 0,
"is_teenager_list": 0,
"lang": "zh-cn",
"level": 1,
"light_ring": false,
"like": false,
"like_display": 0,
"like_me": false,
"live_ability": 0,
"live_status": 0,
"location": "浙江 杭州",
"mb_expire_time": 1789401600,
"mbrank": 4,
"mbtype": 12,
"name": "画画的芮手作",
"newbrand_ability": 0,
"nft_ability": 0,
"online_status": 0,
"pagefriends_count": 9,
"paycolumn_ability": 0,
"pc_new": 0,
"place_ability": 1,
"planet_video": 2,
"profile_image_url": "https://tvax1.sinaimg.cn/crop.0.0.1080.1080.50/c61deeb8ly8i9p3m9ee6aj20u00u076t.jpg?KID=imgbed,tva&Expires=1787229465&ssig=OHEtW8pkuq",
"profile_url": "u/3323850424",
"province": "33",
"ptype": 0,
"remark": "",
"reward_status": 0,
"screen_name": "画画的芮手作",
"show_auth": 0,
"special_follow": false,
"star": 0,
"status_total_counter": {
"comment_cnt": 307,
"comment_like_cnt": 68,
"like_cnt": 526,
"repost_cnt": 125,
"total_cnt": 1026
},
"statuses_count": 1519,
"story_read_state": -1,
"super_topic_not_syn_count": 0,
"svip": 0,
"tab_manage": "[0, 0]",
"type": 1,
"unfollowing_recom_switch": 1,
"urank": 22,
"urisk": 8796093022208,
"url": "",
"user_ability": 35914760,
"user_ability_extend": 64,
"user_limit": 0,
"vclub_member": 0,
"verified": false,
"verified_reason": "",
"verified_type": -1,
"video_mark": 0,
"video_play_count": 0,
"video_status_count": 50,
"video_total_counter": {
"play_cnt": 25406
},
"vplus_ability": 0,
"vvip": 0,
"wbcolumn_ability": 0,
"weihao": "",
"wenda_ability": 0
}
},
"type": "comment"
},
"… 20 more items in the full response"
],
"loadedInfo": "{}",
"moreInfo": {
"error": "网络加载失败,请稍后尝试",
"loading": "正在加载更多",
"moreType": "default",
"pagingType": "cursor",
"params": {
"count": 20,
"lastAdInterval": 10,
"max_id": 138889559850779,
"max_id_type": 0,
"recommend_max_id": 0,
"recommend_page": 0
}
},
"pageData": "{}"
}
}
]Explorar más
| API | Precio | Respuesta |
|---|---|---|
Weibo Post Comments (App)Esta API Weibo | $0.001 por llamada | JSON |
Weibo | $0.001 por llamada | JSON |
Weibo | $0.001 por llamada | JSON |
Weibo | $0.001 por llamada | JSON |
Weibo | $0.001 por llamada | JSON |
Weibo | $0.001 por llamada | JSON |
Preguntas
Envía una solicitud POST a https://api.sandbase.ai/v1/api/weibo/app/status-comments 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.
$0.001 por llamada, facturado desde tu saldo de SandBase. Solo se te cobra por las llamadas que haces; no hay suscripción.
Requeridos: status_id (string). Opcionales: max_id (any) y sort_type (string). La tabla de Parámetros y el Playground de esta página enumeran todos los campos.
Una respuesta JSON devuelta en la misma solicitud HTTP (sincrónica). El README de esta página incluye una respuesta de ejemplo.
No. Weibo Post Comments (App) 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 Weibo por separado.