B站视频解析
解析哔哩哔哩的视频直链, 本接口只能解析出1080P

接口地址 https://api.aag.moe/api/bzspjx

请求方式 GET

返回格式 JSON

HTTP/HTTPS HTTPS

请求示例 https://api.aag.moe/api/bzspjx?url=https://www.bilibili.com/video/BV1Dt4y1o7bU

温馨提示 防止恶意爬虫所以会识别浏览器的自然语言请求标头, 如果调用返回511状态码, 请尝试添加请求标头"Accept-Language", 例子"Accept-Language: zh-CN,zh;q=0.8,zh-TW;q=0.7", 如果仍然无法解决请联系我

参数说明

参数 必填 说明
url视频链接

返回说明

参数 说明
code状态码
message状态信息
title视频标题
videocoverurl视频封面链接
stat_view视频播放量
stat_danmu视频弹幕量
stat_dianzan视频点赞量
stat_toubi视频投币量
stat_shoucang视频收藏量
stat_zhuanfa视频转发量
total视频当前观看人数
quality视频分辨率
videourl视频直链
video_encoding视频编码
audiourl音频直链

调用返回数据示范

{"code":"0","message":"成功","title":"『新年おめでとう | 2024』你就如同烟花一般,在我心中绽放!","videocoverurl":"http://i0.hdslb.com/bfs/archive/dff48a68935660a0f6c28f94fd6fce723c119d65.jpg","stat_view":"11189","stat_danmu":"205","stat_dianzan":"1082","stat_toubi":"188","stat_shoucang":"554","stat_zhuanfa":"61","total":"1","quality":"1920×1078","videourl":"https://upos-hz-mirrorakam.akamaized.net/upgcxcode/59/58/1387295859/1387295859-1-30080.m4s?e=ig8euxZM2rNcNbdlhoNvNC8BqJIzNbfq9rVEuxTEnE8L5F6VnEsSTx0vkX8fqJeYTj_lta53NCM=&uipk=5&nbs=1&deadline=1713019354&gen=playurlv2&os=akam&oi=804392149&trid=4f13e839fed044c6ab53ab823a7643a8T&mid=2102334115&platform=html5&upsig=58162592f031e0d567003acb6c1b2a8d&uparams=e,uipk,nbs,deadline,gen,os,oi,trid,mid,platform&hdnts=exp=1713012154~hmac=4468e1f9a910a1f4390ddcfc76673468123c52913690724efaa4b5169afad968&bvc=vod&nettype=0&bw=331036&orderid=0,1&buvid=&build=0&mobi_app=&f=T_0_0&logo=80000000","video_encoding":"AVC","audiourl":"https://upos-hz-mirrorakam.akamaized.net/upgcxcode/59/58/1387295859/1387295859-1-30232.m4s?e=ig8euxZM2rNcNbdlhoNvNC8BqJIzNbfq9rVEuxTEnE8L5F6VnEsSTx0vkX8fqJeYTj_lta53NCM=&uipk=5&nbs=1&deadline=1713019354&gen=playurlv2&os=akam&oi=804392149&trid=4f13e839fed044c6ab53ab823a7643a8T&mid=2102334115&platform=html5&upsig=5a63da61ccd7b5feaf0261f2645af0c7&uparams=e,uipk,nbs,deadline,gen,os,oi,trid,mid,platform&hdnts=exp=1713012154~hmac=2f44fd32614dc061aa9c4e87a70d74906bf1c8ecbc33ab1a6897170b85c6f9d0&bvc=vod&nettype=0&bw=12331&orderid=0,1&buvid=&build=0&mobi_app=&f=T_0_0&logo=80000000"}