
TikTok API (pay per event)
Pricing
Pay per event

TikTok API (pay per event)
The MOST stable, maintained, & simple unofficial TikTok API/scraping solution, unlocking TikTok data at scale. Seamlessly access data from the TikTok mobile app, including user, post, music, search, feeds, comments, followers, and trends. We handle all proxies. Have custom needs? Visit scraptik.com
5.0 (1)
Pricing
Pay per event
0
Total users
5
Monthly users
5
Runs succeeded
>99%
Last modified
2 days ago
username
profile_username
stringOptional
Enter one TikTok username (without the @ symbol). Example: 'katyperry'
Default value of this property is ""
user_id
profile_userId
stringOptional
User ID used for identifying a TikTok account. Example: 131256363632148480
Default value of this property is ""
sec_user_id
profile_secUserId
stringOptional
Secondary user ID used by TikTok for user identification. Example: MS4wLjABAAAAv7iSuuXDJGDvJkmH_vz1qkDZYo1apxgzaxdBSeIuPiM
Default value of this property is ""
username
usernameToId_username
stringOptional
Get the user ID from the username. You'll use this ID for most requests. Example: 'katyperry'
Default value of this property is ""
user_id
followers_userId
stringOptional
User ID to fetch followers for. Example: 131256363632148480
Default value of this property is ""
sec_user_id
followers_secUserId
stringOptional
Secondary user ID used by TikTok for user identification. Example: MS4wLjABAAAAv7iSuuXDJGDvJkmH_vz1qkDZYo1apxgzaxdBSeIuPiM
Default value of this property is ""
count
followers_count
integerOptional
Number of followers to retrieve. Default is 10.
Default value of this property is 10
max_time
followers_maxTime
integerOptional
Pagination cursor. Use the 'min_time' value from the previous response to fetch more results.
Default value of this property is 0
user_id
following_userId
stringOptional
User ID to fetch followings for. Example: 131256363632148480
Default value of this property is ""
sec_user_id
following_secUserId
stringOptional
Optional secondary user ID. Example: MS4wLjABAAAAv7iSuuXDJGDvJkmH_vz1qkDZYo1apxgzaxdBSeIuPiM
Default value of this property is ""
count
following_count
integerOptional
Number of followings to retrieve. Default is 10.
Default value of this property is 10
max_time
following_maxTime
integerOptional
Pagination cursor. Use the 'min_time' value from the previous response to fetch more results.
Default value of this property is 0
aweme_id
post_awemeId
stringOptional
The ID of the TikTok video post to retrieve. Example: 6811123699203329285
Default value of this property is ""
user_id
userPosts_userId
stringOptional
User ID whose posts should be retrieved. Example: 6546356850533602319
Default value of this property is ""
sec_user_id
userPosts_secUserId
stringOptional
Optional secondary user ID. Example: MS4wLjABAAAAv7iSuuXDJGDvJkmH_vz1qkDZYo1apxgzaxdBSeIuPiM
Default value of this property is ""
count
userPosts_count
integerOptional
Number of posts to retrieve. Default is 10.
Default value of this property is 10
max_cursor
userPosts_maxCursor
stringOptional
Pagination cursor for fetching next set of posts.
Default value of this property is "0"
music_id
music_id
stringOptional
The ID of the TikTok music track to retrieve. Example: 6873491642666469377
Default value of this property is ""
music_id
musicPosts_musicId
stringOptional
ID of the music to fetch associated video posts. Example: 7047667719411370758
Default value of this property is ""
count
musicPosts_count
integerOptional
Number of posts to retrieve. Default is 18.
Default value of this property is 18
cursor
musicPosts_cursor
integerOptional
Pagination cursor for loading additional results.
Default value of this property is 0
cid
challengePosts_cid
stringOptional
Hashtag/Challenge ID used to fetch associated posts. Example: 1592380847102982
Default value of this property is ""
count
challengePosts_count
integerOptional
Number of challenge posts to fetch. Default is 20.
Default value of this property is 20
cursor
challengePosts_cursor
integerOptional
Pagination cursor to retrieve more results for a challenge.
Default value of this property is 0
comment_id
commentReplies_commentId
stringOptional
ID of the parent comment to fetch replies for. Example: 6999860547420766982
Default value of this property is ""
aweme_id
commentReplies_awemeId
stringOptional
ID of the TikTok post containing the comment. Example: 6996617408010112262
Default value of this property is ""
count
commentReplies_count
integerOptional
Number of replies to fetch. Default is 10.
Default value of this property is 10
cursor
commentReplies_cursor
integerOptional
Pagination cursor to retrieve more comment replies.
Default value of this property is 0
aweme_id
listComments_awemeId
stringOptional
ID of the TikTok post to fetch top-level comments for. Example: 6944028931875949829
Default value of this property is ""
count
listComments_count
integerOptional
Number of top-level comments to fetch. Default is 10.
Default value of this property is 10
cursor
listComments_cursor
integerOptional
Pagination cursor to retrieve more top-level comments.
Default value of this property is 0
user_id
userLikes_userId
stringOptional
User ID whose liked posts should be retrieved. Example: 6546356850533602319
Default value of this property is ""
count
userLikes_count
integerOptional
Number of liked posts to retrieve. Default is 10.
Default value of this property is 10
max_cursor
userLikes_maxCursor
stringOptional
Pagination cursor for fetching additional liked posts.
Default value of this property is "0"
keyword
searchUsers_keyword
stringOptional
Search for users by keyword. Example: 'japan'
Default value of this property is ""
count
searchUsers_count
integerOptional
Number of users to retrieve. Default is 20.
Default value of this property is 20
cursor
searchUsers_cursor
integerOptional
Pagination cursor to retrieve more users.
Default value of this property is 0
keyword
searchPosts_keyword
stringOptional
Search for posts by keyword. Example: 'nike'
Default value of this property is ""
count
searchPosts_count
integerOptional
Number of posts to retrieve. Default is 10.
Default value of this property is 10
offset
searchPosts_offset
integerOptional
Offset for pagination. Default is 0.
Default value of this property is 0
use_filters
searchPosts_useFilters
booleanOptional
Whether to use filters. Default is false. 0 is false, 1 is true.
Default value of this property is false
publish_time
searchPosts_publishTime
integerOptional
Publish time for filtering posts. Default is 0. 0 = All Time, 1 = Yesterday, 7 = This Week, 30 = This Month, 90 = Last 3 Months, 180 = Last 6 Months
Default value of this property is 0
sort_type
searchPosts_sortType
integerOptional
Sort type for filtering posts. Default is 0. 0 = Relevance, 1 = Most Liked, 3 = Date
Default value of this property is 0
keyword
searchSounds_keyword
stringOptional
Search for sounds by keyword. Example: 'japan'
Default value of this property is ""
count
searchSounds_count
integerOptional
Number of sounds to retrieve. Default is 10.
Default value of this property is 10
cursor
searchSounds_cursor
integerOptional
Pagination cursor to retrieve more sounds.
Default value of this property is 0
use_filters
searchSounds_useFilters
booleanOptional
Whether to use filters. Default is false. 0 is no, 1 is yes.
Default value of this property is false
filter_by
searchSounds_filterBy
integerOptional
Filter by. Default is 0. 0 = All, 1 = Title, 2 = Creators
Default value of this property is 0
sort_type
searchSounds_sortType
integerOptional
Sort type for filtering sounds. Default is 0. 0 = Relevance, 1 = Most used, 2 = Most recent, 3 = Shortest, 4 = Longest
Default value of this property is 0
keyword
searchHashtags_keyword
stringOptional
Search for hashtags by keyword. Example: 'japan'
Default value of this property is ""
count
searchHashtags_count
integerOptional
Number of hashtags to retrieve. Default is 20.
Default value of this property is 20
cursor
searchHashtags_cursor
integerOptional
Pagination cursor to retrieve more hashtags.
Default value of this property is 0
keyword
searchLives_keyword
stringOptional
Search for lives by keyword. Example: 'tiktok'
Default value of this property is ""
count
searchLives_count
integerOptional
Number of lives to retrieve. Default is 20.
Default value of this property is 20
offset
searchLives_offset
integerOptional
Offset for pagination. Default is 0.
Default value of this property is 0
run discover music
discoverMusic_run
booleanOptional
Check to run the Discover Music endpoint.
Default value of this property is false
count
discoverMusic_count
integerOptional
Number of songs to retrieve. Default is 10.
Default value of this property is 10
cursor
discoverMusic_cursor
integerOptional
Pagination cursor to retrieve more songs.
Default value of this property is 0
run trending creators
trendingCreators_run
booleanOptional
Check to run the Trending Creators endpoint.
Default value of this property is false