Post insights
get_media_insightsFetches lifetime Instagram post, reel, and story metrics—views, reach, likes, comments, saves, shares, follows, and profile visits—for specified media IDs or recent posts.
Instructions
Lifetime numbers for posts, reels or stories: views, reach, likes, comments, saves, shares, total interactions, follows, profile visits; reels add average watch time (ms), total watch time and skip rate; stories add navigation and replies. Give media_ids, or omit them for the latest posts. Story insights vanish after 24 hours and need 5+ viewers.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| latest | No | Without media_ids: how many recent posts. | |
| account | No | Which connected account: @username or Instagram user ID. Omit to use the default account. | |
| media_ids | No |