在线

蓝奏云直链

蓝奏云盘直链解析API

快速响应 安全稳定 不限次数

接口地址

https://api.xzzti.cn/api/lanzou

返回格式

JSON

请求方式

GET

认证方式

API Key
请求示例
https://api.xzzti.cn/api/lanzou?url=https://umaos.lanzn.com/i2ts8pc?apiKey=【替换成自己的APIKEY】
返回示例
{ "status": 1, "info": "https://c1029.lanosso.com/689fece9a35d1a06853274d4d3c5f3e9/66e15db7/2019/01/09/090bf5703c9902284403b2ae4192c841.doc?fn=%E5%BE%AE%E7%B1%B3%E6%AC%A2%E4%B9%90%E6%8A%BD%E5%A5%96.doc" }

暂无错误码定义

该接口暂时没有定义错误码,通常意味着接口调用简单稳定

JavaScript 示例
// 使用 fetch API
fetch('https://api.xzzti.cn/api/lanzou?url=https://umaos.lanzn.com/i2ts8pc?apiKey=YOUR_API_KEY')
  .then(response => response.json())
  .then(data => console.log(data))
  .catch(error => console.error('Error:', error));
Python 示例
import requests

url = 'https://api.xzzti.cn/api/lanzou?url=https://umaos.lanzn.com/i2ts8pc'
params = {'apiKey': 'YOUR_API_KEY'}

response = requests.get(url, params=params)
data = response.json()
print(data)
PHP 示例
<?php

$url = 'https://api.xzzti.cn/api/lanzou?url=https://umaos.lanzn.com/i2ts8pc?apiKey=YOUR_API_KEY';
$response = file_get_contents($url);
$data = json_decode($response, true);

print_r($data);
?>
Java 示例
import java.net.*;
import java.io.*;

public class Main {
    public static void main(String[] args) throws Exception {
        URL url = new URL("https://api.xzzti.cn/api/lanzou?url=https://umaos.lanzn.com/i2ts8pc?apiKey=YOUR_API_KEY");
        HttpURLConnection conn = (HttpURLConnection) url.openConnection();
        conn.setRequestMethod("GET");
        
        BufferedReader in = new BufferedReader(new InputStreamReader(conn.getInputStream()));
        String inputLine;
        StringBuffer response = new StringBuffer();
        
        while ((inputLine = in.readLine()) != null) {
            response.append(inputLine);
        }
        in.close();
        
        System.out.println(response.toString());
    }
}
cURL 示例
curl -X GET \
  'https://api.xzzti.cn/api/lanzou?url=https://umaos.lanzn.com/i2ts8pc?apiKey=YOUR_API_KEY' \
  -H 'Accept: application/json'

在线测试工具

测试结果

就绪

点击"运行测试"按钮开始测试接口