全部
在线测试

抖音猜你喜欢卡首屏


接口地址: http://api.vv-tool.com/tool/accounts/dycnxh


接口介绍: 抖音猜你喜欢卡首屏 点击查看详情


请求方式: POST


传参方式: form-data


返回格式: JSON


接口收费: 查询 1 次,计 1 次调用,联系销售可以拿到低价


频率限制: 10 次/秒


请求头参数

参数 类型 必选 示例
Authorization string 授权 access_token Bearer 1798c6aadec33d1bc2f5b707f1049aefexxxx

请求参数

参数 类型 必选 描述
url string 商品 id

请求示例

url:3527632085441450642

请求代码示例

cURL请求代码示例

curl --location --request POST 'http://api.vv-tool.com/tool/accounts/dycnxh' \
--header 'Authorization: Bearer 597bf69451d25445f88e7c05102974xxxxxxxx' \
--header 'Content-Type: application/json' \
--header 'Cookie: PHPSESSID=4h0e1oqfb0de30hrd78nci9nel; _csrf=709db896874973212a0245c9e2763eeceb2763921b805e73cf9d4172df6f67a6a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22x-KJnEnH3GlmD1UcXQOAT-q21ZQOFiIe%22%3B%7D' \
--data-raw '{
    "url":"3527632085441450642"
}'

PHP请求代码示例

<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "http://api.vv-tool.com/tool/accounts/dycnxh",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 0,
  CURLOPT_FOLLOWLOCATION => true,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "POST",
  CURLOPT_POSTFIELDS =>"{\r\n    \"url\":\"3527632085441450642\"\r\n}",
  CURLOPT_HTTPHEADER => array(
    "Authorization: Bearer 597bf69451d25445f88e7c05102974b2xxxxxxxx",
    "Content-Type: application/json",
    "Cookie: PHPSESSID=4h0e1oqfb0de30hrd78nci9nel; _csrf=709db896874973212a0245c9e2763eeceb2763921b805e73cf9d4172df6f67a6a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22x-KJnEnH3GlmD1UcXQOAT-q21ZQOFiIe%22%3B%7D"
  ),
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;


JAVA请求代码示例

OkHttpClient client = new OkHttpClient().newBuilder()
  .build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\r\n    \"url\":\"3527632085441450642\"\r\n }");
Request request = new Request.Builder()
  .url("http://api.vv-tool.com/tool/accounts/dycnxh")
  .method("POST", body)
  .addHeader("Authorization", "Bearer 597bf69451d25445f88e7c05102974bxxxxxxxx")
  .addHeader("Content-Type", "application/json")
  .addHeader("Cookie", "PHPSESSID=4h0e1oqfb0de30hrd78nci9nel; _csrf=709db896874973212a0245c9e2763eeceb2763921b805e73cf9d4172df6f67a6a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22x-KJnEnH3GlmD1UcXQOAT-q21ZQOFiIe%22%3B%7D")
  .build();
Response response = client.newCall(request).execute();

响应参数

参数 类型 描述
data object 数据信息
url string 商品 url
code int 返回状态码
msg string 返回码描述
msec int 接口执行时间
time int 接口返回时间

返回数据


{
    "code": 0,
    "msg": "成功",
    "msec": 318,
    "time": 1605085850,
    "data": {
        "url": "http://douyinkashoup.vv-tool.cn/dy/636df95c5"
    }
}

错误码 点击查看详情:查看