Video Comments

Fetch comments on a video

GENERAL ENDPOINT

Get the comments off a video

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

Returns the comments made on a video

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.

session_key

String

The session_key you got from our login endpoint

count

String

The amount of comments to fetch

cursor

String

The cursor returned from your previous request to fetch the next page of comments

{
  code: 200,
  msg: 'success',
  comment_list: [Object, Object, Object, Object, Object, Object],
  has_more: 1,
  cursor: 6,
  total_comments: 605,
  top_gifts: [],
  reply_style: 2
}
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";
const count = "6";

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

Last updated