Download followers from TikTok with Python

Use TikTok Followers Scraper to download followers from TikTok with Python. No proxies to rotate and no blocked requests to debug - Apify handles unblocking for you. Just add one or more TikTok usernames, set how many profiles you want, and get structured follower and following data in your Python project.

Easy setup to get followers programmatically in Python

Get an Apify account01

Create a free Apify account (no credit card needed) and find TikTok Followers Scraper in Apify Store.

Sign up for free
Initialize the API using your token02

Once you're signed up, add your secret API token to your Python project. You'll find your token on the Integrations page in Apify Console.

Get your token in Console
Define input and copy it in JSON03

Tell TikTok Followers Scraper which accounts to work with. Add one or more TikTok usernames, then set how many followers and following profiles you want per account. You can copy the whole input as JSON from the Actor's Input tab in Apify Console.

Integrate Apify into your codebase04

Call TikTok Followers Scraper from your Python project using Apify Client or the API endpoints. Your code doesn't do the scraping itself - it starts a run on Apify's servers and reads the results back. Run the sample code below to get your first follower list ↓.

Monitor and automate your TikTok Followers Scraper runs05

Head to Apify Console and see how your runs are doing in real time, and download the run logs if something looks off. From there you can also schedule runs to repeat, set up webhooks to fire when a run finishes, and send follower data to HubSpot, Airtable, or your own app through Apify integrations.

Go to dashboard

Get your Python project up and running

Start your Python project by executing this code snippet in your go-to environment.

1from apify_client import ApifyClient
2
3# Initialize the ApifyClient with your Apify API token
4# Replace '<YOUR_API_TOKEN>' with your token.
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7# Prepare the Actor input
8run_input = {
9 "profiles": ["khaby.lame"],
10 "maxFollowersPerProfile": 50,
11 "maxFollowingPerProfile": 50,
12}
13
14# Run the Actor and wait for it to finish
15run = client.actor("clockworks/tiktok-followers-scraper").call(run_input=run_input)
16
17# Fetch and print Actor results from the run's dataset (if there are any)
18print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
19for item in client.dataset(run.default_dataset_id).iterate_items():
20 print(item)
21
22# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start
Free $5 usage every month

Enjoy $5 of free platform usage every month to explore and kickstart your projects.

No credit card required

Get started on Apify instantly without the hassle of entering your credit card information.

Supportive community on Discord

Join our Discord community to ask questions, share ideas, and connect with developers.

Frequently asked questions

Add one or more TikTok usernames and set how many followers and following profiles you want from each. TikTok Followers Scraper visits those profiles the same way a browser would, collects the connection lists, and returns them as structured records. Each record tells you which account the profile is connected to and whether it's a follower or an account the profile follows.

For every follower or following profile you get the username, display name, profile URL, bio and bio link, avatar URL, verified and private-account flags, and counts for followers, following, videos, and hearts. Each record also carries the account it's connected to and the connection type, so you can tell followers and following apart in the same dataset.

Yes. The Actor takes a list of usernames, so you can add several accounts in one run and set how many followers and following profiles you want per account. Paste a prepared list using the Bulk edit option in Apify Console, or pass the same list as an array in your Python code.

Actors are serverless cloud programs that run on the Apify platform and do computing jobs. They’re called Actors because, like human actors, they perform actions based on a script. They can perform anything from simple actions (such as filling out a web form or sending an email) to complex operations (such as crawling an entire website or removing duplicates from a large dataset). Actor runs can be as short or as long as necessary. They could last seconds, hours, or even run infinitely.

Ready to get started?

Create your free Apify account to download TikTok followers now.