聚合短视频解析API接口

短视频平台去水印解析,免费在线一键去除短视频中的水印,支持抖音,快手等平台.

接口文档 《查看会员》
接口地址: http://api.toolfk.com/api/shortUrl | 在线体验接口
请求方法: [ "GET", "POST" ]
请求参数:
名称类型描述示例
tokenstring请求的token用户中心获取token
urlstring 链接地址 https://v.douyin.com/MLpMPuG/
-- 漂亮的分割符 --
返回数据:

{
    "status": 1,
    "data": {
        "url": "https://v3.douyinvod.com/45a06dfdee46342a96ee40d43da4b014/6342c91f/video/tos/cn/tos-cn-ve-15c001-alinc2/cb3df29c07a640f18293319cf655f660/?a=1128&ch=0&cr=0&dr=0&cd=0%7C0%7C0%7C0&cv=1&br=762&bt=762&cs=0&ds=3&ft=GYTg38VVywIiRZm8Zmo~xj7ScoAwHXh-I5OVJEttsXpbPD&mime_type=video_mp4&qs=0&rc=M2Q4Mzs6NTU3NDY8Njk8OEBpM3VndjY6Zmc0ZjMzNGkzM0A2YmMyX2M2Xl4xLy8zX14zYSMxX2xycjQwYGRgLS1kLWFzcw%3D%3D&l=2022100920134401020801619805104E74&btag=80000&cc=20",
        "title": "感谢我的好兄弟刘德华,听到华哥对#明日战记 的支持很开心,也祝福《流浪地球2》大卖!",
        "image": "https://p9-sign.douyinpic.com/tos-cn-p-0015/7dac87765548410e904915ff58f9dc5b_1663047308~tplv-dy-360p.jpeg?x-expires=1666526400&x-signature=d5OfP9mehKLDWkBCUJhL9%2FPgKzs%3D&from=3213915784&se=false&biz_tag=feed_cover&l=202210092013440102091701604E0EB3CF",
        "mp3": ""
    }
}
                
                            
代码示例:
  • Curl
  • PHP
  • Java
  • Python
  • JavaScript
  • Go
  • Nodejs

    curl -X POST \
    http://api.toolfk.com/api/shortUrl \
    -H 'Content-Type: application/x-www-form-urlencoded' \
    -d 'token=用户中心获取&url=https%3A%2F%2Fv.douyin.com%2FMLpMPuG%2F'
                                       
//记得去掉这个 "\" 斜线
<\?php
$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "http://api.toolfk.com/api/shortUrl",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "POST",
  CURLOPT_POSTFIELDS => "token=用户中心获取&url=https%3A%2F%2Fv.douyin.com%2FMLpMPuG%2F",
  CURLOPT_HTTPHEADER => array(
    "Content-Type: application/x-www-form-urlencoded",
  ),
));

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
   

OkHttpClient client = new OkHttpClient();

MediaType mediaType = MediaType.parse("application/x-www-form-urlencoded");
RequestBody body = RequestBody.create(mediaType, "token=用户中心获取&url=https%3A%2F%2Fv.douyin.com%2FMLpMPuG%2F");
Request request = new Request.Builder()
  .url("http://api.toolfk.com/api/shortUrl")
  .post(body)
  .addHeader("Content-Type", "application/x-www-form-urlencoded")
  .build();

Response response = client.newCall(request).execute();


                                       
import requests

url = "http://api.toolfk.com/api/shortUrl"

payload = "token=用户中心获取&url=https%3A%2F%2Fv.douyin.com%2FMLpMPuG%2F"
headers = {'Content-Type': "application/x-www-form-urlencoded"}

response = requests.request("POST", url, data=payload, headers=headers)

print(response.text)
var data = "token=用户中心获取&url=https%3A%2F%2Fv.douyin.com%2FMLpMPuG%2F";

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function () {
    if (this.readyState === 4) {
        console.log(this.responseText);
    }
});

xhr.open("POST", "http://api.toolfk.com/api/shortUrl");
xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");

xhr.send(data);
                                       
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io/ioutil"
)

func main() {

	url := "http://api.toolfk.com/api/shortUrl"

	payload := strings.NewReader("token=用户中心获取&url=https%3A%2F%2Fv.douyin.com%2FMLpMPuG%2F")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("Content-Type", "application/x-www-form-urlencoded")

	res, _ := http.DefaultClient.Do(req)

	defer_no res.Body.Close()
	body, _ := ioutil.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
                                       
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io/ioutil"
)

func main() {

	url := "http://api.toolfk.com/api/shortUrl"

        payload := strings.NewReader("{
          "token": "用户中心获取token",
          "type": "a",
          "format": "json"
        }")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("Content-Type", "application/x-www-form-urlencoded")

	res, _ := http.DefaultClient.Do(req)

	defer_no res.Body.Close()
	body, _ := ioutil.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
                                       
返回状态码 status 描述参照
返回码描述
status1:表示成功,0:表示失败
data成功返回数据
errmsg失败返回数据
备注:开通API接口服务,可同时享用 www.toolfk.com 网站的会员工具。