哔哩哔哩解析
equalizer 累计使用:0
请求地址 https://api.yujn.cn/api/blbl.php
请求示例 https://api.yujn.cn/api/blbl.php?url=https://www.bilibili.com/video/BV1RW4y1i7ST?t=36.2
请求方式 GET
返回格式 JSON
{
"code": 1,
"msg": "解析成功!",
"title": "【 大 卫 · 马 丁 内 斯 】生 得 伟 大,死 得 光 荣",
"imgurl": "http://i0.hdslb.com/bfs/archive/de7075627fc99fa5fd4629cbf97c4a28278df4e8.jpg",
"desc": "“没关系,我已经所剩无几了”\n“对不起,我们不能一起上月球了”\n“妈,看,我现在在荒坂塔的顶端。”\n“我受不了碳酸饮料和烟的味道”\n\n以我残躯化烈火",
"data": [
{
"title": "【 大 卫 · 马 丁 内 斯 】生 得 伟 大,死 得 光 荣",
"duration": 318,
"durationFormat": "00:05:17",
"accept": [
"高清 1080P",
"流畅 360P"
],
"video_url": "https://upos-sz-mirrorhw.bilivideo.com/upgcxcode/80/05/834460580/834460580-1-208.mp4?e=ig8euxZM2rNcNbhz7zdVhwdlhzhahwdVhoNvNC8BqJIzNbfq9rVEuxTEnE8L5F6VnEsSTx0vkX8fqJeYTj_lta53NCM=&trid=b4664fb8b6ca44b3a6597e0eb4054adh&os=cosovbv&oi=2552277372&platform=html5&deadline=1781825581&gen=playurlv3&og=hw&nbs=1&mid=0&uipk=5&upsig=d51842fd84eefc22e2f200746e973abd&uparams=e,trid,os,oi,platform,deadline,gen,og,nbs,mid,uipk&bvc=vod&nettype=0&bw=2702070&lrs=0&dl=0&f=h_0_0&agrr=1&buvid=&build=0&orderid=0,1"
}
],
"user": {
"name": "一只朴piao",
"user_img": "https://i1.hdslb.com/bfs/face/d89ac04f37d292de289cea1ac72cc979532ea972.jpg"
}
}
| 参数名称 | 是否必需 | 参数说明 |
|---|---|---|
url |
是 | 视频地址 |
| 参数名称 | 参数类型 | 参数说明 |
|---|---|---|
code |
integer |
状态码 |
msg |
string |
解析结果 |
title |
string |
标题 |
imgurl |
string |
图片 |
desc |
string |
文档 |
data |
string |
视频数据 |
user |
string |
用户信息 |
更新时间 2025-05-06 13:36:15
| 状态码 | 状态说明 |
|---|---|
| 400 | 请求错误 |
| 403 | 请求被服务器拒绝 |
| 404 | 请求服务器失败 |
| 500 | 服务器错误 |
| 503 | 服务器维护 |
PHP
GET方法
$url = 'https://api.yujn.cn/api/blbl.php';
$data = '?url=https://www.bilibili.com/video/BV1RW4y1i7ST?t=36.2';
$get = $url.$data;
$result = file_get_contents($get);
if ($result) {
//成功
echo $result;
} else {
//失败
}
POST方法
$url = 'https://api.yujn.cn/api/blbl.php';
$data = array(
  'url' => 'https://www.bilibili.com/video/BV1RW4y1i7ST?t',
);
$data = http_build_query($data);
$option = array('http'=>array('method'=>'POST','content'=>$data));
$context = stream_context_create($option);
$result = file_get_contents($url,false,$context);
if ($result) {
//成功
echo $result;
} else {
//失败
}
JavaScript
GET方法
var url = "https://api.yujn.cn/api/blbl.php"
var data = "?url=https://www.bilibili.com/video/BV1RW4y1i7ST?t=36.2"
var xhrGet = new XMLHttpRequest();
xhrGet.open('GET', url + data, true);
xhrGet.send();
xhrGet.onreadystatechange = function() {
if (xhrGet.readyState == 4 && xhrGet.status == 200) {
//成功
var result = xhrGet.responseText;
console.log(result);
} else {
//失败
}
};
POST方法
var url = "https://api.yujn.cn/api/blbl.php"
var data = "url=https://www.bilibili.com/video/BV1RW4y1i7ST?t=36.2"
var xhrPost = new XMLHttpRequest();
xhrPost.open('POST', url, true);
xhrPost.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
xhrPost.send(data);
xhrPost.onreadystatechange = function() {
if (xhrPost.readyState == 4 && xhrPost.status == 200) {
//成功
var result = xhrPost.responseText;
console.log(result);
} else {
//失败
}
};
JAVA
GET方法
new Thread(){
public void run() {
String path = "https://api.yujn.cn/api/blbl.php";
String data = "?url=https://www.bilibili.com/video/BV1RW4y1i7ST?t=36.2";
try {
URL url = new URL(path + data);
HttpURLConnection connection = (HttpURLConnection)url.openConnection();
connection.setRequestMethod("GET");
int code = connection.getResponseCode();
if (code == 200) {
//成功
InputStreamReader isr = new InputStreamReader(connection.getInputStream());
BufferedReader bufferedreader = new BufferedReader(isr);
String string;
StringBuilder stringbuilder = new StringBuilder();
while ((string = bufferedreader.readLine()) != null) {
stringbuilder.append(string);
}
final String result = stringbuilder.toString();
System.out.println(result);
} else {
//失败
}
} catch (MalformedURLException e) {
e.printStackTrace();
} catch (IOException e) {
e.printStackTrace();
}
}}.start();
POST方法
new Thread(){
public void run() {
String path = "https://api.yujn.cn/api/blbl.php";
String data = "url=https://www.bilibili.com/video/BV1RW4y1i7ST?t=36.2";
try {
URL url = new URL(path);
HttpURLConnection connection = (HttpURLConnection)url.openConnection();
connection.setRequestMethod("POST");
connection.setDoOutput(true);
connection.getOutputStream().write(data.getBytes());
int code = connection.getResponseCode();
if (code == 200) {
//成功
InputStreamReader isr = new InputStreamReader(connection.getInputStream());
BufferedReader bufferedreader = new BufferedReader(isr);
String string;
StringBuilder stringbuilder = new StringBuilder();
while ((string = bufferedreader.readLine()) != null) {
stringbuilder.append(string);
}
final String result = stringbuilder.toString();
System.out.println(result);
} else {
//失败
}
} catch (MalformedURLException e) {
e.printStackTrace();
} catch (IOException e) {
e.printStackTrace();
}
}}.start();
Lua
GET方法
url="https://api.yujn.cn/api/blbl.php"
data=url.."?url=https://www.bilibili.com/video/BV1RW4y1i7ST?t=36.2"
Http.get(data,function(code,content,data)
if code==200 then
--成功
print(content)
else
--失败
end
end)
POST方法
url="https://api.yujn.cn/api/blbl.php"
data="url=https://www.bilibili.com/video/BV1RW4y1i7ST?t=36.2"
Http.post(url,data,function(code,content,data)
if code==200 then
--成功
print(content)
else
--失败
end
end)
结绳
GET方法
变量 网络GET操作 为 网络操作 = 创建 网络操作()
变量 GET数据 为 文本型 = "?url=https://www.bilibili.com/video/BV1RW4y1i7ST?t=36.2"
网络GET操作.取网页源码("https://api.yujn.cn/api/blbl.php" + GET数据)
事件 网络GET操作:取网页源码结束(结果 为 文本型,cookie 为 文本型)
//成功
调试输出(结果)
结束 事件
事件 网络GET操作:取网页源码失败(响应码 为 文本型)
//失败
结束 事件
POST方法
变量 网络POST操作 为 网络操作 = 创建 网络操作()
变量 POST数据 为 文本型 = "url=https://www.bilibili.com/video/BV1RW4y1i7ST?t=36.2"
网络POST操作.发送数据("https://api.yujn.cn/api/blbl.php",POST数据)
事件 网络POST操作:发送数据结束(结果 为 文本型,cookie 为 文本型)
//成功
调试输出(结果)
结束 事件
事件 网络POST操作:发送数据失败(响应码 为 文本型)
//失败
结束 事件
iAPP
GET方法
s url="https://api.yujn.cn/api/blbl.php"
s data="?url=https://www.bilibili.com/video/BV1RW4y1i7ST?t=36.2"
ss(url+data,get)
t(){
hs(get,result)
f(result!=null){
//成功
syso(result)
}else{
//失败
}
}
POST方法
s url="https://api.yujn.cn/api/blbl.php"
s data="url=https://www.bilibili.com/video/BV1RW4y1i7ST?t=36.2"
t(){
hs(url,data,"utf-8",result)
f(result!=null){
//成功
syso(result)
}else{
//失败
}
} | 反馈时间 | 反馈接口 | 反馈内容 | 反馈者IP |
|---|---|---|---|
| 2026-05-17 11:36:39 | 60秒读懂世界新闻 | 失效了 | 113.100.7.84 |
| 2026-04-07 14:24:54 | 短视频去水印[支持大部分] | 不能用了<br /> | 146.190.62.233 |
| 2026-03-20 15:19:57 | 抖音解析 | 抖音解析接口用不了 | 36.113.45.76 |
| 2026-03-02 20:43:28 | 小红书解析 | 小红书解析接口把视频资源链接也当做图片解析了,仅返回了视频的预览图url | 124.127.65.48 |
| 2026-02-26 16:58:07 | 聚合短视频解析 | 当前聚合解析接口 返回异常,需修复处理。另外提个小建议,看下聚合接口能不能增加支持下对于 X 视频链接的解析提取,谢谢 | 36.112.200.49 |
| 2026-02-07 15:37:09 | 王者荣耀活动代码 | 接口活动代码不是最新的 | 223.160.169.159 |
| 2026-01-30 17:16:52 | 抖音视频搜索 | 无法使用 | 14.145.52.76 |
| 2026-01-29 04:19:49 | QQ绑定查询 | 失效 | 27.187.180.153 |
| 2026-01-21 11:56:26 | 摸鱼人日历 | 摸鱼人日历 已经失效 | 1.180.6.90 |
| 2025-12-19 20:48:22 | 小姐姐随机视频 (站长推荐) | 响应速度无敌,可是都播放不了了 | 1.31.177.152 |
| 2025-11-04 15:09:20 | 抖音主页视频批量获取 | 该接口失效 | 182.126.206.105 |
| 2025-10-29 18:29:08 | 抖音主页解析 | 抖音主页视频怎么获取不到呢 | 115.49.115.117 |
| 2025-10-11 23:53:30 | 快手视频搜索 | 调用报201 | 117.177.200.247 |