idstringआवश्यक
Weibo post ID (required)
https://api.sandbase.ai/v1/api/weibo/web-v2/post-detailGet the full data of a single Weibo post by its ID: text (including long posts), author, publish time, location and repost, comment and like counts.
[
{
"data": {
"analysis_extra": "",
"annotations": [
{
"photo_sub_type": "0"
},
{
"phone_id": "-1",
"source_text": ""
},
{
"mapi_request": true
}
],
"attitudes_count": 512,
"attitudes_status": 0,
"can_edit": false,
"cardid": "star_1189",
"comment_manage_info": {
"approval_comment_type": 0,
"comment_anon_type": 0,
"comment_permission_type": -1,
"comment_sort_type": 0
},
"comments_count": 197,
"content_auth": 0,
"created_at": "Mon Oct 05 18:48:45 +0800 2026",
"favorited": false,
"id": 5350731756601957,
"idstr": "5350731756601957",
"isAd": false,
"isLongText": false,
"isSinglePayAudio": false,
"is_paid": false,
"is_show_bulletin": 2,
"is_show_mixed": false,
"mblog_feed_back_menus_format": [],
"mblog_vip_type": 0,
"mblogid": "RlhLprHtb",
"mblogtype": 0,
"md_render_mark": null,
"mid": "5350731756601957",
"mixed_count": 0,
"mlevel": 0,
"number_display_strategy": {
"apply_scenario_flag": 51,
"display_text": "100万+",
"display_text_min_number": 1000000
},
"ok": 1,
"pic_bg_new": "http://vip.storage.weibo.com/feed_cover/star_1189_mobile_new.png?version=2026090701",
"pic_focus_point": [
{
"focus_point": {
"height": 0.428907,
"left": 0.082456,
"top": 0,
"width": 0.640351
},
"img_type": "text_image",
"pic_id": "e2f99469gy1ihro5znqmlj20vo1ba7wh"
}
],
"pic_ids": [
"e2f99469gy1ihro5znqmlj20vo1ba7wh"
],
"pic_infos": {
"e2f99469gy1ihro5znqmlj20vo1ba7wh": {
"bmiddle": {
"cut_type": 1,
"height": 360,
"type": null,
"url": "https://wx4.sinaimg.cn/wap360/e2f99469gy1ihro5znqmlj20vo1ba7wh.jpg",
"width": 241
},
"focus_point": {
"height": 0.428907,
"left": 0.082456,
"top": 0,
"width": 0.640351
},
"large": {
"cut_type": 1,
"height": 1433,
"type": null,
"url": "https://wx4.sinaimg.cn/orj960/e2f99469gy1ihro5znqmlj20vo1ba7wh.jpg",
"width": 960
},
"largecover": {
"cut_type": 1,
"height": 1433,
"type": null,
"url": "https://wx4.sinaimg.cn/cmw960/e2f99469gy1ihro5znqmlj20vo1ba7wh.jpg",
"width": 960
},
"largest": {
"cut_type": 1,
"height": 1702,
"type": null,
"url": "https://wx4.sinaimg.cn/large/e2f99469gy1ihro5znqmlj20vo1ba7wh.jpg",
"width": 1140
},
"mw2000": {
"cut_type": 1,
"height": 1702,
"type": null,
"url": "https://wx4.sinaimg.cn/mw2000/e2f99469gy1ihro5znqmlj20vo1ba7wh.jpg",
"width": 1140
},
"object_id": "1042018:0b24d4f5ee55ff690438b3ea3b96dc59",
"original": {
"cut_type": 1,
"height": 1612,
"type": null,
"url": "https://wx4.sinaimg.cn/orj1080/e2f99469gy1ihro5znqmlj20vo1ba7wh.jpg",
"width": 1080
},
"photo_tag": 0,
"pic_id": "e2f99469gy1ihro5znqmlj20vo1ba7wh",
"pic_status": 1,
"thumbnail": {
"cut_type": 1,
"height": 180,
"type": null,
"url": "https://wx4.sinaimg.cn/wap180/e2f99469gy1ihro5znqmlj20vo1ba7wh.jpg",
"width": 120
},
"type": "pic"
}
},
"pic_num": 1,
"pictureViewerSign": false,
"rcList": [],
"readtimetype": "mblog",
"region_name": "发布于 四川",
"reposts_count": 83,
"rid": "0_0_0_2023588272614739133_0_0_0",
"share_repost_type": 0,
"showFeedComment": false,
"showFeedRepost": false,
"showPictureViewer": false,
"source": "",
"tag_struct": [
{
"actionlog": {
"act_code": 2413,
"ext": "|tag_type:v_plus_darwin",
"fid": null,
"luicode": null,
"oid": "1022:v_plus_darwin1034",
"uicode": null
},
"bd_object_type": "v_plus_darwin",
"desc": "",
"oid": "1022:v_plus_darwin1034",
"tag_hidden": 0,
"tag_name": "数码领域博主TOP50",
"tag_scheme": "https://v6.bang.weibo.com/newczv/1034?sub_field_id=0&date=20260921&period_type=week&show_from=feed&uid=3808007273",
"tag_type": 2,
"url_type_pic": "https://h5.sinaimg.cn/upload/116/1388/2023/09/14/feed_tag_icon_vy.png",
"w_h_ratio": 2.5
}
],
"text": "<a href=\"//s.weibo.com/weibo?q=%23%E5%8D%8E%E4%B8%BA%E9%AB%98%E9%80%9A%20%E8%8A%AF%E7%89%87%23\" target=\"_blank\">#华为高通 芯片#</a>真好。据说华为到账几百亿<img alt=\"[666]\" title=\"[666]\" src=\"https://face.t.sinajs.cn/t4/appstyle/expression/ext/normal/b9/2022_666_mobile.png\" /> ",
"textLength": 44,
"text_raw": "#华为高通 芯片#真好。据说华为到账几百亿[666] ",
"title": {
"base_color": 1,
"icon_url": "http://h5.sinaimg.cn/upload/2015/07/14/34/timeline_title_public.png",
"text": "公开"
},
"topic_struct": [
{
"actionlog": {
"act_code": 300,
"act_type": 1,
"cardid": "",
"ext": "mid:5350731756601957|rid:0_0_0_2023588272614739133_0_0_0|short_url:|long_url:|comment_id:|miduid:3808007273|rootmid:5350731756601957|rootuid:3808007273|authorid:|uuid:5350713936315267|is_ad_weibo:0|oid:1022:2315229c520521fad752b3c2bf72dca1655bef",
"fid": "",
"lcardid": "",
"lfid": "",
"luicode": "",
"oid": "1022:2315229c520521fad752b3c2bf72dca1655bef",
"uicode": "",
"uuid": 5350713936315267
},
"title": "",
"topic_title": "华为高通 芯片",
"topic_url": "sinaweibo://searchall?containerid=231522&q=%23%E5%8D%8E%E4%B8%BA%E9%AB%98%E9%80%9A%20%E8%8A%AF%E7%89%87%23&extparam=%23%E5%8D%8E%E4%B8%BA%E9%AB%98%E9%80%9A%20%E8%8A%AF%E7%89%87%23"
}
],
"user": {
"avatar_hd": "https://tvax4.sinaimg.cn/crop.0.0.1080.1080.1024/e2f99469ly8if86cf5gcqj20u00u0ac7.jpg?KID=imgbed,tva&Expires=1791345863&ssig=f5mF%2FZW7tm",
"avatar_large": "https://tvax4.sinaimg.cn/crop.0.0.1080.1080.180/e2f99469ly8if86cf5gcqj20u00u0ac7.jpg?KID=imgbed,tva&Expires=1791345863&ssig=ffu1%2BfTqww",
"domain": "jlike130480547",
"follow_me": false,
"following": false,
"icon_list": [
{
"data": {
"mbrank": 3,
"mbtype": 12,
"svip": 1,
"vvip": 1
},
"type": "vip"
}
],
"id": 3808007273,
"idstr": "3808007273",
"mbrank": 3,
"mbtype": 12,
"pc_new": 7,
"planet_video": false,
"profile_image_url": "https://tvax4.sinaimg.cn/crop.0.0.1080.1080.50/e2f99469ly8if86cf5gcqj20u00u0ac7.jpg?KID=imgbed,tva&Expires=1791345863&ssig=765M0d%2FiSA",
"profile_url": "/u/3808007273",
"screen_name": "搞机圈的那些事",
"status_total_counter": {
"comment_cnt": "13,492,381",
"like_cnt": "24,589,142",
"repost_cnt": "10,939,208",
"total_cnt": "49,020,731",
"total_cnt_format": "4902.1万"
},
"user_ability": -2135528676,
"v_plus": 1,
"verified": true,
"verified_type": 0,
"verified_type_ext": 1,
"weihao": ""
},
"visible": {
"list_id": 0,
"type": 0
}
}
}
]प्लेग्राउंड में इसके इनपुट और परिणाम लोड करने के लिए कोई उदाहरण चुनें।
Returns the data of a single Weibo post: publish time, region label, repost, comment and like counts, and attached images. It needs the Weibo post ID in id. Long posts can be expanded to full text with is_get_long_text.
curl -X POST "https://api.sandbase.ai/v1/api/weibo/web-v2/post-detail" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"id": "5350554563773695"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | Weibo post ID (required) |
is_get_long_text | string | No | Whether to get full text of long posts (default "true") |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"analysis_extra": "",
"annotations": [
{
"photo_sub_type": "0"
}
],
"attitudes_count": 168,
"attitudes_status": 0,
"can_edit": false,
"comment_manage_info": {
"approval_comment_type": 0,
"comment_anon_type": 0,
"comment_permission_type": -1,
"comment_sort_type": 0
},
"comments_count": 36,
"content_auth": 0,
"created_at": "Mon Oct 05 07:04:39 +0800 2026",
"favorited": false,
"id": 5350554563773695,
"idstr": "5350554563773695"
}
| Field | Meaning |
|---|---|
id / idstr / mid | The post ID as a number and as strings. Use idstr or mid when you need the exact ID without number rounding. |
mblogid | Short alphanumeric ID of the post, the kind used in Weibo post links. |
created_at | Publish time as a text date with a +0800 offset, for example Mon Oct 05 07:04:39 +0800 2026. |
reposts_count / comments_count / attitudes_count | Number of reposts, comments and likes of the post. |
region_name | Region label shown on the post, for example 发布于 美国. |
isLongText | true if the post is a long post. This sample post is false. |
pic_ids | List of IDs of the images attached to the post. Each ID is a key in pic_infos. |
pic_infos.{pic_id}.large.url / pic_infos.{pic_id}.original.url | Image URLs in different sizes. Other sizes are thumbnail, bmiddle, largest and mw2000, each with width and height. |
pic_num | Number of images in the post. |
number_display_strategy.display_text | Short display label for a large count, here 100万+. |
id or mid from a post, or the post ID returned by a Weibo search API, as the id input.is_get_long_text is a string and defaults to "true".pic_infos is the image ID, so read pic_ids first and then look up each ID.$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
बिल्डिंग शुरू करें
एकीकृत authentication और usage tracking के साथ Platform API endpoint.
curl -X POST "https://api.sandbase.ai/v1/api/weibo/web-v2/post-detail" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"id": "5350731756601957",
"is_get_long_text": "true"
}'अपने SandBase API key को अपने सर्वर environment में सेट करें। Requests Bearer authentication का उपयोग करती हैं।
export SANDBASE_API_KEY="YOUR_API_KEY"अपना key सर्वर पर रखें। इसे browser code में expose न करें।
idstringआवश्यकWeibo post ID (required)
is_get_long_textstringWhether to get full text of long posts (default "true")
डिफ़ॉल्ट: "true"
इस API के लिए सेव किया गया example response; इसे देखते समय कोई live request नहीं की जाती।
[
{
"data": {
"analysis_extra": "",
"annotations": [
{
"photo_sub_type": "0"
},
{
"phone_id": "-1",
"source_text": ""
},
{
"mapi_request": true
}
],
"attitudes_count": 512,
"attitudes_status": 0,
"can_edit": false,
"cardid": "star_1189",
"comment_manage_info": {
"approval_comment_type": 0,
"comment_anon_type": 0,
"comment_permission_type": -1,
"comment_sort_type": 0
},
"comments_count": 197,
"content_auth": 0,
"created_at": "Mon Oct 05 18:48:45 +0800 2026",
"favorited": false,
"id": 5350731756601957,
"idstr": "5350731756601957",
"isAd": false,
"isLongText": false,
"isSinglePayAudio": false,
"is_paid": false,
"is_show_bulletin": 2,
"is_show_mixed": false,
"mblog_feed_back_menus_format": [],
"mblog_vip_type": 0,
"mblogid": "RlhLprHtb",
"mblogtype": 0,
"md_render_mark": null,
"mid": "5350731756601957",
"mixed_count": 0,
"mlevel": 0,
"number_display_strategy": {
"apply_scenario_flag": 51,
"display_text": "100万+",
"display_text_min_number": 1000000
},
"ok": 1,
"pic_bg_new": "http://vip.storage.weibo.com/feed_cover/star_1189_mobile_new.png?version=2026090701",
"pic_focus_point": [
{
"focus_point": {
"height": 0.428907,
"left": 0.082456,
"top": 0,
"width": 0.640351
},
"img_type": "text_image",
"pic_id": "e2f99469gy1ihro5znqmlj20vo1ba7wh"
}
],
"pic_ids": [
"e2f99469gy1ihro5znqmlj20vo1ba7wh"
],
"pic_infos": {
"e2f99469gy1ihro5znqmlj20vo1ba7wh": {
"bmiddle": {
"cut_type": 1,
"height": 360,
"type": null,
"url": "https://wx4.sinaimg.cn/wap360/e2f99469gy1ihro5znqmlj20vo1ba7wh.jpg",
"width": 241
},
"focus_point": {
"height": 0.428907,
"left": 0.082456,
"top": 0,
"width": 0.640351
},
"large": {
"cut_type": 1,
"height": 1433,
"type": null,
"url": "https://wx4.sinaimg.cn/orj960/e2f99469gy1ihro5znqmlj20vo1ba7wh.jpg",
"width": 960
},
"largecover": {
"cut_type": 1,
"height": 1433,
"type": null,
"url": "https://wx4.sinaimg.cn/cmw960/e2f99469gy1ihro5znqmlj20vo1ba7wh.jpg",
"width": 960
},
"largest": {
"cut_type": 1,
"height": 1702,
"type": null,
"url": "https://wx4.sinaimg.cn/large/e2f99469gy1ihro5znqmlj20vo1ba7wh.jpg",
"width": 1140
},
"mw2000": {
"cut_type": 1,
"height": 1702,
"type": null,
"url": "https://wx4.sinaimg.cn/mw2000/e2f99469gy1ihro5znqmlj20vo1ba7wh.jpg",
"width": 1140
},
"object_id": "1042018:0b24d4f5ee55ff690438b3ea3b96dc59",
"original": {
"cut_type": 1,
"height": 1612,
"type": null,
"url": "https://wx4.sinaimg.cn/orj1080/e2f99469gy1ihro5znqmlj20vo1ba7wh.jpg",
"width": 1080
},
"photo_tag": 0,
"pic_id": "e2f99469gy1ihro5znqmlj20vo1ba7wh",
"pic_status": 1,
"thumbnail": {
"cut_type": 1,
"height": 180,
"type": null,
"url": "https://wx4.sinaimg.cn/wap180/e2f99469gy1ihro5znqmlj20vo1ba7wh.jpg",
"width": 120
},
"type": "pic"
}
},
"pic_num": 1,
"pictureViewerSign": false,
"rcList": [],
"readtimetype": "mblog",
"region_name": "发布于 四川",
"reposts_count": 83,
"rid": "0_0_0_2023588272614739133_0_0_0",
"share_repost_type": 0,
"showFeedComment": false,
"showFeedRepost": false,
"showPictureViewer": false,
"source": "",
"tag_struct": [
{
"actionlog": {
"act_code": 2413,
"ext": "|tag_type:v_plus_darwin",
"fid": null,
"luicode": null,
"oid": "1022:v_plus_darwin1034",
"uicode": null
},
"bd_object_type": "v_plus_darwin",
"desc": "",
"oid": "1022:v_plus_darwin1034",
"tag_hidden": 0,
"tag_name": "数码领域博主TOP50",
"tag_scheme": "https://v6.bang.weibo.com/newczv/1034?sub_field_id=0&date=20260921&period_type=week&show_from=feed&uid=3808007273",
"tag_type": 2,
"url_type_pic": "https://h5.sinaimg.cn/upload/116/1388/2023/09/14/feed_tag_icon_vy.png",
"w_h_ratio": 2.5
}
],
"text": "<a href=\"//s.weibo.com/weibo?q=%23%E5%8D%8E%E4%B8%BA%E9%AB%98%E9%80%9A%20%E8%8A%AF%E7%89%87%23\" target=\"_blank\">#华为高通 芯片#</a>真好。据说华为到账几百亿<img alt=\"[666]\" title=\"[666]\" src=\"https://face.t.sinajs.cn/t4/appstyle/expression/ext/normal/b9/2022_666_mobile.png\" /> ",
"textLength": 44,
"text_raw": "#华为高通 芯片#真好。据说华为到账几百亿[666] ",
"title": {
"base_color": 1,
"icon_url": "http://h5.sinaimg.cn/upload/2015/07/14/34/timeline_title_public.png",
"text": "公开"
},
"topic_struct": [
{
"actionlog": {
"act_code": 300,
"act_type": 1,
"cardid": "",
"ext": "mid:5350731756601957|rid:0_0_0_2023588272614739133_0_0_0|short_url:|long_url:|comment_id:|miduid:3808007273|rootmid:5350731756601957|rootuid:3808007273|authorid:|uuid:5350713936315267|is_ad_weibo:0|oid:1022:2315229c520521fad752b3c2bf72dca1655bef",
"fid": "",
"lcardid": "",
"lfid": "",
"luicode": "",
"oid": "1022:2315229c520521fad752b3c2bf72dca1655bef",
"uicode": "",
"uuid": 5350713936315267
},
"title": "",
"topic_title": "华为高通 芯片",
"topic_url": "sinaweibo://searchall?containerid=231522&q=%23%E5%8D%8E%E4%B8%BA%E9%AB%98%E9%80%9A%20%E8%8A%AF%E7%89%87%23&extparam=%23%E5%8D%8E%E4%B8%BA%E9%AB%98%E9%80%9A%20%E8%8A%AF%E7%89%87%23"
}
],
"user": {
"avatar_hd": "https://tvax4.sinaimg.cn/crop.0.0.1080.1080.1024/e2f99469ly8if86cf5gcqj20u00u0ac7.jpg?KID=imgbed,tva&Expires=1791345863&ssig=f5mF%2FZW7tm",
"avatar_large": "https://tvax4.sinaimg.cn/crop.0.0.1080.1080.180/e2f99469ly8if86cf5gcqj20u00u0ac7.jpg?KID=imgbed,tva&Expires=1791345863&ssig=ffu1%2BfTqww",
"domain": "jlike130480547",
"follow_me": false,
"following": false,
"icon_list": [
{
"data": {
"mbrank": 3,
"mbtype": 12,
"svip": 1,
"vvip": 1
},
"type": "vip"
}
],
"id": 3808007273,
"idstr": "3808007273",
"mbrank": 3,
"mbtype": 12,
"pc_new": 7,
"planet_video": false,
"profile_image_url": "https://tvax4.sinaimg.cn/crop.0.0.1080.1080.50/e2f99469ly8if86cf5gcqj20u00u0ac7.jpg?KID=imgbed,tva&Expires=1791345863&ssig=765M0d%2FiSA",
"profile_url": "/u/3808007273",
"screen_name": "搞机圈的那些事",
"status_total_counter": {
"comment_cnt": "13,492,381",
"like_cnt": "24,589,142",
"repost_cnt": "10,939,208",
"total_cnt": "49,020,731",
"total_cnt_format": "4902.1万"
},
"user_ability": -2135528676,
"v_plus": 1,
"verified": true,
"verified_type": 0,
"verified_type_ext": 1,
"weihao": ""
},
"visible": {
"list_id": 0,
"type": 0
}
}
}
]और जानें
| API | कीमत | प्रतिक्रिया |
|---|---|---|
Weibo Post Detailयह 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 |
प्रश्न
https://api.sandbase.ai/v1/api/weibo/web-v2/post-detail पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।
$0.001 प्रति call। हर organization को प्रति UTC day 100 निःशुल्क calls मिलती हैं, जो इस सहित योग्य SandBase APIs के बीच साझा होती हैं; उसके बाद हर call का बिल आपकी SandBase balance से इस कीमत पर लिया जाता है। कोई subscription नहीं है।
आवश्यक: id (string)। वैकल्पिक: is_get_long_text (string)। Parameters table और इस पेज का Playground हर field सूचीबद्ध करते हैं।
एक JSON response जो उसी HTTP request में लौटाया जाता है (synchronous)। इस पेज का README एक sample response शामिल करता है।
नहीं। Weibo Post Detail SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से Weibo API access के लिए आवेदन करने की आवश्यकता नहीं है।