Skip to main content

Tool for automated TikTok interactions.

Project description


Tooling that automates your social media interactions to “farm” Likes and Followers on TikTok

Build Status Package version

import asyncio
from tiktokpy import TikTokPy

async def main():
    async with TikTokPy() as bot:
        # Do you want to get trending videos? You can!
        trending_items = await bot.trending(amount=5)

        for item in trending_items:
            # ❤️ you can like videos
            # or unlike them
            await bot.unlike(item)
            # or follow users
            await bot.follow(
            # as and unfollow
            await bot.unfollow(

        # 😏 getting user's feed
        user_feed_items = await bot.user_feed(username="justinbieber", amount=5)

        for item in user_feed_items:
            # 🎧 get music title, cover, link, author name..
            print("Music title: ",
            # #️⃣ print all tag's title of video
            print([tag.title for tag in item.challenges])
            # 📈 check all video stats
            print("Comments: ", item.stats.comments)
            print("Plays: ", item.stats.plays)
            print("Shares: ", item.stats.shares)
            print("Likes: ", item.stats.likes)

        # and many other things 😉


Install with pip:

pip install tiktokpy

Install browser by playwright

playwright install chromium

If you have little to no knowledge in programming: Read this Guide "How to use TiktokPy Python Bot" for beginners


To create your cookies and settings.toml file simply run


and then after you login run


Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tiktokpy-0.9.2.tar.gz (13.7 kB view hashes)

Uploaded source

Built Distribution

tiktokpy-0.9.2-py3-none-any.whl (17.7 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page