TikTok Scraper - Videos, Accounts, Hashtags by Keyword
Under maintenancePricing
from $0.50 / 1,000 run starts
TikTok Scraper - Videos, Accounts, Hashtags by Keyword
Under maintenanceSearch TikTok by keyword or hashtag and get every matching video and account as data: caption, author and follower count, views, likes, comments, shares, sound, hashtags and media URLs. Filter by date, likes and paid posts, and download the videos, covers and avatars.
Pricing
from $0.50 / 1,000 run starts
Rating
0.0
(0)
Developer
SR
Maintained by CommunityActor stats
0
Bookmarked
3
Total users
1
Monthly active users
3 days ago
Last modified
Categories
Features
Share
TikTok Scraper: videos, accounts and hashtags by keyword
Search TikTok the way you would in the app and get structured rows back. One row per video with the caption, the author and their follower count, the view, like, comment and share counts, the sound and the hashtags. One row per account that matched the same search, with followers, lifetime likes, bio and verification. No login, no API key, no TikTok developer account.
This TikTok scraper takes search terms, hashtags, or both, and returns data you can filter, sort and download without writing a parser.
What you get
- Videos: id, URL, caption, post date, duration, dimensions, thumbnail, play and download addresses, sound title and author, hashtags, and a flag for paid posts.
- Counts: views, likes, comments, shares and saves, as integers rather than the "1.2M" strings the site shows.
- Authors: handle, display name, account id, verification, follower count and how many videos they have published. Turn on the extra author fields and you also get bio, avatar, region, following count, lifetime likes and how many posts they have liked.
- Accounts: every account card the same search returned, with followers, lifetime likes, bio, avatar, verification reason and whether they are live.
- Related search words: the suggestions TikTok shows under the search box for each of your terms, which is a keyword list nobody has to guess at.
- Media files: videos, thumbnails, avatars, sound artwork and photo-post slideshow images, downloaded into the run's key-value store with a public link on the row.
- Filters: post date window, like-count window, and an option to drop paid posts, plus seven sort orders.
Why scrape TikTok
TikTok's own research API is gated behind an application, it is scoped to academic use, and it does not return the commercial fields most people want. The site's search page shows everything and exports nothing. So the two normal options are copying rows by hand or watching a spreadsheet go stale.
The harder problem is that a bare video address from TikTok is not a link you can use. Paste one into a browser, a CMS or a colleague's message and it comes back 403. That is why this Actor can download the file and hand you a stored copy with a link that works anywhere, rather than a URL that only works for the session that produced it.
Input
| Field | Type | Notes |
|---|---|---|
search | array | Search terms, one per line. Required. |
hashtags | array | Searched alongside the terms. The # is added for you. |
search_section | select | videos, accounts or both. |
max_videos_per_keyword | integer | Default 60. TikTok serves roughly 200 unique videos per term. |
max_profiles_per_query | integer | Default 10. Only used when accounts are requested. |
results_per_page | integer | 1 to 30, default 30. |
sort_by | select | relevance, likes, views, comments, shares, date (newest first), oldest. |
oldest_post_date | string | YYYY-MM-DD, an ISO timestamp, or 7 days / 3 months. |
newest_post_date | string | Same formats. A date-only day is included whole. |
min_likes | integer | Minimum likes. |
max_likes | integer | Maximum likes. Useful for finding small accounts. |
exclude_ads | boolean | Drop rows TikTok marks as advertising. |
scrape_additional_author_meta | boolean | Eight extra author fields. Free. |
scrape_related_search_words | boolean | Collect TikTok's own suggestions per term. Free. |
should_download_videos | boolean | Store the MP4 and put a working link on the row. |
should_download_covers | boolean | Store the thumbnail. |
should_download_avatars | boolean | Store the author or account avatar. |
should_download_music_covers | boolean | Store the sound artwork. |
should_download_slideshow_images | boolean | Store each image of a photo post. |
max_media_downloads | integer | Ceiling across every download option. Default 50. |
video_kv_store_id_or_name | string | Named key-value store for the files. |
country | string | Two-letter code. Sent as TikTok's region and pins the proxy exit. |
language | string | Two-letter code. |
proxy_country_code | string | Optional exit-country override, if it should differ from country. |
The older input names still work. Before this table was snake_case, the
fields were published as searchSection, maxVideosPerKeyword,
maxProfilesPerQuery, resultsPerPage, sortBy, oldestPostDate,
newestPostDate, leastDiggs, mostDiggs, excludeAds,
scrapeAdditionalAuthorMeta, scrapeRelatedSearchWords, the five
shouldDownload* flags, maxMediaDownloads, videoKvStoreIdOrName and
proxyCountryCode. Every one of them keeps working unchanged, so saved task
inputs and API calls made against the old names lose nothing. Where both names
are present in one input, the snake_case value wins. The old sort labels keep
their meaning too: most_liked, most_viewed, most_commented,
most_shared and newest map onto likes, views, comments, shares
and date. Note the direction on the likes window: leastDiggs is the
minimum and mostDiggs the maximum, exactly like min_likes and max_likes.
Output
{"result_type": "video","video_id": "7556807200576982303","url": "https://www.tiktok.com/@kenziiefit/video/7556807200576982303","description": "my go-to gym fit","created_at": "2025-10-03T01:51:43+00:00","handle": "kenziiefit","nickname": "Kenzie","author_verified": false,"follower_count": 184300,"play_count": 1250000,"like_count": 18000,"comment_count": 214,"share_count": 1103,"collect_count": 2890,"duration_seconds": 14,"cover_url": "https://...","music_title": "original sound","hashtags": ["gymfit", "nike"],"is_ad": false,"search_term": "nike","cover_file_url": "https://api.apify.com/v2/key-value-stores/.../records/7556807200576982303-cover.jpg","position": 1}
An account row looks like this:
{"result_type": "account","handle": "nike","url": "https://www.tiktok.com/@nike","nickname": "Nike","bio": "Just Do It.","follower_count": 9200000,"total_likes": 48982605,"author_verified": true,"verified_reason": "verified account","is_live": false,"search_term": "nike"}
The run's key-value store also holds summary (terms searched, videos and
accounts returned, how many rows the filters scanned and rejected, pages read,
media stored, and which country the run left from), errors, and
related_search_words when you asked for them.
Use cases
Creator and influencer research. Search your category, sort by likes, and set a maximum like count to skip the same five viral posts everyone has already seen. The account rows give you followers and lifetime likes in the same run, so a shortlist of mid-tier creators falls out of one search rather than an afternoon of tab-switching.
Competitor and brand monitoring. Run your brand name and your competitors' on a schedule, filter to the last seven days, and you have a feed of every public video mentioning them with the engagement attached. The paid-post flag separates organic mentions from advertising, which matters when you are reporting on earned reach rather than spend.
Content and hashtag strategy. Feed in a hashtag list and turn on related search words. You get the posts that rank for each tag plus the adjacent terms TikTok itself suggests, which is a keyword expansion list built from the platform's own data rather than a generic SEO tool.
Dataset building and archiving. Turn on the downloads and every row comes back with a stored MP4, thumbnail and avatar that keep working after TikTok's own addresses expire. Useful for training sets, for ad-creative libraries, and for anyone who has watched a research corpus evaporate because the links were temporary.
How it compares
The most-used TikTok scraper on the Apify Store charges $0.0037 per result plus $0.001 to start the run, and prices its date filter, popularity filter, country option and video downloads as separate add-ons on top.
| This Actor | The market leader | |
|---|---|---|
| Per video | $0.0026 | $0.0037 |
| Per account row | $0.0028 | $0.004 |
| Run start | $0.0005 | $0.001 |
| Extra author fields | free | not offered separately |
| Related search words | free | not offered |
| Accounts in the same run as videos | yes | separate Actor |
Where they are ahead, honestly: they also scrape profile feeds, followers and following lists, comments and transcripts, which this Actor does not. For comments see our TikTok Comments Scraper, and for a single video's file see our TikTok Video Downloader.
Pricing
Pay per event. Videos and account rows are charged per row, the filter add-on only applies when you actually set a filter, and downloads are charged per stored file. All pricing is pay-per-event, so you only pay for results you receive, with no per-compute-unit charges.
Limits and gotchas
- Date and like filters are applied after the fetch, not by TikTok. The
search endpoint accepts
publish_timeandsort_typeand then ignores both, measured live: identical requests overlapped 0.68 to 0.87 (TikTok's own run-to-run noise), and nosort_typeproduced a page ordered by likes (spearman(position, likes) 0.127 / 0.096 / -0.132 where a working "most liked" sort would sit near -1). So a narrow window reads more pages and returns fewer rows, and thesummaryrecord reportsvideosScannednext tovideosRejectedByFiltersso you can see exactly what the filter cost. - Sorting reorders what this run collected, not TikTok's whole index. Ask for more results if you want the sort to mean more.
- Accounts come from the same request as the videos, so asking for both
costs no extra fetching. It also means TikTok decides how many account cards
a search deserves, which is usually one to three. A large
max_profiles_per_queryreturns what exists, not what you typed. - TikTok serves roughly 200 unique videos per term and then repeats itself. Split a big job across several related terms rather than raising the cap.
countrydoes two things. It sets TikTok's region and pins the proxy exit when a proxy is configured, because the region parameter alone sat inside TikTok's own result volatility when measured.proxy_country_codeoverrides only the exit, for when the ranking market and the egress market should differ.- Downloaded files land in the run's key-value store, which Apify deletes
after the usual retention window. Set
video_kv_store_id_or_nameto keep them. - Free Apify plans are capped at 10 rows per run. The run still succeeds and reports the real count in its summary.
FAQ
Can I scrape TikTok without an API key? Yes. This Actor needs no TikTok account, no developer application and no key of your own.
How do I get TikTok video data by hashtag? Put the tag in the hashtags
field without the #. It is searched alongside any plain terms you give.
Can I download TikTok videos without a watermark? The Actor stores the file
TikTok's own download control serves. Turn on should_download_videos and the
row comes back with a link that works outside the session, which a raw TikTok
media address does not.
How do I find TikTok accounts by keyword? Set search_section to
accounts or both. Account rows carry followers, lifetime likes, bio and
verification.
Can I filter TikTok search results by date? Yes, with oldest_post_date
and newest_post_date, in absolute or relative form. Read the first bullet
under Limits for what that costs.