RESTful 接口说明 · 专业短视频去水印解析接口
| 套餐 | 每日次数 | 限速 | 说明 |
|---|---|---|---|
| 普通用户 (regular) | 100 次/天 | 正常 | 注册即得,每日 0 点重置 |
| 高级会员 (premium) | 不限 | 不限速 | 按月订阅,QQ 66052059 联系购买,后台开通后生效 |
配额可在管理后台自定义调整。超出配额返回 429 错误。
所有 API 请求必须携带 API Key(网页解析需先登录,使用 Session 鉴权)。
Header: X-API-Key: wm_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 或 Query 参数: ?api_key=wm_xxxxxxxx
在用户中心获取 Key。演示 Key: demo_key_1234567890abcdef(普通用户 100 次/天)
GETPOST /api/v1/parse
核心接口,传入分享链接,返回无水印资源地址。
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
| url | string | 是 | 视频/图片分享链接 |
| api_key | string | 是 | API 密钥(Header 或参数) |
GET /api/v1/parse?url=https://v.douyin.com/xxxxx/&api_key=demo_key_1234567890abcdef
所有平台统一返回以下三个核心字段:video(视频)、cover(视频封面)、caption(视频文案)。
{
"code": 200,
"message": "解析成功",
"data": {
"platform": "douyin",
"video": "https://...无水印视频地址",
"cover": "https://...视频封面",
"caption": "视频文案内容",
"author": "作者昵称",
"type": "video",
"images": [],
"music": "https://...背景音乐地址",
"title": "视频文案内容"
},
"time": 1719667200
}
GET /api/v1/detect
检测链接属于哪个平台,是否支持解析。
GET /api/v1/detect?url=https://www.bilibili.com/video/BV1xx
GET /api/v1/platforms
获取所有支持的平台列表。
GET /api/v1/key/info
查询当前 API Key 的套餐、今日用量和剩余次数。
GET /api/v1/key/info
X-API-Key: wm_xxxxxxxx
// 响应 data.usage 示例:
{
"plan": "regular",
"plan_label": "普通用户",
"daily_limit": 100,
"unlimited": false,
"today_used": 12,
"today_remain": 88
}
GET /api/v1/logs
查询当前 API Key 对应账号的解析历史(网页 + API 调用)。也可在 用户中心 查看。
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
| page | int | 否 | 页码,默认 1 |
| per_page | int | 否 | 每页条数,默认 20,最大 50 |
| status | string | 否 | 筛选:success / failed |
GET /api/v1/logs?page=1&per_page=20&status=success X-API-Key: wm_xxxxxxxx
GET /api/parse.php
首页在线解析使用此接口,需浏览器登录(Cookie Session),自动消耗账号配额。
$url = 'https://v.douyin.com/xxxxx/';
$apiKey = 'demo_key_1234567890abcdef';
$api = "https://qsy.qqqq.ink/api/v1/parse?url=" . urlencode($url) . "&api_key={$apiKey}";
$result = json_decode(file_get_contents($api), true);
print_r($result['data']);
const res = await fetch('https://qsy.qqqq.ink/api/v1/parse?url=' + encodeURIComponent(url), {
headers: { 'X-API-Key': 'YOUR_KEY' }
});
const data = await res.json();
console.log(data.data.video);
console.log(data.data.cover);
console.log(data.data.caption);
import requests
r = requests.get('https://qsy.qqqq.ink/api/v1/parse', params={
'url': 'https://v.douyin.com/xxxxx/',
'api_key': 'demo_key_1234567890abcdef'
})
print(r.json()['data'])
curl -H "X-API-Key: demo_key_1234567890abcdef" \ "https://qsy.qqqq.ink/api/v1/parse?url=https://v.douyin.com/xxxxx/"
| code | 说明 |
|---|---|
| 200 | 成功 |
| 400 | 参数错误 |
| 401 | API Key 无效 |
| 429 | 请求频率超限 |
| 500 | 解析失败 |