Creator engagement scoring
Score creators by how their recent posts perform, with the ready-made engagement audit or your own formula built from profiles and recent posts
An engagement score answers one question: when this creator posts, how many interactions do the posts get? Social Fetch gives you two ways to get one.
- The engagement audit works out the rate for you, on TikTok and Instagram. One call returns the median and average engagement rate, a label that grades it against accounts of a similar size, and the posts it was measured on.
- Your own score comes from two calls you combine yourself: the creator's profile (for the follower count) and a page of their latest posts (for views, likes and comments). It works on any platform with a profile and a post list, and you choose the formula.
What you'll need
- An API key. The Quickstart shows how to create one.
- The TypeScript SDK for the code below:
npm install @socialfetch/sdk. - Some creators to score. If you don't have a list yet, see Find creators to score.
What this costs
The engagement audit is 5 credits a creator. Your own score is 2 credits a creator: 1 for the profile and 1 for each page of posts. Failed requests are free. See Credits.
Option 1: the engagement audit
Call the audit with a handle:
| Platform | Route |
|---|---|
| TikTok | GET /v1/tiktok/profiles/{handle}/engagement |
GET /v2/instagram/profiles/{profile}/engagement |
In the SDK, the Instagram audit is client.instagram.getProfileEngagementV2. The TikTok audit isn't in the SDK yet, so call it over HTTP with your key in the x-api-key header:
// TikTok
const res = await fetch(
"https://api.socialfetch.dev/v1/tiktok/profiles/zachking/engagement",
{ headers: { "x-api-key": process.env.SOCIALFETCH_API_KEY! } },
);
const { data } = await res.json();
console.log(data.metrics.medianEngagementRatePercent, data.metrics.qualityLabel);
// Instagram
const ig = await client.instagram.getProfileEngagementV2({ profile: "nike" });
if (ig.ok) {
console.log(ig.value.data.audit.metrics.medianEngagementRatePercent);
}The rate is the interactions on each recent post divided by the creator's followers: likes, comments and shares on TikTok, and likes and comments on Instagram. The response spells this out in formulaDescription, and lists every post it used with its own engagementRatePercent.

Rank by medianEngagementRatePercent rather than the average. On TikTok the audit counts the videos pinned to the top of the profile, which are often a creator's biggest hits from years ago. For @zachking that includes a pinned video from 2019 with over 2 billion views, which lifts the average rate to 6.5% while the median stays at 1.49%. qualityLabel is worked out from the average, so read it with the same caution.
Check data.lookupStatus first (on Instagram, also data.audit.canCalculateEngagement). A private or missing account has no rate. On Instagram that costs 1 credit instead of 5.
To try the audit without code, the Social Fetch app has two tools that work out the same rate: TikTok engagement rate and Instagram engagement rate. They run on your workspace's credits.
Option 2: your own score
Build your own score when you want a different formula (views per follower, say), when you're scoring YouTube or X, or when you want to keep the raw numbers to compare later.
- Look up the profile and check that
lookupStatusisfound. Aprivateornot_foundaccount has no posts to score. - Fetch one page of the creator's latest posts.
- Leave out pinned posts, then take the median of the number you care about.
- Divide by the follower count, so creators of different sizes can be ranked together.
Each platform has a profile route and a post-list route:
| Platform | Profile | Latest posts |
|---|---|---|
| TikTok | tiktok.getProfile | tiktok.getProfileVideos with sortBy: "latest" |
instagram.getProfileV2 | instagram.listProfileMediaV2 with tab: "posts" or "reels" | |
| YouTube | youtube.getChannel | youtube.getChannelVideos with sortBy: "latest" |
| X | twitter.getProfile | twitter.getProfileTweets |
The numbers you need are in these fields:
| Platform | Followers | Each post's numbers |
|---|---|---|
| TikTok | data.metrics.followers | stats.views, stats.likes, stats.comments, stats.shares, and pinned |
data.profile.metrics.followers | metrics.likeCount, metrics.commentCount, metrics.playCount (Reels only), and isPinned | |
| YouTube | data.metrics.subscribers | viewCount |
| X | data.metrics.followers | metrics.views, metrics.likes, metrics.retweets, metrics.replies |
Read lookupStatus before you read an empty post list. private and not_found never come with posts, while found with no posts means the account has none on that page. The capability matrix shows what each route returns.

TikTok example
This scores one TikTok creator: the median views of their latest videos, divided by their followers, plus the median number of like, comment and share events per view. Views can include repeat views, and one person can contribute more than one interaction. Neither ratio measures unique people or tells you whether the viewers were followers.
import { SocialFetchClient } from "@socialfetch/sdk";
const client = new SocialFetchClient({
apiKey: process.env.SOCIALFETCH_API_KEY!,
});
function median(nums: number[]): number {
if (nums.length === 0) return 0;
const sorted = [...nums].sort((a, b) => a - b);
const mid = Math.floor(sorted.length / 2);
return sorted.length % 2 ? sorted[mid] : (sorted[mid - 1] + sorted[mid]) / 2;
}
async function scoreTikTokCreator(handle: string) {
const profile = await client.tiktok.getProfile({ handle });
if (!profile.ok) return { handle, error: profile.error };
const { lookupStatus, metrics } = profile.value.data;
if (lookupStatus !== "found") return { handle, lookupStatus, score: null };
const followers = metrics?.followers ?? 0;
const page = await client.tiktok.getProfileVideos({ handle, sortBy: "latest" });
if (!page.ok) return { handle, error: page.error };
// Pinned videos stay at the top whatever their age, so leave them out.
const videos = (page.value.data.videos ?? []).filter(
(v) => !v.pinned && (v.stats?.views ?? 0) > 0,
);
const medianViews = median(videos.map((v) => v.stats?.views ?? 0));
const interactionRate = median(
videos.map(
(v) =>
((v.stats?.likes ?? 0) + (v.stats?.comments ?? 0) + (v.stats?.shares ?? 0)) /
(v.stats?.views ?? 1),
),
);
return {
handle,
lookupStatus,
followers,
videosScored: videos.length,
medianViews,
score: followers > 0 ? medianViews / followers : null,
interactionRate,
creditsCharged:
profile.value.meta.creditsCharged + page.value.meta.creditsCharged,
};
}Keep the formula in your code next to the score, so anyone reading the numbers later knows how they were worked out.
Why the median
A creator's views swing a long way from one video to the next. The average gets pulled up by one or two hits, so it describes a video the creator rarely makes. The median is the middle video, which is much closer to what a typical post gets.

What the results look like
We ran the example above on five well-known TikTok creators, using real responses. Each cost 2 credits.

Follower counts alone would rank these creators in a different order. Bella Poarch has more followers than Zach King, but his typical video gets more than 25 times as many views as hers. Scott Seiss has the fewest followers here, and his median views-per-follower ratio is higher than hers.
One page of latest videos is a small sample. For a steadier score, fetch a second page by passing page.nextCursor as cursor (1 more credit), or score the same creators again later and compare.
Find creators to score
If your list is empty, search for creators first, then score the ones you find:
- TikTok:
GET /v1/tiktok/users/search(client.tiktok.searchUsers) - Instagram:
GET /v2/instagram/profiles/search
Competitor profile tracking shows how to save follower counts over time, and Cross-platform creator profiles shows how to look up the same creator on several platforms.
Facebook Ad Library aggregation
Search Meta's Ad Library by keyword, find an advertiser's page and list its ads, page through results and fetch one ad, with the Playground and the TypeScript SDK.
Reddit research / listening pulse
Search Reddit for product mentions, deduplicate matching threads, and read comments with the TypeScript SDK.