How to Scrape TikTok Data at Scale with a Standalone API Actor on Apify

tiktok web scraping apify automation data
Mar 4, 2026 11 min

If you need a reliable way to scrape TikTok data for analytics, growth, or content intelligence, this guide shows how to do it with the TikTok Data Scraper on Apify.

This actor works as a practical TikTok API alternative for public data extraction. You can collect profile data, videos, comments and replies, hashtags, music-based posts, playlist videos, and detailed video objects in one workflow.

Why use a TikTok scraper instead of building from scratch?

Building and maintaining your own scraping stack takes time: retries, pagination, schema consistency, scheduling, run monitoring, and data delivery.

With Apify + this actor, you get:

  • A production-ready scraping workflow without building crawler infrastructure
  • API-based runs and dataset delivery
  • Scheduling for recurring data collection
  • Logs for debugging and reliability checks
  • Easy export to JSON, CSV, Excel, XML, and HTML
  • Integrations and webhooks for automation

If your workflow also needs media download pipelines, pair it with the TikTok Video Downloader.

Apify platform advantages

What TikTok data can this actor extract?

You can extract multiple source types in one run:

  • User profile content and user-level categories: videos, favourite_videos, following, followers, user_playlists, search, user_info
  • Video comments with optional nested replies
  • Videos by hashtag (with optional region)
  • Videos by music ID
  • Videos by playlist ID
  • Video details by URL or ID

Core output fields (examples)

Data groupExample fields
Video metadatavideo_id, title, content_desc, cover, duration, create_time
Engagement metricsplay_count, digg_count, comment_count, share_count, download_count, collect_count
Creator profile fieldsauthor.nickname, author.unique_id, user.id, user.verified
Comment datatext, reply_count, commenter profile fields
Discovery entitieshashtag/challenge IDs, music IDs, playlist IDs, search results
Context fieldssection, category, input, source-specific IDs

How to scrape TikTok data in 6 steps

  1. Open the actor: TikTok Data Scraper.
  2. In the Input tab, add at least one source list: userUrls, videoUrlsComments, hashtags, musicUrls, playlistIDs, or videoDetailsList.
  3. Set limits like maxUserResults, commentsPerUrl, videosPerHashtag, or enable scrapeAll... switches.
  4. Start the run.
  5. Review dataset sections: users, comments, hashtags, music, playlists, video_details.
  6. Export data or consume it via API in your pipeline.

Example input JSON

{
  "userUrls": ["https://www.tiktok.com/@taylorswift", "@billieeilish"],
  "categories": ["videos", "followers", "user_info"],
  "maxUserResults": 100,
  "scrapeAllUserResults": false,
  "videoUrlsComments": ["https://www.tiktok.com/@username/video/7488888888888888888"],
  "commentsPerUrl": 150,
  "scrapeAllComments": false,
  "repliesPerComment": 20,
  "scrapeAllReplies": false,
  "hashtags": ["dance", "https://www.tiktok.com/hashtag/viral"],
  "videosPerHashtag": 120,
  "scrapeAllHashtagVideos": false,
  "hashtagRegion": "US",
  "musicUrls": ["https://www.tiktok.com/music/original-sound-7488888888888888888"],
  "videosPerMusic": 100,
  "scrapeAllMusicVideos": false,
  "playlistIDs": ["7488888888888888888"],
  "videosPerPlaylist": 100,
  "scrapeAllPlaylistVideos": false,
  "videoDetailsList": ["https://www.tiktok.com/@username/video/7488888888888888888"]
}

Example output JSON

[
  {
    "section": "users",
    "category": "videos",
    "input": "https://www.tiktok.com/@taylorswift",
    "user": "taylorswift",
    "userType": "unique_id",
    "data": {
      "video_id": "7488888888888888888",
      "title": "Sample video",
      "play_count": 123456,
      "comment_count": 321,
      "author": {
        "nickname": "Taylor Swift",
        "unique_id": "taylorswift"
      }
    }
  }
]

Real-world use cases

1. Influencer research and creator benchmarking

Compare creators by engagement rate, posting volume, and audience response. Build watchlists by niche and track movement over time.

2. Trend discovery by hashtag and sound

Monitor emerging hashtags and music IDs to detect short-term spikes and recurring content themes.

3. Competitor content intelligence

Track competitor formats, cadence, top-performing videos, and comment sentiment to improve your own strategy.

4. Community and sentiment analysis

Use comments and replies to identify recurring objections, product feedback, and content requests directly from audience language.

5. Reporting pipelines for teams

Feed structured output into BI tools, internal dashboards, and weekly reporting workflows with scheduled runs.

How much does TikTok scraping cost?

Cost depends on run depth and volume, especially:

  • Number of input targets
  • Whether scrapeAll... flags are enabled
  • Number of paginated pages for comments/replies and feeds

Best practice: start with smaller limits, validate output quality, then scale. This gives you a realistic cost estimate per 1,000 records for your specific workflow.

SEO and content automation tips for this workflow

  • Publish recurring benchmark posts based on the same query sets
  • Reuse your dataset for charts and social snippets
  • Link this article from your actor README and vice versa
  • Include one screenshot of input and one of output in each article update
  • Keep the URL short and evergreen, for example: /scrape-tiktok-data-apify

Final takeaway

If you need scalable, repeatable TikTok data extraction for analytics or automation, this actor gives you a strong production setup without building crawler infrastructure from scratch.

Start here: TikTok Data Scraper

Companion for media workflows: TikTok Video Downloader

Frequently Asked Questions

Is this a TikTok API alternative?

Yes. For public-data workflows, the TikTok Data Scraper is a practical API alternative with on-demand and scheduled runs plus structured exports.

Can non-developers use this Actor?

Yes. You can run it from the Apify UI with input fields and export results directly without coding.

What export formats are available?

You can export dataset results as JSON, CSV, Excel, XML, and HTML.

I got fewer results than expected. What should I change?

Increase source-specific limits, enable relevant scrapeAll flags for deeper pagination, and verify that your URLs, usernames, or IDs are valid and public.

Can I run this via API and automate delivery?

Yes. You can run it via the Apify API, schedule recurring jobs, and use webhooks/integrations to send data into downstream systems.

Is scraping TikTok data legal?

This workflow is intended for public data. You are responsible for compliance with TikTok terms and applicable laws such as GDPR or CCPA/CPRA where relevant.

~Dziura Labs