# TikTok Followers Scraper - Follower & Following Lists (`s-r/tiktok-followers-scraper`) Actor

Export a TikTok account's followers or the accounts it follows, one row each with handle, display name, bio, follower count, video count, verification and avatar. The account itself comes back with its own full numbers.

- **URL**: https://apify.com/s-r/tiktok-followers-scraper.md
- **Developed by:** [SR](https://apify.com/s-r) (community)
- **Categories:** Business
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per event

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## TikTok Followers Scraper: follower and following lists

Give it TikTok accounts and get their followers as rows, or the accounts they
follow, or both. Each row carries the handle, display name, bio, follower
count, how many accounts they follow, video count, verification and avatar. The
account you asked about comes back as its own row with its full numbers.

No login, no API key, no TikTok developer account.

### What you get

**Per follower, or per followed account**: `handle`, `url`, `nickname`,
`author_id`, `sec_uid`, `bio`, `follower_count`, `following_count`,
`video_count`, `total_likes`, `author_verified`, `is_private`, `is_live`,
`avatar_url`, and `of_account` saying whose list the row came from.

**Per account you asked about**: everything above plus `bio_link`,
`friend_count` (mutual follows), `is_organization`, `region`, `language` and
`following_visible`.

Counts arrive as integers, not as the `1.2M` strings the site shows.

### Speed

**150 followers in 1.2 seconds**, five pages of thirty, with a follower count
on all 150. Resolving the account itself took 0.8 seconds.

Thirty rows per request is TikTok's page size and there is no way to raise it,
so a walk of five thousand is roughly 167 requests.

### Three reasons a list comes back empty, and they are not the same

This is the part worth reading before you trust a result, because TikTok
returns all three as an ordinary success and they mean entirely different
things.

**The account hides who it follows.** This is a setting, and it is independent
of whether the account is private. Duolingo is a fully public, verified account
with 18 million followers, and its following list returns nothing because the
setting is off. Measured across four large accounts: one hidden, three open.

The row for such an account carries `following_visible: false`, and the run
reports it as `list_hidden` with a message saying the followers are still
readable. It is not retried, because retrying will never help.

**The account is private.** Both lists are hidden. The account row still comes
back with its own numbers and `is_private: true`.

**The account does not exist.** A mistyped handle returns a normal-looking
TikTok page, and the only thing distinguishing it from a real account is a
status code buried in the page data. That is checked, so a typo is reported as
`no_such_account` rather than becoming a row claiming somebody has no
followers.

### TikTok truncates long lists, and the run says when

An account with tens of millions of followers will not hand over tens of
millions of rows. TikTok sets a flag when it has decided to serve a partial
list, and the run reports it as `listsTruncatedByTikTok` in the summary.

A truncated walk of a huge account and a complete walk of a small one produce
the same-looking table, and the difference matters. So it is a number in the
summary rather than something you have to infer from the row count.

### Input

| Field | Type | Notes |
|---|---|---|
| `profiles` | array | Profile links, `@handle` or bare handles, one per line. Required. |
| `listType` | select | `followers`, `following` or `both`. Both costs two walks per account. |
| `maxFollowersPerProfile` | integer | Default 200, up to 5,000. |
| `maxFollowingPerProfile` | integer | Default 200. Only used when the following list is requested. |
| `includeProfile` | boolean | Default on. The account's own row. Free. |
| `country` | string | Two-letter code. Lists are served regionally, so this can change the ordering. |
| `language` | string | Two-letter code. |
| `proxyCountryCode` | string | Where the request should appear to come from. |

### Why the account's own row is free

Finding an account's followers requires resolving the account first, and that
resolution loads the page that already contains every number about it:
followers, following, video count, lifetime likes, bio, bio link, verification,
region. Charging for a second read of a page the run had to load anyway would
be charging for nothing, so `includeProfile` is on by default and costs
nothing.

### What people use this for

**Audience overlap.** Run two competing accounts and intersect the follower
handles. The size of the overlap is how much of an audience is already shared,
which is the number that decides whether a partnership adds reach or repeats
it.

**Lead lists from a niche account.** The followers of a small, sharply defined
account are a better-targeted list than any interest filter, and the bio and
follower count on each row are enough to rank them.

**Who a brand watches.** The following list of a company account is its
competitor set, its agencies and the creators it is considering, stated in
public and rarely read.

**Bot and quality checks.** Followers with no videos, no bio and a handle like
`user8837261` are visible in one sort. A follower list where most rows look
like that is an audience worth discounting.

### Notes

Follower counts are live and change through the day. A run is a snapshot.

Rows are deduplicated within a run, so an account appearing on two pages
appears once.

An account that does not exist, is private, or has hidden its following list is
reported by name with which of the three it was, rather than contributing zero
rows that read as an account nobody follows.

Free Apify plans are capped at 10 results per run. The run stops walking at
that point rather than reading the whole list and discarding it.

# Actor input Schema

## `profiles` (type: `array`):

One per line. A profile link, an @handle or a bare handle all work.

## `listType` (type: `string`):

The accounts following this one, the accounts it follows, or both. Both costs two walks per account.

## `maxFollowersPerProfile` (type: `integer`):

TikTok serves 30 per request and truncates long lists on its own; the run reports when it did.

## `maxFollowingPerProfile` (type: `integer`):

Only used when the following list is requested.

## `includeProfile` (type: `boolean`):

Adds one row per account with its own followers, following, video count, lifetime likes, bio, bio link and verification. Free: it comes from the page the run already loads to find the account.

## `country` (type: `string`):

Two-letter country code sent with the request. TikTok serves follower lists regionally, so this can change the ordering.

## `language` (type: `string`):

Two-letter language code for the search.

## `proxyCountryCode` (type: `string`):

Two-letter code for where the request should appear to come from. Leave empty to use the default route. Setting the country above changes what TikTok ranks; setting this changes where the request arrives from, and the two are worth matching.

## Actor input object example

```json
{
  "profiles": [
    "https://www.tiktok.com/@duolingo",
    "@nba",
    "zachking"
  ],
  "listType": "followers",
  "maxFollowersPerProfile": 200,
  "maxFollowingPerProfile": 200,
  "includeProfile": true,
  "country": "us",
  "language": "en",
  "proxyCountryCode": "gb"
}
```

# Actor output Schema

## `accounts` (type: `string`):

One row per account, follower or followed account.

## `summary` (type: `string`):

What was asked for, what came back and how many pages it took.

## `errors` (type: `string`):

Targets that returned nothing, with the reason.

# 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 = {
    "profiles": [
        "duolingo"
    ],
    "country": "us",
    "language": "en"
};

// Run the Actor and wait for it to finish
const run = await client.actor("s-r/tiktok-followers-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 = {
    "profiles": ["duolingo"],
    "country": "us",
    "language": "en",
}

# Run the Actor and wait for it to finish
run = client.actor("s-r/tiktok-followers-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 '{
  "profiles": [
    "duolingo"
  ],
  "country": "us",
  "language": "en"
}' |
apify call s-r/tiktok-followers-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,s-r/tiktok-followers-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/xEXGNm7r8bbp8wUyD/builds/IcrYeDiCEF8tMcUzt/openapi.json
