# Instagram API: Get engagement stats

> Gets an Instagram account's follower count plus its posting and engagement over the last 30 days: posts published, average views of its videos and reels, and average likes and comments per post, from a username or profile link.

Unofficial. Not affiliated with or endorsed by Instagram.

- Page: https://fous.com/methods/instagram.com/get-engagement-stats-2
- Method: `instagram.com/get_engagement_stats_2`, version 1
- Website: instagram.com
- Returns: username, full name, profile link, followers, posts in the last 30 days, average views, likes and comments, private flag, period
- Effect: read (it gets data and changes nothing)
- Sign-in: none needed
- Cost: 1 credit per completed run (1¢ with pay as you go); failed runs are free
- Verified: Nov 2, 2026

## Inputs

| Field | Type | Required | In the run below | Description |
|---|---|---|---|---|
| `username` | string | yes |  | Instagram account name, @name, or profile link, for example cricketwithsawan or https://www.instagram.com/cricketwithsawan |

## Output

No run is shown for this method; the output schema below lists what it returns.

## Run it

From code, with a Fous API key in `FOUS_API_KEY`; the answer's `data` holds the output:

```bash
curl https://api.fous.com/v1/runs \
  -H "Authorization: Bearer $FOUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"method":"instagram.com/get_engagement_stats_2","input":{}}'
```

From an AI agent connected to the Fous MCP server: its `run` with the same method and input. To connect one, give it `set up https://fous.com/SKILL.md`.

## Ask your agent

- How many followers does @nasa have, and what are their average likes and comments per post this past month?
- Pull the last 30 days of engagement for https://www.instagram.com/glossier — post count, average reel views, likes and comments.
- I'm vetting an influencer, the fitness creator kaylaitsines. How often has she posted recently and what kind of engagement is she getting?
- Check whether the account chefjoseandres is private and give me its follower total plus average views on recent videos.
- On Instagram, how active has @bonappetitmag been over the last month? I need the number of posts and average interactions per post.

## Input schema

```json
{
  "type": "object",
  "required": [
    "username"
  ],
  "properties": {
    "username": {
      "type": "string",
      "description": "Instagram account name, @name, or profile link, for example cricketwithsawan or https://www.instagram.com/cricketwithsawan"
    }
  },
  "additionalProperties": false
}
```

## Output schema

```json
{
  "type": "object",
  "required": [
    "username",
    "full_name",
    "profile_link",
    "followers",
    "posts_last_30_days",
    "avg_views_30_days",
    "avg_likes",
    "avg_comments",
    "videos_with_views",
    "is_private",
    "period_start",
    "period_end"
  ],
  "properties": {
    "username": {
      "type": "string",
      "description": "Account username."
    },
    "avg_likes": {
      "type": [
        "integer",
        "null"
      ],
      "description": "Average likes per post over the last 30 days (平均点赞数)."
    },
    "followers": {
      "type": [
        "integer",
        "null"
      ],
      "description": "Followers (粉丝数量)."
    },
    "full_name": {
      "type": [
        "string",
        "null"
      ],
      "description": "Account display name."
    },
    "is_private": {
      "type": "boolean",
      "description": "Whether the account is private (post stats unavailable)."
    },
    "period_end": {
      "type": "string",
      "format": "date",
      "description": "Last day of the 30-day window (today)."
    },
    "avg_comments": {
      "type": [
        "integer",
        "null"
      ],
      "description": "Average comments per post over the last 30 days (平均评论数)."
    },
    "period_start": {
      "type": "string",
      "format": "date",
      "description": "First day of the 30-day window."
    },
    "profile_link": {
      "type": "string",
      "description": "Instagram profile link."
    },
    "avg_views_30_days": {
      "type": [
        "integer",
        "null"
      ],
      "description": "Average views of videos and reels posted in the last 30 days (近30天平均播放量)."
    },
    "videos_with_views": {
      "type": [
        "integer",
        "null"
      ],
      "description": "Number of videos and reels the view average is based on."
    },
    "posts_last_30_days": {
      "type": [
        "integer",
        "null"
      ],
      "description": "Posts published in the last 30 days (近30天发布数)."
    }
  },
  "additionalProperties": false
}
```

## See more

- [Instagram API: Get profile](https://fous.com/methods/instagram.com/get-profile.md): Gets an Instagram account's public profile from its username, @name or profile link: name, bio, exact follower, following and post counts, verified and private flags, first bio link, profile picture and account ID.
- [Instagram API: List recent posts](https://fous.com/methods/instagram.com/list-recent-posts.md): Lists the latest publicly embeddable posts and reels from an Instagram account, newest first. Without login Instagram may show fewer posts than requested. View counts that are not available are null.
- [Social Blade API: Get Instagram account stats](https://fous.com/methods/socialblade.com/get-instagram-stats.md): Looks up public Instagram account totals, engagement and grade on Social Blade by handle or profile link. Daily history and 30-day follower change need a Social Blade sign-in, so they are not returned.
- [TikTok API: Get profile](https://fous.com/methods/tiktok.com/get-profile.md): Gets a TikTok creator's public profile and totals (followers, following, likes, videos) from a username, @handle or profile link. Profiles not visible to public visitors cannot be returned.
- [Social Blade API: Get TikTok creator stats](https://fous.com/methods/socialblade.com/get-tiktok-stats.md): Gets a TikTok creator's Social Blade profile totals, grade when shown, 30-day follower and like changes, and up to 14 days of daily totals, from a TikTok handle or a TikTok or Social Blade profile link. Counts reflect Social Blade's recorded and sometimes rounded figures.
- [Threads API: List recent posts](https://fous.com/methods/threads.com/list-recent-posts.md): Lists an account's latest public Threads posts, newest first, with text, engagement counts, thumbnails and links. Only posts shown without logging in are returned.
- [Pinterest API: Get profile](https://fous.com/methods/pinterest.com/get-profile.md): Gets a public Pinterest profile and its visible boards in profile order. Monthly views are null when Pinterest does not show them.
- [X API: Get profile](https://fous.com/methods/x.com/get-profile.md): Gets the public X profile for a username or profile link, including counts, verification, images and account details. Does not include posts or a timeline.
- [All Instagram methods](https://fous.com/methods/instagram.com.md)
