Skip to content

Instagram media insights API: GET /{ig-media-id}/insights

When PubNio calls Instagram's media insights request, GET /{ig-media-id}/insights: the scopes it needs, the errors PubNio handles for it, and its pinned spec revision.

PubNio calls Instagram’s GET /{ig-media-id}/insights (IGMedia.insights) to read a published post’s insights.

How PubNio calls it

  • Post analytics: the analytics sync makes this call for published posts; POST /api/v1/analytics/refreshes asks for an early read.
  • PubNio picks the metric list by placement and sends one more request per breakdown the placement supports. Stories read link_clicks only with Facebook Login.
  • Every placement asks for views, reach, shares, reposts, and total_interactions. Feed posts and carousels add likes, comments, saved, follows, and profile_visits; Reels add likes, comments, saved, ig_reels_avg_watch_time, and ig_reels_video_view_total_time; stories add replies, follows, and profile_visits.

Scopes

  • The pinned spec names no scope. See Instagram scopes and permissions.
  • Before the post analytics sync makes this call, PubNio checks that the account granted the scopes for its sign-in method (Instagram Login: instagram_business_manage_insights; Facebook Login: instagram_manage_insights; Unified Login: instagram_manage_insights).

Errors

No error page names this call; see Instagram error codes.

Spec and changes

IGMedia.insights in the pinned spec, revision 5c1fa8a1653722b402133f033fcc321d67981bbd.

Refreshed by hand: no weekly change record.

Limits

  • PubNio reads insights only for posts it published, not for the account’s other media.

Sources

Type to search…

↑↓ navigate↵ selectEsc close