微博用户数据

微博用户数据

接口状态:正常
总调用:62
添加时间:2025-04-06
更新时间:2026-01-09

请求信息

https://api.andeer.top/API/weibo_user.php
https://api.andeer.top/API/weibo_user.php?uid=2804506181

请求参数

参数名类型必填说明
uid字符串

状态码说明

状态码说明
200请求成功,服务器已成功处理了请求。
403服务器拒绝请求。这可能是由于缺少必要的认证凭据(如API密钥)或权限不足。
404请求的资源未找到。请检查您的请求地址是否正确。
429请求过于频繁。您已超出速率限制,请稍后再试。
500服务器内部错误。服务器在执行请求时遇到了问题。

在线测试

此处将显示接口返回结果...

调用示例

<?php
$url = 'https://api.andeer.top/API/weibo_user.php';
$params = ['uid' => 'YOUR_VALUE', ];
$url .= '?' . http_build_query($params);
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);
echo $response;
?>
import requests

url = "https://api.andeer.top/API/weibo_user.php"
params = {
    'uid': 'YOUR_VALUE',
}
response = requests.get(url, params=params)
print(response.text)
const url = new URL('https://api.andeer.top/API/weibo_user.php');
const params = {
    'uid': 'YOUR_VALUE',
};
Object.keys(params).forEach(key => url.searchParams.append(key, params[key]));

                fetch(url)
                    .then(response => response.text())
                    .then(data => console.log(data))
                    .catch(error => console.error('Error:', error));

返回示例

{
    "success": true,
    "code": 200,
    "msg": "获取成功",
    "data": {
        "用户id": 2804506181,
        "用户名": "中国书画诗词院",
        "url": "https:\/\/m.weibo.cn\/u\/2804506181?",
        "简介": "一字一方圆,一笔一江山;一点一春色,一抹一冬寒;一心一世界,一生一百年,中国书画。",
        "关注数": 1183,
        "粉丝数": "476.9万",
        "头像": "https:\/\/wx1.sinaimg.cn\/orj480\/a7295e45ly8glm3hiuisjj20ro0rotch.jpg",
        "微博总数": 56825,
        "图片总数": "413450",
        "rawdata": {
            "isVideoCoverStyle": 1,
            "isStarStyle": 0,
            "userInfo": {
                "id": 2804506181,
                "screen_name": "中国书画诗词院",
                "profile_image_url": "https:\/\/tvax1.sinaimg.cn\/crop.0.0.996.996.180\/a7295e45ly8glm3hiuisjj20ro0rotch.jpg?KID=imgbed,tva&Expires=1743892168&ssig=0hoASrGP%2FW",
                "profile_url": "https:\/\/m.weibo.cn\/u\/2804506181?",
                "close_blue_v": false,
                "description": "一字一方圆,一笔一江山;一点一春色,一抹一冬寒;一心一世界,一生一百年,中国书画。",
                "follow_me": false,
                "following": false,
                "follow_count": 1183,
                "followers_count": "476.9万",
                "cover_image_phone": "https:\/\/wx4.sinaimg.cn\/crop.0.0.640.640.640\/a7295e45gy1gz190gjoy8j20u00u0q6o.jpg",
                "avatar_hd": "https:\/\/wx1.sinaimg.cn\/orj480\/a7295e45ly8glm3hiuisjj20ro0rotch.jpg",
                "badge": {
                    "gongyi_level": 4,
                    "dzwbqlx_2016": 1,
                    "follow_whitelist_video": 1,
                    "panda": 1,
                    "user_name_certificate": 1,
                    "qixi_2018": 1,
                    "wusi_2019": 1,
                    "hongbao_2020": 2,
                    "pc_new": 7,
                    "hongbaofeijika_2021": 1,
                    "ylpshuidao_2021": 1,
                    "fishfarm_2021": 1,
                    "hongbaofei2022_2021": 2,
                    "city_university": 13,
                    "muqinjie_2023": 1,
                    "laoshiyeyeni_2023": 1,
                    "yayunhuiguoqi_2023": 1
                },
                "statuses_count": 56825,
                "verified": true,
                "verified_type": 0,
                "gender": "m",
                "mbtype": 12,
                "svip": 1,
                "urank": 48,
                "mbrank": 2,
                "followers_count_str": "476.9万",
                "verified_type_ext": 1,
                "verified_reason": "人文艺术博主",
                "like": false,
                "like_me": false,
                "friendships_relation": 0,
                "special_follow": false,
                "toolbar_menus": [
                    {
                        "type": "link",
                        "name": "聊天",
                        "pic": "http:\/\/h5.sinaimg.cn\/upload\/2015\/06\/12\/2\/toolbar_icon_discuss_default.png",
                        "params": {
                            "scheme": "sinaweibo:\/\/messagelist?uid=2804506181&nick=中国书画诗词院"
                        },
                        "scheme": "https:\/\/passport.weibo.cn\/signin\/welcome?entry=mweibo&r=https%3A%2F%2Fm.weibo.cn%2Fapi%2Fcontainer%2FgetIndex%3Fcontainerid%3D1005052804506181"
                    },
                    {
                        "type": "profile_follow",
                        "name": "关注",
                        "pic": "",
                        "params": {
                            "uid": 2804506181,
                            "extparams": {
                                "followcardid": "0001980001_2804506181_a8af0541"
                            }
                        },
                        "userInfo": {
                            "id": 2804506181,
                            "idstr": "2804506181",
                            "screen_name": "中国书画诗词院",
                            "profile_image_url": "https:\/\/tvax1.sinaimg.cn\/crop.0.0.996.996.50\/a7295e45ly8glm3hiuisjj20ro0rotch.jpg?KID=imgbed,tva&Expires=1743892168&ssig=e98PnRF6C%2B",
                            "following": false,
                            "verified": true,
                            "verified_type": 0,
                            "remark": "",
                            "avatar_large": "https:\/\/tvax1.sinaimg.cn\/crop.0.0.996.996.180\/a7295e45ly8glm3hiuisjj20ro0rotch.jpg?KID=imgbed,tva&Expires=1743892168&ssig=0hoASrGP%2FW",
                            "avatar_hd": "https:\/\/tvax1.sinaimg.cn\/crop.0.0.996.996.1024\/a7295e45ly8glm3hiuisjj20ro0rotch.jpg?KID=imgbed,tva&Expires=1743892168&ssig=bJFVoLvKF4",
                            "verified_type_ext": 1,
                            "follow_me": false,
                            "mbtype": 12,
                            "mbrank": 2,
                            "level": 2,
                            "type": 1,
                            "story_read_state": -1,
                            "allow_msg": 1,
                            "friendships_relation": 0,
                            "close_friends_type": 0,
                            "special_follow": false
                        }
                    }
                ]
            },
            "fans_scheme": "https:\/\/m.weibo.cn\/c\/attention\/visit?showmenu=0&sign=2804506181&source=MQ%3D%3D&role=NA%3D%3D",
            "follow_scheme": "https:\/\/m.weibo.cn\/c\/attention\/visit?showmenu=0&sign=2804506181&source=MA%3D%3D&role=NA%3D%3D",
            "tabsInfo": {
                "selectedTab": 1,
                "tabs": [
                    {
                        "id": 1,
                        "tabKey": "profile",
                        "must_show": 1,
                        "hidden": 0,
                        "title": "精选",
                        "tab_type": "profile",
                        "containerid": "2302832804506181"
                    },
                    {
                        "id": 2,
                        "tabKey": "weibo",
                        "must_show": 1,
                        "hidden": 0,
                        "title": "微博",
                        "tab_type": "weibo",
                        "containerid": "1076032804506181",
                        "apipath": "\/profile\/statuses",
                        "headSubTitleText": "全部微博(56825)",
                        "new_select_menu": 1,
                        "gender": "m",
                        "params": {
                            "new_select_menu": 1,
                            "gender": "m"
                        },
                        "tab_icon": "https:\/\/h5.sinaimg.cn\/upload\/1059\/799\/2021\/04\/01\/weibotab.png",
                        "tab_icon_dark": "https:\/\/h5.sinaimg.cn\/upload\/1059\/799\/2021\/04\/07\/weibotab_dark.png",
                        "url": "\/index\/my"
                    },
                    {
                        "id": 4,
                        "tabKey": "original_video",
                        "must_show": 0,
                        "hidden": 0,
                        "title": "视频",
                        "tab_type": "video",
                        "containerid": "2315672804506181"
                    },
                    {
                        "id": 10,
                        "tabKey": "album",
                        "must_show": 0,
                        "hidden": 0,
                        "title": "相册",
                        "tab_type": "album",
                        "containerid": "1078032804506181"
                    }
                ]
            },
            "profile_ext": "touid:2804506181",
            "scheme": "sinaweibo:\/\/userinfo?uid=2804506181&_T_WM=36461362561&v_p=42&uid=2804506181",
            "showAppTips": 0
        }
    },
    "text": {
        "copyright": "Aurora 2022.8.14",
        "time": "当前时间为:2025-04-06 03:29:29"
    }
}