Page cover image

User Followers

Fetching a users followers through our API

GENERAL ENDPOINT

Returns a users followers

GET https://kitkot.xyz/api/get_user/followers

Returns a list of users following the user you provide by sec_user_id

Query Parameters

Name
Type
Description

api_key*

String

The api_key you got when purchasing our service

sec_user_id*

String

The sec_user_id of the user to fetch information about

page_token*

String

The page_token you got in response from the previous request, which will give you the next page of followers

count

String

The amount of followers to fetch per page

{
    follower_list: [Object, Object, Object],
    total_followers: 1444,
    has_more: 1,
    me_user_id: "",
    page_token: "",
    offset: 0
}
const fetch = require('node-fetch');

const BASEURL = "https://kitkot.xyz/api";
const API_KEY = "my-api-key";
const sec_user_id = "MS4wLjABAAAAv7iSuuXDJGDvJkmH_vz1qkDZYo1apxgzaxdBSeIuPiM";
const count = "6";

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

Last updated