TikTok All-in-One Scraper avatar

TikTok All-in-One Scraper

Pricing

from $5.00 / 1,000 post results

Go to Apify Store
TikTok All-in-One Scraper

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

Muhammad Qaseem Iqbal

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

5 days ago

Last modified

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:

TargetWhat you can get
TikTok videosCaption, video ID, author, hashtags, views, likes, shares, comments count, music, cover image, video URL
TikTok profilesUsername, display name, bio, profile URL, avatar, verification status, follower/following counts when available
HashtagsHashtag metadata and public post data when TikTok exposes it
Keyword searchesMatching public posts and profiles when available
CommentsPublic comments and basic engagement data when TikTok allows access
Comment repliesPublic replies to collected comments when available
Followers and followingPublic follower/following records when TikTok exposes the relationship endpoint
Music/soundsMusic ID, title, author, cover, play URL, and related video data when available
Media assetsVideo 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

  1. Open TikTok All-in-One Scraper on Apify.
  2. Add TikTok video URLs, profile usernames, hashtags, or keywords in the Form tab.
  3. Choose what you want to extract in the Operations field.
  4. Set result limits if needed.
  5. Click Start.
  6. Open the Output or Storage tab to view your results.
  7. 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 fieldUse it for
startUrlsTikTok video, profile, hashtag, search, or music URLs
postURLsDirect TikTok video URLs
profilesTikTok usernames or profile URLs
hashtagsHashtags with or without #
keywordsTikTok search terms
operationsSelect what data to collect, such as posts, profiles, comments, followers, or media
resultsLimitLimit the total number of main results
resultsPerTargetLimit results for each URL, profile, hashtag, or keyword
commentsPerPostLimit public comments collected per video
maxRepliesPerCommentLimit replies collected for each comment
maxFollowersPerProfileLimit follower records per profile
maxFollowingPerProfileLimit following records per profile
downloadChoose whether to download videos, covers, avatars, subtitles, slideshow images, or music covers
datasetModeChoose where results are saved. Most users should keep the default: separate datasets plus a default mirror
fieldPresetChoose compact, standard, or full records

Supported URL examples:

URL typeExample
Videohttps://www.tiktok.com/@apifytech/video/7398101551744552225
Profilehttps://www.tiktok.com/@apifytech
Hashtaghttps://www.tiktok.com/tag/webscraping
Searchhttps://www.tiktok.com/search?q=webscraping
MusicTikTok 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 tabWhat to use it for
OutputQuick preview of the combined default dataset
StorageSeparate datasets for posts, profiles, comments, followers/following, media, errors, and run reports

Available datasets:

DatasetContains
postsTikTok video/post records
profilesCreator profile records
commentsComment and reply records
connectionsFollower and following records
hashtagStatsHashtag metadata
musicMusic and sound metadata
mediaMedia links and downloaded file references
errorsClear error records for targets that could not be scraped

The key-value store also contains:

KeyMeaning
OUTPUTRun summary, totals, settings, and planned versus actual event counts
REPORT.mdA 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"
}
ModeBest for
autoRecommended. Saves organized datasets and also mirrors results to the default Output tab
separateSaves only the organized datasets. Useful for larger automated jobs
singleSaves 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 codeMeaning
EMPTY_PAYLOADTikTok loaded the page but did not expose usable public data
NO_RESULTSNo matching public records were found
PUBLIC_API_BLOCKEDTikTok blocked or withheld data from a public API endpoint
CONTENT_UNAVAILABLEThe target was not accessible
FETCH_FAILEDThe request failed after retries
OPERATION_UNAVAILABLEThe 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 resultsLimit and resultsPerTarget to cap the number of main results.
  • Use commentsPerPost, maxFollowersPerProfile, and maxFollowingPerProfile when collecting larger lists.
  • Enable media downloads only when you need the actual files.
  • Check the OUTPUT key 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

IssueWhat to try
No results in the Output tabKeep datasetMode set to auto, then check the default dataset and the separate datasets in Storage
Fewer results than expectedIncrease resultsLimit or resultsPerTarget, and check whether the target has enough public data
Comments are missingMake sure comments is selected in operations and set commentsPerPost above 0
Followers or following are missingMake sure followers or following is selected and set the related limit above 0
Media files are not savedSelect the media operation and turn on the specific download options you need
Some targets show errorsOpen the errors dataset. It will show whether TikTok returned no public data, blocked the request, or made the target unavailable
Run failed quicklyCheck 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.

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:

  1. Check the errors dataset.
  2. Try a smaller input batch.
  3. Test with a direct TikTok video URL.
  4. Lower comment, follower, or media download limits.
  5. Enable debugMode if 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.