Introducing the Instagram APIRead more →

TikTok Engagement API. Send a handle or profile link.

Engagement rate, views per post and posting cadence. We handle the proxies, blocks and platform changes.

TikTok Engagement API at a glance

Returns a public TikTok account's engagement rate and post analytics, computed over its latest posts, in one request. You get the profile, its latest videos and photo posts, and the figures over them: engagement rate per follower and per view (mean, median and spread), average views, likes, comments, shares and saves, median views, comment-to-like ratio, posting cadence, the video and photo mix, and the top and bottom post with how each compares with a typical post. Send a username, profile link or user ID.

GET /v1/tiktok/engagement

Read the API reference
  • 1 credit per request, $0.75–$1.97 per 1,000 requests
  • 12 typed fields null when unknown
  • handle is all it needs, e.g. nasa
  • 100 credits free when you sign up, no card, so you can build before you spend

Send one request. Get 12 fields back.

Copy the request in your language, or hand it to your agent. Sign up for an API key and your first 100 credits are free.

$ npm install socialtap
handle = nasa
GET /v1/tiktok/engagementTry in
const params = new URLSearchParams({
  handle: "nasa",
});
const res = await fetch(`https://socialtap.dev/v1/tiktok/engagement?${params}`, {
  headers: { "x-api-key": process.env.SOCIALTAP_API_KEY ?? "" },
});
const body = await res.json();
if (!res.ok) throw new Error(`${body.error.code}: ${body.error.message}`);
const { data, meta } = body;
console.log(data, meta.credits_charged);
200 OK · GET https://socialtap.dev/v1/tiktok/engagementLong arrays and strings are shortened here. Real responses are complete.Docs

One schema on 6 platforms.

The response reference lists every field, its type and when it is null. See the full schema.

  • Null means unknown

    A field TikTok doesn't show is null, never zero or an empty string, so a real zero always means zero.

  • What it accepts

    TikTok username with or without the @ (nasa, @nasa), a profile URL (tiktok.com/@nasa), or a numeric user ID (tiktok.com/share/user/<id> or the bare ID).

  • Write one parser

    TikTok, Instagram, Facebook and 3 more platforms answer in these fields, so the code that reads one reads them all.

platformstring
Platform ID (tiktok, instagram, …).
idstring
Platform-native account ID (equals profile.id).
urlstring
Canonical profile URL (equals profile.url).
profileobject
The account, as its profile endpoint returns it; its metrics.follower_count divides every engagement_rate.
postsobject[]
The sampled recent posts in the profile's order, each with its own figures. [] when none; [] and in unknown_fields when unreadable (a private account, a failed posts request).
metricsobject
Figures over the counted posts (by the account, not pinned); each null when no counted post has its inputs.
oldest_post_atstring
Publish time of the oldest counted post, RFC 3339 UTC: where the sample starts.
newest_post_atstring
Publish time of the newest counted post, RFC 3339 UTC: when the account last posted.

What teams build with the TikTok Engagement API.

  • Vet creators before a paid campaign

  • Rank a shortlist of creators by engagement

  • Track posting cadence and engagement over time

  • Spot a creator's outlier videos

Good to know before you build.

  • The figures cover the account's latest posts, the first page of the TikTok Posts API, and the profile and each post are exactly what the TikTok Profile and Posts APIs return.
  • TikTok rounds large view, like and comment counts, so figures computed from them are listed in approximate_fields.
  • When TikTok's posts list can't be read, the posts come from its embed profile, a shorter list with views but no likes, comments, shares or saves, so every rate is null and old pinned posts are flagged and left out of the figures.
  • A private account returns its profile with every figure null and posts listed in unknown_fields, and an unreadable posts list returns the same with a partial_data warning.

1 credit per request. Failed requests are free.

Buy credits once and spend them on any endpoint, on any platform.

SourcePrice per successful requestPer 1,000 requests
Any source1 credit$0.75–$1.97
  • Cache hits are free.
  • Credits from packs and top-ups never expire.
  • A monthly plan's credits are spent first, and what is left of them ends at each renewal.
  • Prices exclude tax: sales tax is added at checkout where it applies.
  • Outside the US, plans and packs are sold to businesses: checkout asks for your VAT, GST or other business tax ID.

Questions about the TikTok Engagement API.

More in the API reference.

How is engagement rate calculated?
Likes plus comments per follower, and separately per view, for each recent post, then the mean and median across posts. It is computed the same way on every platform, and shares and saves have their own averages.
How much does the TikTok Engagement API cost?
A request costs 1 credit. SocialTap credits cost $0.75–$1.97 per 1,000, depending on the plan or pack.

Try it on an account you know.

Paste its handle or link in the playground, or copy the request into your code.

100free credits
  • No credit card
  • Failed requests are free
  • Works on all 218 endpoints
Start for free Read the docs