TikTok Scraper avatar

TikTok Scraper

Pricing

from $0.00005 / actor start

Go to Apify Store
TikTok Scraper

TikTok Scraper

Scrape video metadata from TikTok user profile pages using Crawlee and Playwright.

Pricing

from $0.00005 / actor start

Rating

0.0

(0)

Developer

Akash Kumar Naik

Akash Kumar Naik

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

3 days ago

Last modified

Share

TikTok Scraper — Scrape TikTok Profiles & Video Data (No API Key)

Extract TikTok video metadata from any public profile at scale. This scraper uses Crawlee for Python and a headless Firefox browser to scrape TikTok without an API key — handling infinite scroll, bot detection, and structured JSON output automatically.

💰 Pay-per-event pricing — $0.001 per video scraped. Only successful results are charged.


Why use this TikTok scraper?

  • No TikTok API key required — runs entirely via browser automation
  • Bypasses bot detection with Firefox fingerprinting via Crawlee
  • Handles infinite scroll — collects as many videos per profile as you need
  • Structured JSON output — ready to export as CSV, Excel, or feed into your pipeline
  • Fair pricing — pay only per video successfully scraped, not per compute minute

What data does the TikTok scraper extract?

For every TikTok video page visited, the scraper returns:

FieldDescription
urlDirect link to the TikTok video
descriptionVideo caption (includes inline hashtags)
tagsHashtag list extracted from the caption
playsTotal view / play count
heartsLike count
commentsComment count
sharesShare count
author.handleTikTok @username
author.nicknameDisplay name
author.followersFollower count
author.followingFollowing count
author.heartsLifetime likes across all the author's videos
author.videosTotal number of videos published
author.signatureProfile bio text

TikTok scraping use cases

  • 📈 Influencer analytics — benchmark engagement rates, follower growth, and content themes across creators
  • 🔍 TikTok hashtag & trend research — find trending tags from top creators in any niche
  • 🏢 Competitor & brand monitoring — audit a competitor's TikTok strategy and content performance
  • 🎓 Social media research & academia — build datasets for studies on viral content, language, or culture
  • 📊 Content strategy — identify which video formats and topics drive the most plays and engagement
  • 🤖 AI & LLM training data — collect real-world short-form video descriptions and engagement signals

How to use the TikTok scraper

1. Set your input

Paste TikTok profile URLs and choose how many videos to scrape per profile:

{
"urls": [
"https://www.tiktok.com/@apifyoffice",
"https://www.tiktok.com/@authorbrandonsanderson"
],
"maxItems": 20,
"proxySettings": { "useApifyProxy": true }
}

2. Run the Actor

Click Start in Apify Console, or trigger via the Apify API.

3. Download your results

Export the dataset as JSON, CSV, Excel, XML, or RSS directly from the Console.


Input parameters

ParameterTypeRequiredDefaultDescription
urlsstring[]Public TikTok profile URLs to scrape
maxItemsinteger10Maximum videos to collect per profile
proxySettingsobjectApify ProxyProxy config — residential proxies strongly recommended

Output example

{
"url": "https://www.tiktok.com/@apifyoffice/video/7434175808840682774",
"author": {
"nickname": "apifyoffice",
"id": "7095709566285480965",
"handle": "apifyoffice",
"signature": "🤖 web scraping and AI 🤖",
"followers": 163,
"following": 5,
"hearts": 2417,
"videos": 48
},
"description": "\"Fun\" is the top word Apifiers used to describe our culture 🎤 #workculture #teambuilding",
"tags": ["workculture", "teambuilding"],
"hearts": 10,
"shares": 1,
"comments": 3,
"plays": 661
}

How the TikTok scraper works

  1. Profile crawl — Opens each TikTok user page and scrolls infinitely in the background, collecting video links up to your maxItems limit
  2. Video extraction — Visits each video URL and parses the embedded #__UNIVERSAL_DATA_FOR_REHYDRATION__ JSON blob for structured metadata
  3. Anti-bot evasion — Uses Firefox with Crawlee's built-in browser fingerprinting and locked-down permissions to avoid TikTok detection
  4. PPE billingActor.charge("video-scraped") fires only after data is successfully saved; retried or failed pages are never billed

Pricing

This Actor uses pay-per-event pricing:

EventPrice
1 video scraped & saved$0.001

A run scraping 1,000 videos costs $1.00. You are never charged for failed requests or retries.


Tips & known limitations

  • Residential proxies are required in production — TikTok aggressively blocks datacenter IPs. Use proxySettings with Apify Residential proxies.
  • Private profiles — Videos from private TikTok accounts cannot be accessed.
  • Point-in-time data — Play/heart counts reflect what TikTok returns at scrape time; schedule recurring runs to track changes over time.
  • Rate limiting — Keep maxItems reasonable per run to stay under TikTok's detection threshold.

FAQ

Do I need a TikTok API key or account?
No. This scraper uses a headless Firefox browser — no credentials or API access required.

Will it work without proxies?
Locally for small tests, yes. For any production-scale or cloud run, residential proxies are required to avoid IP blocks.

Can I scrape TikTok hashtag pages or search results?
This Actor scrapes public user profile pages. Hashtag feeds and search results require a separate scraper.

How accurate are the engagement counts?
All stats (plays, hearts, comments, shares) are point-in-time snapshots from the live TikTok page at the moment of scraping.

Can I run this on a schedule?
Yes — use Apify Schedules to run the Actor automatically at any interval.