luoluoのapi

基本信息 JSON

网络视频
video
/video
143 次
100次/60秒
300
公共限制
开启

接口描述 接口详细说明

使用全新的官方直链 本地服务器代理 独家缓存方式 稳定可靠 视频请勿大量下载 DY封cookie谁都没好果子吃 视频详情为本地记录 不具备实时显示 具体信息请前往官方网站&软件进行查询

接口参数

参数名 类型 描述 可选值 默认值
type string 选择视频数据源 NULL

请求示例

/s/video?type=米娜学姐

响应示例

{
  "code": 200,                       // 业务状态码(200=成功)
  "msg": "success",                  // 业务状态描述
  "data": {                          // 业务数据载体
    "videoUrl": "https://www.douyin.com/aweme/v1/play/?video_id=xxx ...", // 视频直链(mp4)
    "awemeId": "7582435267949907237", // 抖音作品ID
    "desc": "#慢摇",                  // 作品文字描述
    "duration": "00:00:11",          // 视频时长(mm:ss)
    "nickname": "米娜酒酒酱",         // 发布账号昵称
    "like": 11834,                   // 点赞数
    "comment": 134,                  // 评论数
    "collect": 1234,                 // 收藏数
    "share": 727                     // 分享数
  }
}

错误信息

场景 HTTP 状态 错误码 消息 JSON 结构预览
type 参数缺失或为空 400 400 type 不能为空
{
  "error": {
    "code": 400,
    "message": "type 不能为空",
    "type": {
      "desc": "选择视频数据源",
      "enum": [
        "米娜学姐",
        "乌苏苏",
        "养兔子吗",
        "一只懒懒"
      ],
      "type": "string",
      "default": "NULL"
    }
  }
}
type 取值非法 400 400 type 参数无效
{
  "error": {
    "code": 400,
    "message": "type 参数无效",
    "type": {
      "desc": "选择视频数据源",
      "enum": [
        "米娜学姐",
        "乌苏苏",
        "养兔子吗",
        "一只懒懒"
      ],
      "type": "string",
      "default": "NULL"
    }
  }
}
接口状态异常 503 503 接口异常,请联系管理员修复!
{
  "error": {
    "code": 503,
    "message": "接口异常,请联系管理员修复!",
    "status": "异常"
  }
}
接口维护中 503 503 接口维护中,请稍后再试
{
  "error": {
    "code": 503,
    "message": "接口维护中,请稍后再试",
    "status": "维护"
  }
}
接口已下架 410 410 接口已下架
{
  "error": {
    "code": 410,
    "message": "接口已下架",
    "status": "下架"
  }
}
QPS 超限被封禁 429 429 请求频繁,请10秒后重试
{
  "error": {
    "code": 429,
    "message": "请求频繁,请10秒后重试",
    "retry_after": 10
  }
}
Excel 文件缺失/损坏 500 500 数据文件缺失或损坏
{
  "error": {
    "code": 500,
    "message": "数据文件缺失或损坏"
  }
}
Excel 表头缺失所需列 500 500 数据文件字段缺失,请联系管理员检查表头
{
  "error": {
    "code": 500,
    "message": "数据文件字段缺失,请联系管理员检查表头"
  }
}
该 type 下无有效数据 500 500 该类型下无有效数据
{
  "error": {
    "code": 500,
    "message": "该类型下无有效数据"
  }
}
服务器内部错误 500 500 服务器内部错误
{
  "error": {
    "code": 500,
    "message": "服务器内部错误"
  }
}

最近 15 天调用趋势

luoluoのapi

作者: 落洛

加载时间: 0ms