User IDs

Fetching the IDs of a user through our API

GENERAL ENDPOINT

Returns various ids from the username

GET https://kitkot.xyz/api/get_user_ids

Returns sec_user_id user_id from the username/unique_id, will also return room_id if the user is currently live.

Query Parameters

Name
Type
Description

api_key*

String

The api_key you got when purchasing our service

id*

String

The unique_id/username of the user

{
  "code": 200,
  "sec_user_id": "MS4wLjABAAAAv7iSuuXDJGDvJkmH_vz1qkDZYo1apxgzaxdBSeIuPiM",
  "user_id": "107955"
}
const fetch = require('node-fetch');

const BASEURL = "https://kitkot.xyz/api";
const API_KEY = "my-api-key";
const username = "tiktok";

const request = await fetch(`${BASEURL}/get_user_ids?api_key=${API_KEY}&id=${username}`);
const response = await request.json();
console.log(response);

Last updated