Introducing the Instagram APIRead more →

Instagram Engagement API. Send a handle or profile link.

Engagement rate over an account's latest posts. We handle the proxies, blocks and platform changes.

Instagram Engagement API at a glance

Returns a public Instagram account's engagement rate over its latest posts, with its profile and those posts, from a username, link or user ID. The rate is per follower and per view, as mean, median and spread. You also get likes and comments per post, views per reel, comment-to-like ratio, posting cadence, the mix of reels, photos and carousels, and each post against the account's typical one.

GET /v1/instagram/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. natgeo
  • 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 = natgeo
GET /v1/instagram/engagementTry in
const params = new URLSearchParams({
  handle: "nasa",
});
const res = await fetch(`https://socialtap.dev/v1/instagram/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/instagram/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 Instagram doesn't show is null, never zero or an empty string, so a real zero always means zero.

  • What it accepts

    Instagram username with or without the @ (natgeo, @natgeo), a numeric user ID (787132), or a profile link (instagram.com/natgeo, with or without a tab such as /reels/ or /tagged/, m.instagram.com, instagr.am, instagram.com/_u/natgeo, with any query such as ?igsh=…).

  • Write one parser

    Instagram, TikTok, 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 Instagram Engagement API.

  • Audit an influencer's engagement before signing

  • Compare engagement across a creator shortlist

  • Track engagement rate and posting cadence

  • Spot an account's best and worst posts

  • Find which format works best for an account

Good to know before you build.

  • The figures cover the account's latest posts, the first page of the Instagram Posts API. The profile and each post match what the Instagram Profile API and the Instagram Posts API return.
  • Engagement rate counts likes plus comments, per follower and per view, so it compares across platforms. Share and save averages are null because Instagram doesn't show those counts logged out.
  • Pinned posts lead a profile whatever their age, so they are flagged (is_pinned) and left out of the figures, as are collabs another account published.
  • Only reels and videos have view counts, so views per post and the per-view rate cover those. A post whose owner hides its like count is left out of the rates.
  • A private account returns its profile with posts [] listed in unknown_fields and every figure null. When the posts list can't be read, the same answer carries 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 Instagram Engagement API.

More in the API reference.

How is the engagement rate computed?
Likes plus comments over the follower count, for each counted post. metrics.engagement_rate is the mean over the posts with both counts, beside its median and spread, and view_engagement_rate is the same over each reel's or video's views.
How much does the Instagram 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