Content API
Get Instagram Profile
Get cached Instagram profile data including follower count, following count, post count, bio, profile picture, and privacy status. Data is refreshed periodically for frequently queried accounts.
GET
/api/profileAuth: X-Api-Key header or Bearer JWTRate limits: Free: 25/day, Starter: 500/day, Growth: 5K/day, Scale: 50K/day. Burst: 60/min.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| username | query | string | Yes | Instagram username (without @) |
Response
json
{
"username": "instagram",
"fullName": "Instagram",
"profilePicUrl": "https://cdninstagram.com/...",
"bio": "Bringing you closer to the people and things you love.",
"posts": 7503,
"followers": 680000000,
"following": 75,
"isPrivate": false
}Code Examples
cURL
curl "https://storiesfly.com/api/profile?username=instagram" \
-H "X-Api-Key: sf_live_your_key_here"JavaScript
const res = await fetch(
"https://storiesfly.com/api/profile?username=instagram",
{ headers: { "X-Api-Key": "sf_live_your_key_here" } }
);
const profile = await res.json();
console.log(`${profile.fullName}: ${profile.followers} followers`);Python
import requests
response = requests.get(
"https://storiesfly.com/api/profile",
params={"username": "instagram"},
headers={"X-Api-Key": "sf_live_your_key_here"}
)
profile = response.json()
print(f"{profile['fullName']}: {profile['followers']} followers")FAQ
Is the profile data real-time?
Profile data is cached and refreshed periodically. Frequently queried accounts are updated more often. Typical freshness is within a few hours.
Can I get profile data for private accounts?
You can get basic public info (username, profile pic, privacy status) but follower/following counts may not be available for private accounts.
What does isPrivate mean?
When isPrivate is true, the account is private and most data (stories, posts, follower lists) is not accessible via the API.
Related Endpoints
Last updated: March 4, 2026
