Influencer marketers, agencies and brand teams keep a list of TikTok creators: the ones they work with, the ones they are vetting, the competitors' accounts. The questions are always the same: how many followers now, how did the last few videos do, and what did they post since yesterday. Opening each profile and noting numbers by hand stops working after a handful of creators.
This post reads TikTok profiles and their newest videos into Python, ranks creators by engagement on recent videos, and sets up a daily feed of only the new videos.
Disclosure: I'm Aurelix, and I built TikTok Follower Count Scraper, the tool used here. It's a paid tool (prices below).
What each row holds
Rows have a type: profile or video, plus a status (ok, or why nothing came back: not_found, private, unavailable, invalid_input, failed, skipped).
- Profile rows:
username,nickname,bio,verified,followers,following,likes,video_count,avatar_url,profile_url,videos_listed,videos_returned,pinned_video_ids. - Video rows:
username,video_id,url,caption,hashtags,created_at,views,likes,comments,shares,saves,is_pinned,is_photo_post,is_ad,duration_seconds,cover_url,music_title,music_author,music_original.
Email addresses, phone numbers and messenger IDs in bios and captions are masked.
Profiles and their newest videos
pip install apify-client import os from apify_client import ApifyClient client = ApifyClient(os.environ["APIFY_TOKEN"]) run = client.actor("aurelix/tiktok-profile-scraper").call( run_input={"profiles": ["@nasa", "@natgeo", "https://www.tiktok.com/@washingtonpost"], "maxVideosPerProfile": 5} ) rows = list(client.dataset(run["defaultDatasetId"]).iterate_items()) for p in (r for r in rows if r["type"] == "profile" and r["status"] == "ok"): print(f"{p['username']:16} {p['followers']:>12,} followers {p['likes']:>14,} likes {p['video_count']:>6} videos" f"{' verified' if p['verified'] else ''}") You get exactly the number of newest videos you set per profile, at most 13: TikTok's public profile lists an account's newest 10 videos plus up to 3 pinned ones. Set maxVideosPerProfile to 0 to get only the profile rows.
Which creators' recent videos actually perform
from collections import defaultdict videos = defaultdict(list) for v in (r for r in rows if r["type"] == "video" and r["status"] == "ok"): videos[v["username"]].append(v) followers = {p["username"]: p["followers"] for p in rows if p["type"] == "profile" and p["status"] == "ok"} for user, vs in videos.items(): views = sum(v["views"] or 0 for v in vs) / len(vs) engaged = sum((v["likes"] or 0) + (v["comments"] or 0) + (v["shares"] or 0) + (v["saves"] or 0) for v in vs) rate = engaged / max(1, sum(v["views"] or 0 for v in vs)) print(f"{user:16} avg views {views:>12,.0f} engagement {rate:.1%} views/followers " f"{views / max(1, followers.get(user, 1)):.2f}") Pinned videos carry is_pinned, so you can leave them out of the average when an old hit is pinned to the top.
Private and missing accounts, told apart
A creator list goes stale: accounts get renamed, deleted or set to private. Each one gets a status row that says which, and a page TikTok refused is never reported as a missing account:
for r in rows: if r["status"] != "ok": print(f"{r['input']:30} {r['status']}") Only new videos, every morning
run_input = { "profiles": ["@nasa", "@natgeo"], "maxVideosPerProfile": 10, "incremental": True, "stateKey": "creators-daily", "slackWebhookUrl": "https://hooks.slack.com/services/...", } The first run returns the videos and remembers them. Each later run returns only videos earlier runs did not return; creators with nothing new return no row and are free up to 20 per run. Keep stateKey set so the memory stays the same while you add or remove creators. Save the input as a task in the Apify Console and schedule it daily: Slack gets a short digest, and nothing is sent when nothing is new. Run daily, this also builds a creator's video history from now on.
Why this tool
- Profile stats and the newest videos' views, likes, comments, shares and saves in one run.
- Exactly the number of videos you set per profile, never more.
- Private and missing accounts told apart, and pinned videos flagged from the profile itself.
- Like and view counts above 2.1 billion come through correctly.
- An only-new mode with a Slack or webhook digest.
Limits
- Up to 13 videos per profile (the newest 10 plus up to 3 pinned); older videos are not reachable for a logged-out visitor. This tool doesn't cover a profile's full history.
- Counts are as TikTok shows them, rounded on large accounts.
- No follower lists, comments, reposts or account IDs; private accounts return only a status row.
- Avatar and cover image links are TikTok's signed links and stop working after a few days; download them if you need to keep them.
- If TikTok refuses the run, it stops with a BLOCKED status rather than retrying without end.
Cost
$0.80 per 1,000 videos on Apify's free plan, from $0.50 per 1,000 on paid plans, plus $0.002 per profile and a $0.002 start fee per run. The current prices are on the Store page; Apify's free plan includes $5 of credit a month, about 4,800 videos.
Use it from an AI assistant
The tool also works through Apify's hosted MCP server, so Claude, ChatGPT or Cursor can run it from a request like "get the follower counts and the last 5 videos' views for @nasa and @natgeo on TikTok and compare their engagement". Server URL: https://mcp.apify.com/?tools=aurelix/tiktok-profile-scraper.