TikTok Data Extractor avatar
TikTok Data Extractor
Try for free

Pay $4.00 for 1,000 results

View all Actors
TikTok Data Extractor

TikTok Data Extractor

clockworks/free-tiktok-scraper
Try for free

Pay $4.00 for 1,000 results

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 Data Extractor do?

This TikTok Data Extractor 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 Data Extractor 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.

Need more TikTok data?

Use TikTok Scraper 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 Data Extractor?

TikTok Data Extractor 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

1{ 
2  "resultsPerPage": 20,
3  "hashtags": ["podcast"],
4  "maxRequestRetries": 10 
5}

Output

The output from TikTok Data Extractor 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":

1{
2 "id": "6885142885939825925",
3 "text": "Best Mashed Potatoes! #tiktokcooks #hellofall #comfortfood #homecooking #cookingwithshereen #fyp",
4 "createTime": 1603072290,
5 "authorMeta": {
6  "id": "6746332443361739782",
7  "name": "cookingwithshereen",
8  "nickName": "COOKING with SHEREEN",
9  "verified": true,
10  "signature": "YouTube & Insta ⤴️\n⬇️ My CookBook & Merch! ⬇️",
11  "avatar": "https://p16-sign-va.tiktokcdn.com/tos-maliva-avt-0068/750f43c1845b5a556207821b1a0d72c1~c5_720x720.jpeg?x-expires=1639000800&x-signature=gl7OpbhX1L9yhC6e2rm4rajLvZg%3D",
12  "following": 27,
13  "fans": 4400000,
14  "heart": 72300000,
15  "video": 185,
16  "digg": 910
17 },
18 "musicMeta": {
19  "musicName": "original sound",
20  "musicAuthor": "COOKING with SHEREEN",
21  "musicOriginal": true,
22  "musicAlbum": "",
23  "playUrl": "https://sf16-ies-music-va.tiktokcdn.com/obj/musically-maliva-obj/6885142857766669062.mp3"
24 },
25 "webVideoUrl": "https://www.tiktok.com/@cookingwithshereen/video/6885142885939825925",
26 "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=",
27 "videoMeta": {
28  "height": 1024,
29  "width": 576,
30  "duration": 59
31 },
32 "diggCount": 3100000,
33 "shareCount": 91600,
34 "playCount": 21500000,
35 "commentCount": 24900,
36 "downloaded": false,
37 "mentions": [],
38 "hashtags": [
39  {

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’ll get your price per scrape, which you’ll 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 profiles or comments?

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 Ads Scraper🧛 TikTok Profile Scraper🎸 Tiktok Sound Scraper
📹 Tiktok Video Scraper🎙 TikTok Comments Scraper#️⃣ TikTok Hashtag Scraper

Integrations and TikTok Data Extractor

Last but not least, TikTok Data Extractor 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 Data Extractor 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 Data Extractor doesn’t 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’re always working on improving the performance of our Actors. So if you’ve got any technical feedback for TikTok Data Extractor or simply found a bug, please create an issue on the Actor’s Issues tab in Apify Console.

Developer
Maintained by Apify
Actor metrics
  • 719 monthly users
  • 96.9% runs succeeded
  • 7.1 days response time
  • Created in Feb 2022
  • Modified about 11 hours ago