TikTok Discover Scraper
by clockworks
Scrape TikTok Discover data. Just add one or more hashtags and the scraper will extract related videos, tag breadcrumbs, similar trends, and subtopics...
Opens on Apify.com
About TikTok Discover Scraper
Scrape TikTok Discover data. Just add one or more hashtags and the scraper will extract related videos, tag breadcrumbs, similar trends, and subtopics. Export scraped data, run the scraper via API, schedule and monitor runs, or integrate with other tools.
What does this actor do?
TikTok Discover Scraper is a web scraping and automation tool available on the Apify platform. It's designed to help you extract data and automate tasks efficiently in the cloud.
Key Features
- Cloud-based execution - no local setup required
- Scalable infrastructure for large-scale operations
- API access for integration with your applications
- Built-in proxy rotation and anti-blocking measures
- Scheduled runs and webhooks for automation
How to Use
- Click "Try This Actor" to open it on Apify
- Create a free Apify account if you don't have one
- Configure the input parameters as needed
- Run the actor and download your results
Documentation
📹 What is TikTok Discover Scraper? TikTok Discover Scraper is an easy-to-use scraping tool that allows you to extract all TikTok videos from a chosen tag on tiktok.com/discover page. Using this tool, you will be able to scrape: - All TikToks posted under a chosen Discover tiktok.com/discover page: caption, video URL, number of plays, hearts, comments, shares, country of creation, timestamp, paid or non-paid status, video- and music-related metadata. - Basic creator info from TikToks posted with chosen hashtags: name, ID, avatar, bio, account status, total followers/following numbers, given/received likes count, etc. - Trend information such as related hashtags, sub-topics, breadcrumbs ## 📹 How can I use data extracted from TikTok Discover? The data extracted from TikTok Discover Scraper can be used for a variety of purposes, including: 🦠 Analyze trends, viral campaigns, and content of specific creators 📚 Prepare for or analyze a TikTok marketing campaign ✨ Conduct sentiment analysis and find authentic product reviews 👩🔬 Obtain data for research and social listening experiments 🥸 Identify unverified content and inaccurate information with high public value ## 🎵 How do I export data from TikTok Discover page? Use TikTok Discover Scraper. It is designed to be user-friendly, offering a smooth start for those who have never extracted data from TikTok before. Here’s how you can use this web scraper to export TikTok videos: 1. Create a free Apify account using your email. 2. Open TikTok Discover Scraper. 3. Add one or more hashtags to scrape TikTok videos and creators. 4. Click the “Start” button and wait for the data to be extracted. 5. Download your data in JSON, XML, CSV, Excel, or HTML. If you want more guidance on how to use TikTok Discover Scraper, this video tutorial shows you how to do it in just a few minutes. https://www.youtube.com/watch?v=W6G0mlpdQXI ## ⬇ Input The input for TikTok Discover Scraper should be one or multiple TikTok hashtags. Click on the input tab for a full explanation of an input example in JSON. json { "hashtags": [ "thailand" ], "shouldDownloadCovers": false, "shouldDownloadSlideshowImages": false, "shouldDownloadSubtitles": false, "shouldDownloadVideos": false } ## ⬆ Output sample The scraped TikTok videos will be shown as a dataset which you can find in the Output tab. Note that the output will first be organized as a table for viewing convenience.
You can preview all the fields and choose in which format to download the data you’ve extracted: JSON, CSV, Excel, HTML table, or XML. Here below is the same dataset in JSON: json [ { "id": "7328225833821244715", "text": "Waking up to this sunrise view was a DREAM ✨🇹🇭 📍 Samet Nangshe Boutique #thailand #thailandtravel #luxuryhotels #luxurytravel #bucketlist #traveltiktok ", "createTime": 1706235571, "createTimeISO": "2024-01-26T02:19:31.000Z", "isAd": false, "isMuted": false, "authorMeta": { "id": "6745789268591494150", "name": "hillarybowles", "nickName": "Hillary Bowles", "verified": false, "signature": "Fashion, travel, home decor and lots of love 🫶🏻\n💌hautewithhillary@gmail.com", "bioLink": null, "avatar": "https://p19-pu-sign-useast8.tiktokcdn-us.com/tos-useast5-avt-0068-tx/c01d6816e191dad8eb38baf339dc9b9f~c5_720x720.jpeg?lk3s=a5d48078&nonce=21298&refresh_token=b9a89b32c1699aa5b276f922df9f556f&x-expires=1716022800&x-signature=zxKFG0OD73zKXgp0zF%2BFheDqedc%3D&shp=a5d48078&shcp=b59d6b55", "privateAccount": false, "following": 370, "fans": 44900, "heart": 4100000, "video": 606, "digg": 88200 }, "musicMeta": { "musicName": "original sound", "musicAuthor": "HUGEL", "musicOriginal": true, "musicAlbum": "", "playUrl": "https://v16m.tiktokcdn-us.com/298241c186f169b7c432eee3f189313e/66462717/video/tos/useast2a/tos-useast2a-v-2370-euttp/oAJBAFD9HebfqtmsBlZYC4PZqbIUM9UlDZkFEQ/?a=1233&bti=NDU3ZjAwOg%3D%3D&ch=0&cr=0&dr=0&er=2&cd=0%7C0%7C0%7C0&br=250&bt=125&ft=GSDrKInz7ThovhzrXq8Zmo&mime_type=audio_mpeg&qs=6&rc=NzwzNDxpaWdlNGY7ZmlkOUBpMzhvOnA5cjlzcDMzZjU8M0AxNGAyNTI1NV8xMC8tMDE0YSNwNWhvMmRzLWBgLS1kMWNzcw%3D%3D&vvpl=1&l=20240516093206055B2F4D0691D7005A99&btag=e00088000&download=true", "coverMediumUrl": "https://p16-sign-useast2a.tiktokcdn.com/tos-useast2a-avt-0068-euttp/db06eb0816dc66fdb2b498d7de96e755~c5_720x720.jpeg?lk3s=a5d48078&nonce=62403&refresh_token=2b8a20261f958904863ba5cb5e772e9d&x-expires=1716022800&x-signature=%2FS7CSql4Y6onT2VLPNrj5bKsxVE%3D&shp=a5d48078&shcp=b59d6b55", "musicId": "7321041103715683104" }, "webVideoUrl": "https://www.tiktok.com/@hillarybowles/video/7328225833821244715", "mediaUrls": [ "https://v16-webapp-prime.us.tiktok.com/video/tos/useast5/tos-useast5-ve-0068c004-tx/oA8SQSAklDAXLyCoaxFhDRlg9EvgsBhsISfemE/?a=1988&bti=NDU3ZjAwOg%3D%3D&ch=0&cr=3&dr=0&lr=unwatermarked&cd=0%7C0%7C0%7C&cv=1&br=2178&bt=1089&cs=0&ds=6&ft=4KJMyMzD8Zmo0wd0Z-4jVAuZdpWrKsd.&mime_type=video_mp4&qs=0&rc=MzxpNmVoZzkzO2g0ZmY5ZUBpM3A4OWo5cjxrcDMzZzczNEAxMl40NV4vXjIxLi1gYGJgYSMtYzZtMmRjNm1gLS1kMS9zcw%3D%3D&btag=e00088000&expire=1716024736&l=20240516093206055B2F4D0691D7005A99&ply_type=2&policy=2&signature=15f58edb44aebb5348f1d10ee61a4624&tk=tt_chain_token" ], "videoMeta": { "height": 1024, "width": 576, "duration": 9, "coverUrl": "https://p16-sign.tiktokcdn-us.com/obj/tos-useast5-p-0068-tx/okESflIgSNAFAExLNRRshsfyxSD7DBMQvCWlkm?x-expires=1716022800&x-signature=yKfeqWWd4JkW%2BP%2FZRqXfAOAldd4%3D", "originalCoverUrl": "https://p16-sign.tiktokcdn-us.com/obj/tos-useast5-p-0068-tx/okESflIgSNAFAExLNRRshsfyxSD7DBMQvCWlkm?x-expires=1716022800&x-signature=yKfeqWWd4JkW%2BP%2FZRqXfAOAldd4%3D", "definition": "540p", "format": "mp4", "originalDownloadAddr": "https://v16-webapp-prime.us.tiktok.com/video/tos/useast5/tos-useast5-ve-0068c004-tx/oA8SQSAklDAXLyCoaxFhDRlg9EvgsBhsISfemE/?a=1988&bti=NDU3ZjAwOg%3D%3D&ch=0&cr=3&dr=0&lr=unwatermarked&cd=0%7C0%7C0%7C&cv=1&br=2178&bt=1089&cs=0&ds=6&ft=4KJMyMzD8Zmo0wd0Z-4jVAuZdpWrKsd.&mime_type=video_mp4&qs=0&rc=MzxpNmVoZzkzO2g0ZmY5ZUBpM3A4OWo5cjxrcDMzZzczNEAxMl40NV4vXjIxLi1gYGJgYSMtYzZtMmRjNm1gLS1kMS9zcw%3D%3D&btag=e00088000&expire=1716024736&l=20240516093206055B2F4D0691D7005A99&ply_type=2&policy=2&signature=15f58edb44aebb5348f1d10ee61a4624&tk=tt_chain_token", "downloadAddr": "https://v16-webapp-prime.us.tiktok.com/video/tos/useast5/tos-useast5-ve-0068c004-tx/oA8SQSAklDAXLyCoaxFhDRlg9EvgsBhsISfemE/?a=1988&bti=NDU3ZjAwOg%3D%3D&ch=0&cr=3&dr=0&lr=unwatermarked&cd=0%7C0%7C0%7C&cv=1&br=2178&bt=1089&cs=0&ds=6&ft=4KJMyMzD8Zmo0wd0Z-4jVAuZdpWrKsd.&mime_type=video_mp4&qs=0&rc=MzxpNmVoZzkzO2g0ZmY5ZUBpM3A4OWo5cjxrcDMzZzczNEAxMl40NV4vXjIxLi1gYGJgYSMtYzZtMmRjNm1gLS1kMS9zcw%3D%3D&btag=e00088000&expire=1716024736&l=20240516093206055B2F4D0691D7005A99&ply_type=2&policy=2&signature=15f58edb44aebb5348f1d10ee61a4624&tk=tt_chain_token" }, "diggCount": 82000, "shareCount": 7254, "playCount": 1100000, "collectCount": 33600, "commentCount": 251, "mentions": [], "hashtags": [ { "id": "9128", "name": "thailand", "title": "🇹🇭 hi Thailand!!!😘😘😘 🇹🇭", "cover": "" }, { "id": "40201396", "name": "thailandtravel", "title": "", "cover": "" }, { "id": "1625911277616134", "name": "luxuryhotels", "title": "", "cover": "" }, { "id": "4872557", "name": "luxurytravel", "title": "", "cover": "" }, { "id": "260248", "name": "bucketlist", "title": "Whether it's starting a new hobby or planning a dream trip, show us what's on your #BucketList.", "cover": "" }, { "id": "1598183468378114", "name": "traveltiktok", "title": "The countdown to summer has begun!🌞 Start planning your epic summer destinations with our expert recommendations . 📆🌴", "cover": "https://p58-sg.tiktokcdn.com/obj/tiktok-obj/ebbaceb0a4bb866c60bf7a9fd2a4ed98.png" } ], "effectStickers": [], "isSlideshow": false, "isPinned": false, "input": "thailand", "discoveryInfo": { "breadcrumbs": [], "relatedTags": [], "url": "https://www.tiktok.com/discover/thailand", "tag": "thailand", "type": "discover" } } ] ## 🎸 Want to scrape TikTok comments, creators or music? If you want to scrape TikTok beyond just TikTok Discover data, you can use one of the specialized web scrapers below, each built particularly for the relevant TikTok scraping case, whether it's profiles, comments, search results, or all data at once:
| 📹 Tiktok Video Scraper | 🧛 TikTok Profile Scraper | 🎸 Tiktok Sound Scraper | #️⃣ TikTok Ads Scraper |
| 🎙 TikTok Comments Scraper | 🎶 TikTok Scraper | #️⃣ TikTok Hashtag Scraper | 🎵 TikTok Data Extractor |
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. ### Can I use this TikTok Discover API in Python? Yes, by using Apify API. To access the TikTok Discover API using Python, use the apify-client PyPI package. You can find more details about the client in our Docs for Python Client. ### Is it legal to scrape videos from TikTok Discover? 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. ### Not your cup of tea? Build your own scraper. TikTok Discover 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 the Apify Store (and find users for it). ### Your feedback We’re always working on improving the performance of our Actors. So if you’ve got any technical feedback for TikTok Discover Scraper or simply found a bug, please create an issue on the Actor’s Issue tab.
Categories
Common Use Cases
Market Research
Gather competitive intelligence and market data
Lead Generation
Extract contact information for sales outreach
Price Monitoring
Track competitor pricing and product changes
Content Aggregation
Collect and organize content from multiple sources
Ready to Get Started?
Try TikTok Discover Scraper now on Apify. Free tier available with no credit card required.
Start Free TrialActor Information
- Developer
- clockworks
- Pricing
- Paid
- Total Runs
- 35,487
- Active Users
- 388
Related Actors
🏯 Tweet Scraper V2 - X / Twitter Scraper
by apidojo
Instagram Scraper
by apify
TikTok Scraper
by clockworks
Instagram Profile Scraper
by apify
Apify provides a cloud platform for web scraping, data extraction, and automation. Build and run web scrapers in the cloud.
Learn more about ApifyNeed Professional Help?
Couldn't solve your problem? Hire a verified specialist on Fiverr to get it done quickly and professionally.
Trusted by millions | Money-back guarantee | 24/7 Support