TikTok All-in-One Scraper
Pricing
from $5.00 / 1,000 post results
TikTok All-in-One Scraper
Collect TikTok posts, profiles, hashtags, music metadata, media references, and structured diagnostics.
Pricing
from $5.00 / 1,000 post results
Rating
0.0
(0)
Developer
Muhammad Qaseem Iqbal
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
5 days ago
Last modified
Categories
Share
What does TikTok All-in-One Scraper do?
TikTok All-in-One Scraper helps you collect public TikTok data from posts, profiles, hashtags, search terms, comments, followers, following lists, music pages, and media links.
Use it to research creators, monitor trends, collect public engagement metrics, analyze comments, build influencer lists, or export TikTok data into spreadsheets, dashboards, databases, and AI workflows.
You can start with a single TikTok URL, a username, a hashtag, or a keyword. The Actor will detect the target type, collect the public data that is available, and return clean, organized results.
What can you scrape?
TikTok All-in-One Scraper can collect public data from:
| Target | What you can get |
|---|---|
| TikTok videos | Caption, video ID, author, hashtags, views, likes, shares, comments count, music, cover image, video URL |
| TikTok profiles | Username, display name, bio, profile URL, avatar, verification status, follower/following counts when available |
| Hashtags | Hashtag metadata and public post data when TikTok exposes it |
| Keyword searches | Matching public posts and profiles when available |
| Comments | Public comments and basic engagement data when TikTok allows access |
| Comment replies | Public replies to collected comments when available |
| Followers and following | Public follower/following records when TikTok exposes the relationship endpoint |
| Music/sounds | Music ID, title, author, cover, play URL, and related video data when available |
| Media assets | Video links, covers, avatars, music covers, and optional file downloads |
Why use this Actor?
- Scrape multiple TikTok data types with one Actor.
- Paste TikTok URLs, usernames, hashtags, or keywords.
- No TikTok account setup is required for public pages.
- Get clean datasets that are easy to export.
- Separate posts, profiles, comments, connections, media, and errors into dedicated datasets.
- Keep a mirrored default dataset for quick viewing in Apify Console.
- Use structured error records so failed or blocked targets are easy to understand.
- Run manually, on a schedule, through the API, or as part of an automation workflow.
- Use the output with spreadsheets, BI tools, data warehouses, or AI agents.
How to scrape TikTok data
- Open TikTok All-in-One Scraper on Apify.
- Add TikTok video URLs, profile usernames, hashtags, or keywords in the Form tab.
- Choose what you want to extract in the Operations field.
- Set result limits if needed.
- Click Start.
- Open the Output or Storage tab to view your results.
- Download the dataset in JSON, CSV, Excel, XML, HTML, or RSS.
For a simple first run, paste a TikTok video URL and keep the default settings.
Input options
You can use one or more of these input fields:
| Input field | Use it for |
|---|---|
startUrls | TikTok video, profile, hashtag, search, or music URLs |
postURLs | Direct TikTok video URLs |
profiles | TikTok usernames or profile URLs |
hashtags | Hashtags with or without # |
keywords | TikTok search terms |
operations | Select what data to collect, such as posts, profiles, comments, followers, or media |
resultsLimit | Limit the total number of main results |
resultsPerTarget | Limit results for each URL, profile, hashtag, or keyword |
commentsPerPost | Limit public comments collected per video |
maxRepliesPerComment | Limit replies collected for each comment |
maxFollowersPerProfile | Limit follower records per profile |
maxFollowingPerProfile | Limit following records per profile |
download | Choose whether to download videos, covers, avatars, subtitles, slideshow images, or music covers |
datasetMode | Choose where results are saved. Most users should keep the default: separate datasets plus a default mirror |
fieldPreset | Choose compact, standard, or full records |
Supported URL examples:
| URL type | Example |
|---|---|
| Video | https://www.tiktok.com/@apifytech/video/7398101551744552225 |
| Profile | https://www.tiktok.com/@apifytech |
| Hashtag | https://www.tiktok.com/tag/webscraping |
| Search | https://www.tiktok.com/search?q=webscraping |
| Music | TikTok music or sound URLs when public data is available |
Input examples
Scrape one video
{"postURLs": ["https://www.tiktok.com/@apifytech/video/7398101551744552225"],"operations": ["posts", "profiles"],"resultsLimit": 1}
Research hashtags
{"hashtags": ["webscraping", "automation"],"operations": ["posts", "profiles", "hashtagStats"],"resultsPerTarget": 100}
Collect comments and replies
{"postURLs": ["https://www.tiktok.com/@apifytech/video/7398101551744552225"],"operations": ["posts", "profiles", "comments", "commentReplies"],"commentsPerPost": 100,"maxRepliesPerComment": 5}
Extract followers and following
{"profiles": ["apifytech"],"operations": ["profiles", "followers", "following"],"maxFollowersPerProfile": 100,"maxFollowingPerProfile": 100}
Save media references
{"postURLs": ["https://www.tiktok.com/@apifytech/video/7398101551744552225"],"operations": ["posts", "media"],"download": {"covers": true,"videos": false}}
Output
By default, the Actor writes results to separate datasets and also mirrors them to the default dataset, so you can see results immediately in the Apify Console Output tab.
After the run finishes, you can find results in two places:
| Apify tab | What to use it for |
|---|---|
| Output | Quick preview of the combined default dataset |
| Storage | Separate datasets for posts, profiles, comments, followers/following, media, errors, and run reports |
Available datasets:
| Dataset | Contains |
|---|---|
posts | TikTok video/post records |
profiles | Creator profile records |
comments | Comment and reply records |
connections | Follower and following records |
hashtagStats | Hashtag metadata |
music | Music and sound metadata |
media | Media links and downloaded file references |
errors | Clear error records for targets that could not be scraped |
The key-value store also contains:
| Key | Meaning |
|---|---|
OUTPUT | Run summary, totals, settings, and planned versus actual event counts |
REPORT.md | A short human-readable run report |
media/... | Downloaded media files when media downloads are enabled |
Which dataset mode should you use?
For most users, keep the default option in the Form tab: Separate plus default mirror.
In JSON, that means:
{"datasetMode": "auto"}
| Mode | Best for |
|---|---|
auto | Recommended. Saves organized datasets and also mirrors results to the default Output tab |
separate | Saves only the organized datasets. Useful for larger automated jobs |
single | Saves everything into the default dataset only |
If you are browsing results in Apify Console, auto is the easiest choice.
Example output
Post record
{"recordType": "post","id": "7398101551744552225","text": "Example caption #webscraping","playCount": 589,"diggCount": 20,"shareCount": 1,"commentCount": 0,"authorMeta": {"name": "apifytech","profileUrl": "https://www.tiktok.com/@apifytech"},"webVideoUrl": "https://www.tiktok.com/@apifytech/video/7398101551744552225","retrievedAt": "2026-06-11T18:55:22.458Z"}
Profile record
{"recordType": "profile","username": "apifytech","nickname": "apifytech","profileUrl": "https://www.tiktok.com/@apifytech","verified": false,"retrievedAt": "2026-06-11T18:55:22.458Z"}
Error record
{"recordType": "error","input": "webscraping","targetType": "hashtag","errorCode": "NO_RESULTS","error": "The hashtag target produced no records.","isRetryable": false}
What are error records?
TikTok does not always show the same data to every visitor. Some pages may be private, deleted, empty, region-limited, temporarily unavailable, or hidden behind a login or anti-bot check.
When that happens, the Actor does not silently skip the target. It writes an error item explaining what happened.
Common error codes:
| Error code | Meaning |
|---|---|
EMPTY_PAYLOAD | TikTok loaded the page but did not expose usable public data |
NO_RESULTS | No matching public records were found |
PUBLIC_API_BLOCKED | TikTok blocked or withheld data from a public API endpoint |
CONTENT_UNAVAILABLE | The target was not accessible |
FETCH_FAILED | The request failed after retries |
OPERATION_UNAVAILABLE | The selected operation is not available for that target |
Error records are useful for monitoring large jobs because they show exactly which inputs failed and why.
How can you use the data?
TikTok All-in-One Scraper is useful for:
- Finding creators for influencer campaigns.
- Monitoring brand mentions and hashtag campaigns.
- Tracking public engagement on TikTok videos.
- Collecting comments for sentiment analysis.
- Researching viral products, niches, and content formats.
- Building lead lists from public creator profiles.
- Exporting TikTok data to Google Sheets, Excel, databases, or dashboards.
- Feeding structured TikTok data into AI agents and analysis workflows.
Export and integrations
You can export results from Apify in common formats:
- JSON
- CSV
- Excel
- XML
- HTML
- RSS
You can also connect the Actor to:
- Apify API for custom apps and scripts
- Webhooks for notifications and follow-up actions
- Schedules for daily, weekly, or recurring monitoring
- Google Sheets
- Google Drive
- Make
- Zapier
- Slack
- GitHub
- Airbyte
- n8n
- Apify MCP server
- Python and Node.js scripts using Apify SDKs
This makes it possible to send TikTok data into spreadsheets, dashboards, data warehouses, alerts, or AI workflows without manually downloading files after every run.
Pricing and cost control
The exact price depends on the pricing shown on the Actor's Pricing tab in Apify Store.
To keep runs predictable:
- Start with a small test run before scraping many targets.
- Use
resultsLimitandresultsPerTargetto cap the number of main results. - Use
commentsPerPost,maxFollowersPerProfile, andmaxFollowingPerProfilewhen collecting larger lists. - Enable media downloads only when you need the actual files.
- Check the
OUTPUTkey after a run to see the run summary and planned versus actual charge-event counts.
Tips for best results
- Start with direct TikTok video URLs when testing.
- Keep limits small for your first run.
- Use Apify Proxy for production runs.
- Use
datasetMode: "auto"if you want results in the default Output tab and separate datasets. - Enable media downloads only when you need the files, because downloading videos can increase runtime and storage use.
- If a profile, hashtag, comment list, or follower list returns an error, try again later or with a smaller input batch. TikTok access can vary by region, target, and session.
Troubleshooting common issues
| Issue | What to try |
|---|---|
| No results in the Output tab | Keep datasetMode set to auto, then check the default dataset and the separate datasets in Storage |
| Fewer results than expected | Increase resultsLimit or resultsPerTarget, and check whether the target has enough public data |
| Comments are missing | Make sure comments is selected in operations and set commentsPerPost above 0 |
| Followers or following are missing | Make sure followers or following is selected and set the related limit above 0 |
| Media files are not saved | Select the media operation and turn on the specific download options you need |
| Some targets show errors | Open the errors dataset. It will show whether TikTok returned no public data, blocked the request, or made the target unavailable |
| Run failed quickly | Check the Apify Log tab and test again with one direct TikTok video URL |
FAQ
Do I need a TikTok account?
No. This Actor works with public TikTok pages and does not require your TikTok login.
Can it scrape private TikTok profiles?
No. The Actor only collects public data. It does not bypass private accounts, login walls, or access restrictions.
Can it scrape comments?
Yes, it attempts to collect public comments and replies when TikTok exposes them. TikTok may block or limit comment access for some videos, regions, or sessions. When that happens, the Actor returns a structured error record.
Can it scrape followers and following lists?
Yes, it attempts to collect public followers and following records when TikTok exposes the relationship endpoint. Access can be limited, so some targets may return PUBLIC_API_BLOCKED or NO_RESULTS.
Can it download TikTok videos?
Yes. Enable the media operation and set the relevant download options. Downloaded files are stored in the key-value store and referenced from the output.
How much does it cost?
Check the Actor's Pricing tab in Apify Store for the current price. You can control the size of each run with result limits, comment limits, follower/following limits, and media download settings.
Can I run it on a schedule?
Yes. Use Apify schedules to run the Actor repeatedly, for example daily or weekly.
Can I use it with the Apify API?
Yes. You can run the Actor through the Apify API, integrate it with webhooks, or use Apify SDKs for Python and Node.js.
Can I use it with AI agents?
Yes. The Actor is designed to produce clean, structured records that are easy to use with the Apify MCP server, AI agents, and analysis workflows.
Why do I sometimes get error records?
TikTok frequently changes what public data is available. Some targets may be private, deleted, empty, region-limited, or temporarily blocked. Error records make those cases visible instead of hiding them.
Is scraping TikTok legal?
This Actor is intended for public data only. It does not collect private data or bypass access controls. You are responsible for making sure your use of the data complies with applicable laws, privacy rules, and TikTok's terms. If you are unsure, consult a legal professional.
Support
If a run does not return the data you expected:
- Check the
errorsdataset. - Try a smaller input batch.
- Test with a direct TikTok video URL.
- Lower comment, follower, or media download limits.
- Enable
debugModeif you need raw diagnostic pages in the key-value store.
If you believe the Actor is not working correctly, open an issue from the Actor page on Apify.