Free TikTok Scraper

  • clockworks/free-tiktok-scraper
  • Modified
  • Users 7.1k
  • Runs 563.7k
  • Created by Author's avatarClockworks

This free version of TikTok Scraper will get you up to 20 videos and 5 comments per run. Use it to extract data about videos, users, and channels based on hashtags or scrape full user profiles including posts, total likes, name, nickname, numbers of comments, shares, followers, following, and more.

What does TikTok Scraper Free do?

Our free TikTok scraper allows you to extract data about videos from the TikTok social media site. It gives you detailed TikTok information in structured formats such as Excel, XML, HTML, JSON, and CSV, which you can use in your own reports, spreadsheets, and applications. TikTok Scraper allows you to scrape:

  • Results from a TikTok hashtag search.
  • Numbers of comments and shares, followers and following, total likes.
  • Individual posts and full user profiles - by using a URL for a specific profile or video.

Note that the output for TikTok Scraper Free is limited to a maximum of 20 results and 5 comments.

Need more TikTok data?

Use TikTok Scraper Unlimited to enjoy the full potential of scraping TikTok. Scrape TikTok hashtags, numbers of comments and shares, followers and following, user profiles, and individual posts without limitations.

Why use TikTok Scraper?

TikTok Scraper creates an unofficial TikTok API. TikTok now has an estimated one billion users, and many of those users spend as much as 80 minutes per day on the app. With a TikTok API, you can build your own products and applications on top of the TikTok platform.

How to scrape TikTok - tutorial and video guide

If you've never done any web scraping before - worry not; just follow our step-by-step guide on how to scrape TikTok and you'll be up to speed in no time. Or simply follow our quick video tutorial on YouTube:

How to use extracted TikTok data

  • Boost brand awareness or spread the message about social issues and causes.
  • Forecast upcoming trends and influences on social media across the new generation.
  • Get data for research and social listening experiments.
  • Get authentic product reviews and back up sentiment analysis with real data.
  • Plan commercial campaigns on TikTok or other social media platforms.
  • Simplify market research for hashtag challenges and marketing campaigns.

Input parameters

If this actor is run on the Apify platform, our simple interface will help you to configure all the necessary and optional parameters of this scraper before running it. This scraper recognizes the following input parameters:

  • hashtags - scrapes TikTok for hashtags. You can duplicate this parameter to scrape several hashtags simultaneously.
  • profiles - scrapes TikTok profiles. You can copy this parameter to scrape several profiles simultaneously.
  • postURLs- scrapes specific TikTok posts. You can duplicate this parameter to scrape several posts at the same time.
  • resultsPerPage - sets the maximum limit for the amount of scraped results; default is 20.
  • maxRequestRetries - indicates the limit of scraper retries in case of any errors.

Example

{ "resultsPerPage": 20, "hashtags": ["podcast"], "maxRequestRetries": 10 }

Output

The output from TikTok Scraper is stored in a dataset. Each item is information about a video and user or channel. Here's an example of some of the output you would get if you used the input parameters above to scrape the hashtag "comfortfood":

Example

{ "id": "6885142885939825925", "text": "Best Mashed Potatoes! #tiktokcooks #hellofall #comfortfood #homecooking #cookingwithshereen #fyp", "createTime": 1603072290, "authorMeta": { "id": "6746332443361739782", "name": "cookingwithshereen", "nickName": "COOKING with SHEREEN", "verified": true, "signature": "YouTube & Insta 猡达笍\n猬囷笍 My CookBook & Merch! 猬囷笍", "avatar": "https://p16-sign-va.tiktokcdn.com/tos-maliva-avt-0068/750f43c1845b5a556207821b1a0d72c1~c5_720x720.jpeg?x-expires=1639000800&x-signature=gl7OpbhX1L9yhC6e2rm4rajLvZg%3D", "following": 27, "fans": 4400000, "heart": 72300000, "video": 185, "digg": 910 }, "musicMeta": { "musicName": "original sound", "musicAuthor": "COOKING with SHEREEN", "musicOriginal": true, "musicAlbum": "", "playUrl": "https://sf16-ies-music-va.tiktokcdn.com/obj/musically-maliva-obj/6885142857766669062.mp3" }, "webVideoUrl": "https://www.tiktok.com/@cookingwithshereen/video/6885142885939825925", "videoUrl": "https://v16-web.tiktok.com/video/tos/useast2a/tos-useast2a-ve-0068c001/aaa32cd10cfc49d297adb7900f680551/?a=1988&br=3442&bt=1721&cd=0%7C0%7C1&ch=0&cr=0&cs=0&cv=1&dr=0&ds=3&er=&expire=1638937586&ft=wUyFfFGgkag3-I&l=202112072225270101890660492361F572&lr=tiktok_m&mime_type=video_mp4&net=0&pl=0&policy=3&qs=0&rc=Mzw2d2RobzZpeDMzNjczM0ApPDMzOzRpPDw6NzllNmlmNGdwLm9wZ2FyLzNfLS0vMTZzcy0yYy0xNDE1NDQvX2E2NGE6Yw%3D%3D&signature=30e50cb1af44c4eec84bca1b761180b9&tk=0&vl=&vr=", "videoMeta": { "height": 1024, "width": 576, "duration": 59 }, "diggCount": 3100000, "shareCount": 91600, "playCount": 21500000, "commentCount": 24900, "downloaded": false, "mentions": [], "hashtags": [ {

How much will scraping TikTok cost you?

When it comes to scraping, it can be challenging to estimate the resources needed to extract data as use cases may vary significantly. That's why the best course of action is to run a test scrape with a small sample of input data and limited output. You鈥檒l get your price per scrape, which you鈥檒l then multiply by the number of scrapes you intend to do.

Watch this video for a few helpful tips. And don't forget that choosing a higher plan will save you money in the long run.

Want to scrape TikTok creator data or hashtags?

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 sounds, search results, profiles, or all data at once. Feel free to browse them:

馃 TikTok Profile Scraper#锔忊儯 TikTok Hashtag Scraper馃帣 TikTok Comments Scraper
馃攷 Tiktok Search Scraper馃暪 Tiktok Video Scraper馃幍 TikTok Sound Scraper

Integrations and TikTok Scraper Free

Last but not least, TikTok Scraper Free can be connected with almost any cloud service or web app thanks to integrations on the Apify platform. You can integrate with Make, Zapier, Slack, Airbyte, GitHub, Google Sheets, Google Drive, and more. Or you can use webhooks to carry out an action whenever an event occurs, e.g. get a notification whenever Instagram API Scraper successfully finishes a run.

Using TikTok Scraper Free 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 API tab for code examples.

Personal data

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 read the basics of ethical web scraping in our blog post on the legality of web scraping.

Not your cup of tea? Build your own scraper

TikTok scraper doesn鈥檛 exactly do what you need? You can always build your own! We have various scraper templates in Python, JavaScript, and TypeScript to get you 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 find users for it).

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

Your feedback

We鈥檙e always working on improving the performance of our Actors. So if you鈥檝e got any technical feedback for TikTok scraper or simply found a bug, please create an issue on the Actor鈥檚聽Issues tab聽in Apify Console.