TikTok Scraper - Videos, Profiles, Hashtags & Comments avatar

TikTok Scraper - Videos, Profiles, Hashtags & Comments

Pricing

from $0.12 / 1,000 videos

Go to Apify Store
TikTok Scraper - Videos, Profiles, Hashtags & Comments

TikTok Scraper - Videos, Profiles, Hashtags & Comments

TikTok scraper for videos, profiles, hashtags, sounds and comments: views, likes, shares, saves, followers, captions, music and video links. Scrape TikTok profiles, hashtag videos and comments with no login or cookies. TikTok API alternative: JSON, CSV, Excel. $0.15 per 1,000 videos.

Pricing

from $0.12 / 1,000 videos

Rating

5.0

(1)

Developer

Social Scrapers

Social Scrapers

Maintained by Community

Actor stats

0

Bookmarked

68

Total users

44

Monthly active users

4 days ago

Last modified

Features

Limited permissions

Share

TikTok Scraper extracts public TikTok data without logging in: videos and photo posts from profiles, hashtags, sounds and video URLs, each with its views, likes, shares, saves and comment count, caption, hashtags, mentions, music, subtitle links and the creator's followers, plus comments and replies and profile details. Download JSON, CSV or Excel, or call it as a TikTok API alternative: no TikTok account, no cookies, no API key. It costs $0.28 per 1,000 videos (until 26 November 2026: $0.15 per 1,000 videos).

💡 Need a feature that isn't here? Just ask. Open an issue on the Issues tab and tell us what you need: a new field, filter, input type or output format. We build requested features fast, usually within 24 hours, at no extra cost.

⭐ Found it useful? A short review on the Reviews tab helps other people find this scraper, and tells us what to build next.

What does TikTok Scraper do?

TikTok Scraper reads what TikTok shows a visitor who is not logged in. You can:

  • 👤 Scrape TikTok profiles: every video a profile shows, newest first, with exact counts, or just the newest few. Usernames (nasa, @nasa) or profile URLs.
  • #️⃣ Scrape TikTok hashtags: the videos on a hashtag's page, with the hashtag's total views and videos.
  • 🎵 Scrape TikTok sounds (music): the videos that use a sound.
  • 🎬 Scrape single TikTok videos and photo posts by URL, short share link (vm.tiktok.com/…), mobile link or video ID.
  • 💬 Scrape TikTok comments and replies: text, likes, reply count, date, author, and whether the creator liked or pinned the comment.
  • 📊 Get profile details: followers (exact), following, total likes, number of videos, bio, bio link, verified badge, avatar, business and seller flags.
  • 📅 Only new videos: a date filter (7 days, 2w, 2026-01-31, 31/01/2026, Jan 31 2026, yesterday) that stops reading a profile as soon as it passes the date.
  • ♾️ No upper limits: 10 videos or a whole profile; set any limit to 0 for everything TikTok shows.
  • ✅ Each video once per run (even when a profile and a hashtag both find it), and you pay only for results: missing videos, private accounts and unknown hashtags cost nothing. Set a maximum cost per run and it stops cleanly there.

What data can you extract from TikTok?

ItemData you get
Video (also photo posts)caption, URL, ID, post date, views, likes, shares, saves, comment count, reposts, duration, hashtags, mentions, cover image, first frame, animated cover, video file URL, download URL, width, height, resolution, subtitle and caption file links, photo post pictures, effects, tagged place, country of posting, pinned, ad and AI-generated flags
Sound of each videosound ID, title, artist, album, original sound or not, duration, cover, audio URL
Creator of each videousername, display name, user ID, profile URL, verified badge, private account, bio, avatar, followers, following, total likes, number of videos
Comment and replytext, comment ID, likes, reply count, date, language, author (username, display name, profile URL, avatar), liked by the creator, pinned by the creator, the comment a reply answers
Profile detailsusername, display name, user ID, bio, bio link, followers (exact), following, likes, videos, friends, verified, private, organization, business and TikTok Shop seller flags, avatar, language
Where it was foundsource (profile, hashtag, sound or URL) and the input entry

How to scrape TikTok

  1. Open TikTok Scraper on Apify and click Try for free.
  2. Enter profiles, video URLs, hashtags or sounds, in any mix.
  3. Set how many videos you want per profile, hashtag and sound (0 = everything TikTok shows).
  4. Optionally add a date filter, profile details, comments and replies.
  5. Click Start. When the run finishes, download the results as JSON, CSV, Excel, XML or HTML, or read them through the API.

How to scrape a TikTok profile

Add the username or the profile URL, for example https://www.tiktok.com/@nasa. Videos per profile sets how many of its newest videos you get; 0 gets every video the profile shows. Switch on Save profile details for one extra item with the followers, likes, bio and link, or Profile details only to skip the videos.

How to scrape TikTok hashtags

Add hashtags with or without the #, for example booktok or #料理 (any language works), or hashtag URLs such as https://www.tiktok.com/tag/booktok. Each hashtag gets the videos TikTok shows on its page, top videos first.

How to scrape TikTok comments

Add videos, profiles, hashtags or sounds, switch on Save comments and set Comments per video (0 = all). Switch on Save replies to get each comment's replies right after it, with parentId pointing to the comment.

How much does it cost to scrape TikTok?

TikTok Scraper is pay-per-result: $0.28 per 1,000 videos, $0.28 per 1,000 comments and $0.10 per 1,000 profiles from 26 November 2026 (22:20 UTC), platform usage and proxies included. Until then the price is $0.15 per 1,000 videos, $0.05 per 1,000 comments and $0.10 per 1,000 profiles. There is no monthly fee for the Actor. You pay one video event for each video or photo post saved, one comment event for each comment or reply, and one profile event for each profile details item:

Your Apify planPer 1,000 videosPer 1,000 commentsPer 1,000 profiles
Free and Starter (Bronze)$0.28$0.28$0.10
Scale (Silver)$0.252 (−10%)$0.252$0.09
Business (Gold), Platinum, Diamond$0.224 (−20%)$0.224$0.08

Until 26 November 2026: videos $0.15 (Silver $0.135, Gold $0.12), comments $0.05 (Silver $0.045, Gold $0.04), profiles $0.10 (Silver $0.09, Gold $0.08) per 1,000.

From 26 November 2026 each run also carries Apify's standard start charge of $0.00005, one per GB of memory (one at the default 1 GB).

Examples, until 26 November 2026 → from 26 November 2026:

  • 1,000 videos from profiles, hashtags or URLs: $0.15 → $0.28.
  • 100 videos with 100 comments each (10,000 comments): $0.015 + $0.50 = $0.515 → $0.028 + $2.80 = $2.828.
  • 5,000 profiles, details only: $0.50 in both periods.

Apify's free plan comes with $5 of platform credit every month, enough to try TikTok Scraper on about 30,000 videos until 26 November 2026, and about 17,000 videos after. To cap a run's cost, set Maximum cost per run in the run options: the scraper stops cleanly before the first result that would go over it.

Input example

{
"profiles": ["nasa", "https://www.tiktok.com/@natgeo"],
"maxVideosPerProfile": 50,
"videoUrls": ["https://www.tiktok.com/@nasa/video/7705574810113314061"],
"hashtags": ["booktok", "#space"],
"maxVideosPerHashtag": 100,
"sounds": ["https://www.tiktok.com/music/original-sound-7066027456276581122"],
"maxVideosPerSound": 50,
"onlyPostsNewerThan": "30 days",
"includeProfileInfo": true,
"includeComments": true,
"maxCommentsPerVideo": 200,
"includeReplies": true,
"maxRepliesPerComment": 10
}

Supported URLs: profiles (tiktok.com/@user, also m.tiktok.com), videos and photo posts (/@user/video/…, /@user/photo/…), short links (vm.tiktok.com/…, vt.tiktok.com/…, tiktok.com/t/…), mobile and embed links (m.tiktok.com/v/….html, /embed/v2/…, /player/v1/…), hashtags (/tag/…) and sounds (/music/…). Video and sound IDs work on their own too.

Output example

Each result has a dataType: video, comment or profile. A value TikTok does not show is null. The dataset has three views: Videos, Comments and Profiles.

A video from NASA's profile (long media URLs shortened):

{
"dataType": "video",
"id": "7702504724049743117",
"url": "https://www.tiktok.com/@nasa/video/7702504724049743117",
"text": "Another week of building, flying, and looking ahead at NASA 🚀 🌔 Artemis III core stage integrated 🛰️ New solar array installed on the ISS 🪐 Send your name to Titan aboard Dragonfly ✈️ MAX POWER heads to Kennedy Space Center next week Here’s your NASA Minute!",
"textLanguage": "en",
"createTime": 1793379164,
"createTimeISO": "2026-10-30T16:52:44.000Z",
"hashtags": [],
"mentions": [],
"playCount": 223100,
"diggCount": 18600,
"shareCount": 713,
"commentCount": 394,
"collectCount": 2151,
"repostCount": 0,
"duration": 108,
"isSlideshow": false,
"images": [],
"isPinned": false,
"isAd": false,
"isAIGenerated": null,
"locationCreated": null,
"location": null,
"coverUrl": "https://p16-common-sign.tiktokcdn-us.com/tos-useast5-p-0068-tx/o8e3EAJERS9f6tHYlgAMTQA5IAHqg8Dy6arDFC~tplv-tiktokx-origin.image?...",
"originalCoverUrl": "https://p16-common-sign.tiktokcdn-us.com/...",
"dynamicCoverUrl": "https://p19-common-sign.tiktokcdn-us.com/...",
"playUrl": "https://v16-webapp-prime.us.tiktok.com/video/tos/useast5/...",
"downloadUrl": "https://v16-webapp-prime.us.tiktok.com/video/tos/useast5/...",
"width": 720,
"height": 1280,
"definition": "720p",
"subtitles": [{ "language": "eng-US", "format": "webvtt", "url": "https://v16m-webapp.tiktokcdn-us.com/...", "isAutoGenerated": true }],
"effects": [],
"categories": [],
"music": {
"id": "7702504816472640270",
"title": "original sound - NASA",
"authorName": "NASA",
"album": null,
"isOriginal": false,
"duration": 108,
"coverUrl": "https://p16-common.tiktokcdn-us.com/...",
"playUrl": "https://v16-webapp-prime.us.tiktok.com/..."
},
"author": {
"id": "7664638705177150477",
"username": "nasa",
"nickname": "NASA",
"url": "https://www.tiktok.com/@nasa",
"verified": true,
"isPrivate": false,
"bio": "Making the seemingly impossible, possible.✨",
"avatarUrl": "https://p19-common-sign.tiktokcdn-us.com/...",
"followers": 2200000,
"following": 23,
"likes": 11600000,
"videos": 63
},
"source": "profile",
"sourceInput": "nasa",
"scrapedAt": "2026-11-08T11:58:54.000Z"
}

A comment (a reply has the same fields, with parentId set):

{
"dataType": "comment",
"id": "COMMENT_ID",
"videoId": "7700397098994273549",
"videoUrl": "https://www.tiktok.com/@nasa/video/7700397098994273549",
"text": "When is the next launch?",
"createTime": 1792888662,
"createTimeISO": "2026-10-25T00:37:42.000Z",
"diggCount": 29,
"replyCount": 2,
"parentId": null,
"likedByAuthor": false,
"pinnedByAuthor": false,
"language": "en",
"author": { "id": "USER_ID", "username": "viewer", "nickname": "Viewer", "url": "https://www.tiktok.com/@viewer", "avatarUrl": "https://..." },
"scrapedAt": "2026-11-08T11:58:55.000Z"
}

NASA's profile details:

{
"dataType": "profile",
"id": "7664638705177150477",
"username": "nasa",
"nickname": "NASA",
"url": "https://www.tiktok.com/@nasa",
"bio": "Making the seemingly impossible, possible.✨",
"bioLink": "science.nasa.gov/feature/artemis-ii-preliminary-lunar-science-report",
"verified": true,
"isPrivate": false,
"followers": 2166152,
"following": 23,
"likes": 11586067,
"videos": 63,
"friends": 17,
"language": "en",
"region": null,
"isOrganization": true,
"isSeller": false,
"isBusiness": false,
"input": "nasa"
}

Use cases

  • Influencer marketing: find creators by hashtag or sound, then pull each one's followers, likes and recent performance.
  • Competitor and brand monitoring: track what brands and media accounts post and how each video performs, daily with a date filter.
  • Trend research: the top videos of a hashtag or a sound, with their views, likes and shares.
  • Comment and sentiment analysis: collect comments and replies for opinion mining, product feedback and community research.
  • Content strategy: compare captions, hashtags, lengths and posting times of the videos that perform best.
  • AI and LLM datasets: captions, comments and subtitle links with metadata, ready for training, summaries or retrieval (RAG).

Use TikTok Scraper via API, Python, JavaScript and integrations

Run it and get the results in one call with the Apify API:

curl -X POST "https://api.apify.com/v2/acts/socialscrapers~tiktok-scraper/run-sync-get-dataset-items?token=YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"profiles": ["nasa"], "maxVideosPerProfile": 20}'

Python, with the Apify client:

from apify_client import ApifyClient
client = ApifyClient("YOUR_API_TOKEN")
run = client.actor("socialscrapers/tiktok-scraper").call(run_input={
"hashtags": ["booktok"],
"maxVideosPerHashtag": 100,
})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
print(item["url"], item["playCount"])

JavaScript, with the Apify client:

import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: 'YOUR_API_TOKEN' });
const run = await client.actor('socialscrapers/tiktok-scraper').call({ videoUrls: ['https://www.tiktok.com/@nasa/video/7705574810113314061'], includeComments: true });
const { items } = await client.dataset(run.defaultDatasetId).listItems();

You can also schedule runs, get a webhook when a run finishes, and connect the results to Make, Zapier, n8n, Google Sheets, Slack and other tools through Apify integrations. AI agents and assistants can run TikTok Scraper through Apify's MCP server.

Limits

  • Public content only. The scraper never logs in. Private accounts give their profile details but no videos; deleted and private videos are skipped and listed in the log.
  • Hashtags: TikTok shows a visitor who is not logged in the top videos of a hashtag, about 100 to 200, not every video ever posted with it. For more, add related hashtags.
  • Comments: on very busy videos TikTok shows a visitor most comments but not every one (in tests, about 3,900 top-level comments of a video with 6,200 comments and replies).
  • Search is not included: TikTok shows search results only to logged-in users.
  • Media links expire after some hours: download covers, pictures and video files soon after the run.
  • Numbers are exact on profile items; the creator's counts inside video items are TikTok's rounded ones (2.2M).
  • Proxy and region: The scraper picks Apify Proxy's tier itself: datacenter first, residential only when TikTok refuses a request. TikTok shows each country its own version of the site: the default is the United States; pick another proxy country for another region.
  • Not included: follower and following lists, stories, live streams, reposts, TikTok Shop products and the video files themselves.
  • Short share links (vm.tiktok.com/…, vt.tiktok.com/…, tiktok.com/t/…) are followed to what they open, under either field: a video is scraped as a video, a profile as a profile. Following a link is never charged.
  • A run with 0 results still succeeds, and no results are charged. When a profile does not exist or is private, a video was deleted, a short link leads nowhere, or a hashtag shows nothing, the run ends as Succeeded with a status message naming each entry and why. When no entry is usable at all (an empty input, a name with spaces, a link to another site), the run ends as Succeeded at once, with a status message that starts "Nothing to scrape:", says how to fix the input and ends "No results were charged." A run fails only when TikTok refuses the scraper itself (every one of 3 or more entries, and a profile that is always public too), or on an internal error.

FAQ

Is it legal to scrape TikTok? TikTok Scraper collects only data that anyone can see on tiktok.com without logging in. Comments and profiles can contain personal data, which laws such as the GDPR protect, so collect only what you need and have a legitimate reason for it. You are responsible for how you use the data and for following TikTok's terms and the laws that apply to you.

Do I need a TikTok account, cookies or an API key? No. Give profiles, video URLs, hashtags or sounds and start the run.

How many videos can I get? The scraper sets no upper limit. Profiles are read in full if you set 0; hashtags give what TikTok shows visitors (about 100 to 200 top videos each); sounds go as deep as TikTok lists them.

Why did I get fewer results than I asked for? The profile has fewer videos, the date filter cut the list, TikTok showed no more for that hashtag, or the run reached its maximum cost. The run log says which, for each input.

How do I get only new videos? Set Only videos newer than (for example 7 days) and schedule the run daily or weekly. Profiles stop reading as soon as they pass the date.

Can I download TikTok videos? Each video item has playUrl and downloadUrl links to the video file and coverUrl for the cover. The links expire after some hours, so download soon after the run.

Does it get TikTok photo posts (slideshows)? Yes: isSlideshow is true and images lists the pictures.

How fast is it? In test runs, start-up included: 500 videos from 5 profiles took about 25 seconds, 300 video URLs about 40 seconds, all 3,900 comments of a busy video about a minute, and a hashtag's 150 top videos 40 to 90 seconds at the default 1 GB of memory (about 20 seconds at 4 GB).

Other scrapers by Social Scrapers

ScraperWhat it gets
TikTok APIProfiles, Videos and Comments
TikTok Comments ScraperComments, Replies and Likes
TikTok Hashtag ScraperTop Videos, Views and Likes
TikTok Profile ScraperFollowers, Bio, Stats and Videos
TikTok Sound ScraperVideos Using a Sound and Music Info
TikTok Video ScraperViews, Likes, Captions and Comments
Instagram APIProfiles, Posts, Reels, Comments and Hashtags
Instagram Comments ScraperComments, Likes and Reply Counts
Instagram Hashtag ScraperReels and Keyword Search
Instagram Post Details ScraperLikes, Comments, Views and Media
Instagram Post ScraperPosts, Reels and Comments
Instagram Profile ScraperFollowers, Bio, Posts and Reels
Instagram Reels ScraperReels, Plays, Likes and Comments
Instagram Reels Transcript ScraperSpeech to Text and Captions
Instagram ScraperPosts, Profiles, Reels, Comments and Hashtags
YouTube APIVideos, Transcripts, Search, Channels and Comments
YouTube Channel ScraperVideos, Shorts, Subscribers and About
YouTube Comments ScraperComments, Replies and Likes
YouTube ScraperVideos, Shorts, Channels and Comments
YouTube Search ScraperVideos, Channels, Views and Filters
YouTube Shorts ScraperShorts, Views, Likes and Search
YouTube Transcript ScraperSubtitles, Captions and SRT
YouTube Video Details ScraperStats, Subtitles and Comments
Facebook Ads Library ScraperMeta Ad Library and Spend
Facebook Comments ScraperPosts, Reels, Videos and Replies
Facebook Groups ScraperPublic Group Posts and Reactions
Facebook Marketplace ScraperPrices, Locations and Sellers
Facebook Page Contact Info ScraperEmail, Phone and WhatsApp
Facebook Posts ScraperPages, Profiles and Timelines
Facebook Pages ScraperProfiles, Contact Info and Reviews
Facebook Reels ScraperReels, Videos, Plays and Captions
X (Twitter) Profile ScraperFollowers, Bio and Tweets
X (Twitter) Tweet ScraperLatest Posts by Profile
Threads Profile ScraperFollowers, Bio, Links and Posts
Threads Replies ScraperComments, Authors, Likes and Media
Threads ScraperPosts, Profiles, Replies and Search
Threads Search ScraperKeywords, Hashtags, Top and Recent Posts
Reddit Comments ScraperThreads, Replies, Votes and Authors
Reddit ScraperPosts, Comments, Subreddits, Users and Search
Reddit Search ScraperPosts by Keyword, Subreddit and Date
Reddit User ScraperProfiles, Karma, Posts and Comments
Subreddit ScraperHot, New and Top Posts with Comments
Quora ScraperAnswers, Questions, Profiles and Topic Search
LinkedIn Ad Library ScraperAds, Advertisers and Impressions
LinkedIn Job Search ScraperFilters, Salaries and New Jobs
LinkedIn Jobs ScraperJob Listings, Salaries and Companies
Google Maps Email ExtractorEmails, Phones and Social Links
Google Maps ScraperPlaces, Phones, Websites, Ratings and Hours
Google News ScraperHeadlines, Articles and Search
Google Ads Transparency ScraperAd Creatives and Advertisers
Amazon Product ScraperSearch Results, Prices, Ratings, ASINs
Indeed Jobs ScraperSalaries, Full Descriptions, Company Data
Contact Details ScraperEmails, Phones and Social Links
Telegram Channel ScraperPosts, Views and Media
Doximity ScraperPhysician Profiles and Doctor Directory
KevinMD ScraperPhysician Articles and Author Specialties
Op-Med ScraperPhysician Essays and Doctor Profiles
Career Site Jobs ScraperGreenhouse, Lever, Ashby and Workday
Google Trends ScraperInterest Over Time, Regions and Queries