AS
Apify Store
/scraptik/tiktok-api
Full TikTok API Scraper
Apify’s LOWEST-COST TikTok Scraper ($0.002/request). Access the TikTok mobile API for user, posts, sounds, search, comments, followers, and more. Unlock TikTok data at scale. Have custom needs? Visit
liveasyncunknown~30s typical
social mediavideostiktok
$0.0025
per result + $0.005 call
plus $0.001 platform fee per run
Actor charges $0.002 per result; Cracked adds 25% plus a $0.005 call fee
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 /scraptik/tiktok-api for me.
Input
| Field | Type | Description |
|---|---|---|
| profile_username | string | Enter one TikTok username (without the @ symbol). Example: 'katyperry' default "" |
| profile_userId | string | User ID used for identifying a TikTok account. Example: 131256363632148480 default "" |
| profile_secUserId | string | Secondary user ID used by TikTok for user identification. Example: MS4wLjABAAAAv7iSuuXDJGDvJkmH_vz1qkDZYo1apxgzaxdBSeIuPiM default "" |
| profile_region | string | Optional 2-letter code for region (which might affect the data that appears). Defaults to 'GB' default "GB" |
| usernameToId_username | string | Get the user ID from the username. You'll use this ID for most requests. Example: 'katyperry' default "" |
| followers_userId | string | User ID to fetch followers for. Example: 131256363632148480 default "" |
| followers_secUserId | string | Secondary user ID used by TikTok for user identification. Example: MS4wLjABAAAAv7iSuuXDJGDvJkmH_vz1qkDZYo1apxgzaxdBSeIuPiM default "" |
| followers_count | integer | Number of followers to retrieve. Default is 10. default 10 |
| followers_maxTime | integer | Pagination cursor. Use the 'min_time' value from the previous response to fetch more results. default 0 |
| following_userId | string | User ID to fetch followings for. Example: 131256363632148480 default "" |
| following_secUserId | string | Optional secondary user ID. Example: MS4wLjABAAAAv7iSuuXDJGDvJkmH_vz1qkDZYo1apxgzaxdBSeIuPiM default "" |
| following_count | integer | Number of followings to retrieve. Default is 10. default 10 |
| following_maxTime | integer | Pagination cursor. Use the 'min_time' value from the previous response to fetch more results. default 0 |
| post_awemeId | string | The ID of the TikTok video post to retrieve. Example: 6811123699203329285 default "" |
| post_region | string | Optional 2-letter code for region (which might affect the data that appears). Defaults to 'GB' default "GB" |
| userPosts_userId | string | User ID whose posts should be retrieved. Example: 6546356850533602319 default "" |
| userPosts_secUserId | string | Optional secondary user ID. Example: MS4wLjABAAAAv7iSuuXDJGDvJkmH_vz1qkDZYo1apxgzaxdBSeIuPiM default "" |
| userPosts_count | integer | Number of posts to retrieve. Default is 10. default 10 |
| userPosts_region | string | Optional 2-letter code for region (which might affect the data that appears). Defaults to 'GB' default "GB" |
| userPosts_maxCursor | string | Pagination cursor for fetching next set of posts. default "0" |
| music_id | string | The ID of the TikTok music track to retrieve. Example: 6873491642666469377 default "" |
| musicPosts_musicId | string | ID of the music to fetch associated video posts. Example: 7047667719411370758 default "" |
| musicPosts_count | integer | Number of posts to retrieve. Default is 18. default 18 |
| musicPosts_cursor | integer | Pagination cursor for loading additional results. default 0 |
| challengePosts_cid | string | Hashtag/Challenge ID used to fetch associated posts. Example: 1592380847102982 default "" |
| challengePosts_count | integer | Number of challenge posts to fetch. Default is 20. default 20 |
| challengePosts_cursor | integer | Pagination cursor to retrieve more results for a challenge. default 0 |
| commentReplies_commentId | string | ID of the parent comment to fetch replies for. Example: 6999860547420766982 default "" |
| commentReplies_awemeId | string | ID of the TikTok post containing the comment. Example: 6996617408010112262 default "" |
| commentReplies_count | integer | Number of replies to fetch. Default is 10. default 10 |
| commentReplies_cursor | integer | Pagination cursor to retrieve more comment replies. default 0 |
| listComments_awemeId | string | ID of the TikTok post to fetch top-level comments for. Example: 6944028931875949829 default "" |
| listComments_count | integer | Number of top-level comments to fetch. Default is 10. default 10 |
| listComments_cursor | integer | Pagination cursor to retrieve more top-level comments. default 0 |
| userLikes_userId | string | User ID whose liked posts should be retrieved. Example: 6546356850533602319 default "" |
| userLikes_count | integer | Number of liked posts to retrieve. Default is 10. default 10 |
| userLikes_maxCursor | string | Pagination cursor for fetching additional liked posts. default "0" |
| searchUsers_keyword | string | Search for users by keyword. Example: 'japan' default "" |
| searchUsers_count | integer | Number of users to retrieve. Default is 20. default 20 |
| searchUsers_cursor | integer | Pagination cursor to retrieve more users. default 0 |
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":"/scraptik/tiktok-api","input":{},"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 /scraptik/tiktok-api -i '{}' -w 120mcp
run_tool({ provider: "apify", endpoint: "/scraptik/tiktok-api", input: {}, wait: false })Try it
Runs against your signed-in workspace balance. Sign in if you have not.