AS
Apify Store
/clockworks/tiktok-profile-scraper
Get TikTok Profile
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.
liveverifiedasyncdegraded · 4.1s~30s typical
tiktokprofilefollowers
$0.0020
per result + $0.01 call
plus $0.001 platform fee per run
Usage-based actor: event charges passed through at cost plus 25%
Bring your own Apify Store key: provider portion drops to $0.
$Set up https://cracked-ai-pearl.vercel.app/SKILL.md, then use Cracked to run apify /clockworks/tiktok-profile-scraper for me.
Input
| Field | Type | Description |
|---|---|---|
| profiles* | array | Add one or multiple TikTok usernames or user IDs you want to scrape. You can enter the usernames one by one, or use the <strong>Bulk edit</strong> section to add a prepared list. |
| profileScrapeSections | array | 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' default ["videos"] |
| profileSorting | string (latest | popular | oldest) | 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. default "latest" |
| resultsPerPage | integer | The number of posts that will be scraped from every profile. default 100 |
| oldestPostDateUnified | string | 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 <code>1</code> will get you only today's posts, <code>2</code> - yesterday's and today's, and so on. |
| newestPostDate | string | Optional charged filter. Only videos uploaded before or on this date will be scraped. |
| mostDiggs | integer | Optional charged filter. Scrapes only videos with less hearts than the number you add. Doesn't work with date filters |
| leastDiggs | integer | Optional charged filter. Scrapes only videos with no less hearts than the number you add. Doesn't work with date filters |
| maxFollowersPerProfile | integer | 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 | integer | 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. |
| excludePinnedPosts | boolean | Tick to exclude pinned posts from profiles. Pinned posts are usually the first videos on a profile's page. default false |
| shouldDownloadVideos | boolean | This is a charged add-on. Tick to download TikTok videos. default false |
| shouldDownloadCovers | boolean | Tick to download TikTok video cover images (thumbnails). default false |
| downloadSubtitlesOptions | string (NEVER_DOWNLOAD_SUBTITLES | DOWNLOAD_SUBTITLES | DOWNLOAD_AND_TRANSCRIBE_VIDEOS_WITHOUT_SUBTITLES | TRANSCRIBE_ALL_VIDEOS) | 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. default "NEVER_DOWNLOAD_SUBTITLES" |
| shouldDownloadSlideshowImages | boolean | Tick to download TikTok slideshow images. default false |
| shouldDownloadAvatars | boolean | Tick to download authors' profile pictures. default false |
| videoKvStoreIdOrName | string | 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.<br><br>The Key-Value store's name can consist of a versatile combination of uppercase letters, lowercase letters, digits, or hyphens, all without any spaces. |
| commentsPerPost | integer | 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. |
| topLevelCommentsPerPost | integer | The maximum number of top-level (non-reply) comments you want from a single post. |
| maxRepliesPerComment | integer | The maximum number of replies you want from a single comment. Note: Successful extraction of all desired replies is currently not guaranteed. |
Call it
curl
curl https://cracked-ai-pearl.vercel.app/v1/run \
-H "Authorization: Bearer ck_live_..." -H "content-type: application/json" \
-d '{"provider":"apify","endpoint":"/clockworks/tiktok-profile-scraper","input":{"profiles":["nike"],"resultsPerPage":10},"wait":false}'poll
curl "https://cracked-ai-pearl.vercel.app/v1/runs/<runId>?wait=30" -H "Authorization: Bearer ck_live_..."cli
npx cracked-ai run -p apify -e /clockworks/tiktok-profile-scraper -i '{"profiles":["nike"],"resultsPerPage":10}' -w 120mcp
run_tool({ provider: "apify", endpoint: "/clockworks/tiktok-profile-scraper", input: {"profiles":["nike"],"resultsPerPage":10}, wait: false })Try it
Runs against your signed-in workspace balance. Sign in if you have not.