status_idstring必填
Post ID (required)
https://api.sandbase.ai/v1/api/weibo/app/status-detailReturns detailed post information from the Weibo app based on a specified post identifier. Use this endpoint to inspect post metadata and actions.
[
{
"data": {
"channelInfo": {
"channelConfig": {
"selectInfo": {
"flowId": "comment",
"pageDataType": "flow"
}
},
"channels": [
{
"actionLog": {
"act_code": 6688,
"ext": "",
"fid": "232532",
"lfid": "",
"luicode": "",
"uicode": "10000002"
},
"apiPath": "statuses/container_detail_forward",
"flowId": "repost",
"pageDataType": "flow",
"params": {
"is_container": "1",
"max_id_type": 0
},
"style": {
"flowType": "flow",
"padding": [
0,
0,
"… 2 more items in the full response"
]
},
"title": "转发",
"titleInfo": {
"icon": "",
"iconDark": "",
"style": {
"backgroundDarkIcon": "",
"backgroundIcon": "",
"font": "",
"fontSize": 16,
"iconHeight": 24,
"iconWidth": 24,
"padding": [
0,
10,
"… 2 more items in the full response"
],
"selectBackgroundDarkIcon": "",
"selectBackgroundIcon": "",
"selectFont": "Bold",
"selectFontSize": 18,
"selectTextColor": "#333333",
"selectTextDarkColor": "#AAAAAA",
"sliderColor": [
"#FFA300",
"#FF6A00"
],
"sliderDarkColor": [
"#FF6A00",
"#FF6A00"
],
"textColor": "#939393",
"textDarkColor": "#D3D3D3"
},
"subTitle": ""
}
},
{
"actionLog": {
"act_code": 6688,
"ext": "",
"fid": "232532",
"lfid": "",
"luicode": "",
"uicode": "10000002"
},
"apiPath": "statuses/container_detail_comment",
"flowId": "comment",
"pageDataType": "flow",
"params": {
"is_container": "1",
"max_id_type": 0
},
"style": {
"flowType": "flow",
"padding": [
0,
0,
"… 2 more items in the full response"
]
},
"title": "评论",
"titleInfo": {
"icon": "",
"iconDark": "",
"style": {
"backgroundDarkIcon": "",
"backgroundIcon": "",
"font": "",
"fontSize": 16,
"iconHeight": 24,
"iconWidth": 24,
"padding": [
0,
10,
"… 2 more items in the full response"
],
"selectBackgroundDarkIcon": "",
"selectBackgroundIcon": "",
"selectFont": "Bold",
"selectFontSize": 18,
"selectTextColor": "#333333",
"selectTextDarkColor": "#AAAAAA",
"sliderColor": [
"#FFA300",
"#FF6A00"
],
"sliderDarkColor": [
"#FF6A00",
"#FF6A00"
],
"textColor": "#939393",
"textDarkColor": "#D3D3D3"
},
"subTitle": ""
}
},
"… 1 more items in the full response"
]
},
"config": "{}",
"detailInfo": {
"extend": {
"ab_switcher": 393284,
"ad_marked": false,
"alchemy_params": {
"status_header_enable": true,
"ug_red_envelope": true
},
"allow_comment": false,
"annotations": [
{
"photo_sub_type": "0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0"
},
{
"client_mblogid": "iPhone-713224CE-27A1-42C1-BB3B-A925A4D92564"
},
"… 2 more items in the full response"
],
"attitudes_count": 87550,
"attitudes_status": 0,
"author_type": 1,
"bullet_screens_shield": 0,
"can_reprint": false,
"comment_data": {
"actionlog": {
"act": "actlog",
"act_code": "3860",
"ext": "rid:0_0_0_5226270566909505518_0_0_0|type:comment_guide",
"fid": "232532",
"uicode": "10000001"
},
"desc": "友善评论,文明发言",
"icon": "",
"show_follow_screen_ratio": "0.5",
"show_log": {
"act": "actlog",
"act_code": "3859",
"ext": "rid:0_0_0_5226270566909505518_0_0_0|type:comment_guide",
"fid": "232532",
"uicode": "10000001"
},
"type": 0
},
"comment_guide_placeholder": "友善评论,文明发言",
"comment_manage_info": {
"approval_comment_type": 0,
"comment_permission_type": -1,
"comment_sort_type": 0
},
"comment_privilege": 3,
"comments_count": 2706,
"content_auth": 0,
"custom_action_list": [
{
"type": "mblog_menus_comment_manager"
},
{
"type": "mblog_menus_avatar_widget"
},
"… 19 more items in the full response"
],
"detail_bottom_bar": 0,
"detail_top_right_button": {
"actionlog": {
"act_code": 8312,
"ext": "id:5016922058656962|uid:2057503909521|type:zhisou",
"fid": "232532",
"uicode": "10000002"
},
"icon_url": "https://d.sinaimg.cn/prd/110/2147/2026/05/08/feed_zhisou_icon_26.png",
"scheme": "sinaweibo://messagelist?uid=7892270010&nick=微博智搜&ext={\"is_force_creation\":1}&send_msg=https://weibo.com/7648703289/5016922058656962&send_from=blog_search&t=836&extjob_sendfrom=blog_search&ai_msg_need_preload=1"
},
"dynamic_share_items": [
{
"actionlog": {
"act_code": 2381,
"fid": "232532",
"lfid": "",
"uicode": "10000002"
},
"icon": "https://h5.sinaimg.cn/upload/100/1497/2022/02/25/more_chaohua.png",
"scheme": "sinaweibo://repost?srcid=5016922058656962&srcuid=7648703289&srcnickname=%E6%82%B2%E4%BC%A4%E8%8D%B7%E5%8C%85%E8%9B%8B&srcprofileurl=https%3A%2F%2Ftvax3.sinaimg.cn%2Fcrop.0.0.1080.1080.180%2F008lDb85ly8ha4by3jwh3j30u00u0q47.jpg%3FKID%3Dimgbed%2Ctva%26Expires%3D1787229343%26ssig%3DhE5oKg4DsZ&srctext=%…",
"text": "超话",
"type": 100
}
],
"enable_comment_guide": true,
"extern_safe": 0,
"favorited": 0,
"followers_count": 3647308,
"followers_count_str": "364.7万",
"forbid_bullet_screens": 0,
"friends_count": 292,
"hide_flag": 0,
"hot_page": {
"feed_detail_type": 0,
"fid": "232532_mblog"
},
"is_paid": false,
"is_show_mixed": false,
"item_category": "status",
"like_attitude_type": 0,
"mblogtype": 0,
"mixed_count": 0,
"most_attitude_type": 2,
"multi_attitude": [
{
"count": 0,
"type": 6
},
{
"count": 1,
"type": 4
},
"… 4 more items in the full response"
],
"new_comment_style": 0,
"number_display_strategy": {
"apply_scenario_flag": 51,
"display_text": "100万+",
"display_text_min_number": 1000000
},
"pending_approval_count": 0,
"…": "20 more fields in the full response"
},
"status": {
"ad_marked": false,
"annotations": [
{
"photo_sub_type": "0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0"
},
{
"client_mblogid": "iPhone-713224CE-27A1-42C1-BB3B-A925A4D92564"
},
"… 2 more items in the full response"
],
"appid": 2731378,
"attitudes_animation": 1,
"attitudes_count": 87550,
"attitudes_status": 0,
"author_type": 1,
"bmiddle_pic": "https://wx1.sinaimg.cn/bmiddle/008lDb85gy1ho6nv2h43qj30u0140n42.jpg",
"bottom_bar_dyna": {
"cell_item": {
"category": "dynamic",
"itemExt": {
"bizType": "common"
},
"type": "detailBottomBarDefaultButtonStyle"
}
},
"can_edit": false,
"can_reprint": false,
"comment_guide_ext": "guide_type:-1|source:1",
"comment_guide_placeholder": "友善评论,文明发言",
"comment_manage_info": {
"approval_comment_type": 0,
"comment_permission_type": -1,
"comment_sort_type": 0
},
"comments_count": 2706,
"content_auth": 0,
"created_at": "Thu Mar 28 15:28:11 +0800 2024",
"detail_bottom_bar": 0,
"edit_config": {選擇一個範例,將其輸入與結果載入 playground。
Returns the details of one Weibo post from the Weibo app. It needs the post ID in status_id. The response holds the post's counts, creation time, IDs, and the tabs the app uses to load reposts, comments and likes.
mblogid of a post to build a link or match records.curl -X POST "https://api.sandbase.ai/v1/api/weibo/app/status-detail" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"status_id": "5016922058656962"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
status_id | string | Yes | Post ID (required) |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"channelInfo": {
"channelConfig": {
"selectInfo": {
"flowId": "comment",
"pageDataType": "flow"
}
},
"channels": [
{
"actionLog": {
"act_code": 6688,
"ext": "",
"fid": "232532",
"lfid": "",
"luicode": "",
"uicode": "10000002"
},
"apiPath": "statuses/container_detail_forward",
"flowId": "repost",
"pageDataType": "flow",
"params": {
"is_container": "1",
"max_id_type": 0
},
"style": {
"flowType": "flow",
"padding": [
0.0
]
},
"title": "转发",
"titleInfo": {
"icon": "",
"iconDark": "",
"style": {
"backgroundDarkIcon": "",
"backgroundIcon": "",
"font": "",
"fontSize": 16,
"iconHeight": 24,
"iconWidth": 24,
"padding": [
0.0
],
"selectBackgroundDarkIcon": ""
},
"subTitle": ""
}
}
]
},
"config": "{}",
"detailInfo": {
"extend": {
"ab_switcher": 33947716,
"ad_marked": false,
"ai_search_config": {
"ai_preload_time": 1000
},
"alchemy_params": {
"status_header_enable": true,
"ug_red_envelope": true
},
"allow_comment": false,
"annotations": [
{
"photo_sub_type": "0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0"
}
],
"attitudes_count": 87629,
"attitudes_status": 0,
"author_type": 1,
"bullet_screens_shield": 0,
"can_reprint": false,
"comment_data": {
"actionlog": {
"act": "actlog",
"act_code": "3860",
"ext": "rid:0_0_0_5226270566909505518_0_0_0|type:comment_guide",
"fid": "232532",
"uicode": "10000001"
},
"desc": "有话要说,快来评论",
"icon": "",
"show_follow_screen_ratio": "0.5",
"show_log": {
"act": "actlog",
"act_code": "3859",
"ext": "rid:0_0_0_5226270566909505518_0_0_0|type:comment_guide",
"fid": "232532",
"uicode": "10000001"
},
"type": 0
}
},
"status": {
"ad_marked": false,
"annotations": [
{
"photo_sub_type": "0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0"
}
],
"appid": 2731378,
"attitudes_animation": 1,
"attitudes_count": 87629,
"attitudes_status": 0,
"author_type": 1,
"bmiddle_pic": "https://wx1.sinaimg.cn/bmiddle/008lDb85gy1ho6nv2h43qj30u0140n42.jpg",
"bottom_bar_dyna": {
"cell_item": {
"category": "dynamic",
"itemExt": {
"bizType": "common"
},
"type": "detailBottomBarDefaultButtonStyle"
}
},
"can_edit": false,
"can_reprint": false,
"comment_guide_ext": "guide_type:-1|source:1"
}
},
"loadedInfo": "{}",
"pageFooter": {
"type": "detail_default"
},
"pageHeader": "{}",
"pageRefresh": "{}",
"pageTabBar": "{}",
"pageTitle": "{}",
"refreshInfo": "{}"
}
| Field | Meaning |
|---|---|
detailInfo.status.id / detailInfo.status.idstr / detailInfo.status.mid | Post ID as a number and as a string. The string form is safer for large values. |
detailInfo.status.mblogid | Short post code (for example O76dDAk4q). It is a second identifier for the same post. |
detailInfo.status.created_at | Time the post was created, as text with a +0800 offset. |
detailInfo.status.attitudes_count / detailInfo.status.comments_count / detailInfo.status.favorites_count | Counts of likes, comments and favorites for the post. |
detailInfo.status.isLongText | Shows true when the post is a long text post. |
detailInfo.status.bmiddle_pic | URL of a medium-size picture attached to the post. |
detailInfo.extend.followers_count / detailInfo.extend.followers_count_str | Follower count of the post author, as a number and as a short display text such as 362.4万. |
detailInfo.extend.allow_comment / detailInfo.extend.can_reprint | Flags that show whether commenting and reposting are allowed on the post. |
detailInfo.extend.multi_attitude[] | Counts of reactions by reaction type. |
channelInfo.channels[].apiPath | App path used to load each tab: reposts, comments or likes. flowId names the tab and title is its label. |
status_id is the numeric post ID. The same value comes back as detailInfo.status.idstr.actionlog, style and scheme. Most users can ignore them.$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/weibo/app/status-detail" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"status_id": "5016922058656962"
}'請將您的 SandBase API 金鑰設定在伺服器環境中。請求使用 Bearer 驗證。
export SANDBASE_API_KEY="YOUR_API_KEY"請將金鑰保留在伺服器端,不要在瀏覽器程式碼中公開。
status_idstring必填Post ID (required)
這是此 API 的已儲存範例回應;檢視時不會發出即時請求。
[
{
"data": {
"channelInfo": {
"channelConfig": {
"selectInfo": {
"flowId": "comment",
"pageDataType": "flow"
}
},
"channels": [
{
"actionLog": {
"act_code": 6688,
"ext": "",
"fid": "232532",
"lfid": "",
"luicode": "",
"uicode": "10000002"
},
"apiPath": "statuses/container_detail_forward",
"flowId": "repost",
"pageDataType": "flow",
"params": {
"is_container": "1",
"max_id_type": 0
},
"style": {
"flowType": "flow",
"padding": [
0,
0,
"… 2 more items in the full response"
]
},
"title": "转发",
"titleInfo": {
"icon": "",
"iconDark": "",
"style": {
"backgroundDarkIcon": "",
"backgroundIcon": "",
"font": "",
"fontSize": 16,
"iconHeight": 24,
"iconWidth": 24,
"padding": [
0,
10,
"… 2 more items in the full response"
],
"selectBackgroundDarkIcon": "",
"selectBackgroundIcon": "",
"selectFont": "Bold",
"selectFontSize": 18,
"selectTextColor": "#333333",
"selectTextDarkColor": "#AAAAAA",
"sliderColor": [
"#FFA300",
"#FF6A00"
],
"sliderDarkColor": [
"#FF6A00",
"#FF6A00"
],
"textColor": "#939393",
"textDarkColor": "#D3D3D3"
},
"subTitle": ""
}
},
{
"actionLog": {
"act_code": 6688,
"ext": "",
"fid": "232532",
"lfid": "",
"luicode": "",
"uicode": "10000002"
},
"apiPath": "statuses/container_detail_comment",
"flowId": "comment",
"pageDataType": "flow",
"params": {
"is_container": "1",
"max_id_type": 0
},
"style": {
"flowType": "flow",
"padding": [
0,
0,
"… 2 more items in the full response"
]
},
"title": "评论",
"titleInfo": {
"icon": "",
"iconDark": "",
"style": {
"backgroundDarkIcon": "",
"backgroundIcon": "",
"font": "",
"fontSize": 16,
"iconHeight": 24,
"iconWidth": 24,
"padding": [
0,
10,
"… 2 more items in the full response"
],
"selectBackgroundDarkIcon": "",
"selectBackgroundIcon": "",
"selectFont": "Bold",
"selectFontSize": 18,
"selectTextColor": "#333333",
"selectTextDarkColor": "#AAAAAA",
"sliderColor": [
"#FFA300",
"#FF6A00"
],
"sliderDarkColor": [
"#FF6A00",
"#FF6A00"
],
"textColor": "#939393",
"textDarkColor": "#D3D3D3"
},
"subTitle": ""
}
},
"… 1 more items in the full response"
]
},
"config": "{}",
"detailInfo": {
"extend": {
"ab_switcher": 393284,
"ad_marked": false,
"alchemy_params": {
"status_header_enable": true,
"ug_red_envelope": true
},
"allow_comment": false,
"annotations": [
{
"photo_sub_type": "0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0"
},
{
"client_mblogid": "iPhone-713224CE-27A1-42C1-BB3B-A925A4D92564"
},
"… 2 more items in the full response"
],
"attitudes_count": 87550,
"attitudes_status": 0,
"author_type": 1,
"bullet_screens_shield": 0,
"can_reprint": false,
"comment_data": {
"actionlog": {
"act": "actlog",
"act_code": "3860",
"ext": "rid:0_0_0_5226270566909505518_0_0_0|type:comment_guide",
"fid": "232532",
"uicode": "10000001"
},
"desc": "友善评论,文明发言",
"icon": "",
"show_follow_screen_ratio": "0.5",
"show_log": {
"act": "actlog",
"act_code": "3859",
"ext": "rid:0_0_0_5226270566909505518_0_0_0|type:comment_guide",
"fid": "232532",
"uicode": "10000001"
},
"type": 0
},
"comment_guide_placeholder": "友善评论,文明发言",
"comment_manage_info": {
"approval_comment_type": 0,
"comment_permission_type": -1,
"comment_sort_type": 0
},
"comment_privilege": 3,
"comments_count": 2706,
"content_auth": 0,
"custom_action_list": [
{
"type": "mblog_menus_comment_manager"
},
{
"type": "mblog_menus_avatar_widget"
},
"… 19 more items in the full response"
],
"detail_bottom_bar": 0,
"detail_top_right_button": {
"actionlog": {
"act_code": 8312,
"ext": "id:5016922058656962|uid:2057503909521|type:zhisou",
"fid": "232532",
"uicode": "10000002"
},
"icon_url": "https://d.sinaimg.cn/prd/110/2147/2026/05/08/feed_zhisou_icon_26.png",
"scheme": "sinaweibo://messagelist?uid=7892270010&nick=微博智搜&ext={\"is_force_creation\":1}&send_msg=https://weibo.com/7648703289/5016922058656962&send_from=blog_search&t=836&extjob_sendfrom=blog_search&ai_msg_need_preload=1"
},
"dynamic_share_items": [
{
"actionlog": {
"act_code": 2381,
"fid": "232532",
"lfid": "",
"uicode": "10000002"
},
"icon": "https://h5.sinaimg.cn/upload/100/1497/2022/02/25/more_chaohua.png",
"scheme": "sinaweibo://repost?srcid=5016922058656962&srcuid=7648703289&srcnickname=%E6%82%B2%E4%BC%A4%E8%8D%B7%E5%8C%85%E8%9B%8B&srcprofileurl=https%3A%2F%2Ftvax3.sinaimg.cn%2Fcrop.0.0.1080.1080.180%2F008lDb85ly8ha4by3jwh3j30u00u0q47.jpg%3FKID%3Dimgbed%2Ctva%26Expires%3D1787229343%26ssig%3DhE5oKg4DsZ&srctext=%…",
"text": "超话",
"type": 100
}
],
"enable_comment_guide": true,
"extern_safe": 0,
"favorited": 0,
"followers_count": 3647308,
"followers_count_str": "364.7万",
"forbid_bullet_screens": 0,
"friends_count": 292,
"hide_flag": 0,
"hot_page": {
"feed_detail_type": 0,
"fid": "232532_mblog"
},
"is_paid": false,
"is_show_mixed": false,
"item_category": "status",
"like_attitude_type": 0,
"mblogtype": 0,
"mixed_count": 0,
"most_attitude_type": 2,
"multi_attitude": [
{
"count": 0,
"type": 6
},
{
"count": 1,
"type": 4
},
"… 4 more items in the full response"
],
"new_comment_style": 0,
"number_display_strategy": {
"apply_scenario_flag": 51,
"display_text": "100万+",
"display_text_min_number": 1000000
},
"pending_approval_count": 0,
"…": "20 more fields in the full response"
},
"status": {
"ad_marked": false,
"annotations": [
{
"photo_sub_type": "0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0"
},
{
"client_mblogid": "iPhone-713224CE-27A1-42C1-BB3B-A925A4D92564"
},
"… 2 more items in the full response"
],
"appid": 2731378,
"attitudes_animation": 1,
"attitudes_count": 87550,
"attitudes_status": 0,
"author_type": 1,
"bmiddle_pic": "https://wx1.sinaimg.cn/bmiddle/008lDb85gy1ho6nv2h43qj30u0140n42.jpg",
"bottom_bar_dyna": {
"cell_item": {
"category": "dynamic",
"itemExt": {
"bizType": "common"
},
"type": "detailBottomBarDefaultButtonStyle"
}
},
"can_edit": false,
"can_reprint": false,
"comment_guide_ext": "guide_type:-1|source:1",
"comment_guide_placeholder": "友善评论,文明发言",
"comment_manage_info": {
"approval_comment_type": 0,
"comment_permission_type": -1,
"comment_sort_type": 0
},
"comments_count": 2706,
"content_auth": 0,
"created_at": "Thu Mar 28 15:28:11 +0800 2024",
"detail_bottom_bar": 0,
"edit_config": {
"edited": false
},
"enable_comment_guide": true,
"extern_safe": 0,
"favorited": false,
"favorites_count": 0,
"gif_ids": "",
"hide_flag": 0,
"id": 5016922058656962,
"idstr": "5016922058656962",
"isLongText": true,
"is_fold": 0,
"is_paid": false,
"is_show_bulletin": 2,
"is_show_mixed": false,
"item_category": "status",
"mblog_menu_new_style": 1,
"mblog_vip_type": 0,
"mblogid": "O76dDAk4q",
"mblogtype": 0,
"mid": "5016922058656962",
"mixed_count": 0,
"mlevel": 0,
"…": "41 more fields in the full response"
}
},
"loadedInfo": "{}",
"pageFooter": {
"type": "detail_default"
},
"pageHeader": "{}",
"pageRefresh": "{}",
"pageTabBar": "{}",
"pageTitle": "{}",
"refreshInfo": "{}"
}
}
]探索更多
| API | 價格 | 回應 |
|---|---|---|
Weibo | 每次呼叫 $0.001 | JSON |
Weibo | 每次呼叫 $0.001 | JSON |
Weibo | 每次呼叫 $0.001 | JSON |
Weibo | 每次呼叫 $0.001 | JSON |
Weibo | 每次呼叫 $0.001 | JSON |
Weibo | 每次呼叫 $0.001 | JSON |
問題
使用 POST 請求將您的 SandBase API 金鑰放在 Authorization 標頭(Bearer)中,並以 JSON 主體傳入參數,即可呼叫 https://api.sandbase.ai/v1/api/weibo/app/status-detail。您也可以直接在本頁的 Playground 試用,不必撰寫程式碼。
每次 $0.001。每個組織每個 UTC 日可免費呼叫 100 次,並可在包含此 API 在內的所有符合資格之 SandBase APIs 間共用;超過後,每次呼叫都會從您的 SandBase 餘額中以此價格計費。沒有訂閱方案。
必要:status_id (string)。 本頁的 Parameters 表格與 Playground 會列出每個欄位。
在同一個 HTTP 請求中回傳的 JSON 回應(同步)。 本頁的 README 包含範例回應。
不需要。Weibo Post Detail (App) 是透過 SandBase 運作,因此一組 SandBase API 金鑰即可使用此端點以及目錄中的其他所有 API 和模型。您不需要另外申請 Weibo API 存取權。