Actor picture

TikTok Scraper

sauermar/tiktok-scraper

Powerful TikTok scraper to extract data from TikTok videos, hashtags, and users. Use it to scrape TikTok profiles, comments, hashtags, posts, URLs, numbers of shares, followers, hearts, names, video, and music-related data. Download TikTok data as a HTML, JSON, CSV, Excel, or XML doc.

Free trial for 4 days

Then $45/month

No credit card required now

Author's avatarMarkéta Sauerová
  • Modified
  • Users1,001
  • Runs87,354
Actor picture
TikTok Scraper

Free trial for 4 days

Then $45/month

What does TikTok Scraper Unlimited do?

Our unlimited TikTok scraper lets you supercharge your extraction of TikTok data. This 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. TikTok Scraper allows you to scrape:

  • All results from chosen hashtags including details: top videos, timestamps, view, share, comment, and video count, etc.
  • TikTok comments from videos.
  • 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.

Only need a few TikTok results?

Use our super-fast dedicated Free TikTok Scraper if you want to scrape concrete TikTok data efficiently. Just enter one or more TikTok usernames, hashtags, or video URLs and click to scrape. Note that our free TikTok scraper is limited to up to 20 results and 5 comments.

How much will TikTok Scraper cost?

One run of TikTok Scraper on the Apify platform will use approximately 0.2 compute units to get 1,000 results. This means that, on average, you can extract about 1,000 results for less than USD 1 in platform usage credits.

The easiest way to know how many credits your actor will require is to perform a test run. If you're unsure how much credit you've got left on your plan, check your limits in the Settings -> Usage and Billing tab in your Console.

How to scrape TikTok - tutorial and video guide

TikTok Scraper Unlimited is a ready-to-use scraping tool and doesn't require any programming knowledge to get started. To get the hang of how to use a TikTok scraper like this, follow our written step-by-step guide or watch our short video tutorial. The tutorial steps also apply to our free TikTok Scraper.

Watch the video

How to use extracted TikTok data

  • Observe and track trends and predict emerging influencers.
  • 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.
  • Collect survey data from respondents quickly and efficiently.
  • Get data for research and social listening experiments.
  • Spread awareness about brands, causes, and social issues.
  • Analyze viral campaigns and trends.
  • Identify unverified content and inaccurate information with high public value.

You can also check out our industry pages for more ideas on using web scraping data; for instance, you can monitor the market and create data-based analysis for retail and e-commerce businesses.

Input parameters

If this actor is run on the Apify platform, our simple interface should help you out in configuring all the parameters. This scraper follows the following

  • profiles - scrapes TikTok profiles. You can scrape one or a few profiles at the same time.
  • hashtags - scrapes TikTok for hashtags. You can scrape one or several hashtags in one run.
  • postURLs- scrapes specific TikTok posts. You can scrape one or several posts simultaneously.
  • resultsPerPage - sets up the amount of results you expect to be scraped. Can be from 10 to thousands of results, so a thousand profiles with all the surrounding info, for instance.
  • maxRequestRetries - indicates the limit of scraper retries in case of any errors.
  • proxyConfiguration - sets up the proxies.

Example

{
 "resultsPerPage": 200,
 "proxyConfiguration": {
 "useApifyProxy": true
 },
 "profiles": [
 "gordonramsayofficial"
 ],
 "maxRequestRetries": 10,
 "maxConcurrency": 1
}

Output

You'll get a dataset containing the output of this actor. The length of the dataset will depend on the amount of results you've set/got. 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 from user profile "gordonramsayofficial" (cut down to the first few results for viewing convenience).

Example

{
 "id": "7055028634653936901",
 "text": "I’m taking #burgers to the Next Level ! Cant wait to see what you do in the #NextLevelBurgerChallenge and dont miss #NextLevelChef at 9/8c on @foxtv",
 "createTime": 1642626859,
 "authorMeta": {
 "id": "6747935906352907269",
 "name": "gordonramsayofficial",
 "nickName": "Gordon Ramsay",
 "verified": true,
 "signature": "I cook sometimes too.....\n\nRecipes here 👇🏻",
 "avatar": "https://p16-sign-va.tiktokcdn.com/musically-maliva-obj/1647754017437702~c5_720x720.jpeg?x-expires=1643727600&x-signature=Pt0c5grq00F9ow79gnLI3KOmL2w%3D",
 "following": 387,
 "fans": 30900000,
 "heart": 461400000,
 "video": 241,
 "digg": 422
 },
 "musicMeta": {
 "musicName": "Do It To It",
 "musicAuthor": "ACRAZE",
 "musicOriginal": false,
 "musicAlbum": "Do It To It",
 "playUrl": "https://sf16-ies-music-va.tiktokcdn.com/obj/tos-useast2a-ve-2774/dfb55719b35c4054a476435a2c9e6dad"
 },
 "webVideoUrl": "https://www.tiktok.com/@gordonramsayofficial/video/7055028634653936901",
 "videoUrl": "https://v16-webapp.tiktok.com/09be39efbc231a61f38b459ad9e0051e/61f85346/video/tos/useast2a/tos-useast2a-pve-0068/986c2e152a1d4b2190b19f519f03cace/?a=1988&br=1424&bt=712&cd=0%7C0%7C1%7C0&ch=0&cr=0&cs=0&cv=1&dr=0&ds=3&er=&ft=XOQ9-3E7nz7ThX~U3lXq&l=2022013115230501018905015811283465&lr=tiktok_m&mime_type=video_mp4&net=0&pl=0&qs=0&rc=M3A5Ojk6Zmw6OjMzNzczM0ApNDtnOTo6ODw1NzVnZGY2M2doYmktcjRvbmhgLS1kMTZzczYtMzEvLWE2Nl4wY182LS06Yw%3D%3D&vl=&vr=",
 "videoMeta": {
 "height": 1024,
 "width": 576,
 "duration": 13
 },
 "diggCount": 159700,
 "shareCount": 295,
 "playCount": 1700000,
 "commentCount": 2189,
 "downloaded": false,
 "mentions": [
 "@foxtv"
 ],
 "hashtags": [
 {
  "id": "45125",
  "name": "burgers",
  "title": "",
  "cover": ""
 },
 {
  "id": "7055017426714378287",
  "name": "nextlevelburgerchallenge",
  "title": "",
  "cover": ""
 },
 {
  "id": "1666459072865281",
  "name": "nextlevelchef",
  "title": "",
  "cover": ""
 }
 ],
 "effectStickers": []
}

Proxies

TikTok Unlimited Scraper works well with Apify dataset proxies, which are set as default for all our scrapers. However, if you've noticed your run has been stuck for too long, it's recommended to switch to residential proxies for faster, reliable, and more efficient results.

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.

Your feedback

Currently, TikTok Scraper Unlimited scrapes information based on hashtags, user profiles, or posts. We will be adding more functionality soon, so feel free to contact us for any suggestions or improvements.