How To Scrape Data From TikTok Without an API!

Manpreet Singh
4 min readNov 5, 2020

TikTok is an amazing Application that billions of people use, honestly, it’s probably my most used app on my phone, and something I always wanted to see was if I could extract data from TikTok without using an API, and there is a way!

Now some of the things that this specific case could be useful for could be: finding trending songs, finding users who have the most likes, finding users who have the most comments, etc. The benefit of not using an API is that we essentially have unlimited requests we can send to the server (in this case). Traditionally, with API’s we may be limited about the amount of times we can request data to be pulled, companies do this to stop bots / spam accounts of abusing the data, but can sometimes limit actual users from accessing the specific data they may need. Luckily there is a way to do this using Node.js.


Now we will be installing the tiktok-scraper file from this github link, I would recommend looking through that documentation to get a good understanding of what we’re going to be doing in this little project as well as full installation instructions. Now after that we want to make sure we have Node.js installed on your PC, if you don’t have it installed or don’t know what it is please click on this link to find out how to install it. Once you have Node.js installed we want to go to our Terminal if you’re on a MacOS machine or our Command Prompt if you’re on a Windows machine and paste this specific script inside that application to install the tiktok-scraper package:

Scraping Data

Awesome! We’re almost done, at this point we want to look through the documentation and find any specific data points we want to extract, here is the documentation in case you’re too lazy to click on the file I linked to early:

They also give us a few examples at the bottom, this can be super useful to mess with and I would recommend you to try…

Manpreet Singh

Data Scientist / Engineer!