TikTok Profiles Scraper avatar

TikTok Profiles Scraper

Pricing

from $0.08 / 1,000 profiles

Go to Apify Store
TikTok Profiles Scraper

TikTok Profiles Scraper

🔥 ~$0.1/1K profiles 🔥 Scrape TikTok profiles: the details and exact counts of each profile, such as followers, following, likes, and videos, and the stories it shows now. Choose the sections you need. A private account gives no stories.

Pricing

from $0.08 / 1,000 profiles

Rating

0.0

(0)

Developer

Kai

Kai

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

20 hours ago

Last modified

Features

Limited permissions

Share

TikTok Profiles Scraper - Profile Info and Stories

Get TikTok profile data in one run. Read the details of a profile: handle, ID, bio, avatar, links, settings, and the exact counts of followers, accounts it follows, likes, and videos. Read the stories that a profile shows now.

Run many profiles in one run. Choose the sections that you need, and the Actor applies them to every profile. Every item in the Dataset is one profile or one story.

Use cases

Creator and brand research

Compare creators on followers, videos, and verification before you work with them.

{
"profileUrls": [
"https://www.tiktok.com/@nasa",
"https://www.tiktok.com/@redbull"
],
"sections": ["info"]
}

Use uniqueId, nickname, verified, stats.followers, stats.following, stats.likes, stats.videos, signature, and links.bio.

Growth tracking

Run info for the same profiles on an Apify schedule. Join the runs on id, and watch stats.followers, stats.following, stats.likes, and stats.videos move over time.

{
"profileUrls": ["https://www.tiktok.com/@nasa"],
"sections": ["info"]
}

Story monitoring

Check which profiles show stories right now, and read each story as a video.

{
"profileUrls": [
"https://www.tiktok.com/@nba",
"https://www.tiktok.com/@zachking"
],
"sections": ["stories"]
}

Use videoId, videoUrl, createTime, expiresAt, stats.views, and video.duration on the items where section is stories.

Choose what to collect

sections valueItems it addsUse it for
infoOne item for each profileDetails, settings, and counts of a profile
storiesOne item for each storyThe stories that a profile shows now
A list of valuesThe items of every chosen sectionSeveral sections for each profile in one run

What each section includes

  • info: handle, ID, display name, bio, verified flag, avatar links, the exact counts of followers, following, likes, videos, and friends, account creation time, language, bio link and app links, business category, who can comment, duet, stitch, and download, the tabs of the profile, and planned events
  • stories: the same video fields as the TikTok Videos Scraper (video details, author, stats, and music), and the time when the story ends

Every info item and every stories item has section, which names the section, and inputUrl, which is the profile URL from your input.

Read profile info

Start with a profile URL:

{
"profileUrls": ["https://www.tiktok.com/@nasa"],
"sections": ["info"]
}

The Actor saves one info item for each profile. The counts are the values at the time of the run. A profile URL looks like https://www.tiktok.com/@handle. A query string after the handle, such as ?lang=en, is ignored.

info is the default. A run without sections gives info items.

Read stories

{
"profileUrls": ["https://www.tiktok.com/@nba"],
"sections": ["info", "stories"]
}

The Actor saves one stories item for each story that the profile shows at the time of the run. A story is a short video. A stories item has the same video fields as an item of the TikTok Videos Scraper, and one more field, expiresAt, which is the time when the story ends. The field inputUrl is the profile URL from your input.

A profile that shows no story gives no stories item. This is a normal result, and the log says "no public stories right now". The field hasStory of the info item says whether the profile shows a story.

How results are ordered

Order. The Actor handles the profiles in input order. For each profile, it saves info first, and then stories. The order of the values in sections does not change this.

Same profile twice. A profile URL that you add twice is read twice. Its items appear twice.

Input

Provide at least one profile URL and at least one section.

Input reference

ParameterTypeDefaultEffect
profileUrlsstring[]emptyTikTok profile URLs. Provide at least one.
sectionsstring[]["info"]What to collect for each profile. Values: info, stories. Provide at least one.
proxyConfigurationobject{"useApifyProxy":true}Connection settings for the run. Keep the default.
  • Use full URLs. A profile URL looks like https://www.tiktok.com/@handle.
  • A value that is not a URL stops the run before collection.
  • A short link such as https://vm.tiktok.com/... is not a profile URL. It gives an error item.
  • An empty sections list stops the run before collection.
  • Unknown input fields are ignored.

Output

Each Dataset item is one info item or one stories item. An input URL that the Actor could not read gives one error item in the Errors dataset, not in the Dataset. Every documented field of a section is present in every item of that section. A value that is not available is null or an empty list. A story count that is not available is 0. The fields avatar, stats, links, business, settings, and tabs are objects, and events is a list.

Sample items

These items are from real runs. The links are removed. They are not saved Dataset items.

Field reference

Info fields are in every info item.

FieldType and contents
sectionstring. info.
inputUrlstring. The profile URL from your input.
profileUrlstring. The profile URL of the account. It is the same profile as inputUrl.
idstring. The account ID.
secUidstring. The long account ID.
uniqueIdstring. The handle, without @.
nicknamestring. The display name.
signaturestring or null. The bio. It is null when the bio is empty.
verifiedboolean or null. Whether the account is verified.
privateboolean or null. Whether the account is private.
sellerboolean or null. Whether the account sells in TikTok Shop.
avatarobject. Links to the avatar image in three sizes.
avatar.largestring or null. A link to the avatar at 1080 pixels.
avatar.mediumstring or null. A link to the avatar at 720 pixels.
avatar.thumbstring or null. A link to the avatar at 100 pixels.
statsobject. The counts of the account.
stats.followersnumber or null. The follower count.
stats.followingnumber or null. The count of accounts that the account follows.
stats.likesnumber or null. The total likes that the account received.
stats.videosnumber or null. The video count of the account.
stats.friendsnumber or null. The count of accounts that follow the account and that the account follows back.
stats.likesGivennumber or null. The count of videos that the account liked. It is null when the account does not show its liked videos.
createTimestring or null. The account creation time in Unix seconds, such as "1784562949".
languagestring or null. The language code of the account, such as en.
organizationboolean or null. Whether TikTok marks the account as an organization.
hasStoryboolean or null. Whether the account shows a story now.
nicknameChangedAtstring or null. The time of the last change of the display name, in Unix seconds. null when it never changed.
handleChangedAtstring or null. The time of the last change of the handle, in Unix seconds. null when it never changed.
linksobject. The links of the profile.
links.biostring or null. The link in the bio, as the profile shows it, often without https://.
links.iosstring or null. The iOS app link of a business account.
links.androidstring or null. The Android app link of a business account.
businessobject. The business data of the account.
business.isBusinessboolean or null. Whether the account is a business account.
business.categorystring or null. The business category, such as Food & Beverage.
settingsobject. Who can use the features of the account.
settings.commentsnumber or null. Who can comment. 0 means everyone. Another number means that the account limits it.
settings.duetnumber or null. Who can make a duet. The number has the same meaning as settings.comments.
settings.stitchnumber or null. Who can stitch. The number has the same meaning as settings.comments.
settings.downloadnumber or null. Who can download the videos. The number has the same meaning as settings.comments.
settings.likedVideosPublicboolean or null. Whether the account shows its liked videos.
settings.followingPublicboolean or null. Whether the account shows its following list.
tabsobject. The tabs that the profile shows.
tabs.musicboolean or null. Whether the profile shows the music tab.
tabs.questionsboolean or null. Whether the profile shows the questions tab.
tabs.playlistsboolean or null. Whether the profile shows the playlists tab.
eventsobject[]. The events that the account planned, such as a scheduled LIVE. Empty for most accounts.
events.idstring. The event ID.
events.titlestring or null. The event title.
events.startsAtstring or null. The planned start time in Unix seconds.

Story fields are in stories items. They match the video fields of the TikTok Videos Scraper.

FieldType and contents
sectionstring. stories.
inputUrlstring. The profile URL from your input.
videoIdstring. The ID of the story video.
videoUrlstring. The link to the story video.
descstring. The description. It is empty when the story has none.
descLanguagestring or null. The language code of the description, such as en.
createTimestring or null. The creation time in Unix seconds, such as "1793922045".
locationCreatedstring or null. The country code where the story was made. Often null for a story.
categoriesstring[]. The topic labels of the story. Often empty for a story.
hashtagsstring[]. The hashtags of the description, without #.
mentionsstring[]. The accounts that the description mentions, without @.
effectsstring[]. The names of the effects that the story uses.
isAdboolean or null. true for a paid ad.
isAiGeneratedboolean or null. true when the story is marked as AI generated. Often null for a story.
isPinnedboolean or null. Always null for a story.
duetEnabledboolean or null. Whether other users can make a duet with the story.
stitchEnabledboolean or null. Whether other users can stitch the story.
shareEnabledboolean or null. Whether the story can be shared.
captionLanguagesstring[]. The caption languages that the story offers, such as eng-US.
imagesstring[]. The image links of a photo story. Empty for a video.
expiresAtstring or null. The time when the story ends, in Unix seconds.
FieldType and contents
videoobject. The video details of the story.
video.durationnumber. The duration in seconds.
video.widthnumber or null. The width in pixels.
video.heightnumber or null. The height in pixels.
video.ratiostring or null. The resolution label, such as 720p.
video.definitionstring or null. The quality label, such as 720p.
video.formatstring or null. The file format, such as mp4.
video.codecstring or null. The video codec, such as h264.
video.bitratenumber or null. The bitrate in bits per second.
video.sizenumber or null. The file size in bytes.
video.coverstring or null. A link to the cover image.
video.originCoverstring or null. A link to the original cover image.
video.dynamicCoverstring or null. A link to the animated cover.
authorobject. The account that posted the story.
author.idstring. The account ID.
author.uniqueIdstring. The handle, without @.
author.nicknamestring. The display name.
author.verifiedboolean or null. Whether the account is verified.
author.signaturestring or null. The bio.
author.createTimestring or null. The account creation time. Always null for a story.
author.privateboolean or null. Whether the account is private.
author.sellerboolean or null. Whether the account sells in TikTok Shop. Always null for a story.
author.avatarstring or null. A link to the avatar image.
author.followersnumber or null. The follower count. It is approximate.
author.followingnumber or null. The count of accounts that the author follows.
author.likesnumber or null. The total likes of the account. It is approximate.
author.videosnumber or null. The video count of the account. It is approximate.
author.likesGivennumber or null. The count of videos that the account liked.
statsobject. The counts of the story.
stats.viewsnumber. The play count.
stats.likesnumber. The like count.
stats.commentsnumber. The comment count.
stats.sharesnumber. The share count.
stats.savesnumber. The count of users who saved the story.
stats.repostsnumber. The repost count.
musicobject. The sound of the story.
music.idstring or null. The sound ID.
music.titlestring or null. The sound title.
music.authorstring or null. The name of the sound author.
music.albumstring or null. The album, when the sound has one.
music.durationnumber or null. The duration in seconds.
music.playUrlstring or null. A link to the audio file.
music.coverstring or null. A link to the sound cover image.
  • The counts are the values at the time of the run. They change over time.
  • Avatar links, cover links, and audio links expire after about two days. Download the files soon after the run if you need them.
  • The stats counts of an info item are exact. The author counts of a stories item are approximate, such as followers of 27400000. Use the info section when you need exact counts.

Which fields depend on the account

FieldWhen it is null, false, or empty
signatureThe account has no bio.
stats.likesGivenThe account does not show its liked videos (settings.likedVideosPublic is false).
settings.comments, settings.duet, settings.stitchSome accounts do not give these settings.
links.ios, links.android, business.categoryThe account is not a business account, or the business set no app link or category.
nicknameChangedAt, handleChangedAtThe account never changed its display name or handle.
eventsThe account planned no event.

Error items

An input URL that the Actor cannot read gives one error item in the Errors dataset. The Dataset holds only profile and story items. The run goes on with the next URL.

{
"inputUrl": "https://www.tiktok.com/@zz_no_such_user_84726153",
"error": "The profile does not exist or is not available.",
"errorCode": "PROFILE_UNAVAILABLE"
}

Error fields are the three fields of an error item:

FieldType and contents
inputUrlstring. The entry from your input.
errorstring. A short sentence that says what went wrong.
errorCodestring. One of the codes below.
errorCodeMeaning
NOT_A_PROFILE_URLThe entry is not a profile URL. It must look like https://www.tiktok.com/@handle.
PROFILE_UNAVAILABLEThe profile does not exist or is not available.
READ_FAILEDThe profile or its stories could not be read. Try again later.

Limits and field notes

Which accounts are available?

The Actor reads public data only.

  • A private account gives an info item with private set to true. Its stories give no items.
  • An account can hide its liked videos. Then settings.likedVideosPublic is false and stats.likesGiven is null.
  • An account can hide its following list. Then settings.followingPublic is false.

Why does a story section give no item?

A story ends after a short time. A profile that shows no story gives no item. Run stories on a schedule if you want to see all stories. The field expiresAt tells you when each story ends.

What happens when a profile or a story fails?

For a profile that does not exist, the Actor gives a PROFILE_UNAVAILABLE item within a few seconds. For another failure, the Actor tries again, and then gives a READ_FAILED item, writes a warning to the log, and continues with the next profile. The items that it already saved stay in the Dataset.

If no section of any profile can be read, the run fails with the message "No profile could be read. Check the URLs and try again." The error items stay in the Errors dataset. Invalid input also fails the run with a message that names the problem.

Are the counts exact?

The stats counts of an info item are exact at the time of the run. The author counts of a stories item are approximate.

Similar Actors