TikTok Scraper
Pricing
Pay per event
TikTok Scraper
Extract data from TikTok videos, hashtags, and users. Use URLs or search queries to scrape TikTok profiles, hashtags, posts, URLs, shares, followers, hearts, names, video, and music-related data. Export scraped data, run the scraper via API, schedule and monitor runs or integrate with other tools.
Pricing
Pay per event
Rating
4.8
(151)
Developer

Clockworks
Actor stats
1.1K
Bookmarked
103K
Total users
4.8K
Monthly active users
2.7 days
Issues response
7 hours ago
Last modified
Categories
Share
What does TikTok Scraper do?
TikTok Scraper can extract multiple data points from TikTok and export them into the format of your choice. You can then use this data in your own data projects, business reports, and as a basis for new applications.
- Get data from chosen hashtags including top videos, timestamps, views, shares, comments, and video count
- Extract all posts from chosen user profiles including details like name, nickname, ID, bio, followers/following numbers, play, shares, and comment count
- Video posts from specific profiles
- Enter specific keywords in your search query
- Download TikTok videos, subtitles, and thumbnails
- Download TikTok profiles' followers and following lists with names
- Get information on related videos
- Export data in multiple formats: JSON, CSV, Excel, or HTML
- Connect TikTok Scraper to any AI chatbot using Apify MCP server
- Export via SDKs (Python & Node.js), use API Endpoints, webhooks, or integrate with workflows
What data can you get from TikTok
TikTok Scraper can gather any kind of data from the social media app, such as:
| 👤 Profile name | ❤️ Likes | 🔁 Shares |
| ▶️ Plays | 🔗 Video URL | 🌐 Profile URL |
| 📝 Video description | 💬 Video subtitles | 🈹 Text language |
| 📜 Bio | 👥 Followers / Following count | 📋 Followers / Following list |
| 🏷️ Hashtags used | 📢 Ad post? | 📌 Pinned post? |
| 💰 Sponsored? | 📍 Location of creation | 🎵 Music meta |
How to scrape TikTok with TikTok Scraper?
TikTok Scraper is user-friendly, offering a smooth start even for those who have never extracted data from TikTok before. Here’s how to scrape TikTok with TikTok Scraper in 5 steps:
- Create a free Apify account using your email.
- Open TikTok Scraper.
- Add search terms / hashtags / URLs / profiles that you want to scrape.
- Click the “Start” button and wait for the data to be extracted.
- Download your data in JSON, XML, CSV, Excel, or HTML.
For more information, read this step-by-step guide or watch our short video tutorial. It also applies to our TikTok Data Extractor.
Input
To start scraping TikTok, fill in the input form. TikTok Scraper recognizes the following input parameters:
- hashtags: scrapes TikTok for hashtags
- profiles: scrapes TikTok profiles
- search: scrapes specific keywords and extract videos and profiles that contain it
- video URLs: scrapes specific TikTok videos
Input JSON
{"excludePinnedPosts": false,"hashtags": ["bananas"],"proxyCountryCode": "None","resultsPerPage": 3,"scrapeRelatedVideos": false,"shouldDownloadAvatars": false,"shouldDownloadCovers": false,"shouldDownloadMusicCovers": false,"shouldDownloadSlideshowImages": false,"shouldDownloadSubtitles": false,"shouldDownloadVideos": false,"profileScrapeSections": ["videos"],"profileSorting": "latest","searchSection": "","maxProfilesPerQuery": 10}
Output
The results will be wrapped into a dataset which you can find in the Storage tab. Here's an excerpt from the dataset you'd get if you apply the “bananas” hashtag:
Here is what it looks like in JSON:
{"authorMeta.avatar": "https://p16-common-sign-useastred.tiktokcdn-eu.com/tos-useast2a-avt-0068-euttp/61a7494d9eda0eb86828eead52022359~tplv-tiktokx-cropcenter:720:720.jpeg?dr=10399&refresh_token=a65e63ff&x-expires=1755694800&x-signature=XOOMwKmEYLBn69h5QqvfQ1AIWJA%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=no1a","authorMeta.name": "bruniela_","text": "🤣🤣🤣🤣🤣 #comeramabanana ","diggCount": 5344,"shareCount": 701,"playCount": 55700,"commentCount": 24,"collectCount": 291,"videoMeta.duration": 16,"musicMeta.musicName": "som original","musicMeta.musicAuthor": "fox_rus0","musicMeta.musicOriginal": true,"createTimeISO": "2025-08-02T18:45:03.000Z","webVideoUrl": "https://www.tiktok.com/@bruniela_/video/7534061113365859586"}
Scraped TikTok search queries
The structure of each search query looks like this:
{"id": "7543693751290481942","text": "ootd ☁️☁️\n\n#foruyou #fürdich #outfit #fit #viralvideos ","textLanguage": "en","createTime": 1756403075,"createTimeISO": "2025-08-28T17:44:35.000Z","isAd": false,"authorMeta": {"id": "6733984297591636998","name": "gretalynnhihi","profileUrl": "https://www.tiktok.com/@gretalynnhihi","nickName": "Greta Lynn","verified": false,"signature": "hellouu\nfashion | beauty | lifestyle","bioLink": null,"originalAvatarUrl": "https://p16-sign-va.tiktokcdn.com/tos-maliva-avt-0068/3b43a9f163774c65e26adaec1f967e47~tplv-tiktokx-cropcenter:720:720.jpeg?dr=14579&refresh_token=fcabb4ab&x-expires=1756886400&x-signature=d8CUReHcX4aowTaVF0IEyBjmR%2FU%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=my","avatar": "https://p16-sign-va.tiktokcdn.com/tos-maliva-avt-0068/3b43a9f163774c65e26adaec1f967e47~tplv-tiktokx-cropcenter:720:720.jpeg?dr=14579&refresh_token=fcabb4ab&x-expires=1756886400&x-signature=d8CUReHcX4aowTaVF0IEyBjmR%2FU%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=my","privateAccount": false,"following": 269,"friends": 0,"fans": 51200,"heart": 3000000,"video": 259,"digg": 194800},"musicMeta": {"musicName": "original sound","musicAuthor": "WYA ADRIAN | DJ","musicOriginal": true,"playUrl": "https://v16-webapp-prime.tiktok.com/video/tos/alisg/tos-alisg-v-27dcd7/ooAABQ65hGAfoXtbJMFsDAveXADIAI8mOQfK7e/?a=1988&bti=ODszNWYuMDE6&ch=0&cr=0&dr=0&er=0&lr=default&cd=0%7C0%7C0%7C0&br=250&bt=125&ds=5&ft=GNDpcInz7ThIGk1KXq8Zmo&mime_type=audio_mpeg&qs=13&rc=am9zb3U5cnd3NDMzODU8NEBpam9zb3U5cnd3NDMzODU8NEBzLXNgMmRrLXJhLS1kMS1zYSNzLXNgMmRrLXJhLS1kMS1zcw%3D%3D&btag=e00048000&expire=1756719062&l=20250901163023662894E4DEC436DB346D&ply_type=3&policy=3&signature=38ed21c64984e54c193163a1082b1510&tk=0","coverMediumUrl": "https://p16-sign-sg.tiktokcdn.com/tos-alisg-avt-0068/10da069b962f021877c87e22cd0a822d~tplv-tiktokx-cropcenter:720:720.jpeg?dr=14579&refresh_token=9e5b092f&x-expires=1756886400&x-signature=wG3JIjPN95oTAjFu11TJXQvbiQ4%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=my","originalCoverMediumUrl": "https://p16-sign-sg.tiktokcdn.com/tos-alisg-avt-0068/10da069b962f021877c87e22cd0a822d~tplv-tiktokx-cropcenter:720:720.jpeg?dr=14579&refresh_token=9e5b092f&x-expires=1756886400&x-signature=wG3JIjPN95oTAjFu11TJXQvbiQ4%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=my","musicId": "7529403355681147665"},"webVideoUrl": "https://www.tiktok.com/@gretalynnhihi/video/7543693751290481942","mediaUrls": [],"videoMeta": {"height": 1024,"width": 576,"duration": 15,"coverUrl": "https://p16-pu-sign-no.tiktokcdn-eu.com/tos-no1a-p-0037-no/oYBpoCBE0YVCIgAE5AiiVAwanII7vSLAqBYBl~tplv-tiktokx-origin.image?dr=14575&x-expires=1756886400&x-signature=Y20ebi0TvRDw0ssEvFXKTAUIAxc%3D&t=4d5b0474&ps=13740610&shp=81f88b70&shcp=43f4a2f9&idc=my","originalCoverUrl": "https://p16-pu-sign-no.tiktokcdn-eu.com/tos-no1a-p-0037-no/oYBpoCBE0YVCIgAE5AiiVAwanII7vSLAqBYBl~tplv-tiktokx-origin.image?dr=14575&x-expires=1756886400&x-signature=Y20ebi0TvRDw0ssEvFXKTAUIAxc%3D&t=4d5b0474&ps=13740610&shp=81f88b70&shcp=43f4a2f9&idc=my","definition": "540p","format": "mp4"},"diggCount": 23400,"shareCount": 145,"playCount": 145900,"collectCount": 1637,"commentCount": 46,"mentions": [],"detailedMentions": [],"hashtags": [{"id": "4982299","name": "foruyou","title": "","cover": ""},"effectStickers": [],"isSlideshow": false,"isPinned": false,"searchQuery": "ootd"},
Scraped TikTok profiles
The structure of each TikTok profile looks like this:
{"id": "7535448384170331414","text": "","textLanguage": "un","createTime": 1754483302,"createTimeISO": "2025-08-06T12:28:22.000Z","isAd": false,"authorMeta": {"id": "7002169437214213125","name": "shaiie_foeva","profileUrl": "https://www.tiktok.com/@shaiie_foeva","nickName": "Shaiie_Foeva","verified": false,"signature": "SHOP THE E-BOOK OUT NOW","bioLink": "https://fkrtrz-v0.myshopify.com/collections/all","originalAvatarUrl": "https://p16-common-sign-va.tiktokcdn-us.com/tos-maliva-avt-0068/a76fbd25290f391d7ad8b61fe5fa99e8~tplv-tiktokx-cropcenter:720:720.jpeg?dr=9640&refresh_token=985e467d&x-expires=1756886400&x-signature=NeHTiZJsr7cp6ijWQkiNso544Zg%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=f20df69d&idc=useast5","avatar": "https://p16-common-sign-va.tiktokcdn-us.com/tos-maliva-avt-0068/a76fbd25290f391d7ad8b61fe5fa99e8~tplv-tiktokx-cropcenter:720:720.jpeg?dr=9640&refresh_token=985e467d&x-expires=1756886400&x-signature=NeHTiZJsr7cp6ijWQkiNso544Zg%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=f20df69d&idc=useast5","commerceUserInfo": {"commerceUser": false},"privateAccount": false,"roomId": "","ttSeller": false,"following": 0,"friends": 0,"fans": 2200000,"heart": 126000000,"video": 1036,"digg": 143},"musicMeta": {"musicName": "original sound - Shaiie_Foeva","musicOriginal": false,"coverMediumUrl": "","originalCoverMediumUrl": "","musicId": "0"},"webVideoUrl": "https://www.tiktok.com/@shaiie_foeva/video/7535448384170331414","mediaUrls": [],"videoMeta": {"height": 0,"width": 0,"duration": 0,"coverUrl": "https://p16-pu-sign-no.tiktokcdn-eu.com/tos-no1a-i-photomode-no/cead98ba6871473581e3b54fd7d4928d~tplv-photomode-image.jpeg?dr=10375&x-expires=1756886400&x-signature=PJ6XcL7snSio5PVn4c4y87AvDP8%3D&t=4d5b0474&ps=13740610&shp=81f88b70&shcp=9b759fb9&idc=no1a&ftpl=1","originalCoverUrl": "https://p16-pu-sign-no.tiktokcdn-eu.com/tos-no1a-i-photomode-no/cead98ba6871473581e3b54fd7d4928d~tplv-photomode-image.jpeg?dr=10375&x-expires=1756886400&x-signature=PJ6XcL7snSio5PVn4c4y87AvDP8%3D&t=4d5b0474&ps=13740610&shp=81f88b70&shcp=9b759fb9&idc=no1a&ftpl=1"},"diggCount": 3951,"shareCount": 38,"playCount": 348100,"collectCount": 105,"commentCount": 111,"mentions": [],"detailedMentions": [],"hashtags": [],"effectStickers": [{"ID": "1286923318","name": "Green Screen","stickerStats": {"useCount": 0}}"isSlideshow": true,"slideshowImageLinks": [{"tiktokLink": "https://p16-pu-sign-no.tiktokcdn-eu.com/tos-no1a-i-photomode-no/cead98ba6871473581e3b54fd7d4928d~tplv-photomode-image.jpeg?dr=10375&x-expires=1756886400&x-signature=PJ6XcL7snSio5PVn4c4y87AvDP8%3D&t=4d5b0474&ps=13740610&shp=81f88b70&shcp=9b759fb9&idc=no1a&ftpl=1","downloadLink": "https://p16-pu-sign-no.tiktokcdn-eu.com/tos-no1a-i-photomode-no/cead98ba6871473581e3b54fd7d4928d~tplv-photomode-image.jpeg?dr=10375&x-expires=1756886400&x-signature=PJ6XcL7snSio5PVn4c4y87AvDP8%3D&t=4d5b0474&ps=13740610&shp=81f88b70&shcp=9b759fb9&idc=no1a&ftpl=1"}],"isPinned": true,"isSponsored": false,"input": "shaiie_foeva","fromProfileSection": "videos"},
When you use the Followers and following profiles add-on, you get also this:
"connectedTo": {"id": "7002169437214213125","name": "shaiie_foeva","profileUrl": "https://www.tiktok.com/@shaiie_foeva","nickName": "Shaiie_Foeva","verified": false,"signature": "SHOP THE E-BOOK OUT NOW","bioLink": "https://fkrtrz-v0.myshopify.com/collections/all","originalAvatarUrl": "https://p16-pu-sign-no.tiktokcdn-eu.com/tos-no1a-avt-0068c001-no/a76fbd25290f391d7ad8b61fe5fa99e8~tplv-tiktokx-cropcenter:720:720.jpeg?dr=10399&refresh_token=8fe904c4&x-expires=1756886400&x-signature=6%2BIU4BT7Xgt0N5x7ZcrOun%2BI%2BOs%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=f20df69d&idc=no1a","avatar": "https://p16-pu-sign-no.tiktokcdn-eu.com/tos-no1a-avt-0068c001-no/a76fbd25290f391d7ad8b61fe5fa99e8~tplv-tiktokx-cropcenter:720:720.jpeg?dr=10399&refresh_token=8fe904c4&x-expires=1756886400&x-signature=6%2BIU4BT7Xgt0N5x7ZcrOun%2BI%2BOs%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=f20df69d&idc=no1a","commerceUserInfo": {"commerceUser": false},"privateAccount": false,"roomId": "","ttSeller": false,"following": 0,"friends": 0,"fans": 2200000,"heart": 126000000,"video": 1036,"digg": 143},"connectionType": "follower","connectionDescription": "anthonnytabach12 is a follower of shaiie_foeva"
Scraped TikTok video URLs
The structure of each video URL looks like this:
{"id": "7533731959172861206","text": "","textLanguage": "un","createTime": 1754083665,"createTimeISO": "2025-08-01T21:27:45.000Z","locationCreated": "GB","isAd": false,"authorMeta": {"id": "7002169437214213125","name": "shaiie_foeva","profileUrl": "https://www.tiktok.com/@shaiie_foeva","nickName": "Shaiie_Foeva","verified": false,"signature": "SHOP THE E-BOOK OUT NOW","bioLink": "https://fkrtrz-v0.myshopify.com/collections/all","originalAvatarUrl": "https://p16-pu-sign-no.tiktokcdn-eu.com/tos-no1a-avt-0068c001-no/a76fbd25290f391d7ad8b61fe5fa99e8~tplv-tiktokx-cropcenter:720:720.jpeg?dr=10399&refresh_token=8fe904c4&x-expires=1756886400&x-signature=6%2BIU4BT7Xgt0N5x7ZcrOun%2BI%2BOs%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=no1a","avatar": "https://p16-pu-sign-no.tiktokcdn-eu.com/tos-no1a-avt-0068c001-no/a76fbd25290f391d7ad8b61fe5fa99e8~tplv-tiktokx-cropcenter:720:720.jpeg?dr=10399&refresh_token=8fe904c4&x-expires=1756886400&x-signature=6%2BIU4BT7Xgt0N5x7ZcrOun%2BI%2BOs%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=no1a","privateAccount": false,"roomId": "","ttSeller": false,"following": 0,"friends": 0,"fans": 2200000,"heart": 126000000,"video": 1036,"digg": 143,"commerceUserInfo": {"commerceUser": false}},"musicMeta": {"musicName": "original sound","musicAuthor": "Shaiie_Foeva","musicOriginal": true,"playUrl": "https://v16m.tiktokcdn-us.com/affaffc8161ba7cf237d6a76a848f2c3/68b5aeb4/video/tos/no1a/tos-no1a-v-2370-no/o8IMeA0AQE7AIqXARcrE7Ym8CKeTDnoGaILegz/?a=1233&bti=ODszNWYuMDE6&ch=0&cr=0&dr=0&er=0&lr=default&cd=0%7C0%7C0%7C0&br=250&bt=125&ds=5&ft=GSDrKInz7ThNbk1KXq8Zmo&mime_type=audio_mpeg&qs=13&rc=anR1ZHk5cm5tNTMzbzU8NUBpanR1ZHk5cm5tNTMzbzU8NUBzbS5kMmRzLzNhLS1kMTFzYSNzbS5kMmRzLzNhLS1kMTFzcw%3D%3D&vvpl=1&l=202509010832109DA1069212B8B50032D4&btag=e00050000","coverMediumUrl": "https://p16-common-sign-no.tiktokcdn-us.com/tos-no1a-avt-0068c001-no/a76fbd25290f391d7ad8b61fe5fa99e8~tplv-tiktokx-cropcenter:720:720.jpeg?dr=9640&refresh_token=cec345e5&x-expires=1756886400&x-signature=8VL5b49uYMv3HPTXq5LPcNLlx0U%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=useast5","originalCoverMediumUrl": "https://p16-common-sign-no.tiktokcdn-us.com/tos-no1a-avt-0068c001-no/a76fbd25290f391d7ad8b61fe5fa99e8~tplv-tiktokx-cropcenter:720:720.jpeg?dr=9640&refresh_token=cec345e5&x-expires=1756886400&x-signature=8VL5b49uYMv3HPTXq5LPcNLlx0U%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=useast5","musicId": "7533731952105392918"},"webVideoUrl": "https://www.tiktok.com/@shaiie_foeva/video/7533731959172861206","mediaUrls": [],"videoMeta": {"height": 1024,"width": 576,"duration": 74,"coverUrl": "https://p16-common-sign-no.tiktokcdn-us.com/tos-no1a-p-0037-no/oUIRDkoATOwuGrtNDFEI5jF2j0BBqgfeEMEJ2V~tplv-tiktokx-origin.image?dr=9636&x-expires=1756886400&x-signature=iO442BQBu6RpBX8qAj5wAfWg0tA%3D&t=4d5b0474&ps=13740610&shp=81f88b70&shcp=43f4a2f9&idc=useast5","originalCoverUrl": "https://p16-common-sign-no.tiktokcdn-us.com/tos-no1a-p-0037-no/oUIRDkoATOwuGrtNDFEI5jF2j0BBqgfeEMEJ2V~tplv-tiktokx-origin.image?dr=9636&x-expires=1756886400&x-signature=iO442BQBu6RpBX8qAj5wAfWg0tA%3D&t=4d5b0474&ps=13740610&shp=81f88b70&shcp=43f4a2f9&idc=useast5","definition": "540p","format": "mp4","subtitleLinks": [{"language": "kor-KR","downloadLink": "https://v16m-webapp.tiktokcdn-us.com/8f5a52f5d0320b9592c0a3af90aaedc3/68b7fd54/video/tos/useast5/tos-useast5-v-0068c799-tx/3db5dadedd20436ab0dda7dfeb98857e/?a=1988&bti=ODszNWYuMDE6&ch=0&cr=3&dr=0&lr=all&cd=0%7C0%7C0%7C&cv=1&br=11970&bt=5985&ds=4&ft=4KLMeMzm8Zmo0sgHfI4jVKYidpWrKsd.&mime_type=video_mp4&qs=13&rc=anM7Z3g5cnRtNTMzbzczNUBpanM7Z3g5cnRtNTMzbzczNUBqZWlrMmRzLjNhLS1kMTFzYSNqZWlrMmRzLjNhLS1kMTFzcw%3D%3D&l=202509010832109DA1069212B8B50032D4&btag=e00050000","tiktokLink": "https://v16m-webapp.tiktokcdn-us.com/8f5a52f5d0320b9592c0a3af90aaedc3/68b7fd54/video/tos/useast5/tos-useast5-v-0068c799-tx/3db5dadedd20436ab0dda7dfeb98857e/?a=1988&bti=ODszNWYuMDE6&ch=0&cr=3&dr=0&lr=all&cd=0%7C0%7C0%7C&cv=1&br=11970&bt=5985&ds=4&ft=4KLMeMzm8Zmo0sgHfI4jVKYidpWrKsd.&mime_type=video_mp4&qs=13&rc=anM7Z3g5cnRtNTMzbzczNUBpanM7Z3g5cnRtNTMzbzczNUBqZWlrMmRzLjNhLS1kMTFzYSNqZWlrMmRzLjNhLS1kMTFzcw%3D%3D&l=202509010832109DA1069212B8B50032D4&btag=e00050000","source": "MT","sourceUnabbreviated": "machine translation","version": "4"},"diggCount": 25900,"shareCount": 352,"playCount": 573900,"collectCount": 1356,"commentCount": 346,"mentions": [],"detailedMentions": [],"hashtags": [],"effectStickers": [{"name": "Green Screen","ID": "308867"}],"isSlideshow": false,"isPinned": false,"isSponsored": false,"submittedVideoUrl": "https://www.tiktok.com/@shaiie_foeva/video/7533731959172861206"}
How to download TikTok videos
You can also download TikTok videos using this scraper. All data will be stored in the key-value store, from where it can be downloaded at any time.
download-tiktok-videos.png?raw=true" alt="Download TikTok videos" style="width:70%;">
The following data can be extracted:
| 🎬 Whole TT videos | 🖼️ Thumbnails | 🔤 Subtitles |
| 📽️ Slideshow images | 👤 Profile avatars | 🎧 Sound covers |
How can I use the data extracted from TikTok with TikTok Scraper?
- ✨ Observe and track trends and predict emerging influencers
- 📋 Create a pipeline of top-of-the-line marketing leads
- #️ 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 reviews and sentiment analysis
- 🔬 Get data for research and social listening experiments
- 📈 Analyze viral campaigns and trends
- ✅Identify unverified content and inaccurate information with high public value
Scrape any TikTok data you need with dedicated scrapers
We also have put together a few AI agents that will help you extract data from social media and turn it into actionable information:
FAQ
How much does it cost to use TikTok Scraper?
TikTok Scraper uses the pay-per-event (PPE) pricing model. You’re charged a fixed price for specific events. Your costs can be easily calculated using the information in the Actor’s pricing tab. Note that on the paid plans a discount is applied; read our pricing page for more details.
Can I use integrations with TikTok Scraper?
You can integrate TikTok Scraper with almost any cloud service or web app. We offer integrations with Make, Zapier, Slack, Airbyte, GitHub, Google Sheets, Google Drive, and plenty more.
Alternatively, you could use webhooks to carry out an action whenever an event occurs, such as getting a notification whenever TikTok Scraper successfully finishes a run.
Can I use TikTok 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.
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.
Click on the API tab for code examples, or check out the Apify API reference docs for all the details.
Can I use TikTok Scraper through an MCP Server?
With Apify API, you can use almost any Actor in conjunction with an MCP server. You can connect to the MCP server using clients like ClaudeDesktop and LibreChat, or even build your own. Read all about how you can set up Apify Actors with MCP.
For TikTok Scraper, go to the MCP tab and then go through the following steps:
- Start a Server-Sent Events (SSE) session to receive a
sessionId - Send API messages using that
sessionIdto trigger the scraper - The message starts the TikTok Scraper with the provided input
- The response should be:
Accepted
Is it legal to scrape TikTok with TikTok Scraper?
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. If you have any technical feedback for TikTok Scraper or found a bug, please create an issue in the Issues tab.