TikTok Scraper avatar

TikTok Scraper

Try for free

4 days trial then $45.00/month - No credit card required now

Go to Store
TikTok Scraper

TikTok Scraper

clockworks/tiktok-scraper
Try for free

4 days trial then $45.00/month - No credit card required now

Extract data from TikTok videos, hashtags, and users. Use URLs or search queries to scrape TikTok profiles, hashtags, posts, URLs, shares, followers, hearts, names, video, and music-related data. Export scraped data, run the scraper via API, schedule and monitor runs or integrate with other tools.

Do you want to learn more about this Actor?

Get a demo

What does TikTok Scraper do?

This TikTok data scraper, a powerful unofficial TikTok API will give you TikTok data at scale to be used in your own data projects, business reports, and as a basis for new applications. With this best TikTok Scraper, you can get:

  • All results from chosen hashtags including details: top videos, timestamps, view, share, comment, and video count, etc.
  • All posts from chosen user profiles including details: name, nickname, ID, bio, followers/following numbers, play, share and comment count, etc.
  • Individual video posts by using specific video URLs.
  • Video- and music-related data.

How to scrape TikTok with TikTok Scraper?

TikTok Scraper is user-friendly, offering a smooth start even for those who have never extracted data from TikTok before. Here’s how to scrape TikTok with TikTok Scraper in 5 steps:

  1. Create a free Apify account using your email.
  2. Open TikTok Scraper.
  3. Add one or more hashtags to scrape TikTok videos and creators.
  4. Click the “Start” button and wait for the data to be extracted.
  5. Download your data in JSON, XML, CSV, Excel, or HTML.

For more information, read this step-by-step guide or watch our short video tutorial. It also applies to our TikTok Data Extractor.

Input

To start TikTok web scraping, simply fill in the input form. You can scrape TikTok based on:

  • hashtags - scrapes TikTok for hashtags.
  • profiles - scrapes TikTok profiles.
  • video URLs - scrapes specific TikTok videos.

You can download the scraped TikTok videos, which will be stored in the dataset. To do this, just mark the types of videos you want to download in the Download TikTok videos section.

Here’s what the filled-out input schema looks like:

TikTok Scraper input

And here it is written in JSON:

1{
2    "hashtags": [
3        "bananas"
4    ],
5    "proxyCountryCode": "None",
6    "resultsPerPage": 100,
7    "shouldDownloadCovers": false,
8    "shouldDownloadSlideshowImages": false,
9    "shouldDownloadSubtitles": false,
10    "shouldDownloadVideos": false
11}

Output

After the Actor finishes its run, you'll get a dataset with the output. The length of the dataset depends on the amount of results you've set. You can download those results as an Excel, HTML, XML, JSON, and CSV document.

Here's an example of scraped TikTok data you'll get if you decide to scrape all videos with hashtag "bananas".

TikTok Scraper Output

1{
2    "authorMeta.avatar": "https://p16-sign-sg.tiktokcdn.com/aweme/720x720/tos-alisg-avt-0068/d0d51b24a15a39a40c5334139188a78a.jpeg?lk3s=a5d48078&nonce=45592&refresh_token=f827e0f5cd7a48c58837494cf2683cab&x-expires=1722942000&x-signature=alkielqA31AuKYfP%2BlVum5%2BoeAc%3D&shp=a5d48078&shcp=b59d6b55",
3    "authorMeta.name": "funnyanimation242",
4    "text": "banana bananana  funny cartoon 😂#foryou #foryoupage  #funny #memes #funnynimations #viraltiktok #fyp #bts #Love #trend@TikTok @TikTok Bangladesh @funny animation @funny animation @funny animation ",
5    "diggCount": 18400,
6    "shareCount": 1902,
7    "playCount": 722300,
8    "commentCount": 257,
9    "collectCount": 1912,
10    "videoMeta.duration": 17,
11    "musicMeta.musicName": "original sound",
12    "musicMeta.musicAuthor": "funny animation",
13    "musicMeta.musicOriginal": true,
14    "createTimeISO": "2023-11-07T07:50:05.000Z",
15    "webVideoUrl": "https://www.tiktok.com/@funnyanimation242/video/7298624334447299858"
16  }

How can I use the data extracted from TikTok with TikTok Scraper?

  • ✨ Observe and track trends and predict emerging influencers to collaborate with.
  • 📋 Create a pipeline full of perfect-fit marketing leads.
  • #️ Simplify market research for planning advertisement campaigns and hashtag challenges.
  • 🪧 Prepare for an upcoming TikTok marketing campaign: start and promote your own channel or collaborate with an influencer.
  • 📚 Scan the market for authentic product reviews and sentiment analysis.
  • 🔬 Get data for research and social listening experiments.
  • 📈 Analyze viral campaigns and trends.
  • ✅Identify unverified content and inaccurate information with high public value.

Integrate TikTok Scraper with any app and automate your workflow

Last but not least, TikTok Scraper can be connected with almost any cloud service or web app thanks to integrations on the Apify platform.

These includes:

Alternatively, you can use webhooks to carry out an action whenever an event occurs, e.g. get a notification whenever TikTok Scraper successfully finishes a run.

Scrape any TikTok data you need with dedicated scrapers

You can use the dedicated scrapers below if you want to scrape specific TikTok data. Each of them is built particularly for the relevant TikTok data scraping case, be it hashtags, search results, profiles, or all data at once. Feel free to browse them:

🎹 Tiktok Data Extractor📹 Tiktok Video Scraper🧛 TikTok Profile Scraper🎸 Tiktok Sound Scraper
🎙 TikTok Comments Scraper🛍 Tiktok Ads Scraper#️⃣ TikTok Hashtag Scraper🔍TikTok Discover Scraper

Not your cup of tea? Build your own scraper

TikTok Scraper doesn’t exactly do what you need?

You can always build your own! Use one of scraper templates in Python, JavaScript, and TypeScript to get started.

Alternatively, you can write it from scratch using our open-source library Crawlee. You can keep the scraper to yourself or make it public by adding it to Apify Store and start making money on it.

Or let us know if you need a custom scraping solution.

Your feedback

We’re always working on improving our Actors' performance. If you have any technical feedback for TikTok Scraper or simply found a bug, please create an issue on the Actor’s Issues tab in Apify Console.

FAQ

How can I use TikTok Scraper with the Apify API

The Apify API gives you programmatic access to the Apify platform. The API is organized around RESTful HTTP endpoints that enable you to manage, schedule, and run Apify actors. The API also lets you access any datasets, monitor actor performance, fetch results, create and update versions, and more.

To access the API using Node.js, use the apify-client NPM package. To access the API using Python, use the apify-client PyPI package.

Check out the Apify API reference docs for full details or click on the TikTok Scraper API tab for code examples.

Our TikTok scrapers are ethical and do not extract any private user data, such as email addresses, gender, or location. They can only extract what the user has chosen to share publicly. However, you should be aware that your results might contain personal data.

Personal data is protected by GDPR in the European Union and other laws and regulations around the world. You should not scrape personal data unless you have a legitimate reason to do so. If you’re unsure whether your reason is legitimate, consult your lawyers. You can also read our blog post on the legality of web scraping and ethical scraping.

Developer
Maintained by Apify

Actor Metrics

  • 1.2k monthly users

  • 114 stars

  • >99% runs succeeded

  • 3.2 days response time

  • Created in Sep 2021

  • Modified 4 days ago