← API Catalog
Apify·Async
TikTok Profile Scraper
What it does
Extract data from TikTok profiles and videos they post. Get TikTok profile data, URLs, numbers of shares, followers, comments, hearts, video and music metadata. Export scraped data, run the scraper via API, schedule and monitor runs or integrate with other tools.
Returns: Extract data from TikTok profiles and videos they post. Get TikTok profile data, URLs, numbers of shares, followers, comments, hearts, video and music metadata. Export scraped data, run the scraper via API, schedule and monitor runs or integrate with other tools.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
profiles | array | Yes | Add one or multiple TikTok usernames or user IDs you want to scrape. You can enter the usernames one by one, or use the Bulk edit section to add a prepared list. |
mostDiggs | number | No | Optional charged filter. Scrapes only videos with less hearts than the number you add. Doesn't work with date filters |
leastDiggs | number | No | Optional charged filter. Scrapes only videos with no less hearts than the number you add. Doesn't work with date filters |
newestPostDate | text | No | Optional charged filter. Only videos uploaded before or on this date will be scraped. |
profileSorting | select | No | Select Latest to scrape the most recent videos first, Oldest - the oldest videos first, Popular - the most popular videos first. Date filters only work with Latest and Oldest. Only supported for Videos section. Note: Popular sorting is limited by TikTok to approximately 400–500 videos per profile and may return significantly fewer results than Latest or Oldest. |
resultsPerPage | number | No | The number of posts that will be scraped from every profile. |
commentsPerPost | number | No | The number of comments extracted from every result. Due to TikTok API limitations, the actual number of scraped comments may differ, especially for posts with thousands of comments. The link to the dataset will be under a field commentsDatasetURL in the output. |
excludePinnedPosts | boolean | No | Tick to exclude pinned posts from profiles. Pinned posts are usually the first videos on a profile's page. |
maxRepliesPerComment | number | No | The maximum number of replies you want from a single comment. Note: Successful extraction of all desired replies is currently not guaranteed. |
shouldDownloadCovers | boolean | No | Tick to download TikTok video cover images (thumbnails). |
shouldDownloadVideos | boolean | No | This is a charged add-on. Tick to download TikTok videos. |
videoKvStoreIdOrName | text | No | Name (or ID) of the Key Value Store where the videos and other media like thumbnails will be stored. Omit to store in the default one. Using this option will provide a named Key-Value store can help bypass data retention and store the content forever until the store is manually deleted. The Key-Value store's name can consist of a versatile combination of uppercase letters, lowercase letters, digits, or hyphens, all without any spaces. |
oldestPostDateUnified | text | No | Optional charged filter. Only videos uploaded after or on this date will be scraped. Alternatively, specify how old the scraped videos should be in days. Putting 1 will get you only today's posts, 2 - yesterday's and today's, and so on. |
profileScrapeSections | select | No | If a profile has reposted videos, you can scrape them by selecting 'Reposts'. If a profile currently has an active story, you can scrape it by selecting 'Stories' |
shouldDownloadAvatars | boolean | No | Tick to download authors' profile pictures. |
maxFollowersPerProfile | number | No | Scrapes number of 'Followers' profiles requested from the inputted profiles. You can find the link to the dataset under the followDatasetUrl field in the output. If you want to scrape only Followers/Following profiles, go to our TikTok Followers Scraper. |
maxFollowingPerProfile | number | No | Scrapes number of 'Following' profiles requested from the inputted profiles. You can find the link to the dataset under the followDatasetUrl field in the output. If you want to scrape only Followers/Following profiles, go to our TikTok Followers Scraper. |
topLevelCommentsPerPost | number | No | The maximum number of top-level (non-reply) comments you want from a single post. |
downloadSubtitlesOptions | select | No | Choose how to handle subtitles and audio transcription for input videos. Subtitles are provided by TikTok for some videos, and transcription means that this Actor will use speech-to-text AI to generate video transcript. Transcripts are charged as an extra event according to your plan. |
shouldDownloadSlideshowImages | boolean | No | Tick to download TikTok slideshow images. |
Endpoints
GET
/v1/agents/resources/inspect/apify.clockworks.tiktok-profile-scraperPublicPOST
/v1/agents/resources/estimate/apify.clockworks.tiktok-profile-scraperPublicPOST
/v1/agents/resources/run/apify.clockworks.tiktok-profile-scraperAgent keyGET
/v1/agents/resources/runs/{run_id}Agent keyQuick start
Run it with one Deva Agent Key over the OpenAI-compatible resource rail.
curl -X POST https://api.deva.me/v1/agents/resources/run/apify.clockworks.tiktok-profile-scraper \
-H "Authorization: Bearer deva_your_key_here" \
-H "Content-Type: application/json" \
--data '{
"params": {}
}'Related in Social
Instagram Scraper
Extract Instagram posts, reels, profiles, places, hashtags, carousels, and comments. Get data from Instagram using one or more Instagram URLs or search queries: content, context, metrics, metadata. Export scraped data, run the scraper via API, schedule and monitor runs or integrate with other tools.
Tweet Scraper V2 - X Scraper / Twitter Scraper / X.com Scraper
Lightning-fast search, URL, list, and profile scraping, with customizable filters. At $0.40 per 1000 tweets, and 30-80 tweets per second, it is ideal for researchers, entrepreneurs, and businesses! Get comprehensive insights from Twitter (X) now!
Instagram Post Scraper
Scrape Instagram posts. Just add one or more Instagram usernames and get your data in seconds including caption, metrics, images, mentions, coauthors, recent comments, sponsored status, video duration, views. Export scraped data, schedule scraper via API, integrate with other tools or AI workflows.
Facebook Posts Scraper
Extract posts, videos, and engagement metrics from Facebook pages. Get text captions, reactions, video transcripts, images, external links, collaborators, and more from Facebook pages and profiles. Export ad data, schedule runs via API, and integrate with other tools or AI workflows.
LinkedIn Profile Scraper + Email (No Cookies)
Extract detailed information from LinkedIn profiles in bulk, including complete work experience, education history, skills and more. No cookies or account required.
TikTok Data Extractor
Extract data about videos, users, and channels based on hashtags or scrape full user profiles including posts, total likes, name, nickname, numbers of comments, shares, followers, following, and more.