Page cover image

Video Details

Fetch information about a video

GENERAL ENDPOINT

Get the details of a video

GET https://kitkot.xyz/api/video/detail

Returns the details of a video from video_url or aweme_id

Query Parameters

Name
Type
Description

api_key*

String

The api_key you got when purchasing our service

query*

String

The query to fetch information from, this can be a tiktok share url or the id of a tiktok video. You can also query more than 1 video at a time by seperating them by commas: video_url,video_url,video_url,video_id,video_url

session_key

String

The session_key you got from our login endpoint

{
  code: 200,
  video_details: [
    {
      download_urls: [Object],
      author: [Object],       
      stats: [Object],        
      music: [Object],
      created_at_timestamp: ,
      created_at: '',
      video_url: '',
      video_id: '',
      description: '',
      video_length: 28.233,
      status: [Object]
    },
    {
      download_urls: [Object],
      author: [Object],       
      stats: [Object],        
      music: [Object],
      created_at_timestamp: ,
      created_at: '',
      video_url: '',
      video_id: '',
      description: '',
      video_length: 28.233,
      status: [Object]
    }
  ]
}
const fetch = require('node-fetch');

const BASEURL = "https://kitkot.xyz/api";
const API_KEY = "my-api-key";
const query = "https://www.tiktok.com/@tiktok/video/7174475464457588011,https://www.tiktok.com/@tiktok/video/7176740582209883434?is_copy_url=1&is_from_webapp=v1";

const request = await fetch(`${BASEURL}/video/detail?api_key=${API_KEY}&query=${query}`);
const response = await request.json();
console.log(response);

Last updated