StoriesFly logo
Analytics API

Outbound Engagement Analytics

Analyze where a tracked account leaves likes and comments. See which accounts they interact with most, recent engagement activity, and interaction patterns. Requires PRO subscription and Deep Analytics addon.

GET/api/analytics/outbound
Auth: X-Api-Key header or Bearer JWTRate limits: Requires PRO+ subscription and active Deep Analytics addon ($4/mo per account).

Parameters

NameInTypeRequiredDescription
usernamequerystringYesTracked Instagram username
daysqueryintegerNoDays to look back (1-90, default: 30)

Response

json
{
  "username": "example",
  "days": 30,
  "totalLikes": 156,
  "totalComments": 23,
  "topTargets": [
    {
      "username": "close_friend",
      "likes": 45,
      "comments": 12
    },
    {
      "username": "favorite_brand",
      "likes": 28,
      "comments": 5
    }
  ],
  "recentActivity": [
    {
      "type": "like",
      "targetUsername": "close_friend",
      "targetPostId": "post_123",
      "detectedAt": "2026-03-04T11:00:00Z"
    }
  ]
}

Code Examples

cURL
curl "https://storiesfly.com/api/analytics/outbound?username=example&days=30" \
  -H "X-Api-Key: sf_live_your_key_here"
JavaScript
const res = await fetch(
  "https://storiesfly.com/api/analytics/outbound?username=example&days=30",
  { headers: { "X-Api-Key": "sf_live_your_key_here" } }
);
const data = await res.json();
console.log(`${data.totalLikes} likes, ${data.totalComments} comments in ${data.days} days`);
Python
import requests

response = requests.get(
    "https://storiesfly.com/api/analytics/outbound",
    params={"username": "example", "days": 30},
    headers={"X-Api-Key": "sf_live_your_key_here"}
)
data = response.json()
print(f"{data['totalLikes']} likes, {data['totalComments']} comments")

FAQ

What is outbound engagement?
Outbound engagement shows where a tracked account leaves likes and comments on other users' posts. This reveals who they interact with most and their engagement patterns.
Why does this require Deep Analytics?
Outbound engagement monitoring requires additional data collection (like and comment activity) beyond basic follower tracking. The Deep Analytics addon enables this per tracked account.

Related Endpoints

Ready to integrate?

Create a free API key and start making requests in minutes.

Last updated: March 4, 2026