ShowAPI,自营为主的数据交易市场
立即注册

bilibili直播视频API接口

提供者: club34 免费使用

bilibili直播视频API接口

浏览量:4815

调用量:35109

使用人数:146

点赞:2

申请使用 查看演示
文档 授权签名(重要) 联系信息 价格一览表 接口演示
接入点列表
bilibili直播视频API接口
数据结构列表
data
资源列表
·SDK及代码示例
规则中心
·名词解释
·常见问题

接入点说明

bilibili直播视频API接口,同步bilibili直播的主播信息,视频截图,直播用户,等等

请求URL地址

http://route.showapi.com/1367-1
注意:接口支持https,更安全,但稍慢一些,你懂的。请根据自己的情况进行选择。

请求参数

HTTP协议,支持GET/POST方法。
非文件上传的POST时,enctype=application/x-www-form-urlencoded。
文件上传的POST时,enctype=multipart/form-data。
1.系统级参数(所有接入点都需要的参数):+点此展开
2.应用级参数(每个接入点有自己的参数):
参数名称 类型 默认值 示例值 必须 描述
page String 1 1 填写页码

返回参数

以JSON格式返回结果。
1.系统级参数(所有接入点都会返回的参数):+点此展开
2.应用级参数(系统级输出参数showapi_res_body字段中的json数据结构):
名称 类型 示例值 描述
data data[] 返回数据
- roomid Number 房间id
- short_id Number
- uid Number 用户id
- uname String 用户名
- face String 用户头像
- title String 标题
- cover String 直播封面
- user_cover String 用户封面
- system_cover String 系统封面
- pic String 直播截图
- online Number 23568 在线人数
- area Number 6 分类id
- areaName String 生活娱乐 分类名称
- link String 链接地址
- stream_id Number
- is_tv Number
- is_bn Number
ret_code Number 0 获取成功
  • 请求实例
  • java_sdk
  • 纯java
  • curl
  • php
  • android
  • python
String res=new ShowApiRequest("http://route.showapi.com/1367-1","my_appId","my_appSecret")
           .post();
System.out.println(res);

                  public static void main(String path[]) throws Exception {
									URL u=new URL("http://route.showapi.com/1367-1?showapi_appid=myappid&page=&showapi_sign=mysecret");
									InputStream in=u.openStream();
									ByteArrayOutputStream out=new ByteArrayOutputStream();
									try {
										byte buf[]=new byte[1024];
										int read = 0;
										while ((read = in.read(buf)) > 0) {
											out.write(buf, 0, read);
										}
									}  finally {
										if (in != null) {
											in.close();
										}
									}
									byte b[]=out.toByteArray( );
									System.out.println(new String(b,"utf-8"));
							}
						 
						
						//字段值为中文、空格、特殊符号的地方需要做urlencode,编码为utf-8。用js的方式就是:
						//encodeURIComponent('中文')
						//比如"中文"转换后就是%25E4%25B8%25AD%25E6%2596%2587
            curl   "http://route.showapi.com/1367-1?showapi_appid=123&showapi_timestamp=20151214132239&showapi_sign=use_my_sign&"
						
						 //md5签名方式--非简单签名
               			<?php
							header("Content-Type:text/html;charset=UTF-8");
							date_default_timezone_set("PRC");
							$showapi_appid = 'xxxxxx';  //替换此值,在官网的"我的应用"中找到相关值
							$showapi_secret = 'xxxxxxxxx';  //替换此值,在官网的"我的应用"中找到相关值 
							$paramArr = array(
							     'showapi_appid'=> $showapi_appid,
								 'page'=> ""
							     //添加其他参数
							);
							
							//创建参数(包括签名的处理)
							function createParam ($paramArr,$showapi_secret) {
							     $paraStr = "";
							     $signStr = "";
							     ksort($paramArr);
							     foreach ($paramArr as $key => $val) {
							         if ($key != '' && $val != '') {
							             $signStr .= $key.$val;
							             $paraStr .= $key.'='.urlencode($val).'&';
							         }
							     }
							     $signStr .= $showapi_secret;//排好序的参数加上secret,进行md5
							     $sign = strtolower(md5($signStr));
							     $paraStr .= 'showapi_sign='.$sign;//将md5后的值作为参数,便于服务器的效验
							     echo "排好序的参数:".$signStr."
\r\n"; return $paraStr; } $param = createParam($paramArr,$showapi_secret); $url = 'http://route.showapi.com/1367-1?'.$param; echo "请求的url:".$url."
\r\n"; $result = file_get_contents($url); echo "返回的json数据:
\r\n"; print $result.'
\r\n'; $result = json_decode($result); echo "
\r\n取出showapi_res_code的值:
\r\n"; print_r($result->showapi_res_code); echo "
\r\n"; ?>
						//以下代码为纯java实现,并未依赖第三方框架,具体传入参数请参看接口描述详情页.
						protected Handler mHandler =  new Handler();
						protected void onCreate(Bundle savedInstanceState) {
								super.onCreate(savedInstanceState);
								setContentView(R.layout.activity_main);
								final TextView txt = (TextView) this.findViewById(R.id.textView1);
								Button myBtn = (Button) this.findViewById(R.id.button1);
								myBtn.setOnClickListener(new OnClickListener() {
									public void onClick(View v) {
										new Thread(){
											//在新线程中发送网络请求
											public void run() {
												String appid="xxx";//要替换成自己的
												String secret="xxxxxxx";//要替换成自己的
												final String res=new ShowApiRequest( "http://route.showapi.com/1367-1", appid, secret)
                    .addTextPara("page", "")
            .post();
												
												System.out.println(res);
												//把返回内容通过handler对象更新到界面
												mHandler.post(new Thread(){
													public void run() {
														txt.setText(res+"  "+new Date());
													}
												});
											}
										}.start();
										
										
									}
								});
						}

						
#python3.5
from urllib import    request, parse
import json

print('send data....')
showapi_appid="xxxxxxxxxx"  #替换此值
showapi_sign="xxxxxxxxxx"   #替换此值
url="http://route.showapi.com/1367-1"
send_data = parse.urlencode([
    ('showapi_appid', showapi_appid)
    ,('showapi_sign', showapi_sign)
                    ,('page', "")
    
  ])

req = request.Request(url)
try:
       response = request.urlopen(req, data=send_data.encode('utf-8'), timeout = 10) # 10秒超时反馈
except Exception as e:
    print(e)
result = response.read().decode('utf-8')
result_json = json.loads(result)
print ('result_json data is:', result_json)

						

返回实例

{
  "showapi_res_code": 0,
  "showapi_res_error": "",
  "showapi_res_body": {
    "ret_code": 0,
    "data": [
      {
        "uid": 183430,
        "face": "http://i1.hdslb.com/bfs/face/a6df2031954cb5e1b5fa4a9b5f2d3ea1ed269c1b.jpg",
        "is_bn": "",
        "short_id": 388,
        "uname": "两仪滚",
        "link": "/388",
        "stream_id": 594,
        "pic": "http://i0.hdslb.com/bfs/live/da03211574b2c20e11e94e142c3654ac26d7f589.jpg",
        "online": 19318,
        "roomid": 5096,
        "title": "【滚】被沃尔沃60码撞飞没事的猛男",
        "cover": "http://i0.hdslb.com/bfs/live/da03211574b2c20e11e94e142c3654ac26d7f589.jpg",
        "area": 1,
        "areaName": "单机联机",
        "user_cover": "http://i0.hdslb.com/bfs/live/da03211574b2c20e11e94e142c3654ac26d7f589.jpg",
        "is_tv": 0,
        "system_cover": "http://i0.hdslb.com/bfs/live/5096.jpg?05181515"
      },
      {
        "uid": 13557341,
        "face": "http://i0.hdslb.com/bfs/face/7ea6b9bd3a6ec2a103d964ea6ae4db553a74c323.jpg",
        "is_bn": "",
        "short_id": 0,
        "uname": "黑灵是哥哥",
        "link": "/209929",
        "stream_id": 200988,
        "pic": "http://i0.hdslb.com/bfs/live/5447ad127caafb9f1178e7580e90d999d76e46e8.jpg",
        "online": 159,
        "roomid": 209929,
        "title": "声控王者:B站第一李白打野退站倒数14天",
        "cover": "http://i0.hdslb.com/bfs/live/5447ad127caafb9f1178e7580e90d999d76e46e8.jpg",
        "area": 12,
        "areaName": "手游直播",
        "user_cover": "http://i0.hdslb.com/bfs/live/5447ad127caafb9f1178e7580e90d999d76e46e8.jpg",
        "is_tv": 0,
        "system_cover": "http://i0.hdslb.com/bfs/live/209929.jpg?05172020"
      },
      {
        "uid": 6810019,
        "face": "http://i0.hdslb.com/bfs/face/ae8aea930b21e86a83313dd3ad12cd8192e8bf49.jpg",
        "is_bn": "",
        "short_id": 305,
        "uname": "AnKe-Poi",
        "link": "/305",
        "stream_id": 70601,
        "pic": "http://i0.hdslb.com/bfs/live/2fb165f5573f2e38c6ccf873be4c81bbd0d649a0.jpg",
        "online": 13157,
        "roomid": 79558,
        "title": "守望先锋 欧拉欧拉欧拉~",
        "cover": "http://i0.hdslb.com/bfs/live/2fb165f5573f2e38c6ccf873be4c81bbd0d649a0.jpg",
        "area": 3,
        "areaName": "网络游戏",
        "user_cover": "http://i0.hdslb.com/bfs/live/2fb165f5573f2e38c6ccf873be4c81bbd0d649a0.jpg",
        "is_tv": 0,
        "system_cover": "http://i0.hdslb.com/bfs/live/79558.jpg?05181507"
      },
      {
        "uid": 43536,
        "face": "http://i2.hdslb.com/bfs/face/dabaa4acebb590fa13be1b377c0614a098554ebe.jpg",
        "is_bn": "",
        "short_id": 139,
        "uname": "黑桐谷歌",
        "link": "/139",
        "stream_id": 497,
        "pic": "http://i0.hdslb.com/bfs/live/1838493101228892c7b3471d9b0f267a4b1ded6d.jpg",
        "online": 12729,
        "roomid": 1029,
        "title": "明天就去核聚变了 今天好好玩游戏",
        "cover": "http://i0.hdslb.com/bfs/live/1838493101228892c7b3471d9b0f267a4b1ded6d.jpg",
        "area": 1,
        "areaName": "单机联机",
        "user_cover": "http://i0.hdslb.com/bfs/live/1838493101228892c7b3471d9b0f267a4b1ded6d.jpg",
        "is_tv": 0,
        "system_cover": "http://i0.hdslb.com/bfs/live/1029.jpg?05181507"
      },
      {
        "uid": 22570507,
        "face": "http://i2.hdslb.com/bfs/face/9ac99a6be32d4eb321ad93a93c22b875832fb47a.jpg",
        "is_bn": "",
        "short_id": 0,
        "uname": "纪南方丶",
        "link": "/1730365",
        "stream_id": 1722217,
        "pic": "http://i0.hdslb.com/bfs/live/74400129a8e414de2dc293c0805ceab11bf012f7.jpg",
        "online": 10689,
        "roomid": 1730365,
        "title": "只玩法师。",
        "cover": "http://i0.hdslb.com/bfs/live/74400129a8e414de2dc293c0805ceab11bf012f7.jpg",
        "area": 12,
        "areaName": "手游直播",
        "user_cover": "http://i0.hdslb.com/bfs/live/74400129a8e414de2dc293c0805ceab11bf012f7.jpg",
        "is_tv": 0,
        "system_cover": "http://i0.hdslb.com/bfs/live/1730365.jpg?05181515"
      },
      {
        "uid": 93841264,
        "face": "http://i1.hdslb.com/bfs/face/b30b947c58c6b1011136621a3ab54c0031c920fe.jpg",
        "is_bn": "",
        "short_id": 0,
        "uname": "梦醒三生梦",
        "link": "/3742025",
        "stream_id": 3734144,
        "pic": "http://i0.hdslb.com/bfs/live/a114b21ef10e2b732b8567e6c44955128f75d636.jpg",
        "online": 11024,
        "roomid": 3742025,
        "title": "二狗解说带你看懂王者荣耀",
        "cover": "http://i0.hdslb.com/bfs/live/a114b21ef10e2b732b8567e6c44955128f75d636.jpg",
        "area": 12,
        "areaName": "手游直播",
        "user_cover": "http://i0.hdslb.com/bfs/live/a114b21ef10e2b732b8567e6c44955128f75d636.jpg",
        "is_tv": 0,
        "system_cover": "http://i0.hdslb.com/bfs/live/3742025.jpg?05181515"
      },
      {
        "uid": 6639802,
        "face": "http://i1.hdslb.com/bfs/face/9c7f133022a1532a0f0a3ab164f40593f23f7a4c.jpg",
        "is_bn": "",
        "short_id": 1039,
        "uname": "陈哥1",
        "link": "/1039",
        "stream_id": 3201,
        "pic": "http://i0.hdslb.com/bfs/live/2f55e3bb419fa5343e6ab434ea30a88d60f52243.jpg",
        "online": 10137,
        "roomid": 12265,
        "title": "(以撒)听歌直播间",
        "cover": "http://i0.hdslb.com/bfs/live/2f55e3bb419fa5343e6ab434ea30a88d60f52243.jpg",
        "area": 1,
        "areaName": "单机联机",
        "user_cover": "http://i0.hdslb.com/bfs/live/2f55e3bb419fa5343e6ab434ea30a88d60f52243.jpg",
        "is_tv": 0,
        "system_cover": "http://i0.hdslb.com/bfs/live/12265.jpg?05181507"
      },
      {
        "uid": 1536348,
        "face": "http://i1.hdslb.com/bfs/face/07c69fe690ee0ea53189c31abc208ce9dfc0817a.jpg",
        "is_bn": "",
        "short_id": 1154,
        "uname": "我真不是梁朝伟",
        "link": "/1154",
        "stream_id": 28081,
        "pic": "http://i0.hdslb.com/bfs/live/1ebb21d21e837b613f025b7a9d997c04d1741e92.jpg",
        "online": 8810,
        "roomid": 37113,
        "title": "疾风剑道 从来不跑",
        "cover": "http://i0.hdslb.com/bfs/live/1ebb21d21e837b613f025b7a9d997c04d1741e92.jpg",
        "area": 4,
        "areaName": "电子竞技",
        "user_cover": "http://i0.hdslb.com/bfs/live/1ebb21d21e837b613f025b7a9d997c04d1741e92.jpg",
        "is_tv": 0,
        "system_cover": "http://i0.hdslb.com/bfs/live/37113.jpg?05181509"
      },
      {
        "uid": 922579,
        "face": "http://i1.hdslb.com/bfs/face/92fa307e0c026220fc130b42b3f8af2086fe506a.jpg",
        "is_bn": "",
        "short_id": 106,
        "uname": "秋秋i",
        "link": "/106",
        "stream_id": 1093,
        "pic": "http://i0.hdslb.com/bfs/live/6e7d6c320500b617f6297c6d7e4b2507c1ffff03.jpg",
        "online": 7145,
        "roomid": 10157,
        "title": "吸引人的标题",
        "cover": "http://i0.hdslb.com/bfs/live/6e7d6c320500b617f6297c6d7e4b2507c1ffff03.jpg",
        "area": 4,
        "areaName": "电子竞技",
        "user_cover": "http://i0.hdslb.com/bfs/live/6e7d6c320500b617f6297c6d7e4b2507c1ffff03.jpg",
        "is_tv": 0,
        "system_cover": "http://i0.hdslb.com/bfs/live/10157.jpg?05181515"
      },
      {
        "uid": 2000621,
        "face": "http://i2.hdslb.com/bfs/face/b286f93658303fc7fff522ddae8238474b01cb47.gif",
        "is_bn": "",
        "short_id": 0,
        "uname": "叫我三木",
        "link": "/20118",
        "stream_id": 11058,
        "pic": "http://i0.hdslb.com/bfs/live/be5aa42a5ca7c74e6a43864dc4b57a763addfa8e.jpg",
        "online": 7055,
        "roomid": 20118,
        "title": "为什么我的队友,基本都是麻瓜?",
        "cover": "http://i0.hdslb.com/bfs/live/be5aa42a5ca7c74e6a43864dc4b57a763addfa8e.jpg",
        "area": 4,
        "areaName": "电子竞技",
        "user_cover": "http://i0.hdslb.com/bfs/live/be5aa42a5ca7c74e6a43864dc4b57a763addfa8e.jpg",
        "is_tv": 0,
        "system_cover": "http://i0.hdslb.com/bfs/live/20118.jpg?05181507"
      },
      {
        "uid": 22782808,
        "face": "http://i1.hdslb.com/bfs/face/dade511c4d7d2a999affcb57250f9e377d533b9e.jpg",
        "is_bn": "",
        "short_id": 0,
        "uname": "花依依w",
        "link": "/493771",
        "stream_id": 484832,
        "pic": "http://i0.hdslb.com/bfs/live/1f030b85811a0a33dde34a26d666ab9555be0454.jpg",
        "online": 7179,
        "roomid": 493771,
        "title": "❤上船嘛我亚索贼6=w=❤",
        "cover": "http://i0.hdslb.com/bfs/live/1f030b85811a0a33dde34a26d666ab9555be0454.jpg",
        "area": 4,
        "areaName": "电子竞技",
        "user_cover": "http://i0.hdslb.com/bfs/live/1f030b85811a0a33dde34a26d666ab9555be0454.jpg",
        "is_tv": 0,
        "system_cover": "http://i0.hdslb.com/bfs/live/493771.jpg?05181515"
      },
      {
        "uid": 700152,
        "face": "http://i0.hdslb.com/bfs/face/08b5ef99f15cc4bd3f60be9a742b785c7a175f59.jpg",
        "is_bn": "",
        "short_id": 286,
        "uname": "大吉叽叽叽",
        "link": "/286",
        "stream_id": 161966,
        "pic": "http://i0.hdslb.com/bfs/live/fc7abc46951660e9f07433acfb03948154287f64.jpg",
        "online": 7229,
        "roomid": 170908,
        "title": "饭局狼人杀发布会 和马东狼人杀",
        "cover": "http://i0.hdslb.com/bfs/live/fc7abc46951660e9f07433acfb03948154287f64.jpg",
        "area": 6,
        "areaName": "生活娱乐",
        "user_cover": "http://i0.hdslb.com/bfs/live/fc7abc46951660e9f07433acfb03948154287f64.jpg",
        "is_tv": 0,
        "system_cover": "http://i0.hdslb.com/bfs/live/170908.jpg?05181509"
      },
      {
        "uid": 3098936,
        "face": "http://i2.hdslb.com/bfs/face/f99eb8a75fd477169d203b56672bfc7fd7d3c53a.jpg",
        "is_bn": "",
        "short_id": 359,
        "uname": "SUYI喝奶奶",
        "link": "/359",
        "stream_id": 36805,
        "pic": "http://i0.hdslb.com/bfs/live/fd3a4512b83860abe82d8a9754879d2012a410cf.jpg",
        "online": 6519,
        "roomid": 45827,
        "title": "【奶苏】多声线声控福利/治愈/催眠",
        "cover": "http://i0.hdslb.com/bfs/live/fd3a4512b83860abe82d8a9754879d2012a410cf.jpg",
        "area": 10,
        "areaName": "唱见舞见",
        "user_cover": "http://i0.hdslb.com/bfs/live/fd3a4512b83860abe82d8a9754879d2012a410cf.jpg",
        "is_tv": 0,
        "system_cover": "http://i0.hdslb.com/bfs/live/45827.jpg?05181509"
      },
      {
        "uid": 39334147,
        "face": "http://i0.hdslb.com/bfs/face/d7e3cf72cee403d1282541c298af23c578736279.jpg",
        "is_bn": "",
        "short_id": 1271,
        "uname": "裕刺Fy",
        "link": "/1271",
        "stream_id": 1242201,
        "pic": "http://i0.hdslb.com/bfs/live/89713708e46a44258037b63d76fcb043bf78402e.jpg",
        "online": 6436,
        "roomid": 1250611,
        "title": "【大御姐】唱会",
        "cover": "http://i0.hdslb.com/bfs/live/89713708e46a44258037b63d76fcb043bf78402e.jpg",
        "area": 10,
        "areaName": "唱见舞见",
        "user_cover": "http://i0.hdslb.com/bfs/live/89713708e46a44258037b63d76fcb043bf78402e.jpg",
        "is_tv": 0,
        "system_cover": "http://i0.hdslb.com/bfs/live/1250611.jpg?05181515"
      },
      {
        "uid": 39319690,
        "face": "http://i1.hdslb.com/bfs/face/50f108262a7cbdc6ec852475a65deb4e91246b51.jpg",
        "is_bn": "",
        "short_id": 1214,
        "uname": "风神也可以",
        "link": "/1214",
        "stream_id": 1156619,
        "pic": "http://i0.hdslb.com/bfs/live/dc7e2640e2c05adfd0d5142b333a220537c89f86.jpg",
        "online": 6651,
        "roomid": 1165213,
        "title": "ad刘禅专场荣耀40星",
        "cover": "http://i0.hdslb.com/bfs/live/dc7e2640e2c05adfd0d5142b333a220537c89f86.jpg",
        "area": 12,
        "areaName": "手游直播",
        "user_cover": "http://i0.hdslb.com/bfs/live/dc7e2640e2c05adfd0d5142b333a220537c89f86.jpg",
        "is_tv": 0,
        "system_cover": "http://i0.hdslb.com/bfs/live/1165213.jpg?05181507"
      },
      {
        "uid": 14458653,
        "face": "http://i0.hdslb.com/bfs/face/abca327cf647260fe09e0b0ee65efd06f7fe0bb8.jpg",
        "is_bn": "",
        "short_id": 0,
        "uname": "神说要有光呐",
        "link": "/64607",
        "stream_id": 55650,
        "pic": "http://i0.hdslb.com/bfs/live/44bb8b52945718a2ca2680241e3c3a604ba2a4fe.jpg",
        "online": 5982,
        "roomid": 64607,
        "title": "继续拼乐高编号42043",
        "cover": "http://i0.hdslb.com/bfs/live/44bb8b52945718a2ca2680241e3c3a604ba2a4fe.jpg",
        "area": 6,
        "areaName": "生活娱乐",
        "user_cover": "http://i0.hdslb.com/bfs/live/44bb8b52945718a2ca2680241e3c3a604ba2a4fe.jpg",
        "is_tv": 0,
        "system_cover": "http://i0.hdslb.com/bfs/live/64607.jpg?05181507"
      },
      {
        "uid": 3508800,
        "face": "http://i0.hdslb.com/bfs/face/617b4591b11e1e9d7250407dd1ae853cd4933c84.jpg",
        "is_bn": "",
        "short_id": 0,
        "uname": "槑幻不是蜀黍",
        "link": "/1775029",
        "stream_id": 1766881,
        "pic": "http://i0.hdslb.com/bfs/live/327005dc87e9c8fbeec68fd5170c2cecfd16a89d.jpg",
        "online": 5949,
        "roomid": 1775029,
        "title": "【直播!ASMR】午休!舒缓声音伴你桑班学习",
        "cover": "http://i0.hdslb.com/bfs/live/327005dc87e9c8fbeec68fd5170c2cecfd16a89d.jpg",
        "area": 2,
        "areaName": "御宅文化",
        "user_cover": "http://i0.hdslb.com/bfs/live/327005dc87e9c8fbeec68fd5170c2cecfd16a89d.jpg",
        "is_tv": 0,
        "system_cover": "http://i0.hdslb.com/bfs/live/1775029.jpg?05181507"
      },
      {
        "uid": 5440459,
        "face": "http://i2.hdslb.com/bfs/face/650680ffe9c17fc90deed88ff1bff7f884578a3d.jpg",
        "is_bn": "",
        "short_id": 0,
        "uname": "丶第六天萌王",
        "link": "/65609",
        "stream_id": 56652,
        "pic": "http://i0.hdslb.com/bfs/live/a9c4fa10a072b41904ac344f1e90e918e2e62db7.jpg",
        "online": 5782,
        "roomid": 65609,
        "title": "求求你了主播 请你玩缠流子!",
        "cover": "http://i0.hdslb.com/bfs/live/a9c4fa10a072b41904ac344f1e90e918e2e62db7.jpg",
        "area": 3,
        "areaName": "网络游戏",
        "user_cover": "http://i0.hdslb.com/bfs/live/a9c4fa10a072b41904ac344f1e90e918e2e62db7.jpg",
        "is_tv": 0,
        "system_cover": "http://i0.hdslb.com/bfs/live/65609.jpg?05181506"
      },
      {
        "uid": 25716315,
        "face": "http://i1.hdslb.com/bfs/face/a086b9f2a56dbca4868fa2a758e4c02ba93a012b.jpg",
        "is_bn": "",
        "short_id": 0,
        "uname": "tiki姐姐",
        "link": "/237328",
        "stream_id": 228387,
        "pic": "http://i0.hdslb.com/bfs/live/674e001303652697b7eda2d5716cb87d8a0b469a.jpg",
        "online": 5968,
        "roomid": 237328,
        "title": "23333333",
        "cover": "http://i0.hdslb.com/bfs/live/674e001303652697b7eda2d5716cb87d8a0b469a.jpg",
        "area": 4,
        "areaName": "电子竞技",
        "user_cover": "http://i0.hdslb.com/bfs/live/674e001303652697b7eda2d5716cb87d8a0b469a.jpg",
        "is_tv": 0,
        "system_cover": "http://i0.hdslb.com/bfs/live/237328.jpg?05181507"
      },
      {
        "uid": 16605529,
        "face": "http://i2.hdslb.com/bfs/face/617b245721a9e0742ecd4c37f54093b8dbc0e0b3.jpg",
        "is_bn": "",
        "short_id": 1260,
        "uname": "miriちゃん",
        "link": "/1260",
        "stream_id": 305427,
        "pic": "http://i0.hdslb.com/bfs/live/49726a9cd5ed50d9a186c372788303d280cb0121.jpg",
        "online": 5841,
        "roomid": 314368,
        "title": "【求应援棒】未闻花名ED教学~",
        "cover": "http://i0.hdslb.com/bfs/live/49726a9cd5ed50d9a186c372788303d280cb0121.jpg",
        "area": 10,
        "areaName": "唱见舞见",
        "user_cover": "http://i0.hdslb.com/bfs/live/49726a9cd5ed50d9a186c372788303d280cb0121.jpg",
        "is_tv": 0,
        "system_cover": "http://i0.hdslb.com/bfs/live/314368.jpg?05181427"
      },
      {
        "uid": 582661,
        "face": "http://i1.hdslb.com/bfs/face/48f59fdc9a49d2178946fccd3bfa311898aa786a.jpg",
        "is_bn": "",
        "short_id": 244,
        "uname": "铃椛",
        "link": "/244",
        "stream_id": 30161,
        "pic": "http://i0.hdslb.com/bfs/live/f12b0cfe7ceda8ae0cf87e4a925a2e1dc70a3787.jpg",
        "online": 6566,
        "roomid": 39189,
        "title": "看到补给就抢【绝地求生大逃杀】",
        "cover": "http://i0.hdslb.com/bfs/live/f12b0cfe7ceda8ae0cf87e4a925a2e1dc70a3787.jpg",
        "area": 1,
        "areaName": "单机联机",
        "user_cover": "http://i0.hdslb.com/bfs/live/f12b0cfe7ceda8ae0cf87e4a925a2e1dc70a3787.jpg",
        "is_tv": 0,
        "system_cover": "http://i0.hdslb.com/bfs/live/39189.jpg?05181509"
      },
      {
        "uid": 20087157,
        "face": "http://i0.hdslb.com/bfs/face/9816ad547b936176303b7b20a007c955bf6fc1c3.jpg",
        "is_bn": "",
        "short_id": 361,
        "uname": "上原奈奈",
        "link": "/361",
        "stream_id": 51067,
        "pic": "http://i0.hdslb.com/bfs/live/63c155ac9919d359e764b8789ded7698cc5f5a84.jpg",
        "online": 5475,
        "roomid": 60024,
        "title": "震惊!某女主播竟上课直播?!",
        "cover": "http://i0.hdslb.com/bfs/live/63c155ac9919d359e764b8789ded7698cc5f5a84.jpg",
        "area": 6,
        "areaName": "生活娱乐",
        "user_cover": "http://i0.hdslb.com/bfs/live/63c155ac9919d359e764b8789ded7698cc5f5a84.jpg",
        "is_tv": 0,
        "system_cover": "http://i0.hdslb.com/bfs/live/60024.jpg?05181507"
      },
      {
        "uid": 51876819,
        "face": "http://i1.hdslb.com/bfs/face/f41119153cce544f144c030c05e3ae195fedd957.jpg",
        "is_bn": "",
        "short_id": 0,
        "uname": "朕是蜂字",
        "link": "/3105709",
        "stream_id": 3097806,
        "pic": "http://i0.hdslb.com/bfs/live/76c50b6d088b496e6e0ea838fbd8016cb2964494.jpg",
        "online": 5497,
        "roomid": 3105709,
        "title": "小姐姐要教我玩,治疗失眠,玩玩游戏看看番",
        "cover": "http://i0.hdslb.com/bfs/live/76c50b6d088b496e6e0ea838fbd8016cb2964494.jpg",
        "area": 3,
        "areaName": "网络游戏",
        "user_cover": "http://i0.hdslb.com/bfs/live/76c50b6d088b496e6e0ea838fbd8016cb2964494.jpg",
        "is_tv": 0,
        "system_cover": "http://i0.hdslb.com/bfs/live/3105709.jpg?05181515"
      },
      {
        "uid": 10722911,
        "face": "http://i2.hdslb.com/bfs/face/daaa8b28c541050d00a25f3148b531d0f75434f6.jpg",
        "is_bn": "",
        "short_id": 0,
        "uname": "小乖い",
        "link": "/27075",
        "stream_id": 18030,
        "pic": "http://i0.hdslb.com/bfs/live/55cfc4054fedd2c2061b76cee14271bf3d037dd1.jpg",
        "online": 5471,
        "roomid": 27075,
        "title": "想学什么中单?想看什么操作?",
        "cover": "http://i0.hdslb.com/bfs/live/55cfc4054fedd2c2061b76cee14271bf3d037dd1.jpg",
        "area": 4,
        "areaName": "电子竞技",
        "user_cover": "http://i0.hdslb.com/bfs/live/55cfc4054fedd2c2061b76cee14271bf3d037dd1.jpg",
        "is_tv": 0,
        "system_cover": "http://i0.hdslb.com/bfs/live/27075.jpg?05181507"
      },
      {
        "uid": 10404286,
        "face": "http://i1.hdslb.com/bfs/face/ea5235b1c9d9ce2604c37bcef2c0ef965d3b5589.jpg",
        "is_bn": "",
        "short_id": 260,
        "uname": "红发杰克丶",
        "link": "/260",
        "stream_id": 25142,
        "pic": "http://i0.hdslb.com/bfs/live/24107c4548e827bb3dc5abe71367d3770b246ba0.jpg",
        "online": 5422,
        "roomid": 34180,
        "title": "绝地求生大逃杀!",
        "cover": "http://i0.hdslb.com/bfs/live/24107c4548e827bb3dc5abe71367d3770b246ba0.jpg",
        "area": 1,
        "areaName": "单机联机",
        "user_cover": "http://i0.hdslb.com/bfs/live/24107c4548e827bb3dc5abe71367d3770b246ba0.jpg",
        "is_tv": 0,
        "system_cover": "http://i0.hdslb.com/bfs/live/34180.jpg?05181515"
      },
      {
        "uid": 179067,
        "face": "http://i1.hdslb.com/bfs/face/ad060a301816ece206c339819cc277ebd493cd19.jpg",
        "is_bn": "",
        "short_id": 392,
        "uname": "SakamakiRyoryo",
        "link": "/392",
        "stream_id": 62127,
        "pic": "http://i0.hdslb.com/bfs/live/4978173d104d74fb1c68d51c86945e48ec0fa896.jpg",
        "online": 4887,
        "roomid": 71084,
        "title": "喜欢唱日语歌的小姐姐在干什么呢啊?(  ω",
        "cover": "http://i0.hdslb.com/bfs/live/4978173d104d74fb1c68d51c86945e48ec0fa896.jpg",
        "area": 10,
        "areaName": "唱见舞见",
        "user_cover": "http://i0.hdslb.com/bfs/live/4978173d104d74fb1c68d51c86945e48ec0fa896.jpg",
        "is_tv": 0,
        "system_cover": "http://i0.hdslb.com/bfs/live/71084.jpg?05181515"
      },
      {
        "uid": 11443730,
        "face": "http://i1.hdslb.com/bfs/face/628709ad06f4f190eabfc6c676c1021ca4ab5566.jpg",
        "is_bn": "",
        "short_id": 1147,
        "uname": "你的知心哥哥狼狗",
        "link": "/1147",
        "stream_id": 20340,
        "pic": "http://i0.hdslb.com/bfs/live/25f2b75f39b6d2701174a54002e16972686194cb.jpg",
        "online": 4954,
        "roomid": 29381,
        "title": "B站第一打字喷人",
        "cover": "http://i0.hdslb.com/bfs/live/25f2b75f39b6d2701174a54002e16972686194cb.jpg",
        "area": 4,
        "areaName": "电子竞技",
        "user_cover": "http://i0.hdslb.com/bfs/live/25f2b75f39b6d2701174a54002e16972686194cb.jpg",
        "is_tv": 0,
        "system_cover": "http://i0.hdslb.com/bfs/live/29381.jpg?05181508"
      },
      {
        "uid": 3043814,
        "face": "http://i2.hdslb.com/bfs/face/1e86e8afac2bac8e2507208273048ffb23f1ee9c.jpg",
        "is_bn": "",
        "short_id": 0,
        "uname": "DNF皮皮夏",
        "link": "/37231",
        "stream_id": 28199,
        "pic": "http://i0.hdslb.com/bfs/live/6ea5ff7d51f331f51edeeaf57cd582fef0a8339b.jpg",
        "online": 4753,
        "roomid": 37231,
        "title": "夏大仙接PK深渊天空盒子罐子,加群私聊群主",
        "cover": "http://i0.hdslb.com/bfs/live/6ea5ff7d51f331f51edeeaf57cd582fef0a8339b.jpg",
        "area": 3,
        "areaName": "网络游戏",
        "user_cover": "http://i0.hdslb.com/bfs/live/6ea5ff7d51f331f51edeeaf57cd582fef0a8339b.jpg",
        "is_tv": 0,
        "system_cover": "http://i0.hdslb.com/bfs/live/37231.jpg?05181515"
      },
      {
        "uid": 38321695,
        "face": "http://i0.hdslb.com/bfs/face/b6a632d19a939393d91929259b986ed00377cbc4.jpg",
        "is_bn": "",
        "short_id": 0,
        "uname": "皮皮文五七万歌",
        "link": "/2887507",
        "stream_id": 2879540,
        "pic": "http://i0.hdslb.com/bfs/live/87e0b782741efb07e773101038977d5b2e931718.jpg",
        "online": 4620,
        "roomid": 2887507,
        "title": "好看的五七万歌竞技场视角",
        "cover": "http://i0.hdslb.com/bfs/live/87e0b782741efb07e773101038977d5b2e931718.jpg",
        "area": 3,
        "areaName": "网络游戏",
        "user_cover": "http://i0.hdslb.com/bfs/live/87e0b782741efb07e773101038977d5b2e931718.jpg",
        "is_tv": 0,
        "system_cover": "http://i0.hdslb.com/bfs/live/2887507.jpg?05181515"
      },
      {
        "uid": 65330261,
        "face": "http://i2.hdslb.com/bfs/face/e6a851ed9f66523ba9ba62b76e9ba909423e5573.jpg",
        "is_bn": "",
        "short_id": 0,
        "uname": "风暴L",
        "link": "/2470478",
        "stream_id": 2462421,
        "pic": "http://i0.hdslb.com/bfs/live/c70de080742514d1dc5d2b4c63c8c7efb71338ca.jpg",
        "online": 4547,
        "roomid": 2470478,
        "title": "【暴暴】免费估号!话痨是病!治不治呢?",
        "cover": "http://i0.hdslb.com/bfs/live/c70de080742514d1dc5d2b4c63c8c7efb71338ca.jpg",
        "area": 3,
        "areaName": "网络游戏",
        "user_cover": "http://i0.hdslb.com/bfs/live/c70de080742514d1dc5d2b4c63c8c7efb71338ca.jpg",
        "is_tv": 0,
        "system_cover": "http://i0.hdslb.com/bfs/live/2470478.jpg?05181507"
      }
    ]
  }
}




请求地址 请求参数 返回参数 请求示例 返回示例
接入点列表
bilibili直播视频API接口
  • 免费套餐(bilibili直播视频API接口)

免费套餐_无认证版

0时间:1年

  • 不限调用次数
  • 1次/秒调用频率
  •  
  •  
点此订购

免费套餐_基本认证版

0时间:1年

  • 不限调用次数
  • 2次/秒调用频率
  • 邮箱认证 要求
  • 手机认证 要求
点此订购

免费套餐_实名认证版

0时间:1年

  • 不限调用次数
  • 3次/秒调用频率
  • 邮箱认证 要求
  • 手机认证 要求
  • 实名认证 要求
点此订购