TikTok Following API
Scrapes accounts that a TikTok user follows
Quick start
cURL
curl --request GET 'https://api.fetchproof.com/v1/tiktok/user/following?handle=nasa' \
--header 'x-api-key: YOUR_API_KEY' JavaScript
const response = await fetch("https://api.fetchproof.com/v1/tiktok/user/following?handle=nasa", {
method: 'GET',
headers: {
'x-api-key': process.env.FETCHPROOF_API_KEY,
},
});
const data = await response.json();
console.log(data); Python
import os
import requests
response = requests.get(
"https://api.fetchproof.com/v1/tiktok/user/following?handle=nasa",
headers={"x-api-key": os.environ["FETCHPROOF_API_KEY"]},
)
print(response.json()) Go
package main
import (
"fmt"
"io"
"net/http"
"os"
)
func main() {
req, _ := http.NewRequest("GET", "https://api.fetchproof.com/v1/tiktok/user/following?handle=nasa", nil)
req.Header.Set("x-api-key", os.Getenv("FETCHPROOF_API_KEY"))
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
} PHP
<?php
$ch = curl_init("https://api.fetchproof.com/v1/tiktok/user/following?handle=nasa");
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
'x-api-key: ' . getenv('FETCHPROOF_API_KEY'),
],
]);
$response = curl_exec($ch);
curl_close($ch);
echo $response; {
"success": true,
"credits_remaining": 100,
"credits_charged": 1,
"extra": {
"fatal_item_ids": [],
"logid": "20261117023549BBD24DCF99A729336C46",
"now": 1794882949000
},
"followings": [
{
"avatar_larger": {
"url_list": [
"https://p19-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/28b18382a9c579899470a2244b802d39~tplv-tiktokx-cropcenter:1080:1080.jpeg?dr=9640&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=useast8"
]
},
"avatar_medium": {
"url_list": [
"https://p19-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/28b18382a9c579899470a2244b802d39~tplv-tiktokx-cropcenter:720:720.jpeg?dr=9640&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=useast8"
]
},
"avatar_thumb": {
"url_list": [
"https://p16-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/28b18382a9c579899470a2244b802d39~tplv-tiktokx-cropcenter:100:100.jpeg?dr=9640&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=useast8"
]
},
"aweme_count": 204,
"comment_setting": 0,
"download_setting": 0,
"duet_setting": 0,
"favoriting_count": 96,
"follower_count": 121800,
"following_count": 73,
"nickname": "Freedom 250",
"sec_uid": "MS4wLjABAAAA927o3zHxfudDnim6_JtQO_vF1GB-xC39hrvp-FoDJp-vuypAjyURRyogMfKKsJY0",
"secret": 0,
"signature": "Freedom 250 is a non-partisan organization delivering presidential-level celebrations for our nation’s 250th birthday.",
"stitch_setting": 0,
"total_favorited": 1300000,
"uid": "7566352102659064887",
"unique_id": "freedom250",
"verification_type": 1
},
{
"avatar_larger": {
"url_list": [
"https://p19-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/c48b9de0b3fdb3b7d60ab958ecf11381~tplv-tiktokx-cropcenter:1080:1080.jpeg?dr=9640&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=useast8"
]
},
"avatar_medium": {
"url_list": [
"https://p16-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/c48b9de0b3fdb3b7d60ab958ecf11381~tplv-tiktokx-cropcenter:720:720.jpeg?dr=9640&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=useast8"
]
},
"avatar_thumb": {
"url_list": [
"https://p19-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/c48b9de0b3fdb3b7d60ab958ecf11381~tplv-tiktokx-cropcenter:100:100.jpeg?dr=9640&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=useast8"
]
},
"aweme_count": 486,
"comment_setting": 0,
"download_setting": 3,
"duet_setting": 0,
"favoriting_count": 255,
"follower_count": 4000000,
"following_count": 3,
"nickname": "Snoopy",
"sec_uid": "MS4wLjABAAAA_koFVCM4NeoOqAdo46YE-YwasHf8k6peh1lA9Unpsu5_ruMz1dQwk3_4LfQ4RvUm",
"secret": 0,
"signature": "The official account for Snoopy and the Peanuts gang!",
"stitch_setting": 0,
"total_favorited": 58200000,
"uid": "6664606052599234566",
"unique_id": "snoopy",
"verification_type": 1
},
{
"avatar_larger": {
"url_list": [
"https://p16-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/026c937a06cf114d33e057d55a9e38cd~tplv-tiktokx-cropcenter:1080:1080.jpeg?dr=9640&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=useast8"
]
},
"avatar_medium": {
"url_list": [
"https://p16-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/026c937a06cf114d33e057d55a9e38cd~tplv-tiktokx-cropcenter:720:720.jpeg?dr=9640&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=useast8"
]
},
"avatar_thumb": {
"url_list": [
"https://p19-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/026c937a06cf114d33e057d55a9e38cd~tplv-tiktokx-cropcenter:100:100.jpeg?dr=9640&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=useast8"
]
},
"aweme_count": 10,
"comment_setting": 0,
"download_setting": 0,
"duet_setting": 0,
"favoriting_count": 10,
"follower_count": 9098,
"following_count": 18,
"nickname": "Department Of Commerce",
"sec_uid": "MS4wLjABAAAAjjky4YuEwMMphdmUWEnINwhjO7y6zXGcZG8RSi1Ju4rPbz0LFNta92JGUv7DL47h",
"secret": 0,
"signature": "Official TikTok of the Department of Commerce",
"stitch_setting": 0,
"total_favorited": 15700,
"uid": "7578985735769031694",
"unique_id": "commerce",
"verification_type": 1
}
],
"has_more": false,
"log_pb": {
"impr_id": "20261117023549BBD24DCF99A729336C46"
},
"min_time": 1784664162,
"status_code": 0,
"total": 23
} What it returns
- success boolean
- credits_remaining integer
- credits_charged integer
- extra object
- followings array
- has_more boolean
- log_pb object
- max_time integer
- min_time integer
- myself_user_id string
Parameters
TikTok handle
Set to true to get a trimmed response
Used to paginate. Get 'min_time' from previous response.
Use cases
- See which accounts a creator follows
- Map a creator's network for outreach
- Check whether an account follows a brand
- Find related creators through who a creator follows
Billing
Errors cost zero credits. Empty results follow this operation’s rules.
Default: 1 credit
An empty result costs 0 credits.
How charges are determined
Cost is decided per call, not per endpoint: the same operation can cost different amounts depending on what it returns.
A call that fails costs 0 credits. A result served from cache costs 0 credits.
`default` is the cost when no rule matches. Rules are evaluated in order and the first whose conditions all hold wins.
A `when` condition is one of: `param` (the request parameter is true), `outcome` (the classifier's outcome), `empty` / `nonEmpty` (a response field is empty and absent, or a non-empty array or string), `flag` (a response field is exactly true).
A cost of `{ perStartedMinute: n, of: [fields] }` is n x max(1, ceil(seconds / 60)), so even a short result bills at least one minute.
Related TikTok endpoints
FAQ
How much does the TikTok Following API cost?
A call costs 1 credit by default. Errors cost 0 credits. New accounts get 100 free credits with no card. After that, credits come in one-time packs that never expire: 25,000 for $27 and 500,000 for $297 (plus any tax). There is no subscription.
What do I need to call it?
An API key in the x-api-key header, plus handle. You don't need a TikTok account or developer app.
What does it return?
Typed JSON. Top-level fields include extra, followings, has_more, log_pb, max_time and min_time. The full schema and a real sample response are on this page and in the API reference.
Is this an official TikTok API?
No. Fetchproof is an unofficial API that returns public TikTok data only.