微博 用户关注者
检索由UID标识的微博用户关注的账号页面。用于检查该账号的关注网络或继续翻阅关注列表。
/v1/weibo/get_followers_v1
$0.02
- 价格
- $0.02 / 次成功调用,失败不收费
- 接口 ID
weibo.get_followers_v1
参数
-
uidstring 必填微博用户ID (UID)。
示例
2803301701 -
pageinteger 可选页码,从1开始。
示例
1
代码示例
curl -G "https://api.mofa-ai.com/v1/weibo/get_followers_v1" \
-H "Authorization: Bearer $MOFA_API_KEY" \
--data-urlencode 'uid=2803301701' \
--data-urlencode 'page=1'
import os
import requests
resp = requests.get(
"https://api.mofa-ai.com/v1/weibo/get_followers_v1",
headers={"Authorization": f"Bearer {os.environ['MOFA_API_KEY']}"},
params={
"uid": "2803301701",
"page": "1",
},
timeout=60,
)
body = resp.json()
if body["success"]:
print(body["cost_usd"], body["data"])
else:
print(body["error"], body["message"])
const url = new URL("https://api.mofa-ai.com/v1/weibo/get_followers_v1");
url.search = new URLSearchParams({
uid: "2803301701",
page: "1",
});
const resp = await fetch(url, {
headers: { Authorization: `Bearer ${process.env.MOFA_API_KEY}` },
});
const body = await resp.json();
if (body.success) console.log(body.cost_usd, body.data);
else console.error(body.error, body.message);
响应示例
请求参数 {"uid": "2803301701", "page": "1"}
{
"success": true,
"code": 0,
"message": "success",
"request_id": "req_5f1c2a9be04d7c3a81f6e2d0",
"endpoint": "weibo.get_followers_v1",
"cost_usd": 0.02,
"data": {
"code": 0,
"data": {
"ok": 1,
"type": 0,
"users": [
{
"id": 3164957712,
"url": "",
"…": "+64",
"city": "8",
"lang": "zh-cn",
"like": false,
"name": "中国网",
"class": 1,
"idstr": "3164957712",
"ptype": 0,
"domain": "zhongguowang",
"gender": "m",
"remark": "",
"weihao": "",
"like_me": false,
"location": "北京 海淀区",
"province": "11",
"verified": true,
"avatar_hd": "https://tvax2.sinaimg.cn/crop.170.170.629.629.1024/003sbQ52ly8h90z6bp785j60qo0qo3zh02.jpg?KID=imgbed,tva&Expires=1794106677&ssig=2LsX58VZpm",
"follow_me": false,
"following": false,
"status_id": 5362757374836850,
"created_at": "Wed Jan 23 12:51:13 +0800 2013",
"insecurity": {
"sexual_content": false
},
"light_ring": false,
"cover_image": "https://wx2.sinaimg.cn/crop.0.0.920.300/bca56c10gy1gdiifyx7noj20pk08c7kd.jpg",
"description": "中国网是用10个语种11个文版发布信息,向世界介绍中国的中央重点新闻网站,是中国进行国际传播、信息交流的重要窗口。",
"geo_enabled": false,
"profile_url": "zhongguowang",
"screen_name": "中国网",
"avatar_large": "https://tvax2.sinaimg.cn/crop.170.170.629.629.180/003sbQ52ly8h90z6bp785j60qo0qo3zh02.jpg?KID=imgbed,tva&Expires=1794106677&ssig=EXddGX5htl",
"status_idstr": "5362757374836850",
"friends_count": 497,
"online_status": 0,
"verified_type": 3,
"statuses_count": 163336,
"verified_level": 3,
"verified_state": 0,
"verified_trade": "",
"followers_count": 5190372,
"has_service_tel": false,
"verified_reason": "中国互联网新闻中心中国网官方微博",
"verified_source": "",
"favourites_count": 853,
"video_play_count": 0,
"allow_all_act_msg": false,
"allow_all_comment": true,
"cover_image_phone": "https://wx3.sinaimg.cn/crop.0.0.640.640.640/bca56c10ly1gdl1lankiuj20r60hcgv5.jpg",
"pagefriends_count": 100,
"profile_image_url": "https://tvax2.sinaimg.cn/crop.170.170.629.629.50/003sbQ52ly8h90z6bp785j60qo0qo3zh02.jpg?KID=imgbed,tva&Expires=1794106677&ssig=XSs%2BTC8oK7",
"verified_type_ext": 53,
"bi_followers_count": 232,
"video_status_count": 6938,
"followers_count_str": "519万",
"verified_reason_url": "",
"verified_source_url": "",
"verified_contact_name": "",
"verified_contact_email": "",
"verified_contact_mobile": "",
"verified_reason_modified": "",
"super_topic_not_syn_count": 0
},
{
"id": 5044771484,
"url": "",
"…": "+63",
"city": "1",
"lang": "zh-cn",
"like": false,
"name": "中国记协",
"class": 1,
"idstr": "5044771484",
"ptype": 0,
"domain": "",
"gender": "m",
"remark": "",
"weihao": "",
"like_me": false,
"location": "北京 东城区",
"province": "11",
"verified": true,
"avatar_hd": "https://tva1.sinaimg.cn/crop.364.364.1093.1093.1024/005vplw0jw1em11e5brrnj31en1enai7.jpg?KID=imgbed,tva&Expires=1794106677&ssig=KKutRtD64%2B",
"follow_me": false,
"following": false,
"status_id": 5362724784838671,
"created_at": "Fri Feb 21 14:50:51 +0800 2014",
"insecurity": {
"sexual_content": false
},
"light_ring": false,
"cover_image": "https://ww4.sinaimg.cn/crop.500.164.920.300/005vplw0jw1em14j0petlj31hc0hhdjo.jpg",
"description": "",
"geo_enabled": true,
"profile_url": "u/5044771484",
"screen_name": "中国记协",
"avatar_large": "https://tva1.sinaimg.cn/crop.364.364.1093.1093.180/005vplw0jw1em11e5brrnj31en1enai7.jpg?KID=imgbed,tva&Expires=1794106677&ssig=jPbJ1UjLyJ",
"status_idstr": "5362724784838671",
"friends_count": 86,
"online_status": 0,
"verified_type": 3,
"statuses_count": 9008,
"verified_level": 3,
"verified_state": 0,
"verified_trade": "",
"followers_count": 1416369,
"has_service_tel": false,
"verified_reason": "中华全国新闻工作者协会官方微博",
"verified_source": "",
"favourites_count": 4,
"video_play_count": 0,
"allow_all_act_msg": false,
"allow_all_comment": false,
"cover_image_phone": "https://ww1.sinaimg.cn/crop.0.0.640.640.640/549d0121tw1egm1kjly3jj20hs0hsq4f.jpg",
"pagefriends_count": 14,
"profile_image_url": "https://tva1.sinaimg.cn/crop.364.364.1093.1093.50/005vplw0jw1em11e5brrnj31en1enai7.jpg?KID=imgbed,tva&Expires=1794106677&ssig=pwKN66aYYN",
"verified_type_ext": 53,
"bi_followers_count": 29,
"video_status_count": 604,
"followers_count_str": "141.6万",
"verified_reason_url": "",
"verified_source_url": "",
"verified_contact_name": "",
"verified_contact_email": "",
"verified_contact_mobile": "",
"verified_reason_modified": "",
"super_topic_not_syn_count": 0
},
"… +18"
],
"sort_type": 0,
"screenName": "人民日报",
"next_cursor": 20,
"show_unread": false,
"total_number": 419,
"fill_material": 0,
"previous_cursor": 0,
"has_filtered_fans": false,
"use_sink_stragety": false,
"show_related_topic": false,
"use_status_strategy": false,
"has_filtered_attentions": false
},
"message": null,
"requestId": "8ab9c817df734b389381cf8974181afd",
"recordTime": "2026-11-08T07:57:58.667230224",
"requestParams": {
"body": null,
"query": {
"uid": "2803301701",
"page": "1"
}
}
}
}
在线试用
登录后可以在这里直接调用此接口,按价格从余额扣费,失败不收费。新账户赠送 $0.50 试用额度。
微博的其他接口
-
关键词搜索
$0.02通过关键词在所需的小时日时间范围内搜索微博帖子,支持基于页码的分页、热门或时间排序,以及图片、视频、音乐或链接的筛选。用于查找有时间限制的帖子,以进行话题研究或监控。
/v1/weibo/search_all_v2
-
帖子详情
$0.02检索通过帖子ID标识的微博帖子详情。用于查找已知帖子,以进行内容审查、存档或相关互动分析。
/v1/weibo/get_weibo_detail_v1
-
用户资料
$0.02检索通过UID标识的微博用户资料。用于查找已知账号,以进行创作者研究、资料审查或后续检索该用户的帖子和视频。
/v1/weibo/get_user_detail_v3
-
用户粉丝
$0.02检索由UID标识的微博用户的粉丝账号页面。用于浏览该账号的粉丝受众或继续翻阅粉丝列表。
/v1/weibo/get_fans_v1
-
用户发布帖子
$0.02检索由UID标识的微博用户发布的帖子,使用页码和第一页后必需的sinceId游标。用于浏览账号的发布历史或继续翻阅帖子feed。
/v1/weibo/get_user_post_v1
-
用户视频列表
$0.02检索由UID标识的微博用户的视频瀑布流,可使用先前响应中的可选游标。用于浏览已知账号发布的视频或继续翻阅视频feed。
/v1/weibo/get_user_video_list_v1
-
电视视频详情
$0.02检索由冒号分隔的对象ID (OID) 标识的微博TV视频详情。用于查找已知的TV视频以进行内容审核、编目或后续处理。
/v1/weibo/tv_component_v1
-
热搜
$0.02检索当前的微博热搜排名。用于识别热门话题以进行新闻监测、内容规划或及时话题发现。
/v1/weibo/hot_search_v1
-
帖子评论
$0.02检索由MID标识的微博帖子的评论,支持可选的maxId游标分页以及时间或热度排序。用于查看受众讨论、继续翻阅评论区或支持审核和反馈分析。
/v1/weibo/get_post_comments_v1
-
搜索用户发布帖子
$0.02搜索特定微博用户发布的帖子,使用关键词、可选的日期范围和基于页面的分页。用于从已知账号查找历史帖子以进行话题研究或活动回顾。
/v1/weibo/search_profile_v1