
Tiktok Profile Scraper
Powerful TikTok scraper to extract data from TikTok profiles and videos they post. Use it to scrape TikTok profile data, URLs, numbers of shares, followers, comments, hearts, video and music metadata. Download TikTok data as JSON, HTML, CSV, Excel, or XML and use it in your apps and data projects.
What is TikTok Profile Scraper?
TikTok Profile Scraper is a powerful and easy-to-use tool that allows you to extract data from TikTok profiles and videos they post. Using this tool, you will be able to scrape:
- All info from chosen user profiles including details: name, nickname, ID, bio, account status, total followers/following numbers, play, share and comment count, etc.
- All tiktoks posted by chosen user profile including details: caption, video URL, number of shares, likes, comments, and plays to each video, timestamp, video- and music-related metadata.
How to use data extracted from TikTok profiles?
The data extracted from TikTok Profile Scraper can be used for a variety of purposes, including:
✨ Conducting sentiment analysis and finding authentic product reviews
👩🔬 Obtaining data for research and social listening experiments
🦠 Analyzing trends, and viral campaigns
🥸 Identifying unverified content and inaccurate information with high public value
📚 Preparing for or analyzing a TikTok marketing campaign
How do I use TikTok Profile Scraper?
TikTok Profile Scraper is designed to be user-friendly, even for those who have never extracted data from the web before! Here’s how you can use TikTok Profile Scraper to extract profile data:
- Create a free Apify account using your email.
- Open TikTok Profile Scraper.
- Add one or more TikTok profile usernames to scrape data.
- Click the “Start” button and wait for the data to be extracted.
- Download your data in JSON, XML, CSV, Excel, or HTML.
Input
The input for TikTok Profile Scraper should be a TikTok profile username (with or without a handle) and a number of videos. You can add one or multiple usernames.
Click on the input tab for a full explanation of an input example in JSON.
{ "profiles": [ "olympics" ], "resultsPerPage": 100 }
If you set resultsPerPage
to 30 or lower, the scraper will be significantly faster because it doesn't need to support scrolling.
Output sample
The results will be wrapped into a dataset which you can always find in the Storage tab. Here's an excerpt from the data you'd get if you apply the input parameters above:
And here is the same data but in JSON. You can choose in which format to download your TikTok profile data: JSON, JSONL, Excel spreadsheet, HTML table, CSV, or XML.
[ { "id": "7210447318028455173", "text": "POV: you are a horse at the Olympics ⚡️ Rio 2016 #Olympics #Athletes #Sports #SportsTok #Equestrian #Horse #HorseTok ", "createTime": 1678813093, "createTimeISO": "2023-03-14T16:58:13.000Z", "locationCreated": "ES", "isAd": false, "isMuted": false, "authorMeta": { "id": "6754011909617894406", "name": "olympics", "nickName": "Olympics", "verified": true, "signature": "The Olympics, like never before", "bioLink": "https://shop.olympics.com/en/paris-2024/mascot-collection/t-3466224229+c-2345139311+z-9-3163900808", "avatar": "https://p16-sign-sg.tiktokcdn.com/aweme/720x720/tos-alisg-avt-0068/829ea90040553aaec7450d66caaadc10.jpeg?x-expires=1679043600&x-signature=Qa6vAiVVWcDFEyxl%2B6SGzPyskI0%3D", "commerceUserInfo": { "commerceUser": true, "category": "Sports, Fitness & Outdoors", "categoryButton": false }, "privateAccount": false, "region": "JP", "roomId": "", "ttSeller": false, "following": 184, "fans": 6200000, "heart": 107400000, "video": 1597, "digg": 317 }, "musicMeta": { "musicName": "original sound", "musicAuthor": "Breanne", "musicOriginal": true, "musicAlbum": "", "playUrl": "https://v16m.tiktokcdn-us.com/113addfbc589a346ed4d7c9b575c7f65/6411e67b/video/tos/useast5/tos-useast5-v-27dcd7c799-tx/oAxQ3F1ay0gua86HAAfhoGz9KABEj4gUIFNWk6/?a=1233&ch=0&cr=0&dr=0&er=2&cd=0%7C0%7C0%7C0&br=250&bt=125&ft=GSDrKInz7ThjdG9uXq8Zmk&mime_type=audio_mpeg&qs=6&rc=ZWc7aWg0NTU4NDNoZjk5aEBpM3Y8djM6ZnhuajMzNzU8M0BeL15hMDRiX14xL2NjYzYvYSNhYWMvcjRnMzBgLS1kMTZzcw%3D%3D&l=20230315093812979614A8E5A25A01B1F7&download=true", "coverMediumUrl": "https://p16-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/05b7e8d6ee75f61bc99a921b7f4a1afe~c5_720x720.jpeg?x-expires=1679043600&x-signature=mquKh2k1m6Wdlrt828ufOR1b0b4%3D", "musicId": "7149262464009030442" }, "webVideoUrl": "https://www.tiktok.com/@olympics/video/7210447318028455173", "mediaUrls": [ "https://v16-webapp-prime.us.tiktok.com/video/tos/useast2a/tos-useast2a-ve-0068c002/o0SnTBUwDQPQU6egIvXAnpUbgePjCdIIQIC9hf/?a=1988&ch=0&cr=0&dr=0&lr=tiktok_m&cd=0%7C0%7C1%7C0&cv=1&br=4420&bt=2210&cs=0&ds=3&ft=4KJMyMzm8Zmo0.iaOA4jVH4~dpWrKsdm&mime_type=video_mp4&qs=0&rc=aWdkZzwzMzlmO2U8OWRkNEBpanFpNzo6ZjpkajMzNzczM0A1MWEvYy80X2ExLl42XzAwYSM2cjNscjRfYzVgLS1kMTZzcw%3D%3D&expire=1678894698&l=20230315093812979614A8E5A25A01B1F7&policy=2&signature=bf88c682ce3062fac64a561e9dc5f07d&tk=tt_chain_token" ], "videoMeta": { "height": 1024, "width": 576, "duration": 6, "coverUrl": "https://p16-sign-va.tiktokcdn.com/obj/tos-maliva-p-0068/bf215101a9bd40d797e24cc605351eb6_1678813095?x-expires=1678892400&x-signature=q5xDk9vvHer3XizUb8AVXn7hTxo%3D", "definition": "720p", "format": "mp4" }, "diggCount": 3666, "shareCount": 2, "playCount": 19500, "commentCount": 12, "mentions": [], "hashtags": [ { "id": "569333", "name": "olympics", "title": "", "cover": "" }, { "id": "30888", "name": "athletes", "title": "", "cover": "" }, { "id": "7887", "name": "sports", "title": "", "cover": "" }, { "id": "1617221133106342", "name": "sportstok", "title": "", "cover": "" }, { "id": "8097", "name": "equestrian", "title": "Equestrians of TikTok, let's ride 🐎", "cover": "" }, { "id": "7883", "name": "horse", "title": "", "cover" }] }] ... ...
How many results can you scrape with TikTok Profile scraper?
TikTok Profile scraper can return up to over 2000 results on average. However, you have to keep in mind that scraping tiktok.com has many variables to it and may cause the results to fluctuate case by case. There’s no one-size-fits-all-use-cases number. The maximum number of results may vary depending on the complexity of the input, location, and other factors. Some of the most frequent cases are:
- website gives a different number of results depending on the type/value of the input
- website has an internal limit that no scraper can cross
- scraper has a limit that we are working on improving
Therefore, while we regularly run Actor tests to keep the benchmarks in check, the results may also fluctuate without our knowing. The best way to know for sure for your particular use case is to do a test run yourself.
How much will scraping TikTok Profiles 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 comments or hashtags?
If you want to scrape specific TikTok data other than profiles, you can use one of the dedicated scrapers below, each built particularly for the relevant TikTok data scraping case, whether it's hashtags, comments, search results, or all data at once:
🕹 Tiktok Video Scraper | 🎶 TikTok Scraper | 🎙 TikTok Comments Scraper |
🔎 Tiktok Search Scraper | 🎵 TikTok Sound Scraper | #️⃣ TikTok Hashtag 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! 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.
Integrations and TikTok Profile Scraper
Last but not least, Tiktok Profile Scraper 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 Tiktok Profile Scraper successfully finishes a run.
Using TikTok Profile 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.
You can use the apify-client
NPM package to access the API using Node.js, or the apify-client PyPI
package to access the API using Python.
Check out the Apify API reference docs for full details or click on the API tab for code examples.
Is it legal to scrape data from TikTok profiles?
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.
Your feedback
We’re always working on improving the performance of our Actors. So if you’ve got any technical feedback for TikTok Profile scraper or simply found a bug, please create an issue on the Actor’s Issues tab in Apify Console.
- 1.3k users
- 24k runs
- Modified 6 days ago