Skip to content

Following

GET /v1/tiktok/user/following

Retrieves the following list , accounts that a TikTok user follows , by their handle. Returns followings, an array of user objects each with nickname, unique_id, uid, follower_count, following_count, signature, and avatar URLs; also returns total count. Paginate with min_time from the previous response.

Authentication

All requests require the x-api-key header. Get your key at scrapecreators.com.

Query Parameters

NameTypeRequiredDescriptionExample
handlestringyesTikTok handlestoolpresidente
min_timenumbernoUsed to paginate. Get 'min_time' from previous response.1605663376
trimbooleannoSet to true to get a trimmed response

Example Request

curl

bash
curl 'https://api.scrapecreators.com/v1/tiktok/user/following?handle=stoolpresidente' \
  -H 'x-api-key: $SCRAPECREATORS_API_KEY'

Node / TypeScript

js
const params = new URLSearchParams({ handle: 'stoolpresidente' });
const res = await fetch(`https://api.scrapecreators.com/v1/tiktok/user/following?${params}`, {
  headers: { 'x-api-key': process.env.SCRAPECREATORS_API_KEY }
});
const data = await res.json();
console.log(data);

Python

python
import os, requests
r = requests.get(
    'https://api.scrapecreators.com/v1/tiktok/user/following',
    headers={'x-api-key': os.environ['SCRAPECREATORS_API_KEY']},
    params={'handle': 'stoolpresidente'},
)
r.raise_for_status()
print(r.json())

CLI

bash
scrapecreators tiktok user-following --help

Example Response

json
{
  "followings": [
    {
      "create_time": 1748628014,
      "follower_count": 2175,
      "following_count": 10,
      "language": "en",
      "nickname": "Barstool Beach House",
      "region": "US",
      "sec_uid": "MS4wLjABAAAAbQK_EH0QRu1Wqk9mXsWvWW2dGpK1_LSiVdJx0oXtFCE_oOX8RIeGFfaYJQthUoaH",
      "signature": "Coming in August",
      "uid": "7510299285881160735",
      "unique_id": "barstoolbeachhouse",
      "avatar_medium": {
        "height": 720,
        "uri": "tos-maliva-avt-0068/14f24ed9e7e1b1fc6764375b799c6ed7",
        "url_list": [
          "https://p16-sign-va.tiktokcdn.com/tos-maliva-avt-0068/14f24ed9e7e1b1fc6764375b799c6ed7~tplv-tiktokx-cropcenter-q:720:720:q70.heic?dr=9607&idc=no1a&ps=87d6e48a&refresh_token=a5540255&s=COMMON_RELATION_LIST&sc=avatar&shcp=65db1d19&shp=30310797&t=223449c4&x-expires=1750374000&x-signature=RDNAkREIu7HN1Tk8QeklmwFkSJY%3D"
        ],
        "url_prefix": null,
        "width": 720
      }
    }
  ],
  "min_time": 1734010829,
  "total": 81
}

Credits

Most ScrapeCreators endpoints consume 1 credit per successful response. Some heavier endpoints (transcripts, AI-driven enrichment, ad detail lookups) may cost more. Check GET /v1/credit-balance for your remaining balance.

Errors

StatusMeaningAction
200Success.Use the JSON payload.
400Invalid or missing parameter.Verify required parameters and value format.
401Missing or invalid x-api-key.Pass a valid API key in the header.
402Out of credits.Top up at scrapecreators.com or wait for plan reset.
404Resource not found or private.Confirm the handle, URL, or id and that the resource is public.
429Rate limited.Backoff and retry with exponential delay.
500Server error or upstream platform failure.Retry with backoff; report persistent errors to support.