Sourcelane

Instagram stats API: engagement rate, averages and growth

Follower count is only half the story — for the raw number, use the Instagram followers count API. These connectors compute the stats brands and analysts actually compare — engagement rate, average likes and comments, posting cadence and content mix — for any public Instagram creator or brand, from just a username. To see when an account's audience is most active, the active-hours analyzer returns a posting heatmap; for the comments themselves, see the Instagram comments API.

From $0.035 per creator · no API key · failed calls refunded

Works with

What you get

  • Engagement rate computed from recent posts and reels
  • Average likes, comments and views
  • Content mix across feed posts and reels
  • Follower, following and post counts
  • Growth and engagement trend over time

Just ask your AI

“What's the engagement rate of @glossier vs @rarebeauty? Which one gets more comments per post?”

“Give me a stats report for these 10 creators and rank them by engagement rate.”

What people use the Instagram stats API for

Influencer vetting

Before you pay for a sponsored post, check the creator's engagement rate against accounts of the same size. A 500k account with 0.3% engagement is a worse buy than a 50k account with 4%.

Brand benchmarking

Run the same report on your account and three competitors each month. Your AI can explain who posts more reels, whose captions get more comments and where you're falling behind.

Best time to post

The active-hours analyzer turns an account's recent posts into a day-by-hour heatmap with peak engagement slots and the likely time zone.

Sourcelane vs the Instagram Graph API insights

Instagram Graph API insightsSourcelane
Accounts coveredOnly professional accounts you manageAny public creator or brand
Engagement rateYou compute it from raw post metricsComputed for you from recent posts and reels
Competitor statsNot available beyond basic Business Discovery fieldsSame report for any account
SetupMeta app review and account linkingConnect once, ask in plain English

Connectors behind it

Your AI picks the right one for the question. Each is priced per result and refunded if it fails.

Use the Instagram stats API from Claude, ChatGPT or Cursor

Pick your tool and connect in under a minute. Then just ask — for example: “What's the engagement rate of @glossier vs @rarebeauty? Which one gets more comments per post?”

Connect Claude

Web, desktop and mobile. One click, then confirm.

  1. 1Click Add to Claude — claude.ai opens with Sourcelane filled in
  2. 2Click Continue to confirm — it then works in Claude desktop and mobile too
Manual setup (config files, REST, Python) +

Claude Code

Adds the Sourcelane MCP server with your key as a header.

terminal
claude mcp add --transport http sourcelane https://api.usesourcelane.com/mcp \
  --header "Authorization: Bearer sl_live_your_agent_key"

Claude Desktop (config file)

Alternative to the connector URL: add to claude_desktop_config.json, then restart Claude.

claude_desktop_config.json
{
  "mcpServers": {
    "sourcelane": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://api.usesourcelane.com/mcp",
        "--header",
        "Authorization:${AUTH_HEADER}"
      ],
      "env": {
        "AUTH_HEADER": "Bearer sl_live_your_agent_key"
      }
    }
  }
}

Cursor & Windsurf

Add to ~/.cursor/mcp.json (or Windsurf's mcp_config.json).

mcp.json
{
  "mcpServers": {
    "sourcelane": {
      "url": "https://api.usesourcelane.com/mcp",
      "headers": {
        "Authorization": "Bearer sl_live_your_agent_key"
      }
    }
  }
}

VS Code

Save as .vscode/mcp.json. VS Code prompts for your key once.

.vscode/mcp.json
{
  "servers": {
    "sourcelane": {
      "type": "http",
      "url": "https://api.usesourcelane.com/mcp",
      "headers": {
        "Authorization": "Bearer ${input:sourcelane-key}"
      }
    }
  },
  "inputs": [
    {
      "type": "promptString",
      "id": "sourcelane-key",
      "description": "Sourcelane agent key",
      "password": true
    }
  ]
}

ChatGPT Custom GPT (Actions)

Create a GPT → Actions → Import from URL, then Authentication: API Key, Bearer.

OpenAPI schema URL
https://usesourcelane.com/openapi.json

REST

One POST. Pass maxResults to cap cost.

curl
curl -X POST https://api.usesourcelane.com/v1/call \
  -H "Authorization: Bearer sl_live_your_agent_key" \
  -H "Content-Type: application/json" \
  -d '{"listing":"instagram-influencer-analytics-scraper","params":{"usernames":["natgeo"]},"maxResults":10}'

Python, LangChain, CrewAI, OpenAI Agents SDK…

Wrap the REST call as a tool, or point an MCP client at the endpoint.

python
import requests

res = requests.post(
    "https://api.usesourcelane.com/v1/call",
    headers={"Authorization": "Bearer sl_live_your_agent_key"},
    json={
        "listing": "instagram-influencer-analytics-scraper",
        "params": {"usernames":["natgeo"]},
        "maxResults": 10,
    },
    timeout=300,
)
body = res.json()
print(body["receipt"]["chargedMicros"], "micro-USD for", body["receipt"]["results"], "results")
print(body["data"])

Instagram stats API — FAQ

How is engagement rate calculated?+

Average interactions (likes plus comments) across a sample of recent posts and reels, divided by follower count. You can set the sample size per call.

Does it work for accounts I don't own?+

Yes. Any public Instagram account works. Private accounts return nothing.

What is a good Instagram engagement rate?+

It depends on size: smaller accounts usually see higher rates than large ones. Compare an account with others in the same follower range and niche rather than against one universal number — ask your AI to benchmark it against similar accounts.

Can I get stats for Instagram reels specifically?+

Yes. The content mix splits feed posts from reels, and views are included where Instagram exposes them.

Do I need a Instagram API key or developer account?+

No. Sourcelane runs the connectors for you. You top up a balance with a card, create an agent key, and your agent calls the connector — there is no Instagram app review, OAuth setup or rate-limit juggling on your side.

Which AI tools can use it?+

Anything that speaks MCP (Claude Desktop, Claude Code, Cursor, VS Code, Windsurf) can connect to the Sourcelane MCP server with one config block. ChatGPT can use it through a Custom GPT Action, and any agent framework can call the REST endpoint directly.

Can I stop an agent from overspending?+

Yes. Every agent key has its own per-call cap, daily and monthly limits, an optional lifetime budget, an allowlist of connectors, and a kill switch.

Featured onEarlyHuntSourcelane on AllMCPsFeatured on CodeHypeFeatured on Twelve ToolsFeatured on Wired BusinessSourcelane - Featured on Startup FameVerified on DANG!Listed on Turbo0Featured on neeed.directoryFeatured on Findly.toolsAI X CollectionWhat Is Ai ToolsFeatured on SaaSCityFeatured on EaseClawFeatured on AdslyListed on AtTopSourceLane on goodSaaSLaunching soon on LaunchItFeatured on FazierFazier badge