TikTok Scraper — Videos, Profiles, Comments & Trends avatar

TikTok Scraper — Videos, Profiles, Comments & Trends

Pricing

Pay per usage

Go to Apify Store
TikTok Scraper — Videos, Profiles, Comments & Trends

TikTok Scraper — Videos, Profiles, Comments & Trends

Scrape TikTok data at scale: search videos by keyword/hashtag, scrape user profiles, video details with stats, comments, and trending hashtags. Returns clean JSON with full metadata.

Pricing

Pay per usage

Rating

0.0

(0)

Developer

abdulrahman alrashid

abdulrahman alrashid

Maintained by Community

Actor stats

0

Bookmarked

3

Total users

2

Monthly active users

2 days ago

Last modified

Categories

Share

Scrape TikTok data at scale. Search videos by keyword or hashtag, scrape user profiles and their video lists, get full video details with stats, extract comments, and discover trending hashtags.

Features

ModeDescriptionOutput
SEARCH_VIDEOSSearch by keyword or #hashtagVideos with description, stats, author, music, URL
USER_PROFILEScrape user profileUsername, bio, follower/following/like counts, verified status
USER_VIDEOSList all videos from a userFull video list with stats
VIDEO_DETAILSGet full details for specific videosDescription, stats, music, hashtags, effects
VIDEO_COMMENTSExtract comments from videosComment text, author, likes, replies count, date
TRENDING_HASHTAGSDiscover trending hashtagsHashtag name, view count, video count

Input Examples

Search Videos

{
"mode": "SEARCH_VIDEOS",
"searchQueries": ["#fitness", "cooking recipes"],
"maxResults": 100,
"sortBy": "likes"
}

Scrape User Profile

{
"mode": "USER_PROFILE",
"usernames": ["charlidamelio", "khaby.lame"]
}

Scrape User Videos

{
"mode": "USER_VIDEOS",
"usernames": ["charlidamelio"],
"maxResults": 200
}

Video Details

{
"mode": "VIDEO_DETAILS",
"videoUrls": ["https://www.tiktok.com/@user/video/1234567890"]
}

Video Comments

{
"mode": "VIDEO_COMMENTS",
"videoUrls": ["https://www.tiktok.com/@user/video/1234567890"],
"maxCommentsPerVideo": 500
}
{
"mode": "TRENDING_HASHTAGS",
"maxResults": 50
}

Output Examples

Video

{
"id": "7234567890123456789",
"description": "Amazing recipe! #cooking #food",
"createTime": "2024-01-15T10:30:00.000Z",
"author": {
"uniqueId": "chefmike",
"nickname": "Chef Mike",
"verified": true
},
"stats": {
"views": 1500000,
"likes": 250000,
"comments": 3200,
"shares": 15000,
"saves": 45000
},
"music": {
"title": "original sound",
"author": "Chef Mike"
},
"video": {
"url": "https://www.tiktok.com/@chefmike/video/7234567890123456789",
"duration": 45
},
"hashtags": ["cooking", "food"]
}

User Profile

{
"username": "charlidamelio",
"displayName": "Charli D'Amelio",
"bio": "don't you dare",
"verified": true,
"stats": {
"followers": 155000000,
"following": 1200,
"likes": 11500000000,
"videos": 2500
}
}

Technical Details

  • Anti-bot evasion: Stealth mode with webdriver flag removal, navigator spoofing, canvas/WebGL fingerprint masking, and human-like behavior simulation.
  • Data extraction: Dual approach — intercepts TikTok internal API responses via Playwright route interception AND extracts from __UNIVERSAL_DATA_FOR_REHYDRATION__ embedded page data.
  • Pagination: Automatic scrolling with configurable limits. Handles infinite scroll patterns.
  • Proxies: Residential proxies strongly recommended (TikTok aggressively blocks datacenter IPs).

Pricing

Pay-Per-Event: $0.25 per 1,000 results ($0.00025 per result)

Proxy Configuration

TikTok blocks datacenter proxies aggressively. Use Apify residential proxies for best results:

{
"proxyConfiguration": {
"useApifyProxy": true,
"apifyProxyGroups": ["RESIDENTIAL"]
}
}

Limitations

  • TikTok frequently changes its internal API and page structure. The scraper handles multiple data formats to maximize reliability.
  • Private accounts cannot be scraped.
  • Some regions may require specific proxy locations.
  • Rate limits apply — the scraper uses delays and session rotation to stay under limits.