全部
在线测试

抖音卡首屏 API


接口地址: http://api.vv-tool.com/tool/accounts/dy-card-first-screen


接口介绍: 通过该接口生成链接下单,生意参谋后台显示抖音下单 点击查看详情


请求方式: POST


传参格式: form-data


返回格式: JSON


接口收费: 查询 1 次,计 1 次调用(参数不要乱传,商品不存在也会扣次数)


频率限制: 10 次/秒


请求头参数

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

请求参数

参数 类型 必选 描述
url string 商品链接/商品 id 如:3527632085441450642

请求示例

url:3527632085441450642

请求代码示例

cURL请求代码示例

curl --location --request POST 'http://api.vv-tool.com/tool/accounts/dy-card-first-screen' \
--header 'Authorization: Bearer c2c20409e5f3f34437aece02c69b9a9dxxxxxxxx' \
--header 'Cookie: PHPSESSID=8gk3dcemg4j0o1qbol21pjkits; _csrf=5306f9747cabb278ff1cb08b1c1056537bef9c2a343d77d10336c874eeb4b0eba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22ThwPd5A0gHmm4Td6MlihizBEcjga8Zsh%22%3B%7D' \
--form 'url=3527632085441450642'

PHP请求代码示例

<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "http://api.vv-tool.com/tool/accounts/dy-card-first-screen",
  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 => array('url' => '3527632085441450642'),
  CURLOPT_HTTPHEADER => array(
    "Authorization: Bearer c2c20409e5f3f34437aece02c69b9a9dxxxxxxxx"
   
  ),
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;

JAVA请求代码示例

OkHttpClient client = new OkHttpClient().newBuilder()
  .build();
MediaType mediaType = MediaType.parse("text/plain");
RequestBody body = new MultipartBody.Builder().setType(MultipartBody.FORM)
  .addFormDataPart("url", "3527632085441450642")
  .build();
Request request = new Request.Builder()
  .url("http://api.vv-tool.com/tool/accounts/dy-card-first-screen")
  .method("POST", body)
  .addHeader("Authorization", "Bearer c2c20409e5f3f34437aece02c69b9a9dxxxxxxxx")
  .build();
Response response = client.newCall(request).execute();

响应参数

参数 类型 描述
code int 返回状态码
msg string 返回码描述
msec int 接口执行时间
time int 接口返回时间
data string 卡首屏地址

返回数据


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

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