全网视频去水印API文档

为开发者提供的接口文档

接口概述

全网视频去水印API提供了解析短视频平台链接的服务,支持抖音、快手、小红书等多个平台的视频和图片内容提取。所有接口均返回JSON格式的数据,支持跨域请求。

注意:本API仅供学习和研究使用,请勿用于商业用途,尊重原创作者的版权。每个IP每天有调用次数限制。

接口地址

基础URL: https://qsy.jiejing.fun/

特别说明:对于小红书和抖音平台的链接,系统会优先尝试使用Live API解析,支持Live实况图片与视频的提取。对于其他平台,则按照普通方式解析。

主接口 - 视频解析

GET /index.php

请求参数

参数名 类型 必填 说明
url string 需要解析的视频链接,支持抖音/快手/小红书等平台的分享链接
auth_code string 授权码,用于增加每日调用次数限制
live string 设置为"yes"时,优先使用Live API解析,解析成功时扣除2次授权码次数

响应参数

参数名 类型 说明
code integer 状态码,200表示成功,其他值表示错误
msg string 状态信息,成功或错误信息
body object 返回的数据主体
body.source string 视频来源平台,如"抖音"、"快手"等
body.url string 原始请求的URL
body.title string 视频标题或描述
body.cover_url string 视频封面图片URL
body.urls array 无水印视频/图片URL列表
isLive string 是否为Live实况图片,值为"no"表示非Live内容;对于Live内容,显示格式为"共 x 张 Live 实况照片"或"共 x 张 Live 实况照片和 y 张静态照片"
body.lives array Live实况图片和视频对,仅当包含Live实况内容时有数据,每项包含pic(图片URL)和video(视频URL)
body.pics array 所有图片URL的集合,包括Live实况图片和静态图片,仅API4接口返回此字段
请求示例
GET /index.php?url=https://v.douyin.com/abcdef/
标准响应示例
{
    "code": 0,
    "msg": "解析成功",
    "isLive": "no",
    "body": {
        "source": "抖音",
        "url": "https://v.douyin.com/abcdef/",
        "title": "这是一个视频标题",
        "cover_url": "https://example.com/cover.jpg",
        "lives": [],
        "urls": [
            "https://example.com/video_no_watermark.mp4"
        ],
        "pics": []
    }
}
Live实况响应示例
{
    "code": 0,
    "msg": "解析成功",
    "isLive": "共 2 张 Live 实况照片",
    "body": {
        "source": "小红书",
        "url": "http://xhslink.com/example",
        "title": "这个蓝是真实存在的!live图",
        "cover_url": "http://example.com/cover.jpg",
        "lives": [
            {
                "pic": "http://example.com/image1.jpg",
                "video": "http://example.com/video1.mp4"
            },
            {
                "pic": "http://example.com/image2.jpg",
                "video": "http://example.com/video2.mp4"
            }
        ],
        "urls": [],
        "pics": [
            "http://example.com/image1.jpg",
            "http://example.com/image2.jpg"
        ]
    }
}
混合内容响应示例
{
    "code": 0,
    "msg": "解析成功",
    "isLive": "共 1 张 Live 实况照片和 2 张静态照片",
    "body": {
        "source": "小红书",
        "url": "http://xhslink.com/example",
        "title": "这个蓝是真实存在的!live图",
        "cover_url": "http://example.com/cover.jpg",
        "lives": [
            {
                "pic": "http://example.com/live_image.jpg",
                "video": "http://example.com/live_video.mp4"
            }
        ],
        "urls": [
            "http://example.com/static_image1.jpg",
            "http://example.com/static_image2.jpg"
        ],
        "pics": [
            "http://example.com/live_image.jpg",
            "http://example.com/static_image1.jpg",
            "http://example.com/static_image2.jpg"
        ]
    }
}

历史记录接口

GET /api/history.php

获取当前IP的解析历史记录

请求参数

参数名 类型 必填 说明
page integer 页码,默认为1
limit integer 每页记录数,默认为10,最大50
auth_code string 授权码,用于获取对应授权码的历史记录

响应参数

{
    "code": 200,
    "msg": "获取成功",
    "body": {
        "total": 25,
        "page": 1,
        "limit": 10,
        "data": [
            {
                "id": "123",
                "url": "https://v.douyin.com/abcdef/",
                "type": "video",
                "source": "抖音",
                "create_time": "2024-04-16 12:30:45"
            },
            // 更多记录...
        ]
    }
}

健康检查接口

GET /api/health.php

检查API系统状态

响应示例

{
    "code": 200,
    "msg": "API正常运行中",
    "body": {
        "status": "healthy",
        "version": "1.0.0",
        "uptime": "10天12小时30分钟",
        "requests_today": 1234
    }
}

使用限制