Ssocialgraph.dev
API reference / Instagram API / Recent posts statistics

Instagram engagement API: statistics of an account's recent posts

Engagement statistics for the last 12 posts and reels of a username.

2 credits per successful call Errors are never charged No login or OAuth needed

About the Recent posts statistics endpoint

This endpoint summarises the engagement of an Instagram account's recent posts and reels: likes, comments and views across the latest content, from the username alone. Combine it with the account's follower count to calculate an engagement rate, the standard measure for comparing creators of different sizes.

What you can build with it

  • Engagement rate calculation for influencer vetting
  • Creator analytics dashboards that track engagement over time
  • Competitor benchmarking across accounts in the same niche

Request

GET https://socialgraph.dev/api/v1/instagram/posts-statistics

Send your API key as Authorization: Bearer YOUR_API_KEY. Parameters go in the query string.

Parameters

NameTypeDescription
username
required
string Instagram username, e.g. apple.

Code examples


Example response

{}

Errors

StatusMeaningCharged?
401Missing, invalid or revoked API keyNo
402Not enough credits (insufficient_credits)No
404The account or post doesn't existNo
422Missing or invalid parametersNo
502 / 503The data source is temporarily unavailableNo

All error codes →

Recent posts statistics API: frequently asked questions

How do I calculate an Instagram engagement rate?

Divide the average likes plus comments per post by the follower count. This endpoint gives the per-post statistics; the Follow counts endpoint gives the followers.

Which posts are included in the statistics?

The account's recent posts and reels, the same ones you'd see at the top of its profile.

Does it include reel views?

Yes, view statistics are included for reels and videos.

Do I need an Instagram business account or token?

No. The statistics are computed from publicly available posts, with no login or token.

How much does the Recent posts statistics endpoint cost?

2 credits per successful call (0.004 USD at 500 credits per dollar). Errors, "not found" responses and invalid input are never charged, and credits never expire.

Can I try the Recent posts statistics API without signing up?

Yes. The live demo on this page runs a real request with a fixed sample input, free and without an account. Creating a free account gives you 100 credits to test every endpoint with your own inputs.

Try it live: Recent posts statistics GET

🔒 Preset demo input. Live demos use Instagram's own account, @instagram. Sign up free to use your own.

Start with 100 free credits

Create an account in seconds. No card, no subscription. Credits never expire.

Create free account →