status_idstringbắt buộc
Post ID or Video ID (required)
https://api.sandbase.ai/v1/api/weibo/app/status-likesReturns the list of likes for a specified Weibo post or video. Supports filtering reactions using an attitude type parameter.
[
{
"data": {
"config": "{}",
"items": [
{
"category": "detail",
"data": {
"attitudes_count": [
{
"count": 87592,
"type": 0
},
{
"count": 0,
"type": 6
},
{
"count": 79169,
"type": 1
},
"… 5 more items in the full response"
],
"cur_sub_tab": 0
},
"type": "like_attitude"
},
{
"category": "detail",
"data": {
"attitude": 1,
"hidden_right_btn": false,
"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.960.960.1024/008t3MgYly8ibwta5yefxj30qo0qodi7.jpg?KID=imgbed,tva&Expires=1790710717&ssig=sQxu5BPfj9",
"avatar_hd_pid": "008t3MgYly8ibwta5yefxj30qo0qodi7",
"avatar_large": "https://tvax1.sinaimg.cn/crop.0.0.960.960.180/008t3MgYly8ibwta5yefxj30qo0qodi7.jpg?KID=imgbed,tva&Expires=1790710717&ssig=59P8WNmUxP",
"avatar_type": 0,
"badge": {},
"bi_followers_count": 0,
"brand_account": 0,
"chaohua_ability": 0,
"city": "1000",
"class": 1,
"cover_image_phone": "https://ww1.sinaimg.cn/crop.0.0.640.640.640/549d0121tw1egm1kjly3jj20hs0hsq4f.jpg",
"created_at": "Fri May 13 21:16:00 +0800 2022",
"credit_score": 80,
"description": "暂无介绍",
"domain": "",
"ecommerce_ability": 0,
"favourites_count": 0,
"follow_me": false,
"followers_count": 7,
"followers_count_str": "7",
"following": false,
"friends_count": 40,
"gender": "m",
"geo_enabled": true,
"gongyi_ability": 0,
"green_mode": 0,
"hardfan_ability": 0,
"hongbaofei": 0,
"id": 7758476948,
"idstr": "7758476948",
"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",
"light_ring": false,
"like": false,
"like_display": 0,
"like_me": false,
"live_ability": 0,
"live_status": 0,
"location": "海南",
"mb_expire_time": 0,
"mbrank": 0,
"mbtype": 0,
"name": "唯心cry",
"newbrand_ability": 0,
"nft_ability": 0,
"online_status": 0,
"pagefriends_count": 17,
"paycolumn_ability": 0,
"pc_new": 0,
"place_ability": 0,
"planet_video": 0,
"profile_image_url": "https://tvax1.sinaimg.cn/crop.0.0.960.960.50/008t3MgYly8ibwta5yefxj30qo0qodi7.jpg?KID=imgbed,tva&Expires=1790710717&ssig=WxB622SSv8",
"profile_url": "u/7758476948",
"province": "46",
"ptype": 0,
"remark": "",
"reward_status": 0,
"screen_name": "唯心cry",
"show_auth": 0,
"special_follow": false,
"star": 0,
"status_total_counter": {
"comment_cnt": 0,
"comment_like_cnt": 0,
"like_cnt": 0,
"repost_cnt": 0,
"total_cnt": 0
},
"statuses_count": 0,
"story_read_state": -1,
"super_topic_not_syn_count": 0,
"svip": 0,
"unfollowing_recom_switch": 1,
"urank": 0,
"urisk": 0,
"url": "",
"user_ability": 2097152,
"user_ability_extend": 0,
"vclub_member": 0,
"verified": false,
"verified_reason": "",
"verified_type": -1,
"video_mark": 0,
"video_play_count": 0,
"video_status_count": 0,
"video_total_counter": {
"play_cnt": -1
},
"vplus_ability": 0,
"vvip": 0,
"wbcolumn_ability": 0,
"weihao": "",
"wenda_ability": 0
}
},
"type": "like"
},
{
"category": "detail",
"data": {
"attitude": 1,
"hidden_right_btn": false,
"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://tvax2.sinaimg.cn/crop.0.0.874.874.1024/006HOCrMly8hvbf82augtj30oa0oat9n.jpg?KID=imgbed,tva&Expires=1790710717&ssig=40ptC29Tog",
"avatar_hd_pid": "006HOCrMly8hvbf82augtj30oa0oat9n",
"avatar_large": "https://tvax2.sinaimg.cn/crop.0.0.874.874.180/006HOCrMly8hvbf82augtj30oa0oat9n.jpg?KID=imgbed,tva&Expires=1790710717&ssig=kF00KSVSHk",
"avatar_type": 0,
"badge": {},
"bi_followers_count": 0,
"brand_account": 0,
"chaohua_ability": 0,
"city": "1000",
"class": 1,
"created_at": "Thu Feb 16 21:27:05 +0800 2017",
"credit_score": 80,
"description": "磕到就是赚到",
"domain": "",
"ecommerce_ability": 0,
"favourites_count": 296,
"follow_me": false,
"followers_count": 50,
"followers_count_str": "50",
"following": false,
"friends_count": 382,
"gender": "m",
"geo_enabled": true,
"gongyi_ability": 0,
"green_mode": 0,
"hardfan_ability": 0,
"hongbaofei": 0,
"id": 6144243634,
"idstr": "6144243634",
"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",
"light_ring": false,
"like": false,
"like_display": 0,
"like_me": false,
"live_ability": 0,
"live_status": 0,
"location": "其他",
"mb_expire_time": 0,
"mbrank": 0,
"mbtype": 0,
"name": "我只是爱磕糖",
"newbrand_ability": 0,
"nft_ability": 0,
"online_status": 0,
"pagefriends_count": 17,
"paycolumn_ability": 0,
"pc_new": 0,
"place_ability": 0,
"planet_video": 0,
"profile_image_url": "https://tvax2.sinaimg.cn/crop.0.0.874.874.50/006HOCrMly8hvbf82augtj30oa0oat9n.jpg?KID=imgbed,tva&Expires=1790710717&ssig=36JOuSNmnh",
"profile_url": "u/6144243634",
"province": "100",
"ptype": 0,
"remark": "",
"reward_status": 0,
"screen_name": "我只是爱磕糖",
"show_auth": 0,
"special_follow": false,
"star": 0,
"status_total_counter": {
"comment_cnt": 1,
"comment_like_cnt": 0,
"like_cnt": 0,
"repost_cnt": 0,
"total_cnt": 1
},
"statuses_count": 140,
"story_read_state": -1,
"super_topic_not_syn_count": 0,
"svip": 0,
"unfollowing_recom_switch": 1,
"urank": 4,
"urisk": 0,
"url": "",
"user_ability": 2097152,
"user_ability_extend": 0,
"vclub_member": 0,
"verified": false,
"verified_reason": "",
"verified_type": -1,
"video_mark": 0,
"video_play_count": 0,
"video_status_count": 0,
"video_total_counter": {
"play_cnt": -1
},
"vplus_ability": 0,
"vvip": 0,
"wbcolumn_ability": 0,
"weihao": "",
"wenda_ability": 0
}
},
"type": "like"
},
"… 48 more items in the full response"
],
"loadedInfo": "{}",
"pageData": "{}"
}
}
]Chọn một ví dụ để nạp đầu vào và kết quả của nó vào playground.
Returns the users who liked a Weibo post or video, plus a summary of like counts by reaction type. It needs one input, the post ID or video ID in status_id. You can narrow the results with attitude_type.
attitude_type to study one kind of reaction.curl -X POST "https://api.sandbase.ai/v1/api/weibo/app/status-likes" \
-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 or Video ID (required) |
attitude_type | string | No | Like type filter |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"config": "{}",
"items": [
{
"category": "detail",
"data": {
"attitudes_count": [
{
"count": 87629,
"type": 0
}
],
"cur_sub_tab": 0
},
"type": "like_attitude"
}
],
"loadedInfo": "{}",
"pageData": "{}"
}
| Field | Meaning |
|---|---|
items[].type | Row kind. like_attitude is the summary row with counts. like is one user who liked the post. |
items[].data.attitudes_count[].count | Number of likes for one reaction type in the summary row. |
items[].data.attitudes_count[].type | Reaction type code for that count. The response shows values 0, 1 and 6, and does not name them. |
items[].data.attitude | Reaction type code of the like from this user. The sample rows show 1. |
items[].data.user | Profile object of the user who liked the post. |
items[].data.user.avatar_hd | URL of the user's high-resolution avatar image. |
items[].data.user.auth_status | Numeric verification status of the user's account. |
items[].data.user.allow_all_comment / items[].data.user.allow_all_act_msg | Boolean flags for the user's settings. They show whether everyone may comment and whether everyone may send action messages. |
id of a post as status_id. The example value is 5016922058656962.items is the like_attitude summary row. User rows with type like follow it.config, loadedInfo and pageData, come back as empty JSON strings in this sample.$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
Bắt đầu xây dựng
Endpoint API của nền tảng với xác thực và theo dõi mức sử dụng thống nhất.
curl -X POST "https://api.sandbase.ai/v1/api/weibo/app/status-likes" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"status_id": "5016922058656962"
}'Đặt SandBase API key của bạn trong môi trường máy chủ. Các request sử dụng xác thực Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Giữ key của bạn trên máy chủ. Không hiển thị trong mã chạy trên trình duyệt.
status_idstringbắt buộcPost ID or Video ID (required)
attitude_typestringLike type filter
Đây là phản hồi ví dụ đã lưu cho API này; không có request thực nào được gửi khi xem mục này.
[
{
"data": {
"config": "{}",
"items": [
{
"category": "detail",
"data": {
"attitudes_count": [
{
"count": 87592,
"type": 0
},
{
"count": 0,
"type": 6
},
{
"count": 79169,
"type": 1
},
"… 5 more items in the full response"
],
"cur_sub_tab": 0
},
"type": "like_attitude"
},
{
"category": "detail",
"data": {
"attitude": 1,
"hidden_right_btn": false,
"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.960.960.1024/008t3MgYly8ibwta5yefxj30qo0qodi7.jpg?KID=imgbed,tva&Expires=1790710717&ssig=sQxu5BPfj9",
"avatar_hd_pid": "008t3MgYly8ibwta5yefxj30qo0qodi7",
"avatar_large": "https://tvax1.sinaimg.cn/crop.0.0.960.960.180/008t3MgYly8ibwta5yefxj30qo0qodi7.jpg?KID=imgbed,tva&Expires=1790710717&ssig=59P8WNmUxP",
"avatar_type": 0,
"badge": {},
"bi_followers_count": 0,
"brand_account": 0,
"chaohua_ability": 0,
"city": "1000",
"class": 1,
"cover_image_phone": "https://ww1.sinaimg.cn/crop.0.0.640.640.640/549d0121tw1egm1kjly3jj20hs0hsq4f.jpg",
"created_at": "Fri May 13 21:16:00 +0800 2022",
"credit_score": 80,
"description": "暂无介绍",
"domain": "",
"ecommerce_ability": 0,
"favourites_count": 0,
"follow_me": false,
"followers_count": 7,
"followers_count_str": "7",
"following": false,
"friends_count": 40,
"gender": "m",
"geo_enabled": true,
"gongyi_ability": 0,
"green_mode": 0,
"hardfan_ability": 0,
"hongbaofei": 0,
"id": 7758476948,
"idstr": "7758476948",
"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",
"light_ring": false,
"like": false,
"like_display": 0,
"like_me": false,
"live_ability": 0,
"live_status": 0,
"location": "海南",
"mb_expire_time": 0,
"mbrank": 0,
"mbtype": 0,
"name": "唯心cry",
"newbrand_ability": 0,
"nft_ability": 0,
"online_status": 0,
"pagefriends_count": 17,
"paycolumn_ability": 0,
"pc_new": 0,
"place_ability": 0,
"planet_video": 0,
"profile_image_url": "https://tvax1.sinaimg.cn/crop.0.0.960.960.50/008t3MgYly8ibwta5yefxj30qo0qodi7.jpg?KID=imgbed,tva&Expires=1790710717&ssig=WxB622SSv8",
"profile_url": "u/7758476948",
"province": "46",
"ptype": 0,
"remark": "",
"reward_status": 0,
"screen_name": "唯心cry",
"show_auth": 0,
"special_follow": false,
"star": 0,
"status_total_counter": {
"comment_cnt": 0,
"comment_like_cnt": 0,
"like_cnt": 0,
"repost_cnt": 0,
"total_cnt": 0
},
"statuses_count": 0,
"story_read_state": -1,
"super_topic_not_syn_count": 0,
"svip": 0,
"unfollowing_recom_switch": 1,
"urank": 0,
"urisk": 0,
"url": "",
"user_ability": 2097152,
"user_ability_extend": 0,
"vclub_member": 0,
"verified": false,
"verified_reason": "",
"verified_type": -1,
"video_mark": 0,
"video_play_count": 0,
"video_status_count": 0,
"video_total_counter": {
"play_cnt": -1
},
"vplus_ability": 0,
"vvip": 0,
"wbcolumn_ability": 0,
"weihao": "",
"wenda_ability": 0
}
},
"type": "like"
},
{
"category": "detail",
"data": {
"attitude": 1,
"hidden_right_btn": false,
"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://tvax2.sinaimg.cn/crop.0.0.874.874.1024/006HOCrMly8hvbf82augtj30oa0oat9n.jpg?KID=imgbed,tva&Expires=1790710717&ssig=40ptC29Tog",
"avatar_hd_pid": "006HOCrMly8hvbf82augtj30oa0oat9n",
"avatar_large": "https://tvax2.sinaimg.cn/crop.0.0.874.874.180/006HOCrMly8hvbf82augtj30oa0oat9n.jpg?KID=imgbed,tva&Expires=1790710717&ssig=kF00KSVSHk",
"avatar_type": 0,
"badge": {},
"bi_followers_count": 0,
"brand_account": 0,
"chaohua_ability": 0,
"city": "1000",
"class": 1,
"created_at": "Thu Feb 16 21:27:05 +0800 2017",
"credit_score": 80,
"description": "磕到就是赚到",
"domain": "",
"ecommerce_ability": 0,
"favourites_count": 296,
"follow_me": false,
"followers_count": 50,
"followers_count_str": "50",
"following": false,
"friends_count": 382,
"gender": "m",
"geo_enabled": true,
"gongyi_ability": 0,
"green_mode": 0,
"hardfan_ability": 0,
"hongbaofei": 0,
"id": 6144243634,
"idstr": "6144243634",
"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",
"light_ring": false,
"like": false,
"like_display": 0,
"like_me": false,
"live_ability": 0,
"live_status": 0,
"location": "其他",
"mb_expire_time": 0,
"mbrank": 0,
"mbtype": 0,
"name": "我只是爱磕糖",
"newbrand_ability": 0,
"nft_ability": 0,
"online_status": 0,
"pagefriends_count": 17,
"paycolumn_ability": 0,
"pc_new": 0,
"place_ability": 0,
"planet_video": 0,
"profile_image_url": "https://tvax2.sinaimg.cn/crop.0.0.874.874.50/006HOCrMly8hvbf82augtj30oa0oat9n.jpg?KID=imgbed,tva&Expires=1790710717&ssig=36JOuSNmnh",
"profile_url": "u/6144243634",
"province": "100",
"ptype": 0,
"remark": "",
"reward_status": 0,
"screen_name": "我只是爱磕糖",
"show_auth": 0,
"special_follow": false,
"star": 0,
"status_total_counter": {
"comment_cnt": 1,
"comment_like_cnt": 0,
"like_cnt": 0,
"repost_cnt": 0,
"total_cnt": 1
},
"statuses_count": 140,
"story_read_state": -1,
"super_topic_not_syn_count": 0,
"svip": 0,
"unfollowing_recom_switch": 1,
"urank": 4,
"urisk": 0,
"url": "",
"user_ability": 2097152,
"user_ability_extend": 0,
"vclub_member": 0,
"verified": false,
"verified_reason": "",
"verified_type": -1,
"video_mark": 0,
"video_play_count": 0,
"video_status_count": 0,
"video_total_counter": {
"play_cnt": -1
},
"vplus_ability": 0,
"vvip": 0,
"wbcolumn_ability": 0,
"weihao": "",
"wenda_ability": 0
}
},
"type": "like"
},
"… 48 more items in the full response"
],
"loadedInfo": "{}",
"pageData": "{}"
}
}
]Khám phá thêm
| API | Giá | Phản hồi |
|---|---|---|
Weibo Post LikesAPI này Weibo | $0.001 mỗi lần gọi | JSON |
Weibo | $0.001 mỗi lần gọi | JSON |
Weibo | $0.001 mỗi lần gọi | JSON |
Weibo | $0.001 mỗi lần gọi | JSON |
Weibo | $0.001 mỗi lần gọi | JSON |
Weibo | $0.001 mỗi lần gọi | JSON |
Hướng dẫn:Best Weibo API in 2026: Pricing Compared
Câu hỏi
Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/weibo/app/status-likes với khóa API SandBase của bạn trong tiêu đề Authorization (Bearer) và các tham số trong phần thân JSON. Bạn cũng có thể thử trực tiếp trong Playground trên trang này mà không cần viết code.
$0.001 mỗi lần gọi. Mỗi tổ chức được 100 lần gọi miễn phí mỗi ngày UTC, dùng chung cho các API SandBase đủ điều kiện, bao gồm API này; sau đó mỗi lần gọi sẽ được tính theo mức giá này từ số dư SandBase của bạn. Không có gói đăng ký.
Bắt buộc: status_id (string). Tùy chọn: attitude_type (string). Bảng Parameters và Playground trên trang này liệt kê mọi trường.
Phản hồi JSON được trả về trong cùng một yêu cầu HTTP (đồng bộ). README trên trang này có ví dụ phản hồi.
Không. Weibo Post Likes chạy thông qua SandBase, nên chỉ cần một API key SandBase là đủ cho endpoint này và mọi API cùng model khác trong danh mục. Bạn không cần đăng ký riêng để có quyền truy cập API của Weibo.