Rating 4.7
Rating 4.7
Rating 4.5
Rating 4.7
Rating 4.7
Disclaimer : Real Data API only extracts publicly available data while maintaining a strict policy against collecting any personal or identity-related information.
With the rise of social media analytics, businesses and researchers rely on tools like the TikTok Comment Scraper to extract valuable user engagement data. Our TikTok Comments Scraper allows users to collect video comments from TikTok posts efficiently. This TikTok Comment Scraper API is supported in major regions, including the USA, UK, UAE, Canada, Australia, France, Germany, Spain, Italy, Mexico, Singapore, and Japan. The tool provides marketers, analysts, and researchers with essential insights into user sentiment, trends, and engagement patterns.
Our TikTok Comment Data Scraper is an advanced yet easy-to-use tool designed to collect:
Simply enter the TikTok video URL, hit the Save and Start button, and let the scraper do the work.
Our TikTok Comments Scraper ensures accuracy, efficiency, and scalability, making it a valuable asset for businesses and researchers analyzing TikTok engagement trends.
It would be best to insert the URL of the TikTok video, and the comment counts you want to scrape. You can add multiple URLs to the input field.
Check out the input tab to read the JSON-based input example.
{ "commentsPerPost": 10000, "postURLs": [ "https://www.tiktok.com/@expeccto/video/7128277764389473562?q=harry%20potter&t=1675289064996" ] }
You will get the results of this scraper in dataset format. You can download the dataset in Excel, CSV, HTML, XML, or JSON format. Check out the below example of collected comment data from TikTok.
You can also check the complete version in JSON.
[ { "videoWebUrl": "https://www.tiktok.com/@expeccto/video/7128277764389473562", "cid": "7128599608109286190", "createTime": 1659756449, "createTimeISO": "2022-08-06T03:27:29.000Z", "text": "Just finished watching the whole of the Harry Potter movies yesterday for the 10th time lmao", "diggCount": 11477, "replyCommentTotal": 142, "uid": "7002585366419162117", "uniqueId": "gyp2yy" }, { "videoWebUrl": "https://www.tiktok.com/@expeccto/video/7128277764389473562", "cid": "7128994054352978715", "createTime": 1659848288, "createTimeISO": "2022-08-07T04:58:08.000Z", "text": "He was the best wizard and learned so fast 😩", "diggCount": 9901, "replyCommentTotal": 79, "uid": "7100180717091701762", "uniqueId": "iannasimonemonteb" }, { "videoWebUrl": "https://www.tiktok.com/@expeccto/video/7128277764389473562", "cid": "7155816116475101979", "createTime": 1666093280, "createTimeISO": "2022-10-18T11:41:20.000Z", "text": "who don't know:😭😭😭\nwho know:🤨🤨", "diggCount": 732, "replyCommentTotal": 5, "uid": "6785055187708445697", "uniqueId": "gabrielcmgn" } ]
We've designed dedicated scrapers for specific data requirements from TikTok. They all work to scrape specific TikTok data, including search results, hashtags, profiles, or all data together. Do explore them for custom data needs.
Lastly, you can connect this tool for TikTok comment data collection with any web application or cloud service with the help of integrations available on our platforms. Multiple options to integrate the scraper include Google Drive, Google Sheets, Slack, Make, Airbyte, Zapier, GitHub, and more. You can also try webhooks to commence an action in case of an event occurrence.
Our API programmatically permits you to access the platform. We've organized the actor around RESTful HTTP endpoints to allow you to run, manage and schedule our Scrapers. It also allows you to track actor performance; access desired datasets, retrieve output, update and create scraper versions, and more.
You can use our client PyPl package to access the API using Python and our client NPM package to access it using Node.js.
We've designed the TikTok Comment Data Scraper such that it doesn't scrape any personal data like location, contact details, and gender of users. The scraper only collects the publically available data. But remember that you may get some personal data in your dataset unknowingly.
Various regulations worldwide, like GDPR, protect personal data. Note that you should only collect private data if you have a proper purpose. Consult your lawyers if you need to know whether your reason is genuine.
We continually work to improve our scraper performances. Therefore, if you want to suggest anything, want us to fix any bug, or have any technical feedback for the TikTok comment data scraper, you can raise an issue from your console account.
You should have a Real Data API account to execute the program examples. Replace <YOUR_API_TOKEN>
in the program using the token of your actor. Read about the live APIs with Real Data API docs for more explanation.
import { ApifyClient } from 'apify-client';
// Initialize the ApifyClient with API token
const client = new ApifyClient({
token: '<YOUR_API_TOKEN>',
});
// Prepare actor input
const input = {
"postURLs": [
"https://www.tiktok.com/@bellapoarch/video/6862153058223197445"
]
};
(async () => {
// Run the actor and wait for it to finish
const run = await client.actor("clockworks/tiktok-comments-scraper").call(input);
// Fetch and print actor results from the run's dataset (if any)
console.log('Results from dataset');
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
console.dir(item);
});
})();
from apify_client import ApifyClient
# Initialize the ApifyClient with your API token
client = ApifyClient("<YOUR_API_TOKEN>")
# Prepare the actor input
run_input = { "postURLs": ["https://www.tiktok.com/@bellapoarch/video/6862153058223197445"] }
# Run the actor and wait for it to finish
run = client.actor("clockworks/tiktok-comments-scraper").call(run_input=run_input)
# Fetch and print actor results from the run's dataset (if there are any)
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
print(item)
# Set API token
API_TOKEN=<YOUR_API_TOKEN>
# Prepare actor input
cat > input.json <<'EOF'
{
"postURLs": [
"https://www.tiktok.com/@bellapoarch/video/6862153058223197445"
]
}
EOF
# Run the actor
curl "https://api.apify.com/v2/acts/clockworks~tiktok-comments-scraper/runs?token=$API_TOKEN" \
-X POST \
-d @input.json \
-H 'Content-Type: application/json'
postURLs
Required Array
Insert the link of a specific TikTok video from which you want to collect comments.
commentsPerPost
Optional Integer
The comment counts you want to scrape in each output. You can expect up to 500 comments quickly, but beyond 500, the scraper will slow down.
{
"postURLs": [
"https://www.tiktok.com/@bellapoarch/video/6862153058223197445"
],
"commentsPerPost": 100
}