TikTok Discover Scraper avatar

TikTok Discover Scraper

Try for free

This Actor is paid per event

Go to Store
TikTok Discover Scraper

TikTok Discover Scraper

clockworks/tiktok-discover-scraper
Try for free

This Actor is paid per event

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.

Do you want to learn more about this Actor?

Get a demo

📹 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.

⬇ 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.

1{
2    "hashtags": [
3        "thailand"
4    ],
5    "shouldDownloadCovers": false,
6    "shouldDownloadSlideshowImages": false,
7    "shouldDownloadSubtitles": false,
8    "shouldDownloadVideos": false
9}

⬆ 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.

TikTok Discover page trends

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:

1[
2  {
3    "id": "7328225833821244715",
4    "text": "Waking up to this sunrise view was a DREAM ✨🇹🇭  📍 Samet Nangshe Boutique  #thailand #thailandtravel #luxuryhotels #luxurytravel #bucketlist #traveltiktok ",
5    "createTime": 1706235571,
6    "createTimeISO": "2024-01-26T02:19:31.000Z",
7    "isAd": false,
8    "isMuted": false,
9    "authorMeta": {
10      "id": "6745789268591494150",
11      "name": "hillarybowles",
12      "nickName": "Hillary Bowles",
13      "verified": false,
14      "signature": "Fashion, travel, home decor and lots of love 🫶🏻\n💌hautewithhillary@gmail.com",
15      "bioLink": null,
16      "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",
17      "privateAccount": false,
18      "following": 370,
19      "fans": 44900,
20      "heart": 4100000,
21      "video": 606,
22      "digg": 88200
23    },
24    "musicMeta": {
25      "musicName": "original sound",
26      "musicAuthor": "HUGEL",
27      "musicOriginal": true,
28      "musicAlbum": "",
29      "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",
30      "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",
31      "musicId": "7321041103715683104"
32    },
33    "webVideoUrl": "https://www.tiktok.com/@hillarybowles/video/7328225833821244715",
34    "mediaUrls": [
35      "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"
36    ],
37    "videoMeta": {
38      "height": 1024,
39      "width": 576,
40      "duration": 9,
41      "coverUrl": "https://p16-sign.tiktokcdn-us.com/obj/tos-useast5-p-0068-tx/okESflIgSNAFAExLNRRshsfyxSD7DBMQvCWlkm?x-expires=1716022800&x-signature=yKfeqWWd4JkW%2BP%2FZRqXfAOAldd4%3D",
42      "originalCoverUrl": "https://p16-sign.tiktokcdn-us.com/obj/tos-useast5-p-0068-tx/okESflIgSNAFAExLNRRshsfyxSD7DBMQvCWlkm?x-expires=1716022800&x-signature=yKfeqWWd4JkW%2BP%2FZRqXfAOAldd4%3D",
43      "definition": "540p",
44      "format": "mp4",
45      "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",
46      "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"
47    },
48    "diggCount": 82000,
49    "shareCount": 7254,
50    "playCount": 1100000,
51    "collectCount": 33600,
52    "commentCount": 251,
53    "mentions": [],
54    "hashtags": [
55      {
56        "id": "9128",
57        "name": "thailand",
58        "title": "🇹🇭 hi Thailand!!!😘😘😘 🇹🇭",
59        "cover": ""
60      },
61      {
62        "id": "40201396",
63        "name": "thailandtravel",
64        "title": "",
65        "cover": ""
66      },
67      {
68        "id": "1625911277616134",
69        "name": "luxuryhotels",
70        "title": "",
71        "cover": ""
72      },
73      {
74        "id": "4872557",
75        "name": "luxurytravel",
76        "title": "",
77        "cover": ""
78      },
79      {
80        "id": "260248",
81        "name": "bucketlist",
82        "title": "Whether it's starting a new hobby or planning a dream trip, show us what's on your #BucketList.",
83        "cover": ""
84      },
85      {
86        "id": "1598183468378114",
87        "name": "traveltiktok",
88        "title": "The countdown to summer has begun!🌞 Start planning your epic summer destinations with our expert recommendations . 📆🌴",
89        "cover": "https://p58-sg.tiktokcdn.com/obj/tiktok-obj/ebbaceb0a4bb866c60bf7a9fd2a4ed98.png"
90      }
91    ],
92    "effectStickers": [],
93    "isSlideshow": false,
94    "isPinned": false,
95    "input": "thailand",
96    "discoveryInfo": {
97      "breadcrumbs": [],
98      "relatedTags": [],
99      "url": "https://www.tiktok.com/discover/thailand",
100      "tag": "thailand",
101      "type": "discover"
102    }
103  }
104]

🎸 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

❓FAQ

How much does TikTok Discover cost?

TikTok Discover Scraper uses the Pay-per-event model, so your costs can be easily calculated. It’ll cost you:

  • $0.03 for starting the scraper
  • $0.0030 for every dataset item
  • $0.0010 for every downloaded video

Apify free plan gives you $5 of prepaid credits. With that, you can start the Actor once and get 1,656 dataset items. Or start the Actor, get 1,322 dataset items, and download 1,000 videos. Or start the Actor, get 1,649 dataset items, and download 500 videos. You get the drill.

Is there a TikTok Discover API?

Unfortunately, there's no TikTok Discover API. However, you can use scrapers and crawlers as a stand-in for an API, e.g. 📢 TikTok Discover Scraper.

Can I integrate TikTok Discover Scraper with other apps?

Yes. Tiktok Discover 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, LangChain, Asana, Slack, Airbyte, GitHub, Google Sheets, Google Drive, and more. You can also integrate with other Actors.

Or you can use webhooks to carry out an action whenever an event occurs, e.g., get a notification whenever Tiktok Discover Scraper successfully finishes a run.

Can I use TikTok Discover Scraper with the API?

Yes, you can do so by using Apify API. It 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.

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.

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.

Developer
Maintained by Apify

Actor Metrics

  • 27 monthly users

  • 8 stars

  • >99% runs succeeded

  • Created in May 2024

  • Modified 8 hours ago