API简介:获取up主的昵称、性别、大会员等信息

接口问题联系相关负责人沟通修复:查看该接口开发者

接口地址:http://api.bilibili.com/x/web-interface/card

返回格式:json

请求方式:GET

请求参数:http://api.bilibili.com/x/web-interface/card?mid=1677829377

注:单纯检测接口是否可调通,返回的数据请自行检查

检测接口中...(检测服务是否可用)


状态码 累计次数 最后检测时间
正常 0 0000-00-00 00:00:00
故障 159 2024-04-23 10:45:52

您好!我们的平台聚合了 上千位开发者提供的免费接口 ,尽管我们已经付出了很大的努力来确保接口的稳定性。
1. 然而,由于我们 无法控制 其他【开发者】的 接口,不稳定或者他可能跑路了,因为不赚钱。。。我替他向您道歉!!!!!
2. 但请放心,我们正在竭尽所能来改进这个情况。
3. 为了方便您使用,我们还推出了智能生成对接代码和在线极速测试接口是否可用的功能。
4. 我们真诚希望您 理解并谅解 这一挑战,同时我们将继续 努力提供更多可靠的接口 ,以满足您的需求。
5. 最后,如果您需要与我取得联系,我的微信:13132131321,再次感谢您对我们的支持与信任!!!


接口注意:接口故障请立即 点我反馈,修复进度会通过短信通知!

非官方接口,请联系开发者获取技术支持

Bug修复:非官方接口,Bug反馈请联系开发者

会员线路:因调用量剧增,定制独享优质线路请 参考定制方案

专属线路 成本透明 0服务费

请求参数

接口名称 是否必填 接口类型 接口说明
mid string 哔哩哔哩的uid

返回示例

{
    "code": 0,
    "message": "0",
    "ttl": 1,
    "data": {
        "card": {
            "mid": "1677829377",
            "name": "新妖女传说",
            "approve": false,
            "sex": "保密",
            "rank": "10000",
            "face": "https:\/\/i0.hdslb.com\/bfs\/face\/a0aef4a87cb21f2a45cb252732b1a5246e8a8e8c.jpg",
            "face_nft": 0,
            "face_nft_type": 0,
            "DisplayRank": "0",
            "regtime": 0,
            "spacesta": 0,
            "birthday": "",
            "place": "",
            "description": "",
            "article": 0,
            "attentions": [],
            "fans": 5,
            "friend": 60,
            "attention": 60,
            "sign": "IT",
            "level_info": {
                "current_level": 4,
                "current_min": 0,
                "current_exp": 0,
                "next_exp": 0
            },
            "pendant": {
                "pid": 0,
                "name": "",
                "image": "",
                "expire": 0,
                "image_enhance": "",
                "image_enhance_frame": ""
            },
            "nameplate": {
                "nid": 0,
                "name": "",
                "image": "",
                "image_small": "",
                "level": "",
                "condition": ""
            },
            "Official": {
                "role": 0,
                "title": "",
                "desc": "",
                "type": -1
            },
            "official_verify": {
                "type": -1,
                "desc": ""
            },
            "vip": {
                "type": 0,
                "status": 0,
                "due_date": 0,
                "vip_pay_type": 0,
                "theme_type": 0,
                "label": {
                    "path": "",
                    "text": "",
                    "label_theme": "",
                    "text_color": "",
                    "bg_style": 0,
                    "bg_color": "",
                    "border_color": "",
                    "use_img_label": true,
                    "img_label_uri_hans": "",
                    "img_label_uri_hant": "",
                    "img_label_uri_hans_static": "https:\/\/i0.hdslb.com\/bfs\/vip\/d7b702ef65a976b20ed854cbd04cb9e27341bb79.png",
                    "img_label_uri_hant_static": "https:\/\/i0.hdslb.com\/bfs\/activity-plat\/static\/20220614\/e369244d0b14644f5e1a06431e22a4d5\/KJunwh19T5.png"
                },
                "avatar_subscript": 0,
                "nickname_color": "",
                "role": 0,
                "avatar_subscript_url": "",
                "tv_vip_status": 0,
                "tv_vip_pay_type": 0,
                "vipType": 0,
                "vipStatus": 0
            },
            "is_senior_member": 0
        },
        "following": false,
        "archive_count": 3,
        "article_count": 0,
        "follower": 5,
        "like_num": 15
    }
}

返回参数

接口名称 接口类型 接口说明
data/like_num integer 获赞数
data/archive_count integer 用户视频数
data/card/attention integer 用户关注数
data/card/vip/type string VIP等级
data/follower integer 用户粉丝数
data/card/name string 用户昵称
data/card/sex string 性别
data/card/face string 头像
data/card/level_info/current_level integer 等级
data/card/mid string 用户uid

支持多层级可视化显示返回json示例,直观展示接口对应的键值对的代表含义!


{
    "data/card/mid": "用户uid",
    "data/card/level_info/current_level": "等级",
    "data/card/face": "头像",
    "data/card/sex": "性别",
    "data/card/name": "用户昵称",
    "data/follower": "用户粉丝数",
    "data/card/vip/type": "VIP等级",
    "data/card/attention": "用户关注数",
    "data/archive_count": "用户视频数",
    "data/like_num": "获赞数"
}

小白教程

本教程帮助用户快速对接哔哩哔哩up信息接口,现已支持智能生成代码

生成代码

支持生成对接哔哩哔哩up信息接口代码,多语言选择,助力学生对接!

注意,AI·BOT自动生成对接「哔哩哔哩up信息」简易代码,方便您调试对接,实时生成!

点击生成代码,自动生成对接代码,您可以自行测试,如有疑问请联系夏柔QQ:1501904!
自动生成JAVA对接「哔哩哔哩up信息」代码,如有疑问请联系夏柔QQ:1501904!
自动生成PHP对接「哔哩哔哩up信息」代码,如有疑问请联系夏柔QQ:1501904!
自动生成NodeJS对接「哔哩哔哩up信息」代码,如有疑问请联系夏柔QQ:1501904!
自动生成C语言对接「哔哩哔哩up信息」代码,如有疑问请联系夏柔QQ:1501904!
                                                        

实时调试

部分视频、图片或其他接口报错、空值并不代表无法对接,请在本地尝试请求参数接口

在线调试

温馨提示:请修改请求参数,未修改可能返回报错

参数名称 参数值(修改后测试)
{
  "code": 0,
  "message": "0",
  "ttl": 1,
  "data": {
    "card": {
      "mid": "1677829377",
      "name": "新妖女传说",
      "approve": false,
      "sex": "保密",
      "rank": "10000",
      "face": "https://i0.hdslb.com/bfs/face/a0aef4a87cb21f2a45cb252732b1a5246e8a8e8c.jpg",
      "face_nft": 0,
      "face_nft_type": 0,
      "DisplayRank": "0",
      "regtime": 0,
      "spacesta": 0,
      "birthday": "",
      "place": "",
      "description": "",
      "article": 0,
      "attentions": [],
      "fans": 5,
      "friend": 60,
      "attention": 60,
      "sign": "IT",
      "level_info": {
        "current_level": 4,
        "current_min": 0,
        "current_exp": 0,
        "next_exp": 0
      },
      "pendant": {
        "pid": 0,
        "name": "",
        "image": "",
        "expire": 0,
        "image_enhance": "",
        "image_enhance_frame": ""
      },
      "nameplate": {
        "nid": 0,
        "name": "",
        "image": "",
        "image_small": "",
        "level": "",
        "condition": ""
      },
      "Official": {
        "role": 0,
        "title": "",
        "desc": "",
        "type": -1
      },
      "official_verify": {
        "type": -1,
        "desc": ""
      },
      "vip": {
        "type": 0,
        "status": 0,
        "due_date": 0,
        "vip_pay_type": 0,
        "theme_type": 0,
        "label": {
          "path": "",
          "text": "",
          "label_theme": "",
          "text_color": "",
          "bg_style": 0,
          "bg_color": "",
          "border_color": "",
          "use_img_label": true,
          "img_label_uri_hans": "",
          "img_label_uri_hant": "",
          "img_label_uri_hans_static": "https://i0.hdslb.com/bfs/vip/d7b702ef65a976b20ed854cbd04cb9e27341bb79.png",
          "img_label_uri_hant_static": "https://i0.hdslb.com/bfs/activity-plat/static/20220614/e369244d0b14644f5e1a06431e22a4d5/KJunwh19T5.png"
        },
        "avatar_subscript": 0,
        "nickname_color": "",
        "role": 0,
        "avatar_subscript_url": "",
        "tv_vip_status": 0,
        "tv_vip_pay_type": 0,
        "vipType": 0,
        "vipStatus": 0
      },
      "is_senior_member": 0
    },
    "following": false,
    "archive_count": 3,
    "article_count": 0,
    "follower": 5,
    "like_num": 15
  }
}