# Best Tiktok Following Scraper (`scrape-creators/best-tiktok-following-scraper`) Actor

Extract the list of TikTok accounts a user is following, including their usernames, bios, follower counts, and more. Just enter one or more TikTok usernames and get structured data for research, analysis, or lead generation. Works with public accounts only.

- **URL**: https://apify.com/scrape-creators/best-tiktok-following-scraper.md
- **Developed by:** [Scrape Creators](https://apify.com/scrape-creators) (community)
- **Categories:** Social media, Automation, Developer tools
- **Features:** Limited permissions
- **Stats:** 3,088 total users, 52 monthly users, 99.8% runs succeeded, 8 bookmarks
- **User rating**: 4.90 out of 5 stars

## Pricing

$2.00 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## 🧭 What is Best TikTok Following Scraper?

**Best TikTok Following Scraper** is an easy-to-use and powerful tool that lets you extract the list of accounts a TikTok user is following. Whether you’re conducting competitor research, building influencer lists, or simply exploring user behavior, this scraper gives you detailed data about who a user follows on TikTok.

With this scraper, you can get:

- Full list of users followed by a TikTok account
- Username, and profile URL
- Follower/following count
- Total likes and number of videos
- Avatar URL

> ✅ Just input one or more TikTok usernames, click run, and download your dataset in JSON, CSV, Excel, or HTML.

***

## 🔍 Why scrape TikTok followings?

Understanding who a user follows can be incredibly insightful. Use this data to:

- 🧠 Research influencer networks and connections
- 🥸 Monitor competitor follow strategies
- 🎯 Build better lead lists and outreach sequences
- 📊 Analyze audience interests and affinities
- 🧪 Feed social graph data into your machine learning models

***

## ⚙ How to use Best TikTok Following Scraper?

1. [Sign up for a free Apify account](https://apify.com/signup)
2. Open **Best TikTok Following Scraper**
3. Add one or more TikTok usernames
4. Click **Start** to begin the scraping process
5. Download the results in your preferred format

Here’s a sample input in JSON format:

```json
{
  "numberOfFollowing": 100,
  "usernames": ["stoolpresidente"]
}
```

***

## 📥 Output

Once the run completes, you’ll receive structured data that looks like this:

```json
{
  "id": "7460563733839053867",
  "uniqueId": "intheslot",
  "avatar": "https://p16-amd-va.tiktokcdn.com/tos-maliva-avt-0068/98cbb9f5720ca0f3fff7c336017b1cde~tplv-tiktokx-cropcenter-q:720:720:q70.heic?dr=9607&idc=no1a&ps=87d6e48a&s=COMMON_RELATION_LIST&sc=avatar&shcp=65db1d19&shp=30310797&t=223449c4",
  "createTime": "2025-01-16T17:20:16.000Z",
  "followerCount": 11023,
  "followingCount": 5,
  "language": "en",
  "nickname": "In The Slot",
  "region": "US",
  "secUid": "MS4wLjABAAAAMEPG6jQ039iinkCKaw9146zmHfNuKC13DH8KdoIWwVAItGR6Lge77ZAjOO5aCRLw",
  "requestedUsername": "stoolpresidente"
}
```

***

## 🔁 Integrate & Automate

This Actor can be integrated with your favorite tools through:

- Clay
- Crew AI
- Zapier
- Make (Integromat)
- Webhooks
- LangChain, Slack, and more

***

## ❓FAQ

**How many users can I scrape?**\
You can input multiple usernames at once. Each username will return the full list of public accounts they follow. Private accounts will not return any data.

**Is it legal to scrape TikTok?**\
This actor only collects publicly available data.

***

### 💬 Have questions?

Feel free to reach out: **adrian@thewebscrapingguy.com**

# Actor input Schema

## `usernames` (type: `array`):

The username(s) of the TikTok account(s) you want to get the following list from.

## `numberOfFollowing` (type: `integer`):

The number of following you want to get.

## Actor input object example

```json
{
  "usernames": [
    "stoolpresidente"
  ],
  "numberOfFollowing": 20
}
```

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "usernames": [
        "stoolpresidente"
    ],
    "numberOfFollowing": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrape-creators/best-tiktok-following-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "usernames": ["stoolpresidente"],
    "numberOfFollowing": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("scrape-creators/best-tiktok-following-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "usernames": [
    "stoolpresidente"
  ],
  "numberOfFollowing": 20
}' |
apify call scrape-creators/best-tiktok-following-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,scrape-creators/best-tiktok-following-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/FtjX3ksUGnvA8W9KJ/builds/kjbzZVWAH2nDJXXn8/openapi.json
