Profile
Exact followers, bio, links, account type and engagement of a public Instagram account, with its latest posts and Reels.
GET/v1/instagram/profile
Costs 2 credits per request. Only requests that return data are charged.
Parameters
| Name | Type | Description |
|---|---|---|
usernamerequired |
string | Username (nasa), handle (@nasa) or profile URL. |
postsoptional |
boolean | Include the latest posts and Reels. Turn it off for a smaller answer; the price is the same. Default: true. |
Example request
curl "https://pipefetch.com/v1/instagram/profile?username=nasa" \
-H "x-api-key: YOUR_API_KEY"const res = await fetch('https://pipefetch.com/v1/instagram/profile?username=nasa', {
headers: { 'x-api-key': process.env.PIPEFETCH_API_KEY },
});
const { data, credits } = await res.json();import os, requests
res = requests.get(
"https://pipefetch.com/v1/instagram/profile",
params={"username": "nasa"},
headers={"x-api-key": os.environ["PIPEFETCH_API_KEY"]},
)
data = res.json()["data"]Example response
A real answer to the request above. Long texts and lists are shortened here.
{
"data": {
"id": "528817151",
"username": "nasa",
"url": "https://www.instagram.com/nasa/",
"fullName": "NASA",
"biography": "Making the seemingly impossible, possible. ✨",
"followerCount": 104328951,
"followingCount": 91,
"postCount": 5014,
"isVerified": true,
"isPrivate": false,
"accountType": "business",
"emails": [],
"phones": [],
"externalUrl": "https://www.nasa.gov",
"links": [
{
"title": "NASA.gov Homepage",
"url": "https://www.nasa.gov"
},
{
"title": "Artemis II Preliminary Lunar Science Report",
"url": "https://science.nasa.gov/feature/artemis-ii-preliminary-lunar-science-report/"
}
],
"pronouns": [],
"hasReels": true,
"hasThreadsProfile": true,
"profilePicUrl": "https://scontent.cdninstagram.com/v/t51.2885-19/29090066_159271188110124_1152068159029641216_n.jpg?stp=dst-jpg_s150x150_tt6&_nc_cat=1&ig_cache_key=GBL…",
"latestPostAt": "2026-11-18T01:00:50.000Z",
"avgLikes": 90661,
"avgComments": 1362,
"avgPlays": 4411283,
"engagementRate": 0.088,
"postsPerWeek": 4.97,
"latestPosts": [
{
"id": "4025327901360909266",
"shortCode": "Dfc1mYxFevS",
"url": "https://www.instagram.com/p/Dfc1mYxFevS/",
"type": "Video",
"isReel": true,
"isPinned": true,
"caption": "Apply to become an astronaut!\n\nWe've opened applications to join NASA's astronaut corps, who will expand the frontiers of discovery in low Earth orbit…",
"hashtags": [
"NASA",
"Astronaut"
],
"mentions": [],
"likeCount": 101569,
"commentCount": 1512,
"playCount": 4200131,
"durationSeconds": 63.5,
"publishedAt": "2026-11-07T18:35:41.000Z",
"isPaidPartnership": false,
"imageUrl": "https://scontent-iad6-1.cdninstagram.com/v/t51.82787-15/892262107_18667067911049152_7232282950866099313_n.jpg?stp=dst-jpg_e15_s640x640_tt6&_nc_cat=102…",
"videoUrl": "https://scontent-iad6-1.cdninstagram.com/o1/v/t2/f2/m86/AQOaFZSzCK2cDiH6dXb9aPPuVfhKmFlDpvjqR_xWLa4dUfLChqiDZzaKpehvtFAiPlqNcqsLHTRGmIiWJEXXgIw4rkcVSb…",
"ownerUsername": "nasa",
"coauthors": [],
"taggedUsers": [],
"locationName": null
},
{
"id": "4032769631913039723",
"shortCode": "Df3Rp0bKNdr",
"url": "https://www.instagram.com/p/Df3Rp0bKNdr/",
"type": "Video",
"isReel": true,
"isPinned": false,
"caption": "Gold for Voyager 1, now one light-day from home. 🚀",
"hashtags": [],
"mentions": [],
"likeCount": 23052,
"commentCount": 168,
"playCount": 1605623,
"durationSeconds": 15.6,
"publishedAt": "2026-11-18T01:00:50.000Z",
"isPaidPartnership": false,
"imageUrl": "https://scontent-iad6-1.cdninstagram.com/v/t51.82787-15/909639997_18654645670011588_7039336257252665058_n.jpg?stp=dst-jpg_e15_p360x360_tt6&_nc_cat=1&i…",
"videoUrl": "https://scontent-iad3-2.cdninstagram.com/o1/v/t2/f2/m86/AQMe4QDAm43AZ7Q8VwitTjjqDac0DJysEGZPv6Z4y8jbw8UyB46znmpRLr04YH_skMMsLliTqV72Unfrkc5KGtfnOuv7hq…",
"ownerUsername": "empirestatebldg",
"coauthors": [
"nasa"
],
"taggedUsers": [
"nasa"
],
"locationName": "Empire State Building"
}
]
},
"credits": {
"used": 2,
"remaining": 98
}
}Good to know
- Follower, following and post counts are the exact numbers, not the rounded ones Instagram displays (104M).
- latestPosts holds what Instagram shows without a login: about the 12 latest Reels and the newest grid posts, pinned posts included. It is not the full history.
- engagementRate is the average likes plus comments of those posts as a percentage of followers: 0.088 means 0.088 %.
- A private account returns its counts, name and bio with isPrivate true and no posts.
- Image and video addresses are Instagram's own signed links and stop working after some hours. Download what you want to keep.
- An account that does not exist, or is deactivated or restricted, answers 404 profile_not_found and costs nothing.
Errors
Every error has the same shape, and none of them is charged. The full list is in the error reference.
Looking for an overview and use cases? See the Instagram Profile API page.