All platforms

TikTok API

23 endpoints for public TikTok data, from 1 credit a call. Same response format and field names as every other platform.

curl "https://scrapeio.com/v1/tiktok/profile?handle=nike" \
  -H "x-api-key: YOUR_KEY"
GET/v1/tiktok/profile1 credit

TikTok profile: bio, avatar, followers, following, likes, video count.

ParameterTypeDescription
handlerequiredstringTikTok username, with or without @.
curl "https://scrapeio.com/v1/tiktok/profile?handle=nike" \
  -H "x-api-key: YOUR_KEY"
GET/v3/tiktok/profile/videos1 credit

A profile's videos, newest first, with plays, likes, comments, shares and saves.

ParameterTypeDescription
handlerequiredstringTikTok username, with or without @.
cursorstringCursor from the previous page's data.cursor.
curl "https://scrapeio.com/v3/tiktok/profile/videos?handle=nike" \
  -H "x-api-key: YOUR_KEY"
GET/v2/tiktok/video5 credits

One TikTok video by URL: stats, caption, author, music, download URL.

ParameterTypeDescription
urlrequiredstringTikTok video URL.
curl "https://scrapeio.com/v2/tiktok/video?url=..." \
  -H "x-api-key: YOUR_KEY"
GET/v1/tiktok/video/transcript5 credits

Spoken-word transcript of a TikTok video, from its captions.

ParameterTypeDescription
urlrequiredstringTikTok video URL.
languagestringPreferred language code, e.g. en.
curl "https://scrapeio.com/v1/tiktok/video/transcript?url=..." \
  -H "x-api-key: YOUR_KEY"
GET/v1/tiktok/video/comments1 credit

Comments on a TikTok video, most liked first.

ParameterTypeDescription
urlrequiredstringTikTok video URL.
cursorstringCursor from the previous page's data.cursor.
curl "https://scrapeio.com/v1/tiktok/video/comments?url=..." \
  -H "x-api-key: YOUR_KEY"
GET/v1/tiktok/video/comment/replies1 credit

Replies to one TikTok comment.

ParameterTypeDescription
urlrequiredstringTikTok video URL.
comment_idrequiredstringComment id from the comments endpoint.
cursorstringCursor from the previous page's data.cursor.
curl "https://scrapeio.com/v1/tiktok/video/comment/replies?url=...&comment_id=..." \
  -H "x-api-key: YOUR_KEY"
GET/v1/tiktok/search/keyword5 credits

Search TikTok videos by keyword.

ParameterTypeDescription
queryrequiredstringSearch text.
sort_byrelevance, most-liked, latestSort order.
date_postedall, yesterday, this-week, this-month, last-3-months, last-6-monthsPosted within.
cursorstringCursor from the previous page's data.cursor.
curl "https://scrapeio.com/v1/tiktok/search/keyword?query=coffee" \
  -H "x-api-key: YOUR_KEY"
GET/v1/tiktok/search/users5 credits

Search TikTok accounts by keyword.

ParameterTypeDescription
queryrequiredstringSearch text.
cursorstringCursor from the previous page's data.cursor.
curl "https://scrapeio.com/v1/tiktok/search/users?query=coffee" \
  -H "x-api-key: YOUR_KEY"
GET/v1/tiktok/search/hashtag5 credits

Videos under a hashtag, plus the hashtag's totals.

ParameterTypeDescription
hashtagrequiredstringHashtag, with or without #.
cursorstringCursor from the previous page's data.cursor.
curl "https://scrapeio.com/v1/tiktok/search/hashtag?hashtag=travel" \
  -H "x-api-key: YOUR_KEY"
GET/v1/tiktok/user/followers5 credits

A profile's followers, newest first.

ParameterTypeDescription
handlerequiredstringTikTok username, with or without @.
cursorstringCursor from the previous page's data.cursor.
curl "https://scrapeio.com/v1/tiktok/user/followers?handle=nike" \
  -H "x-api-key: YOUR_KEY"
GET/v1/tiktok/user/liked1 credit

Videos a profile has liked (when public).

ParameterTypeDescription
handlerequiredstringTikTok username, with or without @.
cursorstringCursor from the previous page's data.cursor.
curl "https://scrapeio.com/v1/tiktok/user/liked?handle=nike" \
  -H "x-api-key: YOUR_KEY"
GET/v1/tiktok/song5 credits

A TikTok sound: title, author, duration, usage count.

ParameterTypeDescription
urlrequiredstringTikTok sound or video URL.
curl "https://scrapeio.com/v1/tiktok/song?url=..." \
  -H "x-api-key: YOUR_KEY"
GET/v1/tiktok/song/videos5 credits

Videos that use a sound.

ParameterTypeDescription
music_idrequiredstringSound id from the song endpoint.
cursorstringCursor from the previous page's data.cursor.
curl "https://scrapeio.com/v1/tiktok/song/videos?music_id=..." \
  -H "x-api-key: YOUR_KEY"
GET/v1/tiktok/collection/videos5 credits

Collection Videos

ParameterTypeDescription
urlrequiredstringPublic TikTok collection URL
cursorstringCursor to get more videos.
curl "https://scrapeio.com/v1/tiktok/collection/videos?url=..." \
  -H "x-api-key: YOUR_KEY"
GET/v1/tiktok/live5 credits

Live Info

ParameterTypeDescription
room_idrequiredstringTikTok live room id.
user_idrequiredstringTikTok numeric user id for the live owner.
curl "https://scrapeio.com/v1/tiktok/live?room_id=...&user_id=..." \
  -H "x-api-key: YOUR_KEY"
GET/v1/tiktok/profile/region5 credits

Profile Region

ParameterTypeDescription
handlerequiredstringTikTok handle
curl "https://scrapeio.com/v1/tiktok/profile/region?handle=nike" \
  -H "x-api-key: YOUR_KEY"
GET/v1/tiktok/search/suggestions5 credits

Search Suggestions

ParameterTypeDescription
queryrequiredstringSearch query to get suggestions for
regionstringRegion code for suggestions
curl "https://scrapeio.com/v1/tiktok/search/suggestions?query=coffee" \
  -H "x-api-key: YOUR_KEY"
GET/v1/tiktok/search/top5 credits

Top Search

ParameterTypeDescription
queryrequiredstringKeyword to search for
publish_timeyesterday, this-week, this-month, last-3-months, last-6-months, all-timeTime Frame TikTok was posted
sort_byrelevance, most-liked, date-postedSort by
regionstringNote, this doesn't filter the tiktoks only in a specfic region, it puts the proxy there.
cursorstringCursor to get more videos.
curl "https://scrapeio.com/v1/tiktok/search/top?query=coffee" \
  -H "x-api-key: YOUR_KEY"
GET/v1/tiktok/user/audienceup to 130 credits

User's Audience Demographics

ParameterTypeDescription
handlerequiredstringTikTok handle
curl "https://scrapeio.com/v1/tiktok/user/audience?handle=nike" \
  -H "x-api-key: YOUR_KEY"
GET/v1/tiktok/user/following5 credits

Following

ParameterTypeDescription
handlerequiredstringTikTok handle
trimbooleanSet to true to get a trimmed response
min_timestringUsed to paginate.
curl "https://scrapeio.com/v1/tiktok/user/following?handle=nike" \
  -H "x-api-key: YOUR_KEY"
GET/v1/tiktok/user/live5 credits

Live

ParameterTypeDescription
handlerequiredstringTikTok handle
curl "https://scrapeio.com/v1/tiktok/user/live?handle=nike" \
  -H "x-api-key: YOUR_KEY"

Other platforms