百度网盘 wxlist API 服务 · 基于 EdgeOne 边缘函数

服务运行正常
📡
接口文档
v0 接口
POST /api/v0/list
surl 分享链接或短码 必填
dir 目录路径 必填
pwd 提取码 可选
GET /api/v0/limit
获取流量统计信息(带5分钟缓存)
v1 接口
GET /api/v1/qrcode
size 二维码尺寸 (10-500) 必填
data 二维码内容 必填
sign 签名验证 必填
返回SVG格式图片,可直接在浏览器中使用
📝
请求示例
# 文件列表
curl -X POST https://your-domain.pages.dev/api/v0/list \
  -H "Content-Type: application/json" \
  -d '{"surl":"pan.baidu.com/s/xxxxx","dir":"/","pwd":"1234"}'

# 流量统计
curl https://your-domain.pages.dev/api/v0/limit

# 二维码生成 (返回SVG)
curl https://your-domain.pages.dev/api/v1/qrcode?size=200&data=https://example.com&sign=xxxxxxxx
📤
响应示例
{
  "code": 200,
  "message": "列表数据获取成功",
  "data": {
    "uk": 123456789,
    "shareid": 987654321,
    "randsk": "xxxxxx",
    "list": [...]
  }
}